de.cau.cs.kieler.karma
Interface IAdvancedRenderingEditPart

All Known Implementing Classes:
AdvancedRenderingBorderedBorderItemEditPart, AdvancedRenderingBorderedShapeEditPart, AdvancedRenderingConnectionEditPart, AdvancedRenderingLabelEditPart, AdvancedRenderingShapeNodeEditPart, Entity2EditPart, Entity3EditPart, EntityName2EditPart, EntityNameEditPart, LinkEditPart, LinkNameEditPart, Node2EditPart, Node4EditPart, PortEditPart, PortNameEditPart, RegionStateEditPart, Relation2EditPart, RelationEditPart, RelationName2EditPart, RelationNameEditPart, StateEditPart, TransitionEditPart

public interface IAdvancedRenderingEditPart

Rating red

Method Summary
 EObject getModelElement()
          Provides easier access to the model element.
 void handleNotificationEvent(Notification notification)
          Override this method from the edit part.
 boolean updateFigure(IFigure figure)
          Method that updates the given figures appearance.
 

Method Detail

handleNotificationEvent

void handleNotificationEvent(Notification notification)
Override this method from the edit part. Is called every time something in the edit part changes.

Parameters:
notification - observer notification

updateFigure

boolean updateFigure(IFigure figure)
Method that updates the given figures appearance.

Parameters:
figure - the figure to be updated
Returns:
True if figure was actually changed. False if nothing happened.

getModelElement

EObject getModelElement()
Provides easier access to the model element.

Returns:
the model element