java.lang.Object
com.vinculum.processeditor.model.ProcessElement
com.vinculum.processeditor.model.ProcessSubPart
com.vinculum.processeditor.model.ProcessLabel
- All Implemented Interfaces:
- java.lang.Cloneable, org.eclipse.ui.views.properties.IPropertySource, java.io.Serializable
- public class ProcessLabel
- extends ProcessSubPart
| Methods inherited from class com.vinculum.processeditor.model.ProcessSubPart |
connectInput, connectOutput, disconnectInput, disconnectOutput, findType, getConnections, getDescriptorVector, getIcon, getInput, getLocation, getPropertyDescriptors, getPropertyValue, getSourceConnections, getTargetConnections, isPropertySet, parseMethodPrototypes, resetPropertyValue, setLocation, setOutput, setPropertyValue, setSize |
text
private java.lang.String text
PROCESS_LABEL_ICON
private static org.eclipse.swt.graphics.Image PROCESS_LABEL_ICON
count
private static int count
ProcessLabel
public ProcessLabel()
getLabelContents
public java.lang.String getLabelContents()
getIconImage
public org.eclipse.swt.graphics.Image getIconImage()
- Specified by:
getIconImage in class ProcessSubPart
getNewID
protected java.lang.String getNewID()
getID
public java.lang.String getID()
- Specified by:
getID in class ProcessSubPart
getTargetID
public java.lang.String getTargetID()
- Specified by:
getTargetID in class ProcessSubPart
getSourceID
public java.lang.String getSourceID()
- Specified by:
getSourceID in class ProcessSubPart
getSize
public Dimension getSize()
- Overrides:
getSize in class ProcessSubPart
setLabelContents
public void setLabelContents(java.lang.String s)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).