|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openbp.jaspira.plugin.AbstractPlugin
org.openbp.jaspira.gui.plugin.AbstractVisiblePlugin
org.openbp.jaspira.gui.plugin.JaspiraPage
org.openbp.cockpit.modeler.ModelerPage
public class ModelerPage
Jaspira page that hosts the Modeler.
| Nested Class Summary | |
|---|---|
class |
ModelerPage.Events
EventModule responsible for opening new modelers. |
| Nested classes/interfaces inherited from class org.openbp.jaspira.gui.plugin.AbstractVisiblePlugin |
|---|
AbstractVisiblePlugin.StandardVisiblePluginEvents |
| Nested classes/interfaces inherited from class org.openbp.jaspira.plugin.AbstractPlugin |
|---|
AbstractPlugin.StandardPluginEvents |
| Field Summary | |
|---|---|
static int |
MAX_HISTORY_SIZE
Maximum history size |
| Fields inherited from class org.openbp.jaspira.gui.plugin.JaspiraPage |
|---|
focusedPluginRef |
| Fields inherited from class org.openbp.jaspira.plugin.AbstractPlugin |
|---|
PROPERTY_CONDITION, PROPERTY_DESCRIPTION, PROPERTY_ICON, PROPERTY_NAME, PROPERTY_SEQUENCE, PROPERTY_TITLE, PROPERTY_VENDOR, PROPERTY_VERSION |
| Fields inherited from interface org.openbp.jaspira.gui.plugin.PluginContainer |
|---|
CENTER, EAST, NORTH, REGION_CENTER, REGION_EAST, REGION_NORTH, REGION_SOUTH, REGION_WEST, SOUTH, WEST |
| Fields inherited from interface org.openbp.jaspira.gui.plugin.VisiblePlugin |
|---|
GER, GEU, SIZE_VARIABLE_BOTH, SIZE_VARIABLE_HEIGHT, SIZE_VARIABLE_NONE, SIZE_VARIABLE_WIDTH, TOOLBAR_DYNAMIC, TOOLBAR_EVENTS, TOOLBAR_NONE |
| Fields inherited from interface org.openbp.jaspira.plugin.Plugin |
|---|
ID_DELIMETER, LEVEL_APPLICATION, LEVEL_FRAME, LEVEL_PAGE, LEVEL_PLUGIN |
| Constructor Summary | |
|---|---|
ModelerPage()
Creates a new view using a given modeler. |
|
| Method Summary | |
|---|---|
protected Modeler |
addModelerView(ProcessItem process,
boolean readOnly)
Creates a new Modeler and adds it to the modeler page. |
protected void |
addQualifierToHistory(ModelQualifier qualifier)
Adds the given process path to the process history. |
protected boolean |
canGoBackward()
Checks if we can execute the goBackward() function. |
protected boolean |
canGoForward()
Checks if we can execute the goForward() function. |
protected void |
displayProcess(ModelQualifier qualifier)
Open the given process. |
void |
displayWelcomePage()
Displays a welcome page in the internal browser. |
protected ModelQualifier |
getHistoryEntryAt(int index)
Gets the history entry at the specified index. |
int |
getHistoryIndex()
Gets the current position in history list. |
java.lang.String |
getResourceCollectionContainerName()
Gets the name of the resource component the default resource of the plugin belongs to. |
protected void |
goBackward()
Goes to previous page in history. |
protected void |
goForward()
Goes to next page in history. |
void |
layoutDefaultContent()
Performs the layout of the initial default plugins (toolboxes, property browser, browsers etc.) |
protected void |
pluginInstalled()
This template method is called after the plugin has been installed. |
protected void |
pluginUninstalled()
This template method is called before the plugin is uninstalled. |
protected void |
updateNavigationButtons()
Updates the back and forward navigation buttons. |
| Methods inherited from class org.openbp.jaspira.gui.plugin.JaspiraPage |
|---|
addPlugin, advanceFocus, getActivePlugin, getParentContainer, getPluginDivider, getPluginFocusComponent, getPlugins, getVisiblePlugins, getWindow, initializeComponents, removePlugin, restoreFocus, setFocusedPlugin, setPluginDivider, setupKeyBindings, showPlugin, sliceContainer, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.openbp.jaspira.gui.plugin.PluginContainer |
|---|
getPage |
| Methods inherited from interface org.openbp.jaspira.plugin.Plugin |
|---|
addPlugin, addToPeerGroup, canClose, containsStackedEvent, fireEvent, fireEvent, fireEvent, getAction, getChildPlugins, getClassName, getCondition, getDescendantPlugins, getDescription, getEventActionNames, getIcon, getLevel, getName, getParentPlugin, getPeerGroup, getPeerGroupNames, getPeerGroups, getPluginResourceCollection, getPluginState, getSubTitle, getTitle, getUniqueId, getVendor, getVersion, handleEvent, inheritEvent, initializePlugin, installFirstPlugin, matchesPeerGroup, matchesPeerGroups, receiveEvent, removeFromPeerGroup, removePlugin, requestClose, setParentPlugin, setPluginState, uninstallLastPlugin |
| Field Detail |
|---|
public static final int MAX_HISTORY_SIZE
| Constructor Detail |
|---|
public ModelerPage()
| Method Detail |
|---|
public java.lang.String getResourceCollectionContainerName()
AbstractPlugin
getResourceCollectionContainerName in class AbstractPluginpublic void layoutDefaultContent()
layoutDefaultContent in class JaspiraPagepublic void displayWelcomePage()
protected void pluginInstalled()
AbstractPlugin
pluginInstalled in class AbstractPluginAbstractPlugin.pluginInstalled()protected void pluginUninstalled()
AbstractPlugin
pluginUninstalled in class JaspiraPageJaspiraPage.pluginUninstalled()
protected Modeler addModelerView(ProcessItem process,
boolean readOnly)
Modeler and adds it to the modeler page.
process - Process to display in the new viewreadOnly - true: Open the process in read-only modeprotected void updateNavigationButtons()
protected void addQualifierToHistory(ModelQualifier qualifier)
qualifier - Model qualifier to addprotected ModelQualifier getHistoryEntryAt(int index)
index - History index
public int getHistoryIndex()
protected boolean canGoBackward()
goBackward() function.
protected boolean canGoForward()
goForward() function.
protected void goBackward()
protected void goForward()
protected void displayProcess(ModelQualifier qualifier)
qualifier - Process qualifier
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||