Gridarta Editor
net.sf.gridarta.action.OptionsAction< 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.OptionsAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
+ Collaboration diagram for net.sf.gridarta.action.OptionsAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:

Public Member Functions

void options ()
 The action method for "options". More...
 
 OptionsAction (@NotNull final EditorFactory< G, A, R > editorFactory, @NotNull final ProjectSettings projectSettings, @NotNull final EditorSettings editorSettings, @NotNull final DelegatingMapValidator< G, A, R > validators, @NotNull final AppPreferencesModel appPreferencesModel, @NotNull final ExitConnectorModel exitConnectorModel, @NotNull final ConfigSourceFactory configSourceFactory, @NotNull final Component parent)
 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

final AppPreferencesModel appPreferencesModel
 
final ConfigSourceFactory configSourceFactory
 
final EditorFactory< G, A, R > editorFactory
 
final EditorSettings editorSettings
 
final ExitConnectorModel exitConnectorModel
 
final Component parent
 
PreferencesGroup preferencesGroup
 The PreferencesGroup instance. More...
 
final ProjectSettings projectSettings
 
final DelegatingMapValidator< G, A, R > validators
 

Detailed Description

Author
Andreas Kirschbaum

Definition at line 44 of file OptionsAction.java.

Constructor & Destructor Documentation

◆ OptionsAction()

net.sf.gridarta.action.OptionsAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.OptionsAction ( @NotNull final EditorFactory< G, A, R >  editorFactory,
@NotNull final ProjectSettings  projectSettings,
@NotNull final EditorSettings  editorSettings,
@NotNull final DelegatingMapValidator< G, A, R >  validators,
@NotNull final AppPreferencesModel  appPreferencesModel,
@NotNull final ExitConnectorModel  exitConnectorModel,
@NotNull final ConfigSourceFactory  configSourceFactory,
@NotNull final Component  parent 
)

Member Function Documentation

◆ options()

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

The action method for "options".

Opens the options dialog.

Definition at line 95 of file OptionsAction.java.

References net.sf.gridarta.maincontrol.EditorFactory< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.createPreferencesGroup().

+ Here is the call graph for this function:

◆ setAction()

void net.sf.gridarta.action.OptionsAction< 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 103 of file OptionsAction.java.

Member Data Documentation

◆ appPreferencesModel

◆ configSourceFactory

◆ editorFactory

◆ editorSettings

◆ exitConnectorModel

◆ parent

◆ preferencesGroup

PreferencesGroup net.sf.gridarta.action.OptionsAction< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.preferencesGroup
private

The PreferencesGroup instance.

Set to

null

if not yet created.

Definition at line 75 of file OptionsAction.java.

◆ projectSettings

◆ validators


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