Gridarta Editor
net.sf.gridarta.action.ManageBookmarksAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R > Class Template Reference

An EditorAction that opens the bookmarks manager. More...

+ Inheritance diagram for net.sf.gridarta.action.ManageBookmarksAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
+ Collaboration diagram for net.sf.gridarta.action.ManageBookmarksAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:

Public Member Functions

void manageBookmarks ()
 Action method for "manage bookmarks". More...
 
 ManageBookmarksAction (@NotNull final MapMenu mapMenu, @NotNull final MapImageCache< G, A, R > mapImageCache, @NotNull final Component parentComponent)
 Creates a new instance. More...
 
void setAction (@NotNull final Action action, @NotNull final String name)
 Sets the Action instance for this editor action. More...
 

Private Attributes

ManageBookmarksDialog< G, A, R > manageBookmarksDialog
 The ManageBookmarksDialog instance. More...
 
final MapImageCache< G, A, R > mapImageCache
 The MapImageCache for creating map previews. More...
 
final MapMenu mapMenu
 The MapMenu defining the bookmarks menu entries. More...
 
final Component parentComponent
 The parent component for dialogs. More...
 

Detailed Description

An EditorAction that opens the bookmarks manager.

Author
Andreas Kirschbaum

Definition at line 39 of file ManageBookmarksAction.java.

Constructor & Destructor Documentation

◆ ManageBookmarksAction()

net.sf.gridarta.action.ManageBookmarksAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.ManageBookmarksAction ( @NotNull final MapMenu  mapMenu,
@NotNull final MapImageCache< G, A, R >  mapImageCache,
@NotNull final Component  parentComponent 
)

Member Function Documentation

◆ manageBookmarks()

◆ setAction()

void net.sf.gridarta.action.ManageBookmarksAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.setAction ( @NotNull final Action  action,
@NotNull final String  name 
)

Sets the Action instance for this editor action.

Parameters
actionthe action instance
namethe name of the action

Implements net.sf.gridarta.utils.EditorAction.

Definition at line 91 of file ManageBookmarksAction.java.

Member Data Documentation

◆ manageBookmarksDialog

ManageBookmarksDialog<G, A, R> net.sf.gridarta.action.ManageBookmarksAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.manageBookmarksDialog
private

The ManageBookmarksDialog instance.

Set to

null

if not yet created.

Definition at line 64 of file ManageBookmarksAction.java.

◆ mapImageCache

◆ mapMenu

◆ parentComponent


The documentation for this class was generated from the following file: