Ecore

org.topcased.modeler.ecore.ediagram.edit
Class EClassEditPart

java.lang.Object
  extended by EMFGraphNodeEditPart
      extended by org.topcased.modeler.ecore.ediagram.edit.EModelElementEditPart
          extended by org.topcased.modeler.ecore.ediagram.edit.EClassEditPart

public class EClassEditPart
extends EModelElementEditPart

The EClass object controller

** Generated **

Constructor Summary
EClassEditPart(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()
           
protected  EClass getModelEClass()
          Get the EClass model object
protected  void refreshHeaderLabel()
          Update the ComposedLabel with the correct Suffix label (if necessary) and the right icon and font for the Main EditableLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EClassEditPart

public EClassEditPart(GraphNode obj)
Constructor

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

getModelEClass

protected EClass getModelEClass()
Get the EClass model object

Returns:
the model object

createEditPolicies

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

Overrides:
createEditPolicies in class EModelElementEditPart
** Generated **

refreshHeaderLabel

protected void refreshHeaderLabel()
Update the ComposedLabel with the correct Suffix label (if necessary) and the right icon and font for the Main EditableLabel

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

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

Overrides:
createFigure in class EModelElementEditPart
See Also:
AbstractGraphicalEditPart.createFigure()
** Generated **

getDefaultFont

protected org.eclipse.swt.graphics.Font getDefaultFont()
See Also:
org.topcased.modeler.edit.GraphNodeEditPart#getDefaultFont()

Ecore

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