public abstract class TypeSystemNode extends ModelParticipant
Modifier and Type | Field and Description |
---|---|
protected String |
absoluteName |
protected String |
name |
protected DefaultMutableTreeNode |
treeNode |
Modifier | Constructor and Description |
---|---|
|
TypeSystemNode() |
protected |
TypeSystemNode(DefaultMutableTreeNode treeNode) |
|
TypeSystemNode(String name) |
Modifier and Type | Method and Description |
---|---|
String[] |
allowedToAdd()
Returns an array of strings: the node types that can be
added to this node.
|
int |
compareTo(ModelParticipant other) |
String |
description() |
String |
getAbsoluteName() |
String |
getInstanceNodeTypeName() |
String |
getName() |
protected void |
insertChild(TypeSystemNode newChild)
Adds a new child to a node.
|
static String |
nodeTypeName()
Returns the name of the type of the Node, e.g.
|
protected void |
setAbsoluteName(String absoluteName) |
protected void |
setName(String name)
called by subclasses of TypeSystemNode, therefore protected
|
String |
toString()
Supposed to return an IDL-similar, complete textual representation,
but only of the node itself.
|
addToParent, buildTree, expand, getModelRepresentant, setModelRepresentant
protected DefaultMutableTreeNode treeNode
protected String name
protected String absoluteName
public TypeSystemNode()
protected TypeSystemNode(DefaultMutableTreeNode treeNode)
public TypeSystemNode(String name)
name
- java.lang.Stringpublic String[] allowedToAdd()
public int compareTo(ModelParticipant other)
compareTo
in class ModelParticipant
other
- org.jacorb.ir.gui.typesystem.ModelParticipantpublic String description()
public String getAbsoluteName()
public String getInstanceNodeTypeName()
public String getName()
protected void insertChild(TypeSystemNode newChild) throws org.jacorb.ir.gui.typesystem.IllegalChildException
newChild
- TypeSystemNodeorg.jacorb.ir.gui.typesystem.IllegalChildException
public static String nodeTypeName()
protected void setAbsoluteName(String absoluteName)
protected void setName(String name)
name
- java.lang.StringCopyright © 2017 JacORB. All rights reserved.