Gridarta Editor
net.sf.gridarta.action.AddToSelectionAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R > Class Template Reference
+ Inheritance diagram for net.sf.gridarta.action.AddToSelectionAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
+ Collaboration diagram for net.sf.gridarta.action.AddToSelectionAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:

Public Member Functions

void addToSelection ()
 
void setAction (@NotNull final Action action, @NotNull final String name)
 

Protected Member Functions

void updateAction ()
 
- Protected Member Functions inherited from net.sf.gridarta.action.AbstractSelectionAction< G, A, R >
boolean doSelection (final boolean performAction, @NotNull final SelectionMode mode)
 

Private Member Functions

boolean doAddToSelection (final boolean performAction)
 

Private Attributes

Action action
 

Detailed Description

An EditorAction that adds the current pre-selection to the selection.

Author
Andreas Kirschbaum

Definition at line 37 of file AddToSelectionAction.java.

Member Function Documentation

◆ addToSelection()

void net.sf.gridarta.action.AddToSelectionAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.addToSelection ( )

Adds the current pre-selection to the selection.

Definition at line 56 of file AddToSelectionAction.java.

References net.sf.gridarta.action.AddToSelectionAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doAddToSelection().

+ Here is the call graph for this function:

◆ doAddToSelection()

boolean net.sf.gridarta.action.AddToSelectionAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.doAddToSelection ( final boolean  performAction)
private

◆ setAction()

void net.sf.gridarta.action.AddToSelectionAction< 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 
)

◆ updateAction()

Member Data Documentation

◆ action


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