public interface ScriptingUIManager extends ScriptSwingManager
ScriptingManager| Modifier and Type | Interface and Description |
|---|---|
static interface |
ScriptingUIManager.MenuEntry |
ScriptSwingManager.ScriptChooserPanel, ScriptSwingManager.ScriptEditor| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SCRIPT_COMPOSER_AUTORUN |
| Modifier and Type | Method and Description |
|---|---|
void |
addComposerMenu(java.lang.String text,
javax.swing.Action action) |
void |
addComposerTool(javax.swing.Action action) |
void |
addCreatedComponentListener(CreateComponentListener listener) |
JScriptingBrowser |
createBrowser(ScriptingFolder root)
Creates a new
JScriptingBrowser component. |
JScriptingBrowser |
createBrowser(ScriptingFolder root,
boolean foldersOnly)
Creates a new
JScriptingBrowser component. |
JScriptingComposer |
createComposer()
Creates a new
JScriptingComposer component. |
JEditor |
createEditor(ScriptingUnit unit)
Creates a JEditor for the scripting unit passed as parameter.
|
javax.swing.JPanel |
createInstaller()
Creates a new
JScriptingInstaller component. |
JCodeEditor |
createJCodeEditor(ScriptingScript script)
Creates a new
JCodeEditor component. |
JDialogEditor |
createJDialogEditor(ScriptingDialog script)
Creates a new
JDialogEditor component. |
JScriptingConsole |
createJScriptingConsole() |
JScriptingConsole |
createJScriptingConsole(boolean captureOutput) |
JThinG |
createJThinG()
Creates a new
JThinG component. |
JThinlet |
createJThinlet()
Creates a new
JThinlet component. |
JScriptingLauncher |
createLauncher()
Creates a new
JScriptingLauncher component. |
SyntaxtHighlightTextComponent |
createSyntaxHighlightingPanel()
Creates a new JEditorPane component with syntax highlight.
|
AboutManager |
getAboutManager()
Returns the
AboutManager to provide services of the 'About Us'
information of the ScriptingFramework. |
JScriptingComposer |
getActiveComposer() |
java.util.Collection<ScriptingUIManager.MenuEntry> |
getComposerMenus() |
java.util.Collection<javax.swing.Action> |
getComposerTools() |
java.util.List<EditorFactory> |
getEditorFactories() |
javax.swing.ImageIcon |
getIcon(java.lang.String name)
Returns a ImageIcon associated with the name.
|
javax.swing.ImageIcon |
getIcon(java.lang.String name,
java.lang.String size)
Returns a ImageIcon associated with the name.
|
ScriptingManager |
getManager()
Returns the
ScriptingManager of the ScriptingFramework. |
java.lang.String |
getTranslation(java.lang.String key) |
WindowManager |
getWindowManager() |
boolean |
hasEditor(ScriptingUnit unit) |
void |
registerEditor(EditorFactory factory) |
void |
removeCreatedComponentListener(CreateComponentListener listener) |
void |
setWindowManager(WindowManager windowsManager) |
void |
showDialog(javax.swing.JComponent panel,
java.lang.String title)
Shows a JPanel in a dialog window with it's own characteristics
|
void |
showTool(javax.swing.JComponent panel,
java.lang.String title)
Shows a JPanel in a tool window with it's own characteristics
|
void |
showWindow(javax.swing.JComponent panel,
java.lang.String title)
Shows a JPanel in a window with it's own characteristics
|
createListScriptPickerController, createListScriptPickerController, createScriptChooserPanel, createScriptEditor, createScriptPickerControllerstatic final java.lang.String SCRIPT_COMPOSER_AUTORUN
JScriptingLauncher createLauncher()
JScriptingLauncher component.JScriptingLauncher.JScriptingLauncherJScriptingComposer createComposer()
JScriptingComposer component.JScriptingComposer.JScriptingComposerJScriptingBrowser 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.JScriptingBrowserJScriptingBrowser createBrowser(ScriptingFolder root)
JScriptingBrowser component.root - ScriptingFolder that identificates the image.JScriptingBrowser.JScriptingBrowserjavax.swing.JPanel createInstaller()
JScriptingInstaller component.JScriptingInstaller.JScriptingInstallerSyntaxtHighlightTextComponent createSyntaxHighlightingPanel()
JEditorPaneSyntaxHighlighting.JEditorPaneSyntaxHighlightingJCodeEditor createJCodeEditor(ScriptingScript script)
JCodeEditor component.script - JCodeEditor.JCodeEditorJDialogEditor createJDialogEditor(ScriptingDialog script)
JDialogEditor component.uimanager - script - JDialogEditor.JDialogEditorJEditor createEditor(ScriptingUnit unit)
unit - javax.swing.ImageIcon getIcon(java.lang.String name)
name - String that identificates the image.javax.swing.ImageIcon getIcon(java.lang.String name,
java.lang.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.ScriptingManagerAboutManager getAboutManager()
AboutManager to provide services of the 'About Us'
information of the ScriptingFramework.AboutManagerAboutManagervoid showDialog(javax.swing.JComponent panel,
java.lang.String title)
panel - JPanel included in the dialog's contenttitle - String with the dialog's titlevoid showWindow(javax.swing.JComponent panel,
java.lang.String title)
panel - JPanel included in the window's contenttitle - String with the window's titlevoid showTool(javax.swing.JComponent panel,
java.lang.String title)
panel - JPanel included in the tool's contenttitle - String with the tool's titlejava.lang.String getTranslation(java.lang.String key)
void setWindowManager(WindowManager windowsManager)
WindowManager getWindowManager()
JScriptingConsole createJScriptingConsole()
JScriptingConsole createJScriptingConsole(boolean captureOutput)
void addComposerTool(javax.swing.Action action)
void addComposerMenu(java.lang.String text,
javax.swing.Action action)
java.util.Collection<javax.swing.Action> getComposerTools()
java.util.Collection<ScriptingUIManager.MenuEntry> getComposerMenus()
JScriptingComposer getActiveComposer()
void addCreatedComponentListener(CreateComponentListener listener)
void removeCreatedComponentListener(CreateComponentListener listener)
void registerEditor(EditorFactory factory)
boolean hasEditor(ScriptingUnit unit)
java.util.List<EditorFactory> getEditorFactories()