public interface ScriptingUIManager
ScriptingManager
Modifier and Type | Interface and Description |
---|---|
static interface |
ScriptingUIManager.MenuEntry |
Modifier and Type | Field and Description |
---|---|
static String |
SCRIPT_COMPOSER_AUTORUN |
static final String SCRIPT_COMPOSER_AUTORUN
JScriptingLauncher createLauncher()
JScriptingLauncher
component.JScriptingLauncher
.JScriptingLauncher
JScriptingComposer createComposer()
JScriptingComposer
component.JScriptingComposer
.JScriptingComposer
JScriptingBrowser createBrowser(ScriptingFolder root, boolean foldersOnly)
JScriptingBrowser
component.root
- ScriptingFolder
that identificates the image.foldersOnly
- boolean to indicate if only will be shown folders (if
it's true) or it will be shown the ScriptingBaseScript files too (false
value). By default, falseJScriptingBrowser
.JScriptingBrowser
JScriptingBrowser createBrowser(ScriptingFolder root)
JScriptingBrowser
component.root
- ScriptingFolder
that identificates the image.JScriptingBrowser
.JScriptingBrowser
JPanel createInstaller()
JScriptingInstaller
component.JScriptingInstaller
.JScriptingInstaller
SyntaxtHighlightTextComponent createSyntaxHighlightingPanel()
JEditorPaneSyntaxHighlighting
.JEditorPaneSyntaxHighlighting
JCodeEditor createJCodeEditor(ScriptingScript script)
JCodeEditor
component.script
- JCodeEditor
.JCodeEditor
JDialogEditor createJDialogEditor(ScriptingDialog script)
JDialogEditor
component.uimanager
- script
- JDialogEditor
.JDialogEditor
JEditor createEditor(ScriptingUnit unit)
unit
- ImageIcon getIcon(String name)
name
- String that identificates the image.ImageIcon getIcon(String name, String size)
name
- String that identificates the image.size
- String to specify if the size of the icon would be "small",
"medium" or "big" (default value: "small").ScriptingManager getManager()
ScriptingManager
of the ScriptingFramework.ScriptingManager
AboutManager getAboutManager()
AboutManager
to provide services of the 'About Us'
information of the ScriptingFramework.AboutManager
AboutManager
JPanel getHelp()
JPanel getUserHelp()
void showDialog(JComponent panel, String title)
panel
- JPanel included in the dialog's contenttitle
- String with the dialog's titlevoid showWindow(JComponent panel, String title)
panel
- JPanel included in the window's contenttitle
- String with the window's titlevoid showTool(JComponent panel, String title)
panel
- JPanel included in the tool's contenttitle
- String with the tool's titlevoid setWindowManager(WindowManager windowsManager)
WindowManager getWindowManager()
JScriptingConsole createJScriptingConsole()
JScriptingConsole createJScriptingConsole(boolean captureOutput)
void addComposerTool(Action action)
Collection<Action> getComposerTools()
Collection<ScriptingUIManager.MenuEntry> getComposerMenus()
JScriptingComposer getActiveComposer()
void addCreatedComponentListener(CreateComponentListener listener)
void removeCreatedComponentListener(CreateComponentListener listener)
void registerEditor(EditorFactory factory)
boolean hasEditor(ScriptingUnit unit)
List<EditorFactory> getEditorFactories()