UML

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

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.EnumerationEditPart

public class EnumerationEditPart
extends ClassifierEditPart

The Enumeration object controller

** Generated **

Constructor Summary
EnumerationEditPart(GraphNode obj)
          Constructor
 
Method Summary
protected  void createEditPolicies()
          Creates edit policies and associates these with roles
protected  org.eclipse.draw2d.IFigure createFigure()
           
protected  void refreshHeaderLabel()
          Set the name of the enumeration, 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

EnumerationEditPart

public EnumerationEditPart(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 **

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 enumeration, 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.