Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse GEF
3.3

org.eclipse.gef.rulers
Interface RulerChangeListener

All Known Implementing Classes:
RulerChangeListener.Stub

public interface RulerChangeListener

RulerChangeListeners can be added to RulerProviders to receive notification about changes in the ruler/guide properties. This interface provides a mechanism for the (client-side) ruler/guide model to communicate changes to GEF's ruler/guide feature.

Since:
3.0
See Also:
RulerProvider

Nested Class Summary
static class RulerChangeListener.Stub
          Stub for the RulerChangeListener interface.
 
Method Summary
 void notifyGuideMoved (java.lang.Object guide)
          Invoked when a guide is moved.
 void notifyGuideReparented (java.lang.Object guide)
          Invoked when a guide is added to or removed from a ruler.
 void notifyPartAttachmentChanged (java.lang.Object part, java.lang.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.
 

Method Detail

notifyUnitsChanged

public void notifyUnitsChanged(int newUnit)
Invoked when the ruler's unit of measurement is changed.

Parameters:
newUnit - The new unit of measurement (RulerProvider.UNIT_INCES, UNIT_CENTIMETERS, or UNIT_PIXELS)

notifyGuideReparented

public void notifyGuideReparented(java.lang.Object guide)
Invoked when a guide is added to or removed from a ruler.

Parameters:
guide - The guide that was added or removed

notifyGuideMoved

public void notifyGuideMoved(java.lang.Object guide)
Invoked when a guide is moved.

Parameters:
guide - The guide that was moved

notifyPartAttachmentChanged

public void notifyPartAttachmentChanged(java.lang.Object part,
                                        java.lang.Object guide)
Invoked when a graphical component is attached to a guide.

Parameters:
part - The model representation of the graphical compoment that was attached
guide - The guide that the part was attached to

Eclipse GEF
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire