Class ScriptingViewController
java.lang.Object
org.correomqtt.gui.views.base.BaseControllerImpl
org.correomqtt.gui.views.scripting.ScriptingViewController
- All Implemented Interfaces:
BaseObjectContextMenuDelegate
,BaseController
,ScriptContextMenuDelegate
,SingleEditorViewDelegate
- Direct Known Subclasses:
ScriptingViewControllerWrapper
@DefaultBean
public class ScriptingViewController
extends BaseControllerImpl
implements ScriptContextMenuDelegate, SingleEditorViewDelegate
-
Nested Class Summary
Nested classes/interfaces inherited from class org.correomqtt.gui.views.base.BaseControllerImpl
BaseControllerImpl.ConstructorMethod<Z>
-
Field Summary
Fields inherited from class org.correomqtt.gui.views.base.BaseControllerImpl
coreManager, themeManager
-
Constructor Summary
ConstructorDescriptionScriptingViewController
(CoreManager coreManager, ThemeManager themeManager, AlertHelper alertHelper, ScriptCellFactory scriptCellFactory, ScriptContextMenuFactory scriptContextMenuFactory, SingleEditorViewControllerFactory editorViewCtrlFactory, ScriptTaskFactories scriptTaskFactories, ExecutionViewControllerFactory executionViewControllerFactory, ScriptingProvider scriptingProvider, HostServicesWrapper hostServicesWrapper) -
Method Summary
Modifier and TypeMethodDescriptionboolean
addExecution
(ScriptFilePropertiesDTO dto, ConnectionPropertiesDTO selectedConnection, String scriptCode) void
void
void
void
void
void
void
Methods inherited from class org.correomqtt.gui.views.base.BaseControllerImpl
load, load, showAsDialog, showAsDialog
-
Constructor Details
-
ScriptingViewController
@Inject public ScriptingViewController(CoreManager coreManager, ThemeManager themeManager, AlertHelper alertHelper, ScriptCellFactory scriptCellFactory, ScriptContextMenuFactory scriptContextMenuFactory, SingleEditorViewControllerFactory editorViewCtrlFactory, ScriptTaskFactories scriptTaskFactories, ExecutionViewControllerFactory executionViewControllerFactory, ScriptingProvider scriptingProvider, HostServicesWrapper hostServicesWrapper)
-
-
Method Details
-
showAsDialog
public void showAsDialog() -
onScriptExecutionFinished
-
onNewScriptClicked
public void onNewScriptClicked() -
renameScript
- Specified by:
renameScript
in interfaceScriptContextMenuDelegate
- Specified by:
renameScript
in interfaceSingleEditorViewDelegate
-
deleteScript
- Specified by:
deleteScript
in interfaceScriptContextMenuDelegate
- Specified by:
deleteScript
in interfaceSingleEditorViewDelegate
-
runScript
- Specified by:
runScript
in interfaceScriptContextMenuDelegate
-
addExecution
public boolean addExecution(ScriptFilePropertiesDTO dto, ConnectionPropertiesDTO selectedConnection, String scriptCode) - Specified by:
addExecution
in interfaceSingleEditorViewDelegate
-
onPlainTextChange
- Specified by:
onPlainTextChange
in interfaceSingleEditorViewDelegate
-