Package net.sf.gridarta.action
Class ManageBookmarksAction<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
- java.lang.Object
-
- net.sf.gridarta.action.ManageBookmarksAction<G,A,R>
-
- All Implemented Interfaces:
EditorAction
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
AnEditorActionthat opens the bookmarks manager.
-
-
Constructor Summary
Constructors Constructor Description ManageBookmarksAction(@NotNull MapMenu mapMenu, @NotNull MapImageCache<G,A,R> mapImageCache, @NotNull java.awt.Component parentComponent)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmanageBookmarks()Action method for "manage bookmarks".voidsetAction(@NotNull javax.swing.Action action, @NotNull java.lang.String name)Sets theActioninstance for this editor action.
-
-
-
Constructor Detail
-
ManageBookmarksAction
public ManageBookmarksAction(@NotNull @NotNull MapMenu mapMenu, @NotNull @NotNull MapImageCache<G,A,R> mapImageCache, @NotNull @NotNull java.awt.Component parentComponent)Creates a new instance.- Parameters:
mapMenu- the map menu definition the bookmarks menu entriesmapImageCache- the map image cache for creating map previewsparentComponent- the parent component for dialogs
-
-
Method Detail
-
manageBookmarks
@ActionMethod public void manageBookmarks()
Action method for "manage bookmarks". Opens the dialog for editing existing bookmarks.
-
setAction
public void setAction(@NotNull @NotNull javax.swing.Action action, @NotNull @NotNull java.lang.String name)Description copied from interface:EditorActionSets theActioninstance for this editor action.- Specified by:
setActionin interfaceEditorAction- Parameters:
action- the action instancename- the name of the action
-
-