public class ManageBookmarksAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends java.lang.Object implements EditorAction
EditorAction that opens the bookmarks manager.| Constructor and Description |
|---|
ManageBookmarksAction(@NotNull MapMenu mapMenu,
@NotNull MapImageCache<G,A,R> mapImageCache,
@NotNull java.awt.Component parentComponent)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
manageBookmarks()
Action method for "manage bookmarks".
|
void |
setAction(@NotNull javax.swing.Action action,
@NotNull java.lang.String name)
Sets the
Action instance for this editor action. |
public ManageBookmarksAction(@NotNull
@NotNull MapMenu mapMenu,
@NotNull
@NotNull MapImageCache<G,A,R> mapImageCache,
@NotNull
@NotNull java.awt.Component parentComponent)
mapMenu - the map menu definition the bookmarks menu entriesmapImageCache - the map image cache for creating map previewsparentComponent - the parent component for dialogs@ActionMethod public void manageBookmarks()
public void setAction(@NotNull
@NotNull javax.swing.Action action,
@NotNull
@NotNull java.lang.String name)
EditorActionAction instance for this editor action.setAction in interface EditorActionaction - the action instancename - the name of the action