org.argouml.uml.ui
Class UMLComboBoxEntry
java.lang.Object
|
+--org.argouml.uml.ui.UMLComboBoxEntry
- All Implemented Interfaces:
- java.lang.Comparable
- public class UMLComboBoxEntry
- extends java.lang.Object
- implements java.lang.Comparable
Field Summary |
private java.lang.String |
_displayName
_display name will be the same as shortName unless there
is a name collision |
private java.lang.Object |
_element
|
private boolean |
_isPhantom
i am not quite sure what _isPhantom means, it may be that it is an
entry that is not in the model list...pjs |
private java.lang.String |
_longName
_longName is composed of an identifier and a name as in Class: String |
private Profile |
_profile
|
private java.lang.String |
_shortName
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
_element
private java.lang.Object _element
_shortName
private java.lang.String _shortName
_longName
private java.lang.String _longName
- _longName is composed of an identifier and a name as in Class: String
_profile
private Profile _profile
_displayName
private java.lang.String _displayName
- _display name will be the same as shortName unless there
is a name collision
_isPhantom
private boolean _isPhantom
- i am not quite sure what _isPhantom means, it may be that it is an
entry that is not in the model list...pjs
UMLComboBoxEntry
public UMLComboBoxEntry(java.lang.Object element,
Profile profile,
boolean isPhantom)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
updateName
public void updateName()
checkCollision
public void checkCollision(java.lang.String before,
java.lang.String after)
getShortName
public java.lang.String getShortName()
getLongName
public java.lang.String getLongName()
findNamespace
private static java.lang.Object findNamespace(java.lang.Object phantomNS,
java.lang.Object targetModel)
getElement
public java.lang.Object getElement(java.lang.Object targetModel)
setElement
public void setElement(java.lang.Object element,
boolean isPhantom)
compareTo
public int compareTo(java.lang.Object other)
- Specified by:
compareTo
in interface java.lang.Comparable
nameChanged
public void nameChanged(java.lang.Object element)
isPhantom
public boolean isPhantom()