|
||||||||||
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.ui.actions.BaseSelectionListenerAction
org.eclipse.ui.actions.SelectionListenerAction
org.eclipse.cdt.debug.internal.ui.sourcelookup.SourceContainerAction
public abstract class SourceContainerAction
The abstract class for all source lookup actions.
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 | |
---|---|
SourceContainerAction(java.lang.String label)
The constructor for the action |
Method Summary | |
---|---|
void |
setButton(org.eclipse.swt.widgets.Button button)
Sets the button that invokes this action |
void |
setEnabled(boolean enabled)
|
void |
setShell(org.eclipse.swt.widgets.Shell shell)
Sets the shell used to realize this action's dialog (if any). |
void |
setViewer(SourceContainerViewer viewer)
Sets the viewer on which this action operates. |
Methods inherited from class org.eclipse.ui.actions.BaseSelectionListenerAction |
---|
getStructuredSelection, runWithEvent, selectionChanged, selectionChanged |
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, run, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
Methods inherited from class org.eclipse.jface.action.AbstractAction |
---|
addPropertyChangeListener, removePropertyChangeListener |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.jface.action.IAction |
---|
addPropertyChangeListener, removePropertyChangeListener |
Constructor Detail |
---|
public SourceContainerAction(java.lang.String label)
label
- the label for the action's buttonMethod Detail |
---|
public void setViewer(SourceContainerViewer viewer)
viewer
- the viewer on which this action operatespublic void setButton(org.eclipse.swt.widgets.Button button)
public void setEnabled(boolean enabled)
setEnabled
in interface org.eclipse.jface.action.IAction
setEnabled
in class org.eclipse.jface.action.Action
IAction#setEnabled(boolean)
public void setShell(org.eclipse.swt.widgets.Shell shell)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |