Ecore

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

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

public class EAttributeEditPart
extends EModelElementEditPart

The EAttribute object controller

** Generated **

Constructor Summary
EAttributeEditPart(GraphNode obj)
          Constructor
 
Method Summary
protected  void createEditPolicies()
          Creates edit policies and associates these with roles
protected  org.eclipse.draw2d.IFigure createFigure()
           
protected  EAttribute getModelEAttribute()
          Get the EAttribute model object
protected  void refreshHeaderLabel()
          Update the EditableLabel with the correct icon and name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EAttributeEditPart

public EAttributeEditPart(GraphNode obj)
Constructor

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

getModelEAttribute

protected EAttribute getModelEAttribute()
Get the EAttribute model object

Returns:
the model object

createEditPolicies

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

Overrides:
createEditPolicies in class EModelElementEditPart
** Generated **
NOT

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

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

refreshHeaderLabel

protected void refreshHeaderLabel()
Update the EditableLabel with the correct icon and name

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

Ecore

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