|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
implement this interface in a Pliny resource which has an image-oriented Resource
which has its size controllable by a ZoomControlContributionItem
.
Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener listener)
allows the caller to subscribe to the resource to be notified about changes in zoom size as they occur. |
org.eclipse.draw2d.geometry.Rectangle |
getImagePosition()
gets the current ImagePosition rectangle -- the position where the image sits in the user's frame. |
int |
getZoomSize()
gets the current Zoom size stored in the resource. |
void |
removePropertyChangeListener(PropertyChangeListener listener)
allows the caller to unsubscribe to the resource. |
void |
setZoomSize(int zoom)
sets the current Zoom size stored in the resource to the given value. |
Method Detail |
public int getZoomSize()
public void setZoomSize(int zoom)
zoom
- int the new zoom size to save.public org.eclipse.draw2d.geometry.Rectangle getImagePosition()
public void addPropertyChangeListener(PropertyChangeListener listener)
Resource.ATTRIBUTES_PROP
events.
listener
- public void removePropertyChangeListener(PropertyChangeListener listener)
listener
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |