Package org.eclipse.gef.rulers
Class RulerChangeListener.Stub
java.lang.Object
org.eclipse.gef.rulers.RulerChangeListener.Stub
- All Implemented Interfaces:
- RulerChangeListener
- Enclosing interface:
- 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 SummaryNested classes/interfaces inherited from interface org.eclipse.gef.rulers.RulerChangeListenerRulerChangeListener.Stub
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidnotifyGuideMoved(Object guide) Invoked when a guide is moved.voidnotifyGuideReparented(Object guide) Invoked when a guide is added to or removed from a ruler.voidnotifyPartAttachmentChanged(Object part, 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.
- 
Constructor Details- 
Stubpublic Stub()
 
- 
- 
Method Details- 
notifyUnitsChangedpublic void notifyUnitsChanged(int newUnit) Description copied from interface:RulerChangeListenerInvoked when the ruler's unit of measurement is changed.- Specified by:
- notifyUnitsChangedin interface- RulerChangeListener
- Parameters:
- newUnit- The new unit of measurement (RulerProvider.UNIT_INCES, UNIT_CENTIMETERS, or UNIT_PIXELS)
- See Also:
 
- 
notifyGuideReparentedDescription copied from interface:RulerChangeListenerInvoked when a guide is added to or removed from a ruler.- Specified by:
- notifyGuideReparentedin interface- RulerChangeListener
- Parameters:
- guide- The guide that was added or removed
- See Also:
 
- 
notifyGuideMovedDescription copied from interface:RulerChangeListenerInvoked when a guide is moved.- Specified by:
- notifyGuideMovedin interface- RulerChangeListener
- Parameters:
- guide- The guide that was moved
- See Also:
 
- 
notifyPartAttachmentChangedDescription copied from interface:RulerChangeListenerInvoked when a graphical component is attached to a guide.- Specified by:
- notifyPartAttachmentChangedin interface- RulerChangeListener
- Parameters:
- part- The model representation of the graphical compoment that was attached
- guide- The guide that the part was attached to
- See Also:
 
 
-