1 11 package org.eclipse.ui.help; 12 13 import java.net.URL ; 14 15 import org.eclipse.help.IContext; 16 import org.eclipse.jface.action.IAction; 17 import org.eclipse.swt.widgets.Control; 18 import org.eclipse.swt.widgets.Menu; 19 import org.eclipse.swt.widgets.MenuItem; 20 21 32 public interface IWorkbenchHelpSystem { 33 34 39 boolean hasHelpUI(); 40 41 47 void displayHelp(); 48 49 55 void displaySearch(); 56 57 63 void displayDynamicHelp(); 64 65 77 void search(String expression); 78 79 98 void displayContext(IContext context, int x, int y); 99 100 122 void displayHelpResource(String href); 123 124 133 void displayHelp(String contextId); 134 135 144 void displayHelp(IContext context); 145 146 154 boolean isContextHelpDisplayed(); 155 156 164 void setHelp(IAction action, String contextId); 165 166 174 void setHelp(Control control, String contextId); 175 176 184 void setHelp(Menu menu, String contextId); 185 186 194 void setHelp(MenuItem item, String contextId); 195 196 209 URL resolve(String href, boolean documentOnly); 210 } | Popular Tags |