Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 11 package org.eclipse.ui.contexts; 12 13 import java.util.Collection ; 14 15 import org.eclipse.swt.widgets.Shell; 16 17 33 public interface IWorkbenchContextSupport { 34 35 39 public static final String CONTEXT_ID_DIALOG = IContextService.CONTEXT_ID_DIALOG; 40 41 45 public static final String CONTEXT_ID_DIALOG_AND_WINDOW = IContextService.CONTEXT_ID_DIALOG_AND_WINDOW; 46 47 51 public static final String CONTEXT_ID_WINDOW = IContextService.CONTEXT_ID_WINDOW; 52 53 58 public static final int TYPE_DIALOG = IContextService.TYPE_DIALOG; 59 60 67 public static final int TYPE_NONE = IContextService.TYPE_NONE; 68 69 74 public static final int TYPE_WINDOW = IContextService.TYPE_WINDOW; 75 76 95 void addEnabledSubmission(EnabledSubmission enabledSubmission); 96 97 118 void addEnabledSubmissions(Collection enabledSubmissions); 119 120 126 IContextManager getContextManager(); 127 128 140 public int getShellType(final Shell shell); 141 142 148 public boolean isKeyFilterEnabled(); 149 150 156 public void openKeyAssistDialog(); 157 158 190 public boolean registerShell(final Shell shell, final int type); 191 192 209 void removeEnabledSubmission(EnabledSubmission enabledSubmission); 210 211 229 void removeEnabledSubmissions(Collection enabledSubmissions); 230 231 247 public void setKeyFilterEnabled(final boolean enabled); 248 249 268 public boolean unregisterShell(final Shell shell); 269 } 270
| Popular Tags
|