Package org.eclipse.gef.rulers
Class RulerChangeListener.Stub
- java.lang.Object
-
- org.eclipse.gef.rulers.RulerChangeListener.Stub
-
- All Implemented Interfaces:
RulerChangeListener
- Enclosing interface:
- RulerChangeListener
public static class RulerChangeListener.Stub extends java.lang.Object implements RulerChangeListener
Stub for the RulerChangeListener interface. Clients not intending to implement all the methods in that interface can extend this class.- Since:
- 3.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.gef.rulers.RulerChangeListener
RulerChangeListener.Stub
-
-
Constructor Summary
Constructors Constructor Description Stub()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidnotifyGuideMoved(java.lang.Object guide)Invoked when a guide is moved.voidnotifyGuideReparented(java.lang.Object guide)Invoked when a guide is added to or removed from a ruler.voidnotifyPartAttachmentChanged(java.lang.Object part, java.lang.Object guide)Invoked when a graphical component is attached to a guide.voidnotifyUnitsChanged(int newUnit)Invoked when the ruler's unit of measurement is changed.
-
-
-
Method Detail
-
notifyUnitsChanged
public void notifyUnitsChanged(int newUnit)
Description copied from interface:RulerChangeListenerInvoked when the ruler's unit of measurement is changed.- Specified by:
notifyUnitsChangedin interfaceRulerChangeListener- Parameters:
newUnit- The new unit of measurement (RulerProvider.UNIT_INCES, UNIT_CENTIMETERS, or UNIT_PIXELS)- See Also:
RulerChangeListener.notifyUnitsChanged(int)
-
notifyGuideReparented
public void notifyGuideReparented(java.lang.Object guide)
Description copied from interface:RulerChangeListenerInvoked when a guide is added to or removed from a ruler.- Specified by:
notifyGuideReparentedin interfaceRulerChangeListener- Parameters:
guide- The guide that was added or removed- See Also:
RulerChangeListener.notifyGuideReparented(Object)
-
notifyGuideMoved
public void notifyGuideMoved(java.lang.Object guide)
Description copied from interface:RulerChangeListenerInvoked when a guide is moved.- Specified by:
notifyGuideMovedin interfaceRulerChangeListener- Parameters:
guide- The guide that was moved- See Also:
RulerChangeListener.notifyGuideMoved(Object)
-
notifyPartAttachmentChanged
public void notifyPartAttachmentChanged(java.lang.Object part, java.lang.Object guide)Description copied from interface:RulerChangeListenerInvoked when a graphical component is attached to a guide.- Specified by:
notifyPartAttachmentChangedin interfaceRulerChangeListener- Parameters:
part- The model representation of the graphical compoment that was attachedguide- The guide that the part was attached to- See Also:
RulerChangeListener.notifyPartAttachmentChanged(Object, Object)
-
-