public interface ScriptingUIManager
ScriptingManager| Modifier and Type | Interface and Description |
|---|---|
static interface |
ScriptingUIManager.MenuEntry |
| Modifier and Type | Method and Description |
|---|---|
void |
addComposerMenu(String text,
Action action) |
void |
addComposerTool(Action action) |
void |
addCreatedComponentListener(CreateComponentListener listener) |
void |
addUserHelp(String langName,
URL resource) |
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.
|
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() |
Collection<ScriptingUIManager.MenuEntry> |
getComposerMenus() |
Collection<Action> |
getComposerTools() |
JPanel |
getHelp()
Returns a help panel.
|
ImageIcon |
getIcon(String name)
Returns a ImageIcon associated with the name.
|
ImageIcon |
getIcon(String name,
String size)
Returns a ImageIcon associated with the name.
|
ScriptingManager |
getManager()
Returns the
ScriptingManager of the ScriptingFramework. |
String |
getTranslation(String key) |
JPanel |
getUserHelp()
Returns a help panel.
|
WindowManager |
getWindowManager() |
boolean |
hasEditor(ScriptingUnit unit) |
void |
registerEditor(EditorFactory factory) |
void |
removeCreatedComponentListener(CreateComponentListener listener) |
void |
setWindowManager(WindowManager windowsManager) |
void |
showDialog(JComponent panel,
String title)
Shows a JPanel in a dialog window with it's own characteristics
|
void |
showTool(JComponent panel,
String title)
Shows a JPanel in a tool window with it's own characteristics
|
void |
showWindow(JComponent panel,
String title)
Shows a JPanel in a window with it's own characteristics
|
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.JScriptingBrowserJPanel 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 - 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.ScriptingManagerAboutManager getAboutManager()
AboutManager to provide services of the 'About Us'
information of the ScriptingFramework.AboutManagerAboutManagerJPanel 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)