Java Doc for WorkbenchHelpSystem.java in  » IDE-Eclipse » ui-workbench » org » eclipse » ui » internal » help » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » IDE Eclipse » ui workbench » org.eclipse.ui.internal.help 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.eclipse.ui.internal.help.WorkbenchHelpSystem

WorkbenchHelpSystem
final public class WorkbenchHelpSystem implements IWorkbenchHelpSystem(Code)
This class represents a refactoring of the functionality previously contained in WorkbenchHelp.
since:
   3.1


Field Summary
final public static  StringHELP_KEY
     Key used for stashing help-related data on SWT widgets.


Method Summary
public  HelpListenercreateHelpListener(ICommand command)
     Creates a new help listener for the given command.
public  voiddisplayContext(IContext context, int x, int y)
    
public  voiddisplayDynamicHelp()
    
public  voiddisplayHelp()
    
public  voiddisplayHelp(String contextId)
    
public  voiddisplayHelp(IContext context)
    
public  voiddisplayHelpResource(String href)
    
public  voiddisplaySearch()
    
public  voiddispose()
     Dispose of any resources allocated by this instance.
public static  voiddisposeIfNecessary()
     Disposed of the singleton of this class if it has been created.
public  StringgetDesiredHelpSystemId()
     For debug purposes only.
public  IHelpgetHelpSupport()
     Returns the help support system for the platform, if available.
public static  WorkbenchHelpSystemgetInstance()
     Return the singleton instance of this class.
public  booleanhasHelpUI()
    
public  booleanisContextHelpDisplayed()
    
public  URLresolve(String href, boolean documentOnly)
    
public  voidsearch(String expression)
    
public  voidsetDesiredHelpSystemId(String desiredHelpSystemId)
     For debug purposes only.
public  voidsetHelp(IAction action, Object[] contexts)
     Sets the given help contexts on the given action.

Use this method when the list of help contexts is known in advance.

public  voidsetHelp(IAction action, IContextComputer computer)
     Sets the given help context computer on the given action.
public  voidsetHelp(Control control, Object[] contexts)
     Sets the given help contexts on the given control.

Use this method when the list of help contexts is known in advance.

public  voidsetHelp(Control control, IContextComputer computer)
     Sets the given help context computer on the given control.
public  voidsetHelp(Menu menu, Object[] contexts)
     Sets the given help contexts on the given menu.

Use this method when the list of help contexts is known in advance.

public  voidsetHelp(Menu menu, IContextComputer computer)
     Sets the given help context computer on the given menu.
public  voidsetHelp(MenuItem item, Object[] contexts)
     Sets the given help contexts on the given menu item.

Use this method when the list of help contexts is known in advance.

public  voidsetHelp(MenuItem item, IContextComputer computer)
     Sets the given help context computer on the given menu item.
public  voidsetHelp(IAction action, String contextId)
    
public  voidsetHelp(Control control, String contextId)
    
public  voidsetHelp(Menu menu, String contextId)
    
public  voidsetHelp(MenuItem item, String contextId)
    

Field Detail
HELP_KEY
final public static String HELP_KEY(Code)
Key used for stashing help-related data on SWT widgets.
See Also:   org.eclipse.swt.widgets.Widget.getData(java.lang.String)





Method Detail
createHelpListener
public HelpListener createHelpListener(ICommand command)(Code)
Creates a new help listener for the given command. This retrieves the help context ID from the command, and creates an appropriate listener based on this.
Parameters:
  command - The command for which the listener should be created; mustnot be null. A help listener; never null.



displayContext
public void displayContext(IContext context, int x, int y)(Code)



displayDynamicHelp
public void displayDynamicHelp()(Code)



displayHelp
public void displayHelp()(Code)



displayHelp
public void displayHelp(String contextId)(Code)



displayHelp
public void displayHelp(IContext context)(Code)



displayHelpResource
public void displayHelpResource(String href)(Code)



displaySearch
public void displaySearch()(Code)



dispose
public void dispose()(Code)
Dispose of any resources allocated by this instance.



disposeIfNecessary
public static void disposeIfNecessary()(Code)
Disposed of the singleton of this class if it has been created.



getDesiredHelpSystemId
public String getDesiredHelpSystemId()(Code)
For debug purposes only. the desired help system id



getHelpSupport
public IHelp getHelpSupport()(Code)
Returns the help support system for the platform, if available. the help support system, or null if noneorg.eclipse.help.HelpSystem HelpSystem



getInstance
public static WorkbenchHelpSystem getInstance()(Code)
Return the singleton instance of this class. the singleton instance



hasHelpUI
public boolean hasHelpUI()(Code)



isContextHelpDisplayed
public boolean isContextHelpDisplayed()(Code)



resolve
public URL resolve(String href, boolean documentOnly)(Code)



search
public void search(String expression)(Code)



setDesiredHelpSystemId
public void setDesiredHelpSystemId(String desiredHelpSystemId)(Code)
For debug purposes only.
Parameters:
  desiredHelpSystemId - the desired help system id



setHelp
public void setHelp(IAction action, Object[] contexts)(Code)
Sets the given help contexts on the given action.

Use this method when the list of help contexts is known in advance. Help contexts can either supplied as a static list, or calculated with a context computer (but not both).


Parameters:
  action - the action on which to register the computer
Parameters:
  contexts - the contexts to use when F1 help is invoked; a mixed-typearray of context ids (type String) and/or helpcontexts (type IContext)



setHelp
public void setHelp(IAction action, IContextComputer computer)(Code)
Sets the given help context computer on the given action.

Use this method when the help contexts cannot be computed in advance. Help contexts can either supplied as a static list, or calculated with a context computer (but not both).


Parameters:
  action - the action on which to register the computer
Parameters:
  computer - the computer to determine the help contexts for the controlwhen F1 help is invoked



setHelp
public void setHelp(Control control, Object[] contexts)(Code)
Sets the given help contexts on the given control.

Use this method when the list of help contexts is known in advance. Help contexts can either supplied as a static list, or calculated with a context computer (but not both).


Parameters:
  control - the control on which to register the contexts
Parameters:
  contexts - the contexts to use when F1 help is invoked; a mixed-typearray of context ids (type String) and/or helpcontexts (type IContext)



setHelp
public void setHelp(Control control, IContextComputer computer)(Code)
Sets the given help context computer on the given control.

Use this method when the help contexts cannot be computed in advance. Help contexts can either supplied as a static list, or calculated with a context computer (but not both).


Parameters:
  control - the control on which to register the computer
Parameters:
  computer - the computer to determine the help contexts for the controlwhen F1 help is invoked



setHelp
public void setHelp(Menu menu, Object[] contexts)(Code)
Sets the given help contexts on the given menu.

Use this method when the list of help contexts is known in advance. Help contexts can either supplied as a static list, or calculated with a context computer (but not both).


Parameters:
  menu - the menu on which to register the context
Parameters:
  contexts - the contexts to use when F1 help is invoked; a mixed-typearray of context ids (type String) and/or helpcontexts (type IContext)



setHelp
public void setHelp(Menu menu, IContextComputer computer)(Code)
Sets the given help context computer on the given menu.

Use this method when the help contexts cannot be computed in advance. Help contexts can either supplied as a static list, or calculated with a context computer (but not both).


Parameters:
  menu - the menu on which to register the computer
Parameters:
  computer - the computer to determine the help contexts for the controlwhen F1 help is invoked



setHelp
public void setHelp(MenuItem item, Object[] contexts)(Code)
Sets the given help contexts on the given menu item.

Use this method when the list of help contexts is known in advance. Help contexts can either supplied as a static list, or calculated with a context computer (but not both).


Parameters:
  item - the menu item on which to register the context
Parameters:
  contexts - the contexts to use when F1 help is invoked; a mixed-typearray of context ids (type String) and/or helpcontexts (type IContext)



setHelp
public void setHelp(MenuItem item, IContextComputer computer)(Code)
Sets the given help context computer on the given menu item.

Use this method when the help contexts cannot be computed in advance. Help contexts can either supplied as a static list, or calculated with a context computer (but not both).


Parameters:
  item - the menu item on which to register the computer
Parameters:
  computer - the computer to determine the help contexts for the controlwhen F1 help is invoked



setHelp
public void setHelp(IAction action, String contextId)(Code)



setHelp
public void setHelp(Control control, String contextId)(Code)



setHelp
public void setHelp(Menu menu, String contextId)(Code)



setHelp
public void setHelp(MenuItem item, String contextId)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.