Your Ad Here





star.common.ui
Class BoundaryNode

java.lang.Object
  extended by java.beans.FeatureDescriptor
      extended by org.openide.nodes.Node
          extended by org.openide.nodes.AbstractNode
              extended by star.coremodule.BaseBeanNode
                  extended by star.coremodule.StarBeanNode
                      extended by star.base.neo.ui.ClientServerObjectNode
                          extended by star.base.neo.ui.NamedObjectNode
                              extended by star.common.ui.ModelPartNode
                                  extended by star.common.ui.BoundaryNode
All Implemented Interfaces:
org.openide.util.HelpCtx.Provider, org.openide.util.Lookup.Provider

public class BoundaryNode
extends ModelPartNode


Nested Class Summary
 class BoundaryNode.BoundaryCookie
           
 
Nested classes/interfaces inherited from class star.coremodule.BaseBeanNode
BaseBeanNode.Descriptor
 
Nested classes/interfaces inherited from class org.openide.nodes.Node
org.openide.nodes.Node.Cookie, org.openide.nodes.Node.Handle, org.openide.nodes.Node.IndexedProperty, org.openide.nodes.Node.Property, org.openide.nodes.Node.PropertySet
 
Field Summary
static DataFlavor BOUNDARY_FLAVOR
           
 
Fields inherited from class star.base.neo.ui.ClientServerObjectNode
CLIENTSERVEROBJECT_FLAVOR
 
Fields inherited from class org.openide.nodes.AbstractNode
displayFormat, systemActions
 
Fields inherited from class org.openide.nodes.Node
EMPTY, PROP_COOKIE, PROP_DISPLAY_NAME, PROP_ICON, PROP_LEAF, PROP_NAME, PROP_OPENED_ICON, PROP_PARENT_NODE, PROP_PROPERTY_SETS, PROP_SHORT_DESCRIPTION
 
Constructor Summary
BoundaryNode(Boundary aBoundary)
           
 
Method Summary
 boolean canDestroy()
          By default, cannot destroy.
 boolean canRename()
          By default, cannot rename.
 Transferable clipboardCopy()
           
 void destroy()
          Detaches all listeners from the bean and destroys it.
 void finish()
          Called by StarChildren.destroyNodes when the node is no longer used.
 Action[] getActions(boolean ctxt)
           
 Boundary getBoundary()
           
static String getIconBase(Boundary boundary)
           
 void presentProperties()
          Present properties dialog.
protected  void updateIcon()
           
 
Methods inherited from class star.common.ui.ModelPartNode
getModelPart, getPreferredAction
 
Methods inherited from class star.base.neo.ui.NamedObjectNode
setName
 
Methods inherited from class star.base.neo.ui.ClientServerObjectNode
canCopy, canPaste, createPasteTypes, defaultActions, getClientServerObject
 
Methods inherited from class star.coremodule.StarBeanNode
addCookie, autoExpand, createNode, displayCustomizer, displayCustomizer, getChildrenKeys, getChildrenNodes, getComparator, getCustomizer, getCustomizer, getCustomizerListener, getHelpCtx, getObject, getSimulation, getSimulationProcessNode, getSimulationProcessObject, getSimulationView, getSimulationView, hasCustomizer, removeCookie, setComparator, updateChildrenNodes
 
Methods inherited from class star.coremodule.BaseBeanNode
addToLookup, canCut, computeProperties, createProperties, getBean, getIcon, getOpenedIcon, removeFromLookup, setSynchronizeName
 
Methods inherited from class org.openide.nodes.AbstractNode
clipboardCut, cloneNode, createActions, createSheet, drag, getActions, getCookie, getCookieSet, getDefaultAction, getDropType, getHandle, getNewTypes, getPasteTypes, getPropertySets, getSheet, setCookieSet, setDefaultAction, setIconBase, setIconBaseWithExtension, setSheet
 
Methods inherited from class org.openide.nodes.Node
addNodeListener, addPropertyChangeListener, clone, equals, fireCookieChange, fireDisplayNameChange, fireIconChange, fireNameChange, fireNodeDestroyed, fireOpenedIconChange, firePropertyChange, firePropertySetsChange, fireShortDescriptionChange, getChildren, getContextActions, getContextMenu, getHtmlDisplayName, getLookup, getParentNode, hasPropertyChangeListener, isLeaf, removeNodeListener, removePropertyChangeListener, setChildren, setDisplayName, setShortDescription, toString
 
Methods inherited from class java.beans.FeatureDescriptor
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setExpert, setHidden, setPreferred, setValue
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BOUNDARY_FLAVOR

public static final DataFlavor BOUNDARY_FLAVOR
Constructor Detail

BoundaryNode

public BoundaryNode(Boundary aBoundary)
             throws IntrospectionException
Throws:
IntrospectionException
Method Detail

finish

public void finish()
Description copied from class: StarBeanNode
Called by StarChildren.destroyNodes when the node is no longer used.

Overrides:
finish in class NamedObjectNode

getBoundary

public Boundary getBoundary()

getActions

public Action[] getActions(boolean ctxt)
Overrides:
getActions in class org.openide.nodes.Node

getIconBase

public static String getIconBase(Boundary boundary)

updateIcon

protected void updateIcon()

presentProperties

public void presentProperties()
Present properties dialog.

Specified by:
presentProperties in class ModelPartNode

canRename

public boolean canRename()
Description copied from class: StarBeanNode
By default, cannot rename.

Overrides:
canRename in class NamedObjectNode
Returns:
true if there is no name synchronization, or there is a valid setter method for the name

canDestroy

public boolean canDestroy()
Description copied from class: StarBeanNode
By default, cannot destroy.

Overrides:
canDestroy in class StarBeanNode
Returns:
true in this implementation

destroy

public void destroy()
             throws IOException
Description copied from class: BaseBeanNode
Detaches all listeners from the bean and destroys it.

Overrides:
destroy in class BaseBeanNode
Throws:
IOException - if there was a problem

clipboardCopy

public Transferable clipboardCopy()
                           throws IOException
Overrides:
clipboardCopy in class ClientServerObjectNode
Throws:
IOException


Copyright © 2000-2006 CD-adapco. All Rights Reserved.

Return to CD-adapco STAR-CCM+ Index


Your Ad Here