ConForM.CoopnTools.Edit
Class CoopnNodeField
java.lang.Object
|
+--ConForM.CoopnTools.Edit.CoopnNode
|
+--ConForM.CoopnTools.Edit.CoopnNodeField
- All Implemented Interfaces:
- javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
- Direct Known Subclasses:
- CoopnNodeAdtFormulaField, CoopnNodeClassFormulaField, CoopnNodeContextFormulaField, CoopnNodeDblExprNameField, CoopnNodeExprNameField, CoopnNodeExprOptNameField, CoopnNodeMappingField, CoopnNodeMigrExprNameField, CoopnNodeOptExprNameField, CoopnNodeReferenceField, CoopnNodeSimpleNameField, CoopnNodeSubtypeField, CoopnNodeUseField
- public abstract class CoopnNodeField
- extends CoopnNode
Fields inherited from class ConForM.CoopnTools.Edit.CoopnNode |
allowsChildren, arg, childNodeList, coopnMgr, editTitle, env, fmt, parent, popup, readOnly, removeText, removeTitle, ResourceFile, textMgr, title, tree |
Method Summary |
protected abstract void |
addSymbol()
|
protected void |
buildTexts(java.util.ResourceBundle texts)
This routine is called at the creation of the node, by "super". |
boolean |
insertAbleObject(java.lang.Object child,
int index)
Return true if the node can be inserted at the given location. |
protected abstract boolean |
isNodeField(java.lang.Object node)
|
protected abstract boolean |
isNodeSymbol(java.lang.Object node)
|
boolean |
mergeAbleObject(java.lang.Object child,
int index)
Return true if the object can be merged to the current node, at the
given location. |
protected void |
notifyInsertRemove()
This method is called each time children are inserted or removed. |
int |
standardInsertIndexObject(java.lang.Object child)
Return the standard location of an element to insert. |
Methods inherited from class ConForM.CoopnTools.Edit.CoopnNode |
acceptEditions, children, clone, createEditPanel, createNodeFromElement, createPopup, editable, getAllowsChildren, getChildAt, getChildCount, getCoopnNodeAt, getIndex, getLabel, getParent, getParentCoopnNode, getPopupMenu, getTextElement, getTreePath, insert, insert, insert, insert, insertAble, insertAble, isLeaf, mergeAble, mergeAble, openAll, remove, remove, remove, removeFromParent, setParent, setUserObject, showEditPanel, standardInsertIndex, standardInsertIndex, toString |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CoopnNodeField
public CoopnNodeField(CoopnTree tree,
CoopnNode parent,
CoopnMgr coopnMgr,
CoopnEnv env)
addSymbol
protected abstract void addSymbol()
isNodeField
protected abstract boolean isNodeField(java.lang.Object node)
isNodeSymbol
protected abstract boolean isNodeSymbol(java.lang.Object node)
buildTexts
protected void buildTexts(java.util.ResourceBundle texts)
- This routine is called at the creation of the node, by "super".
- Overrides:
buildTexts
in class CoopnNode
mergeAbleObject
public boolean mergeAbleObject(java.lang.Object child,
int index)
- Description copied from class:
CoopnNode
- Return true if the object can be merged to the current node, at the
given location.
- Overrides:
mergeAbleObject
in class CoopnNode
insertAbleObject
public boolean insertAbleObject(java.lang.Object child,
int index)
- Return true if the node can be inserted at the given location.
- Overrides:
insertAbleObject
in class CoopnNode
standardInsertIndexObject
public int standardInsertIndexObject(java.lang.Object child)
- Return the standard location of an element to insert.
- Overrides:
standardInsertIndexObject
in class CoopnNode
notifyInsertRemove
protected void notifyInsertRemove()
- This method is called each time children are inserted or removed.
- Overrides:
notifyInsertRemove
in class CoopnNode