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 void
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.
-
-
-
Method Detail
-
childAdded
public void childAdded(EditPart child, int index)
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:
EditPartListener.childAdded(EditPart, int)
-
partActivated
public void partActivated(EditPart editpart)
Description copied from interface:EditPartListener
Called when the editpart has been activated.- Specified by:
partActivated
in interfaceEditPartListener
- Parameters:
editpart
- the EditPart- See Also:
EditPartListener.partActivated(EditPart)
-
partDeactivated
public void partDeactivated(EditPart editpart)
Description copied from interface:EditPartListener
Called when the editpart has been deactivated.- Specified by:
partDeactivated
in interfaceEditPartListener
- Parameters:
editpart
- the EditPart- See Also:
EditPartListener.partDeactivated(EditPart)
-
removingChild
public void removingChild(EditPart child, int index)
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:
EditPartListener.removingChild(EditPart, int)
-
selectedStateChanged
public void selectedStateChanged(EditPart part)
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:
EditPartListener.selectedStateChanged(EditPart)
-
-