|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler
org.eclipse.gmf.runtime.diagram.ui.actions.DiagramAction
org.eclipse.gmf.runtime.diagram.ui.internal.actions.PropertyChangeAction
org.eclipse.gmf.runtime.diagram.ui.actions.CheckedPropertyAction
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.gmf.runtime.common.ui.action.IActionWithProgress |
IActionWithProgress.WorkIndicatorType |
| Field Summary |
| Fields 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 | |
protected |
CheckedPropertyAction(IWorkbenchPage workbenchPage,
java.lang.String propertyId,
java.lang.String propertyName,
java.lang.Object propertyValue)
Creates a new boolean property change action isntance |
| Method Summary | |
protected boolean |
calculateChecked()
Calculates the check state of the action |
protected java.lang.Object |
getNewPropertyValue()
Gets the new property value (usualy from the item's control) |
int |
getStyle()
|
protected boolean |
isOperationHistoryListener()
Retrieves a Boolean indicating whether this action handler is interested in operation history changed events. |
void |
refresh()
Refreshes various aspects of this action, such as its label and whether or not it is enabled. |
| Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.internal.actions.PropertyChangeAction |
createTargetRequest, getOperationSetPropertyValue, getPropertyId, getPropertyName, getPropertyValue, isSelectionListener, setPropertyId, setPropertyName, updateTargetRequest |
| Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.actions.DiagramAction |
calculateEnabled, clearTargetRequest, createOperationSet, dispose, doRun, execute, filterEditPartsMatching, getCommand, getCommand, getCommandLabel, getDiagramCommandStack, getDiagramEditDomain, getDiagramEditPart, getDiagramGraphicalViewer, getDiagramWorkbenchPart, getOperationSet, getPreferencesHint, getSelectedObjects, getTargetEditParts, getTargetRequest, setTargetRequest |
| Methods inherited from class org.eclipse.gmf.runtime.common.ui.action.AbstractActionHandler |
contributedToPart, getActionManager, getLabel, getOperationHistory, getPartListener, getSelection, getStructuredSelection, getUndoContext, getWorkbenchPage, getWorkbenchPart, getWorkIndicatorType, handle, historyNotification, init, isDisposed, isPropertyListener, isRunnable, isSetup, needsSetup, openErrorDialog, propertyChanged, run, run, runWithEvent, selectionChanged, setDisposed, setPartSelector, setSetup, setup, setWorkbenchPart |
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.action.IAction |
addPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getText, getToolTipText, isChecked, isEnabled, isHandled, removePropertyChangeListener, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
| Constructor Detail |
protected CheckedPropertyAction(IWorkbenchPage workbenchPage,
java.lang.String propertyId,
java.lang.String propertyName,
java.lang.Object propertyValue)
workbenchPage - The workbench pagepropertyName - The property namepropertyId - The property id| Method Detail |
protected boolean isOperationHistoryListener()
AbstractActionHandler
isOperationHistoryListener in class AbstractActionHandlertrue if this action handler is interested;
false otherwise.public int getStyle()
public void refresh()
IActionWithProgress
refresh in interface IActionWithProgressrefresh in class DiagramActionprotected boolean calculateChecked()
true if action should be checked, false otherwiseprotected java.lang.Object getNewPropertyValue()
org.eclipse.gmf.runtime.diagram.ui.internal.actions.PropertyChangeAction
|
Runtime | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.