ConForM.CoopnTools.Edit
Class CoopnNodeInherit
java.lang.Object
|
+--ConForM.CoopnTools.Edit.CoopnNode
|
+--ConForM.CoopnTools.Edit.CoopnNodeInherit
- All Implemented Interfaces:
- AddRenameAble, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
- public class CoopnNodeInherit
- extends CoopnNode
- implements AddRenameAble
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 void |
acceptEditions(EditPanel editPanel)
This method is called each time the contents of the edit panel must be
used to set the values of the node's elements. |
void |
addRedefines()
|
void |
addRenames()
|
void |
addUndefines()
|
protected void |
buildTexts(java.util.ResourceBundle texts)
This routine is called at the creation of the node, by "super". |
protected EditPanel |
createEditPanel()
This method is called each time the edit panel is about to be displayed. |
protected CoopnNode |
createNodeFromElement(ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement element)
Create a node from an element, if possible. |
protected boolean |
editable()
Return true iff the node accept editions with an edit panel. |
protected java.lang.String |
getLabel()
This routine must return the label of the node, as a String. |
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextReferenceList |
getRedefines()
|
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextMappingList |
getRenames()
|
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement |
getTextElement()
This routine must deliver the coopn text element corresponing to this
node. |
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextReferenceList |
getUndefines()
|
boolean |
insertAbleObject(java.lang.Object child,
int index)
Return true if the node can be inserted 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 |
children, clone, createPopup, getAllowsChildren, getChildAt, getChildCount, getCoopnNodeAt, getIndex, getParent, getParentCoopnNode, getPopupMenu, getTreePath, insert, insert, insert, insert, insertAble, insertAble, isLeaf, mergeAble, mergeAble, mergeAbleObject, 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 |
module
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextModuleName module
addRenameFieldAction
protected NodeAddRenameFieldAction addRenameFieldAction
addRedefineFieldAction
protected NodeAddRedefineFieldAction addRedefineFieldAction
addUndefineFieldAction
protected NodeAddUndefineFieldAction addUndefineFieldAction
CoopnNodeInherit
public CoopnNodeInherit(CoopnTree tree,
CoopnNode parent,
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextInherit inherit,
CoopnMgr coopnMgr,
CoopnEnv env)
addRedefines
public void addRedefines()
addRenames
public void addRenames()
- Specified by:
addRenames
in interface AddRenameAble
addUndefines
public void addUndefines()
getRedefines
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextReferenceList getRedefines()
getRenames
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextMappingList getRenames()
getUndefines
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextReferenceList getUndefines()
getTextElement
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement getTextElement()
- This routine must deliver the coopn text element corresponing to this
node.
- Overrides:
getTextElement
in class CoopnNode
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
createNodeFromElement
protected CoopnNode createNodeFromElement(ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextElement element)
- Create a node from an element, if possible.
- Overrides:
createNodeFromElement
in class CoopnNode
- Parameters:
element
- a textual element- Returns:
- a node corresponding to the element, or null if no nodes
are corresponding to the element. Must be consistent with
mergeAble, insertAble, and so on.
getLabel
protected java.lang.String getLabel()
- This routine must return the label of the node, as a String.
- Overrides:
getLabel
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
editable
protected boolean editable()
- Return true iff the node accept editions with an edit panel.
- Overrides:
editable
in class CoopnNode
createEditPanel
protected EditPanel createEditPanel()
- This method is called each time the edit panel is about to be displayed.
- Overrides:
createEditPanel
in class CoopnNode
acceptEditions
protected void acceptEditions(EditPanel editPanel)
- This method is called each time the contents of the edit panel must be
used to set the values of the node's elements.
- Overrides:
acceptEditions
in class CoopnNode