org.openbp.cockpit.plugins.itembrowser
Class NodeEditorItemBrowserPlugin

java.lang.Object
  extended by org.openbp.jaspira.plugin.AbstractPlugin
      extended by org.openbp.jaspira.gui.plugin.AbstractVisiblePlugin
          extended by org.openbp.cockpit.plugins.itembrowser.ItemBrowserPlugin
              extended by org.openbp.cockpit.plugins.itembrowser.NodeEditorItemBrowserPlugin
All Implemented Interfaces:
java.awt.event.FocusListener, java.awt.event.HierarchyListener, java.util.EventListener, EventObserver, ItemTreeListener, DragOrigin, VisiblePlugin, Plugin

public class NodeEditorItemBrowserPlugin
extends ItemBrowserPlugin

Item browser that displays data types and icons only.

Author:
Jens Ferchland

Nested Class Summary
 
Nested classes/interfaces inherited from class org.openbp.cockpit.plugins.itembrowser.ItemBrowserPlugin
ItemBrowserPlugin.InteractionEvents, ItemBrowserPlugin.ItemBrowserOptions
 
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.cockpit.plugins.itembrowser.ItemBrowserPlugin
GUESS_MODEL, USE_CURRENT_MODEL
 
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.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
NodeEditorItemBrowserPlugin()
          Default constructor.
 
Method Summary
protected  void firePropertyBrowserEvent(Item item)
          The item browser used in the node editor will not provide the ability to edit its items in the property browser.
 void handleItemTreeEvent(ItemTreeEvent e)
          Called when an item tree event has happened.
 
Methods inherited from class org.openbp.cockpit.plugins.itembrowser.ItemBrowserPlugin
applicationReady, canCopy, canCut, canDrag, canPaste, copy, createToolbar, cut, dropAccepted, dropCanceled, dropPerformed, focusGained, focusLost, getDragImage, getExternalEventModuleClasses, getPluginFocusComponent, getResourceCollectionContainerName, getSelectedItem, getSelectedModel, getSupportedItemTypes, getTranferableAt, hasCloseButton, initializeComponents, observeEvent, paste, performAlternativeSelection, pluginUninstalled, rebuildTree, setSelectedObject, setSupportedItemTypes
 
Methods inherited from class org.openbp.jaspira.gui.plugin.AbstractVisiblePlugin
addPluginFocusListener, canDelete, canPageChange, delete, firePluginFocusGained, firePluginFocusLost, focusPlugin, getContentPane, getPage, getPluginComponent, getPluginFromComponentHierarchy, getPluginHolder, getPluginPanel, getSizeBehavior, getSubClients, getToolbarType, hierarchyChanged, initializeResources, installPlugin, installPluginContent, isPluginFocused, isPluginVisible, pluginHidden, pluginShown, postPluginContainerUpdate, removePluginFocusListener, setPluginHolder, showPlugin, 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, 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, toString, 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.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

NodeEditorItemBrowserPlugin

public NodeEditorItemBrowserPlugin()
Default constructor.

Method Detail

firePropertyBrowserEvent

protected void firePropertyBrowserEvent(Item item)
The item browser used in the node editor will not provide the ability to edit its items in the property browser. The o.e. is used for diagram elements only. So we simply do nothing here.

Overrides:
firePropertyBrowserEvent in class ItemBrowserPlugin
Parameters:
item - An item or a model

handleItemTreeEvent

public void handleItemTreeEvent(ItemTreeEvent e)
Called when an item tree event has happened.

Specified by:
handleItemTreeEvent in interface ItemTreeListener
Overrides:
handleItemTreeEvent in class ItemBrowserPlugin
Parameters:
e - Item tree event holding the event information


Copyright © 2011. All Rights Reserved.