Ecore

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

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

public class EAnnotationDocumentationEditPart
extends EMFGraphNodeEditPart

The EAnnotation object controller

** Generated **

Constructor Summary
EAnnotationDocumentationEditPart(GraphNode obj)
          Constructor
 
Method Summary
 void activate()
           
protected  void createEditPolicies()
          Creates edit policies and associates these with roles
protected  org.eclipse.draw2d.IFigure createFigure()
           
 void deactivate()
           
protected  org.eclipse.swt.graphics.Color getDefaultBackgroundColor()
           
 org.eclipse.swt.graphics.FontData[] getHeaderFontData()
           
 ILabel getLabel()
          Return label contained in the header
protected  void performDirectEdit()
           
 void performRequest(org.eclipse.gef.Request request)
           
protected  void refreshHeaderLabel()
           
protected  void refreshTextAndFont()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EAnnotationDocumentationEditPart

public EAnnotationDocumentationEditPart(GraphNode obj)
Constructor

Parameters:
obj -
** Generated **
Method Detail

activate

public void activate()
See Also:
EditPart.activate()

deactivate

public void deactivate()
See Also:
EditPart.deactivate()

createEditPolicies

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

** Generated **

refreshHeaderLabel

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

refreshTextAndFont

protected void refreshTextAndFont()
See Also:
org.topcased.modeler.edit.GraphNodeEditPart#refreshTextAndFont()

performRequest

public void performRequest(org.eclipse.gef.Request request)
See Also:
EditPart.performRequest(org.eclipse.gef.Request)

performDirectEdit

protected void performDirectEdit()
See Also:
org.topcased.modeler.edit.GraphNodeEditPart#performDirectEdit()

getLabel

public ILabel getLabel()
Return label contained in the header

Returns:
Label

getHeaderFontData

public org.eclipse.swt.graphics.FontData[] getHeaderFontData()
See Also:
org.topcased.modeler.edit.GraphNodeEditPart#getHeaderFontData()

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

See Also:
AbstractGraphicalEditPart.createFigure()
** Generated **

getDefaultBackgroundColor

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

Ecore

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