|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.gef.commands.Command uk.ac.kcl.cch.jb.pliny.commands.ChangeImageZoomValueCommand
Changes the Zoom value (which controls the visual display size of
an image) for resources of type
IZoomableImageResource
.
Generally, changing the Zoom value for a zoomable resource can only be
done while the image is on the screen, so the visual result of this
is therefore to also change the size of it on the screen.
ZoomControlContributionItem
Constructor Summary | |
ChangeImageZoomValueCommand(IZoomableImageResource myResource,
int newZoomValue)
|
Method Summary | |
void |
execute()
|
void |
undo()
|
Methods inherited from class org.eclipse.gef.commands.Command |
canExecute, canUndo, chain, dispose, getDebugLabel, getLabel, redo, setDebugLabel, setLabel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ChangeImageZoomValueCommand(IZoomableImageResource myResource, int newZoomValue)
Method Detail |
public void execute()
public void undo()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |