APStudio.models
Class ClassDiagramModel
java.lang.Object
|
+--APStudio.models.BasicElement
|
+--APStudio.models.BasicSubpart
|
+--APStudio.models.ClassDiagramModel
- All Implemented Interfaces:
- java.lang.Cloneable, org.eclipse.ui.views.properties.IPropertySource, java.io.Serializable
- public class ClassDiagramModel
- extends BasicSubpart
- Author:
- rajags
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
- See Also:
- Serialized Form
Methods inherited from class APStudio.models.BasicSubpart |
addPropertyChangeListener, connectInput, connectOutput, disconnectInput, disconnectOutput, getConnections, getEditableValue, getIcon, getID, getName, getOutputs, getPropertyDescriptors, getPropertyValue, getSourceConnections, getTargetConnections, isPropertySet, isPropertySet, removePropertyChangeListener, resetPropertyValue, setID, setName, setPropertyValue |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TERMINAL_OUT
public static java.lang.String TERMINAL_OUT
TERMINAL_IN
public static java.lang.String TERMINAL_IN
ClassDiagramModel
public ClassDiagramModel()
- default constructor does nothing now
ClassDiagramModel
public ClassDiagramModel(java.lang.String ClassName)
- constructor with the className passed
- Parameters:
ClassName
-
getIconImage
public org.eclipse.swt.graphics.Image getIconImage()
- Specified by:
getIconImage
in class BasicSubpart
setLabelContents
public void setLabelContents(java.lang.String s)
getLabelContents
public java.lang.String getLabelContents()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setLocation
public void setLocation(org.eclipse.draw2d.geometry.Point loc)
- Overrides:
setLocation
in class BasicSubpart
- Parameters:
loc
-
getLocation
public org.eclipse.draw2d.geometry.Point getLocation()
- Overrides:
getLocation
in class BasicSubpart
- Returns:
setSize
public void setSize(org.eclipse.draw2d.geometry.Dimension size)
- Overrides:
setSize
in class BasicSubpart
getSize
public org.eclipse.draw2d.geometry.Dimension getSize()
- Overrides:
getSize
in class BasicSubpart
- Returns:
update
public void update()
- For future use
- Overrides:
update
in class APStudio.models.BasicElement