Package org.eclipse.gef
Class EditPartListener.Stub
java.lang.Object
org.eclipse.gef.EditPartListener.Stub
- All Implemented Interfaces:
EditPartListener
- Enclosing interface:
- EditPartListener
Listeners interested in just a subset of Events can extend this stub
implementation. Also, extending the Stub will reduce the impact of new API on
this interface.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.gef.EditPartListener
EditPartListener.Stub
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
childAdded
(EditPart child, int index) Called after a child EditPart has been added to its parent.void
partActivated
(EditPart editpart) Called when the editpart has been activated.void
partDeactivated
(EditPart editpart) Called when the editpart has been deactivated.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.
-
Constructor Details
-
Stub
public Stub()
-
-
Method Details
-
childAdded
Description copied from interface:EditPartListener
Called after a child EditPart has been added to its parent.- Specified by:
childAdded
in interfaceEditPartListener
- Parameters:
child
- the Childindex
- the index at which the child was added- See Also:
-
partActivated
Description copied from interface:EditPartListener
Called when the editpart has been activated.- Specified by:
partActivated
in interfaceEditPartListener
- Parameters:
editpart
- the EditPart- See Also:
-
partDeactivated
Description copied from interface:EditPartListener
Called when the editpart has been deactivated.- Specified by:
partDeactivated
in interfaceEditPartListener
- Parameters:
editpart
- the EditPart- See Also:
-
removingChild
Description copied from interface:EditPartListener
Called before a child EditPart is removed from its parent.- Specified by:
removingChild
in interfaceEditPartListener
- Parameters:
child
- the Child being removedindex
- the child's current location- See Also:
-
selectedStateChanged
Description copied from interface:EditPartListener
Called when the selected state of an EditPart has changed. Focus changes also result in this method being called.- Specified by:
selectedStateChanged
in interfaceEditPartListener
- Parameters:
part
- the part whose selection was changed- See Also:
-