org.openbp.cockpit.itemeditor
Class NodeItemEditorPage

java.lang.Object
  extended by org.openbp.jaspira.plugin.AbstractPlugin
      extended by org.openbp.jaspira.gui.plugin.AbstractVisiblePlugin
          extended by org.openbp.jaspira.gui.plugin.JaspiraPage
              extended by org.openbp.cockpit.itemeditor.NodeItemEditorPage
All Implemented Interfaces:
java.awt.event.HierarchyListener, java.util.EventListener, PluginContainer, VisiblePlugin, Plugin

public class NodeItemEditorPage
extends JaspiraPage

Jaspira page for displaying the node editor plugin. This page is usually not used as a real page, it is rather placed inside an item editor Wizard.

Author:
Stephan Moritz

Nested Class Summary
 
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
 
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
NodeItemEditorPage()
          Constructor.
 
Method Summary
 NodeItemEditorPlugin getNodeEditor()
          Gets the the node editor itself.
 java.lang.String getResourceCollectionContainerName()
          Gets the name of the resource component the default resource of the plugin belongs to.
 void layoutDefaultContent()
          This method will be called to generate the default layout of a Jaspira page.
protected  void pluginUninstalled()
          This template method is called before the plugin is uninstalled.
 void saveNode()
          Saves the edited node.
 void setNode(Node node)
          Sets the node to edit.
 
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 org.openbp.jaspira.gui.plugin.AbstractVisiblePlugin
addPluginFocusListener, applicationReady, canCopy, canCut, canDelete, canDrag, canPageChange, canPaste, copy, createToolbar, cut, delete, firePluginFocusGained, firePluginFocusLost, focusPlugin, getContentPane, getPage, getPluginComponent, getPluginFromComponentHierarchy, getPluginHolder, getPluginPanel, getSizeBehavior, getSubClients, getToolbarType, hasCloseButton, hierarchyChanged, initializeResources, installPlugin, installPluginContent, isPluginFocused, isPluginVisible, paste, pluginHidden, pluginShown, postPluginContainerUpdate, removePluginFocusListener, setPluginHolder, stackEvent, uninstallPlugin, updatePluginContainer
 
Methods inherited from class org.openbp.jaspira.plugin.AbstractPlugin
addActionKeySequence, addPlugin, addToPeerGroup, canClose, closeCanceled, containsStackedEvent, fireEvent, fireEvent, fireEvent, getAction, getChildPlugins, getClassName, getCondition, getDescendantPlugins, getDescription, getEventActionNames, getEventModules, getExternalActions, getExternalEventModuleClasses, getExternalOptionModuleClasses, getIcon, getIcon, getLevel, getName, getOptionModules, getParentPlugin, getPeerGroup, getPeerGroupNames, getPeerGroups, getPluginResourceCollection, getPluginState, getSubTitle, getTitle, getUniqueId, getVendor, getVersion, handleEvent, handleKeySequence, inheritEvent, initializeFromPluginProfile, initializePlugin, installFirstPlugin, matchesPeerGroup, matchesPeerGroups, passDown, pluginInstalled, preClose, receiveEvent, removeFromPeerGroup, removePlugin, removeStackedEvent, requestClose, setDescription, setIcon, setName, setParentPlugin, setPluginState, setResourceCollection, setTitle, uninstallLastPlugin
 
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
 

Constructor Detail

NodeItemEditorPage

public NodeItemEditorPage()
Constructor.

Method Detail

getNodeEditor

public NodeItemEditorPlugin getNodeEditor()
Gets the the node editor itself.


getResourceCollectionContainerName

public java.lang.String getResourceCollectionContainerName()
Description copied from class: AbstractPlugin
Gets the name of the resource component the default resource of the plugin belongs to.

Specified by:
getResourceCollectionContainerName in class AbstractPlugin
Returns:
The container name

layoutDefaultContent

public void layoutDefaultContent()
Description copied from class: JaspiraPage
This method will be called to generate the default layout of a Jaspira page. The normal JaspiraPage has no default layout so this method does nothing. If you create a new page which has to look special override this method and set your layout here. This method will be called automatically - you needn't to call it of your own.

Overrides:
layoutDefaultContent in class JaspiraPage
See Also:
JaspiraPage.layoutDefaultContent()

pluginUninstalled

protected void pluginUninstalled()
Description copied from class: AbstractPlugin
This template method is called before the plugin is uninstalled.

Overrides:
pluginUninstalled in class JaspiraPage
See Also:
AbstractPlugin.pluginUninstalled()

saveNode

public void saveNode()
Saves the edited node.


setNode

public void setNode(Node node)
Sets the node to edit.

Parameters:
node - The node


Copyright © 2011. All Rights Reserved.