|
Eclipse GEF 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.rulers.RulerChangeListener.Stub
Stub for the RulerChangeListener interface. Clients not intending to implement all the methods in that interface can extend this class.
Nested Class Summary |
Nested classes inherited from class org.eclipse.gef.rulers.RulerChangeListener |
RulerChangeListener.Stub |
Constructor Summary | |
RulerChangeListener.Stub()
|
Method Summary | |
void |
notifyGuideMoved(Object guide)
Invoked when a guide is moved. |
void |
notifyGuideReparented(Object guide)
Invoked when a guide is added to or removed from a ruler. |
void |
notifyPartAttachmentChanged(Object part,
Object guide)
Invoked when a graphical component is attached to a guide. |
void |
notifyUnitsChanged(int newUnit)
Invoked when the ruler's unit of measurement is changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RulerChangeListener.Stub()
Method Detail |
public void notifyUnitsChanged(int newUnit)
RulerChangeListener
notifyUnitsChanged
in interface RulerChangeListener
newUnit
- The new unit of measurement (RulerProvider.UNIT_INCES,
UNIT_CENTIMETERS, or UNIT_PIXELS)RulerChangeListener.notifyUnitsChanged(int)
public void notifyGuideReparented(Object guide)
RulerChangeListener
notifyGuideReparented
in interface RulerChangeListener
guide
- The guide that was added or removedRulerChangeListener.notifyGuideReparented(Object)
public void notifyGuideMoved(Object guide)
RulerChangeListener
notifyGuideMoved
in interface RulerChangeListener
guide
- The guide that was movedRulerChangeListener.notifyGuideMoved(Object)
public void notifyPartAttachmentChanged(Object part, Object guide)
RulerChangeListener
notifyPartAttachmentChanged
in interface RulerChangeListener
part
- The model representation of the graphical compoment that was attachedguide
- The guide that the part was attached toRulerChangeListener.notifyPartAttachmentChanged(Object, Object)
|
Eclipse GEF 3.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |