public class MatchHeightAction extends MatchSizeAction
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 and Description |
|---|
MatchHeightAction(IWorkbenchPart part)
Constructs a
MatchHeightAction and associates it with the
given part. |
| Modifier and Type | Method and Description |
|---|---|
protected double |
getPreciseWidthDelta(PrecisionRectangle precisePartBounds,
PrecisionRectangle precisePrimaryBounds)
Returns 0 to make this action affect only the height delta.
|
calculateEnabled, getPreciseHeightDelta, rundispose, getSelectedObjects, getSelection, handleSelectionChanged, setSelection, setSelectionProvider, updateexecute, getCommandStack, getWorkbenchPart, init, isEnabled, refresh, setLazyEnablementCalculation, setWorkbenchPartconvertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipTextaddPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListeneraddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectpublic MatchHeightAction(IWorkbenchPart part)
MatchHeightAction and associates it with the
given part.part - The workbench part associated with this MatchHeightActionprotected double getPreciseWidthDelta(PrecisionRectangle precisePartBounds, PrecisionRectangle precisePrimaryBounds)
getPreciseWidthDelta in class MatchSizeActionprecisePartBounds - the precise bounds of the EditPart's Figure to be matchedprecisePrimaryBounds - the precise bounds of the Primary Selection EditPart's FigureCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.