| java.lang.Object org.eclipse.ui.internal.contexts.WorkbenchContextSupport
WorkbenchContextSupport | public class WorkbenchContextSupport implements IWorkbenchContextSupport(Code) | | Provides support for contexts within the workbench -- including key bindings,
and some default contexts for shell types.
since: 3.0 |
Constructor Summary | |
public | WorkbenchContextSupport(Workbench workbenchToSupport, ContextManager contextManager) Constructs a new instance of WorkbenchCommandSupport . |
WorkbenchContextSupport | public WorkbenchContextSupport(Workbench workbenchToSupport, ContextManager contextManager)(Code) | | Constructs a new instance of WorkbenchCommandSupport .
This attaches the key binding support, and adds a global shell activation
filter.
Parameters: workbenchToSupport - The workbench that needs to be supported by this instance;must not be null . Parameters: contextManager - The context manager to be wrappered; must not benull . |
addEnabledSubmissions | final public void addEnabledSubmissions(Collection enabledSubmissions)(Code) | | |
getShellType | final public int getShellType(Shell shell)(Code) | | |
isKeyFilterEnabled | final public boolean isKeyFilterEnabled()(Code) | | |
openKeyAssistDialog | final public void openKeyAssistDialog()(Code) | | |
registerShell | final public boolean registerShell(Shell shell, int type)(Code) | | |
removeEnabledSubmissions | final public void removeEnabledSubmissions(Collection enabledSubmissions)(Code) | | |
setKeyFilterEnabled | final public void setKeyFilterEnabled(boolean enabled)(Code) | | |
unregisterShell | final public boolean unregisterShell(Shell shell)(Code) | | |
|
|