|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISystemAction
Suggested interface for actions in popup menus of the Remote System Explorer view. While suggested, it is not required to implement this interface.
SystemBaseAction
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 |
Method Summary | |
---|---|
void |
allowOnMultipleSelection(boolean allow)
Is this action to be enabled or disabled when multiple items are selected. |
String |
getContextMenuGroup()
Get the context menu group this action is to go into, for popup menus. |
String |
getHelpContextId()
Get the help id for this action |
IStructuredSelection |
getSelection()
Retrieve selection as set by selectionChanged() or setSelection() |
Shell |
getShell()
Convenience method to get shell of parent window, as set via setShell. |
Viewer |
getViewer()
Get the Viewer that called this action. |
boolean |
isDummy()
Return if true if this is a dummy action |
boolean |
isSelectionSensitive()
Return whether this action is selection-sensitive. |
void |
setContextMenuGroup(String group)
Set the context menu group this action is to go into, for popup menus. |
void |
setHelp(String id)
Set the help id for the action |
void |
setInputs(Shell shell,
Viewer v,
ISelection selection)
An optimization for performance reasons that allows all inputs to be set in one call |
void |
setSelection(ISelection selection)
Sometimes we can't call selectionChanged() because we are not a selection provider. |
void |
setSelectionSensitive(boolean sensitive)
Specify whether this action is selection-sensitive. |
void |
setShell(Shell shell)
Set shell of parent window. |
void |
setViewer(Viewer v)
Set the Viewer that called this action. |
Methods inherited from interface org.eclipse.jface.action.IAction |
---|
addPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, removePropertyChangeListener, run, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
Methods inherited from interface org.eclipse.jface.viewers.ISelectionChangedListener |
---|
selectionChanged |
Method Detail |
---|
void setHelp(String id)
void setContextMenuGroup(String group)
void allowOnMultipleSelection(boolean allow)
void setSelectionSensitive(boolean sensitive)
void setShell(Shell shell)
void setViewer(Viewer v)
void setSelection(ISelection selection)
void setInputs(Shell shell, Viewer v, ISelection selection)
String getHelpContextId()
Shell getShell()
Viewer getViewer()
IStructuredSelection getSelection()
String getContextMenuGroup()
boolean isSelectionSensitive()
boolean isDummy()
|
RSE Release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |