Package org.csstudio.opibuilder.actions
Class PartZoomInAction
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.csstudio.opibuilder.actions.PartZoomInAction
- All Implemented Interfaces:
org.eclipse.draw2d.zoom.ZoomListener
,org.eclipse.gef.Disposable
,org.eclipse.gef.editparts.ZoomListener
,IAction
Tweak
ZoomInAction
.-
Field Summary
Modifier and TypeFieldDescriptionprotected org.eclipse.gef.editparts.ZoomManager
The ZoomManager used to zoom in or outFields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
void
run()
void
setPart
(IWorkbenchPart part) void
zoomChanged
(double zoom) Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Field Details
-
zoomManager
protected org.eclipse.gef.editparts.ZoomManager zoomManagerThe ZoomManager used to zoom in or out
-
-
Constructor Details
-
PartZoomInAction
public PartZoomInAction()
-
-
Method Details
-
run
public void run() -
zoomChanged
public void zoomChanged(double zoom) -
setPart
- Parameters:
part
- a part which must have a ZoomManager Adapter.
-
dispose
public void dispose()- Specified by:
dispose
in interfaceorg.eclipse.gef.Disposable
-