Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.vinculum.processeditor.model
Class ProcessLabel  view ProcessLabel download ProcessLabel.java

java.lang.Object
  extended bycom.vinculum.processeditor.model.ProcessElement
      extended bycom.vinculum.processeditor.model.ProcessSubPart
          extended bycom.vinculum.processeditor.model.ProcessLabel
All Implemented Interfaces:
java.lang.Cloneable, org.eclipse.ui.views.properties.IPropertySource, java.io.Serializable

public class ProcessLabel
extends ProcessSubPart


Field Summary
private static int count
           
private static org.eclipse.swt.graphics.Image PROCESS_LABEL_ICON
           
private  java.lang.String text
           
 
Fields inherited from class com.vinculum.processeditor.model.ProcessSubPart
descriptors, ID_LOCATION, ID_SIZE, inputs, location, outputs, serialVersionUID, size
 
Fields inherited from class com.vinculum.processeditor.model.ProcessElement
CHILDREN, INPUTS, listeners, OUTPUTS
 
Constructor Summary
ProcessLabel()
           
 
Method Summary
 org.eclipse.swt.graphics.Image getIconImage()
           
 java.lang.String getID()
           
 java.lang.String getLabelContents()
           
protected  java.lang.String getNewID()
           
 Dimension getSize()
           
 java.lang.String getSourceID()
           
 java.lang.String getTargetID()
           
 void setLabelContents(java.lang.String s)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
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
 
Methods inherited from class com.vinculum.processeditor.model.ProcessElement
addPropertyChangeListener, firePropertyChange, fireStructureChange, getEditableValue, isPropertySet, removePropertyChangeListener, setPropertyValue, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

text

private java.lang.String text

PROCESS_LABEL_ICON

private static org.eclipse.swt.graphics.Image PROCESS_LABEL_ICON

count

private static int count
Constructor Detail

ProcessLabel

public ProcessLabel()
Method Detail

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()).