|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Suggested interface for actions in popup menus of the remote systems explorer view. While suggested, it is not required to implement this interface.
SystemBaseAction
Field Summary | |
---|---|
static String |
copyright
|
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. |
Field Detail |
public static final String copyright
Method Detail |
public void setHelp(String id)
public void setContextMenuGroup(String group)
public void allowOnMultipleSelection(boolean allow)
public void setSelectionSensitive(boolean sensitive)
public void setShell(Shell shell)
public void setViewer(Viewer v)
public void setSelection(ISelection selection)
public void setInputs(Shell shell, Viewer v, ISelection selection)
public String getHelpContextId()
public Shell getShell()
public Viewer getViewer()
public IStructuredSelection getSelection()
public String getContextMenuGroup()
public boolean isSelectionSensitive()
public boolean isDummy()
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |