public class ScriptedEventEditor<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
ScriptArchEditor
for the creation dialog.Constructor and Description |
---|
ScriptedEventEditor(@NotNull ProjectSettings projectSettings,
@NotNull ScriptEditControl scriptEditControl)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
editParameters(@NotNull ScriptedEvent<G,A,R> scriptedEvent,
@NotNull java.awt.Frame parent)
Edit path and plugin name for an event.
|
@NotNull java.lang.String |
getInputOptions() |
@NotNull java.lang.String |
getInputPluginName() |
@NotNull java.lang.String |
getInputScriptPath() |
void |
openScript(@NotNull MapManager<?,?,?> mapManager,
@NotNull java.lang.String scriptPath,
@NotNull java.awt.Component parent)
Opens the script pad to display a script.
|
public ScriptedEventEditor(@NotNull @NotNull ProjectSettings projectSettings, @NotNull @NotNull ScriptEditControl scriptEditControl)
projectSettings
- the project settings instancescriptEditControl
- the script edit control instancepublic void openScript(@NotNull @NotNull MapManager<?,?,?> mapManager, @NotNull @NotNull java.lang.String scriptPath, @NotNull @NotNull java.awt.Component parent)
mapManager
- the map manager instancescriptPath
- the script pathparent
- the parent component for dialog boxespublic void editParameters(@NotNull @NotNull ScriptedEvent<G,A,R> scriptedEvent, @NotNull @NotNull java.awt.Frame parent)
scriptedEvent
- the eventparent
- the parent frame for dialog boxes@NotNull public @NotNull java.lang.String getInputScriptPath()
@NotNull public @NotNull java.lang.String getInputPluginName()
@NotNull public @NotNull java.lang.String getInputOptions()