Ecore

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

java.lang.Object
  extended by EMFGraphEdgeEditPart
      extended by org.topcased.modeler.ecore.ediagram.edit.EReferenceEditPart

public class EReferenceEditPart
extends EMFGraphEdgeEditPart

EReference controller

** Generated **

Constructor Summary
EReferenceEditPart(GraphEdge model)
          Constructor
 
Method Summary
protected  void createEditPolicies()
           
protected  org.eclipse.draw2d.IFigure createFigure()
           
protected  org.eclipse.draw2d.ConnectionRouter getDefaultRouter(org.eclipse.gmf.runtime.draw2d.ui.internal.figures.ConnectionLayerEx cLayer)
           
 IEdgeObjectFigure getEdgeObjectFigure(EdgeObject edgeObject)
           
protected  EReference getEReference()
          Get the EReference model object
 EReferenceFigure getEREferenceFigure()
          Return the figure associated with the controller
protected  void handleModelChanged(Notification msg)
           
 void performRequest(org.eclipse.gef.Request request)
           
protected  void refreshEdgeObjects()
          The decoration of the reference (if one-way reference)
 void setSelected(int value)
          Handle selection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EReferenceEditPart

public EReferenceEditPart(GraphEdge model)
Constructor

Parameters:
model - the graph object
** Generated **
Method Detail

createEditPolicies

protected void createEditPolicies()

See Also:
AbstractEditPart.createEditPolicies()
** Generated **
NOT

createFigure

protected org.eclipse.draw2d.IFigure createFigure()

Returns:
the Figure
** Generated **

getEReference

protected EReference getEReference()
Get the EReference model object

Returns:
the model object

setSelected

public void setSelected(int value)
Handle selection

Parameters:
value - The value of the selection

refreshEdgeObjects

protected void refreshEdgeObjects()
The decoration of the reference (if one-way reference)

See Also:
org.topcased.modeler.edit.GraphEdgeEditPart#refreshEdgeObjects()
** Generated **
NOT

performRequest

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

handleModelChanged

protected void handleModelChanged(Notification msg)
See Also:
org.topcased.modeler.edit.GraphEdgeEditPart#handleModelChanged(org.eclipse.emf.common.notify.Notification)

getEREferenceFigure

public EReferenceFigure getEREferenceFigure()
Return the figure associated with the controller

Returns:
IFigure

getEdgeObjectFigure

public IEdgeObjectFigure getEdgeObjectFigure(EdgeObject edgeObject)
See Also:
org.topcased.modeler.edit.GraphEdgeEditPart#getEdgeObjectFigure(org.topcased.modeler.di.model.EdgeObject)

getDefaultRouter

protected org.eclipse.draw2d.ConnectionRouter getDefaultRouter(org.eclipse.gmf.runtime.draw2d.ui.internal.figures.ConnectionLayerEx cLayer)
See Also:
org.topcased.modeler.edit.GraphEdgeEditPart#getDefaultRouter(org.eclipse.gmf.runtime.draw2d.ui.internal.figures.ConnectionLayerEx)

Ecore

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