ConForM.CoopnTools.Edit
Class CoopnNodeModule
java.lang.Object
|
+--ConForM.CoopnTools.Edit.CoopnNode
|
+--ConForM.CoopnTools.Edit.CoopnNodeModule
- All Implemented Interfaces:
- AddInheritAble, AddMorphismAble, AddRenameAble, javax.swing.tree.MutableTreeNode, javax.swing.tree.TreeNode
- Direct Known Subclasses:
- CoopnNodeAdt, CoopnNodeClass, CoopnNodeContext, CoopnNodeMorphismModule
- public abstract class CoopnNodeModule
- extends CoopnNode
- implements AddRenameAble, AddMorphismAble, AddInheritAble
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 |
addInherits()
|
void |
addMorphisms()
|
void |
addRenames()
|
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 abstract ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextModule |
createLocalModule(ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextHeader h,
java.lang.String c)
|
protected boolean |
editable()
Return true iff the node accept editions with an edit panel. |
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextHeader |
getHeader()
|
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextInheritList |
getInherits()
|
protected java.lang.String |
getLabel()
This routine must return the label of the node, as a String. |
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextMappingList |
getMorphisms()
|
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 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, createNodeFromElement, 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 |
compilInfo
protected CoopnCompilInfo compilInfo
moduleName
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextModuleName moduleName
formalParams
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextModuleNameList formalParams
as
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextModuleName as
status
protected int status
abst
protected boolean abst
comments
protected java.lang.String comments
addRenameFieldAction
protected NodeAddRenameFieldAction addRenameFieldAction
addMorphismFieldAction
protected NodeAddMorphismFieldAction addMorphismFieldAction
CoopnNodeModule
public CoopnNodeModule(CoopnTree tree,
CoopnNode parent,
ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextModule module,
CoopnMgr coopnMgr,
CoopnEnv env)
createLocalModule
protected abstract ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextModule createLocalModule(ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextHeader h,
java.lang.String c)
getHeader
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextHeader getHeader()
getMorphisms
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextMappingList getMorphisms()
getRenames
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextMappingList getRenames()
getInherits
protected ConForM.CoopnTools.CoKer.CoopnMgr.CoopnTextMgr.CoopnTextInheritList getInherits()
addRenames
public void addRenames()
- Specified by:
addRenames
in interface AddRenameAble
addMorphisms
public void addMorphisms()
- Specified by:
addMorphisms
in interface AddMorphismAble
addInherits
public void addInherits()
- Specified by:
addInherits
in interface AddInheritAble
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
getLabel
protected java.lang.String getLabel()
- This routine must return the label of the node, as a String.
- Overrides:
getLabel
in class CoopnNode
insertAbleObject
protected 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
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
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