Package org.eclipse.gef
Class EditPartListener.Stub
- java.lang.Object
-
- org.eclipse.gef.EditPartListener.Stub
-
- All Implemented Interfaces:
EditPartListener
- Enclosing interface:
- EditPartListener
public static class EditPartListener.Stub extends java.lang.Object implements 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 Constructor Description Stub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidchildAdded(EditPart child, int index)Called after a child EditPart has been added to its parent.voidpartActivated(EditPart editpart)Called when the editpart has been activated.voidpartDeactivated(EditPart editpart)Called when the editpart has been deactivated.voidremovingChild(EditPart child, int index)Called before a child EditPart is removed from its parent.voidselectedStateChanged(EditPart part)Called when the selected state of an EditPart has changed.
-
-
-
Method Detail
-
childAdded
public void childAdded(EditPart child, int index)
Description copied from interface:EditPartListenerCalled after a child EditPart has been added to its parent.- Specified by:
childAddedin interfaceEditPartListener- Parameters:
child- the Childindex- the index at which the child was added- See Also:
EditPartListener.childAdded(EditPart, int)
-
partActivated
public void partActivated(EditPart editpart)
Description copied from interface:EditPartListenerCalled when the editpart has been activated.- Specified by:
partActivatedin interfaceEditPartListener- Parameters:
editpart- the EditPart- See Also:
EditPartListener.partActivated(EditPart)
-
partDeactivated
public void partDeactivated(EditPart editpart)
Description copied from interface:EditPartListenerCalled when the editpart has been deactivated.- Specified by:
partDeactivatedin interfaceEditPartListener- Parameters:
editpart- the EditPart- See Also:
EditPartListener.partDeactivated(EditPart)
-
removingChild
public void removingChild(EditPart child, int index)
Description copied from interface:EditPartListenerCalled before a child EditPart is removed from its parent.- Specified by:
removingChildin interfaceEditPartListener- Parameters:
child- the Child being removedindex- the child's current location- See Also:
EditPartListener.removingChild(EditPart, int)
-
selectedStateChanged
public void selectedStateChanged(EditPart part)
Description copied from interface:EditPartListenerCalled when the selected state of an EditPart has changed. Focus changes also result in this method being called.- Specified by:
selectedStateChangedin interfaceEditPartListener- Parameters:
part- the part whose selection was changed- See Also:
EditPartListener.selectedStateChanged(EditPart)
-
-