public abstract class MainWindowExtension
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
MainWindowExtension.MainWindowMenu
The Class MainWindowMenu describes the JMenu and it index position that is
to be added to the
MainWindow of Agent.Workbench. |
class |
MainWindowExtension.MainWindowMenuItem
The Class MainWindowMenuItem describes single menu items that are to
be added to MainWindow of Agent.Workbench.
|
class |
MainWindowExtension.MainWindowToolbarComponent
The Class MainWindowToolbarComponent describes single components that
are to be added to the main tool bar of Agent.Workbench.
|
static class |
MainWindowExtension.SeparatorPosition |
Constructor and Description |
---|
MainWindowExtension() |
Modifier and Type | Method and Description |
---|---|
protected void |
addJMenu(javax.swing.JMenu jMenu,
java.lang.Integer indexPosition)
Adds the specified JMenu to the
MainWindow . |
protected void |
addJMenuItem(MainWindow.WorkbenchMenu workbenchMenuToAddTo,
javax.swing.JMenuItem menuItemToAdd,
java.lang.Integer indexPosition,
MainWindowExtension.SeparatorPosition separatorPosition)
Adds the specified JMenuItem to the specified workbench window at the given index position.
|
protected void |
addToolbarComponent(javax.swing.JComponent toolbarComponentToAdd,
java.lang.Integer indexPosition,
MainWindowExtension.SeparatorPosition separatorPosition)
Adds the specified toolbar component to the toolbar.
|
java.util.Vector<MainWindowExtension.MainWindowMenuItem> |
getMainWindowMenuItemVector()
Returns the vector of menu items that are to be added to the MainWindow.
|
java.util.Vector<MainWindowExtension.MainWindowMenu> |
getMainWindowMenuVector()
Returns the vector of JMenus to be added to the MainWindow.
|
java.util.Vector<MainWindowExtension.MainWindowToolbarComponent> |
getMainWindowToolBarComponentVector()
Returns the main window tool bar component vector.
|
abstract void |
initialize()
Initializes the extension.
|
public abstract void initialize()
public java.util.Vector<MainWindowExtension.MainWindowMenu> getMainWindowMenuVector()
protected void addJMenu(javax.swing.JMenu jMenu, java.lang.Integer indexPosition)
MainWindow
.jMenu
- the JMmenu to be addedindexPosition
- the index position for the menu (may be null also)public java.util.Vector<MainWindowExtension.MainWindowMenuItem> getMainWindowMenuItemVector()
protected void addJMenuItem(MainWindow.WorkbenchMenu workbenchMenuToAddTo, javax.swing.JMenuItem menuItemToAdd, java.lang.Integer indexPosition, MainWindowExtension.SeparatorPosition separatorPosition)
workbenchMenuToAddTo
- the workbench menu to add tomenuItemToAdd
- the menu item to addindexPosition
- the index position for the menu item (may be null
also)separatorPosition
- the separator position (may be null
also)public java.util.Vector<MainWindowExtension.MainWindowToolbarComponent> getMainWindowToolBarComponentVector()
protected void addToolbarComponent(javax.swing.JComponent toolbarComponentToAdd, java.lang.Integer indexPosition, MainWindowExtension.SeparatorPosition separatorPosition)
toolbarComponentToAdd
- the toolbar component to addindexPosition
- the index position of the component (may be null
also)separatorPosition
- the separator position (may be null
also)