public abstract class AbstractScriptEditManager extends Manager
Constructor and Description |
---|
AbstractScriptEditManager(TriggerReactorCore plugin) |
Modifier and Type | Method and Description |
---|---|
static String |
parseSpaceToMarker(String str) |
abstract void |
startEdit(ICommandSender sender,
String title,
String script,
ScriptEditor.SaveHandler saveHandler)
Start the script editor.
|
disable, getManagers, reload, saveAll
public AbstractScriptEditManager(TriggerReactorCore plugin)
public abstract void startEdit(ICommandSender sender, String title, String script, ScriptEditor.SaveHandler saveHandler)
sender
- the sender to start editortitle
- title to be shown on the editorscript
- the actual script. It can be empty stringsaveHandler
- the callback interface that allows you to save the script written by editor.