UML

org.topcased.modeler.uml.classdiagram.edit
Class DataTypeEditPart

java.lang.Object
  extended by EMFGraphNodeEditPart
      extended by org.topcased.modeler.uml.alldiagram.edit.ElementEditPart
          extended by org.topcased.modeler.uml.classdiagram.edit.NamedElementEditPart
              extended by org.topcased.modeler.uml.classdiagram.edit.TypeEditPart
                  extended by org.topcased.modeler.uml.classdiagram.edit.ClassifierEditPart
                      extended by org.topcased.modeler.uml.classdiagram.edit.DataTypeEditPart

public class DataTypeEditPart
extends ClassifierEditPart

The DataType object controller

** Generated **

Constructor Summary
DataTypeEditPart(GraphNode obj)
          Constructor
 
Method Summary
protected  void createEditPolicies()
          Creates edit policies and associates these with roles
protected  org.eclipse.draw2d.IFigure createFigure()
           
protected  org.eclipse.swt.graphics.Font getDefaultFont()
          Datatype label is bold
protected  void refreshHeaderLabel()
          Set the name of the datatype, with the stereotype and the "from"
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataTypeEditPart

public DataTypeEditPart(GraphNode obj)
Constructor

Parameters:
obj - the graph node
** Generated **
Method Detail

createEditPolicies

protected void createEditPolicies()
Creates edit policies and associates these with roles

Overrides:
createEditPolicies in class ClassifierEditPart
** Generated **

getDefaultFont

protected org.eclipse.swt.graphics.Font getDefaultFont()
Datatype label is bold

See Also:
org.topcased.modeler.edit.GraphNodeEditPart#getDefaultFont()

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

Overrides:
createFigure in class ClassifierEditPart
See Also:
org.eclipse.gef.editparts.AbstractGraphicalEditPart#createFigure()
** Generated **

refreshHeaderLabel

protected void refreshHeaderLabel()
Set the name of the datatype, with the stereotype and the "from"

See Also:
org.topcased.modeler.edit.EMFGraphNodeEditPart#refreshHeaderLabel()

UML

Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.