|
Gridarta Editor
|
net.sf.gridarta.model.scripts.ScriptArchData related functions. More...
Inheritance diagram for net.sf.gridarta.gui.scripts.ScriptArchDataUtils< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:
Collaboration diagram for net.sf.gridarta.gui.scripts.ScriptArchDataUtils< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >:Public Member Functions | |
| void | modifyEventScript (final int eventIndex, final ScriptTask task, @NotNull final JList< String > panelList, @NotNull final MapManager<?, ?, ?> mapManager, @NotNull final Frame parent, @NotNull final Iterable< G > gameObject) |
| If there is a scripted event of the specified type, the script pad is opened and the appropriate script displayed. More... | |
| ScriptArchDataUtils (final int eventTypeNo, @NotNull final ScriptArchUtils scriptArchUtils, @NotNull final ScriptedEventFactory< G, A, R > scriptedEventFactory, @NotNull final ScriptedEventEditor< G, A, R > scriptedEventEditor) | |
| Creates a new instance. More... | |
Private Attributes | |
| final int | eventTypeNo |
| The object type for event objects. More... | |
| final ScriptArchUtils | scriptArchUtils |
| The ScriptArchUtils instance to use. More... | |
| final ScriptedEventEditor< G, A, R > | scriptedEventEditor |
| The ScriptedEventEditor to use. More... | |
| final ScriptedEventFactory< G, A, R > | scriptedEventFactory |
| The ScriptedEventFactory instance to use. More... | |
Static Private Attributes | |
| static final Category | LOG = Logger.getLogger(ScriptArchDataUtils.class) |
| The Logger for printing log messages. More... | |
net.sf.gridarta.model.scripts.ScriptArchData related functions.
Definition at line 41 of file ScriptArchDataUtils.java.
| net.sf.gridarta.gui.scripts.ScriptArchDataUtils< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.ScriptArchDataUtils | ( | final int | eventTypeNo, |
| @NotNull final ScriptArchUtils | scriptArchUtils, | ||
| @NotNull final ScriptedEventFactory< G, A, R > | scriptedEventFactory, | ||
| @NotNull final ScriptedEventEditor< G, A, R > | scriptedEventEditor | ||
| ) |
Creates a new instance.
| eventTypeNo | the object type for event objects |
| scriptArchUtils | the script arch utils instance to use |
| scriptedEventFactory | the scripted event factory instance to use |
| scriptedEventEditor | the scripted event editor to use |
Definition at line 80 of file ScriptArchDataUtils.java.
| void net.sf.gridarta.gui.scripts.ScriptArchDataUtils< G extends GameObject< G, A, R, A extends MapArchObject< A, R extends Archetype< G, A, R >.modifyEventScript | ( | final int | eventIndex, |
| final ScriptTask | task, | ||
| @NotNull final JList< String > | panelList, | ||
| @NotNull final MapManager<?, ?, ?> | mapManager, | ||
| @NotNull final Frame | parent, | ||
| @NotNull final Iterable< G > | gameObject | ||
| ) |
If there is a scripted event of the specified type, the script pad is opened and the appropriate script displayed.
| eventIndex | index of event in the owner's inventory |
| task | the task to execute |
| panelList | the JList MapArchPanel |
| mapManager | the map manager instance |
| parent | the parent frame for dialog boxes |
| gameObject | the game object to operate on |
Definition at line 98 of file ScriptArchDataUtils.java.
Here is the caller graph for this function:
|
private |
The object type for event objects.
Definition at line 53 of file ScriptArchDataUtils.java.
Referenced by net.sf.gridarta.gui.scripts.ScriptArchDataUtils< G, A, R >.modifyEventScript(), and net.sf.gridarta.gui.scripts.ScriptArchDataUtils< G, A, R >.ScriptArchDataUtils().
|
staticprivate |
The Logger for printing log messages.
Definition at line 47 of file ScriptArchDataUtils.java.
|
private |
The ScriptArchUtils instance to use.
Definition at line 59 of file ScriptArchDataUtils.java.
Referenced by net.sf.gridarta.gui.scripts.ScriptArchDataUtils< G, A, R >.ScriptArchDataUtils().
|
private |
The ScriptedEventEditor to use.
Definition at line 71 of file ScriptArchDataUtils.java.
Referenced by net.sf.gridarta.gui.scripts.ScriptArchDataUtils< G, A, R >.ScriptArchDataUtils().
|
private |
The ScriptedEventFactory instance to use.
Definition at line 65 of file ScriptArchDataUtils.java.
Referenced by net.sf.gridarta.gui.scripts.ScriptArchDataUtils< G, A, R >.ScriptArchDataUtils().