Package org.xtce.apps.editor.ui
Class XTCEViewerTelecommandTreeNode
- java.lang.Object
-
- javax.swing.tree.DefaultMutableTreeNode
-
- org.xtce.apps.editor.ui.XTCEViewerTelecommandTreeNode
-
- All Implemented Interfaces:
Serializable,Cloneable,MutableTreeNode,TreeNode
public class XTCEViewerTelecommandTreeNode extends DefaultMutableTreeNode
This class assists the graphical interface application by providing a path and reference to the JTree objects that keep a list of the XTCE MetaCommand element that represents this node on the tree.- Author:
- David Overeem
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.swing.tree.DefaultMutableTreeNode
allowsChildren, children, EMPTY_ENUMERATION, parent, userObject
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XTCETelecommandContentModelgetContentModel()Accessor to retrieve a reference to the evaluated container content for this tree node, or null if it has not been evaluated before.StringgetInheritancePath()Accessor to retrieve the fully qualified name and path to this telecommand in the inheritance tree of MetaCommand elements within the XTCE data model.StringgetName()Accessor to retrieve the name of the XTCE MetaCommand element that is represented by this node.StringgetTelecommandPath()Accessor to retrieve the fully qualified name and path to this telecommand in the XTCE Space System hierarchy.XTCETelecommandgetTelecommandReference()Accessor to retrieve a reference to the XTCETelecommand object that is represented by this node in the tree of containers.voidsetContentModel(XTCETelecommandContentModel contentModel)Setter to update the internal container model object when the container for this tree node is evaluated.-
Methods inherited from class javax.swing.tree.DefaultMutableTreeNode
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject, toString
-
-
-
-
Method Detail
-
getName
public String getName()
Accessor to retrieve the name of the XTCE MetaCommand element that is represented by this node.- Returns:
- String containing the name of the telecommand.
-
getTelecommandPath
public String getTelecommandPath()
Accessor to retrieve the fully qualified name and path to this telecommand in the XTCE Space System hierarchy.- Returns:
- String containing the UNIX style path reference and name of the telecommand that is represented by this node.
-
getInheritancePath
public String getInheritancePath()
Accessor to retrieve the fully qualified name and path to this telecommand in the inheritance tree of MetaCommand elements within the XTCE data model.- Returns:
- String containing the UNIX style path reference and name of the container as it is represented in the telecommand inheritance model.
-
getTelecommandReference
public XTCETelecommand getTelecommandReference()
Accessor to retrieve a reference to the XTCETelecommand object that is represented by this node in the tree of containers.- Returns:
- XTCETelecommand pointed to by this tree node.
-
getContentModel
public XTCETelecommandContentModel getContentModel()
Accessor to retrieve a reference to the evaluated container content for this tree node, or null if it has not been evaluated before.- Returns:
- XTCETelecommandContentModel reference to the container contents.
-
setContentModel
public void setContentModel(XTCETelecommandContentModel contentModel)
Setter to update the internal container model object when the container for this tree node is evaluated.- Parameters:
contentModel- The XTCETelecommandContentModel object that was created for this container tree node.
-
-