Method Summary |
|
public static Collection | getActiveContexts(ExecutionEvent event) Return the active contexts. |
public static Collection | getActiveContextsChecked(ExecutionEvent event) Return the active contexts.
Parameters: event - The execution event that contains the application context a collection of String contextIds. |
public static IEditorPart | getActiveEditor(ExecutionEvent event) Return the active editor. |
public static IEditorPart | getActiveEditorChecked(ExecutionEvent event) Return the active editor.
Parameters: event - The execution event that contains the application context the active editor. |
public static String | getActiveEditorId(ExecutionEvent event) Return the part id of the active editor. |
public static String | getActiveEditorIdChecked(ExecutionEvent event) Return the part id of the active editor.
Parameters: event - The execution event that contains the application context the part id of the active editor. |
public static ISelection | getActiveMenuEditorInput(ExecutionEvent event) Return the active menu editor input, if available. |
public static ISelection | getActiveMenuEditorInputChecked(ExecutionEvent event) Return the active menu editor input. |
public static ISelection | getActiveMenuSelection(ExecutionEvent event) Return the active menu selection. |
public static ISelection | getActiveMenuSelectionChecked(ExecutionEvent event) Return the active menu selection. |
public static Collection | getActiveMenus(ExecutionEvent event) Return the menu IDs that were applied to the registered context
menu. |
public static Collection | getActiveMenusChecked(ExecutionEvent event) Return the menu IDs that were applied to the registered context
menu. |
public static IWorkbenchPart | getActivePart(ExecutionEvent event) Return the active part. |
public static IWorkbenchPart | getActivePartChecked(ExecutionEvent event) Return the active part.
Parameters: event - The execution event that contains the application context the active part. |
public static String | getActivePartId(ExecutionEvent event) Return the part id of the active part. |
public static String | getActivePartIdChecked(ExecutionEvent event) Return the part id of the active part.
Parameters: event - The execution event that contains the application context the part id of the active part. |
public static Shell | getActiveShell(ExecutionEvent event) Return the active shell. |
public static Shell | getActiveShellChecked(ExecutionEvent event) Return the active shell. |
public static IWorkbenchSite | getActiveSite(ExecutionEvent event) Return the active part site. |
public static IWorkbenchSite | getActiveSiteChecked(ExecutionEvent event) Return the active part site.
Parameters: event - The execution event that contains the application context the active part site. |
public static IWorkbenchWindow | getActiveWorkbenchWindow(ExecutionEvent event) Return the active workbench window. |
public static IWorkbenchWindow | getActiveWorkbenchWindowChecked(ExecutionEvent event) Return the active workbench window.
Parameters: event - The execution event that contains the application context the active workbench window. |
public static ISelection | getCurrentSelection(ExecutionEvent event) Return the current selection. |
public static ISelection | getCurrentSelectionChecked(ExecutionEvent event) Return the current selection.
Parameters: event - The execution event that contains the application context the current selection. |
public static Object | getVariable(ExecutionEvent event, String name) Extract the variable.
Parameters: event - The execution event that contains the application context Parameters: name - The variable name to extract. |
public static Object | getVariableChecked(ExecutionEvent event, String name) Extract the variable.
Parameters: event - The execution event that contains the application context Parameters: name - The variable name to extract. |