GEF v2.0

org.eclipse.gef
Interface EditPartListener

All Known Implementing Classes:
EditPartListener.Stub

public interface EditPartListener

The listener interface for receiving basic events from an EditPart. Listener interested in only one type of Event can extend the {@Stub Stub} implementation rather than implementing the entire interface.


Inner Class Summary
static class EditPartListener.Stub
          Listeners interested in just a subset of Events can extend this stub implementation.
 
Method Summary
 void childAdded(EditPart child, int index)
          Called after a child EditPart has been added to its parent.
 void partActivated(EditPart editpart)
          This method is currently never called by default.
 void partDeactivated(EditPart editpart)
          This method is currently never called by default.
 void removingChild(EditPart child, int index)
          Called before a child EditPart is removed from its parent.
 void selectedStateChanged(EditPart part)
          Called when the selected state of an EditPart has changed.
 

Method Detail

childAdded

public void childAdded(EditPart child,
                       int index)
Called after a child EditPart has been added to its parent.

partActivated

public void partActivated(EditPart editpart)
This method is currently never called by default.

partDeactivated

public void partDeactivated(EditPart editpart)
This method is currently never called by default.

removingChild

public void removingChild(EditPart child,
                          int index)
Called before a child EditPart is removed from its parent.

selectedStateChanged

public void selectedStateChanged(EditPart part)
Called when the selected state of an EditPart has changed.
See Also:
EditPart.SELECTED

GEF v2.0