Java Doc for IWorkbenchHelpSystem.java in  » IDE-Eclipse » ui-workbench » org » eclipse » ui » 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.help 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.eclipse.ui.help.IWorkbenchHelpSystem

All known Subclasses:   org.eclipse.ui.internal.help.WorkbenchHelpSystem,
IWorkbenchHelpSystem
public interface IWorkbenchHelpSystem (Code)

The interface that is used to access the workbench help system. Replaces static methods on WorkbenchHelp.

This interface is not intended to be implemented by clients.


since:
   3.1




Method Summary
 voiddisplayContext(IContext context, int x, int y)
     Displays context-sensitive help for the given context.

(x,y) coordinates specify the location where the context sensitive help UI will be presented.

 voiddisplayDynamicHelp()
     Displays the dynamic help for the current UI context.
 voiddisplayHelp()
     Displays the entire help bookshelf.
 voiddisplayHelp(String contextId)
     Calls the help support system to display the given help context id.
 voiddisplayHelp(IContext context)
     Displays context-sensitive help for the given context.
 voiddisplayHelpResource(String href)
     Displays help content for the help resource with the given URL.
 voiddisplaySearch()
     Displays the help search system.
 booleanhasHelpUI()
     Returns whether there is a UI help system installed.
 booleanisContextHelpDisplayed()
     Returns whether the context-sensitive help window is currently being displayed.
 URLresolve(String href, boolean documentOnly)
     Resolves the help resource href by converting it into a legitimate URL according to the implementation of the help system.
 voidsearch(String expression)
     Starts the search using the help search system.

Ignored if no help UI is available.


Parameters:
  expression - the search expression.
 voidsetHelp(IAction action, String contextId)
     Sets the given help context id on the given action.
 voidsetHelp(Control control, String contextId)
     Sets the given help context id on the given control.
 voidsetHelp(Menu menu, String contextId)
     Sets the given help context id on the given menu.
 voidsetHelp(MenuItem item, String contextId)
     Sets the given help context id on the given menu item.



Method Detail
displayContext
void displayContext(IContext context, int x, int y)(Code)
Displays context-sensitive help for the given context.

(x,y) coordinates specify the location where the context sensitive help UI will be presented. These coordinates are screen-relative (ie: (0,0) is the top left-most screen corner). The platform is responsible for calling this method and supplying the appropriate location.

Ignored if no help UI is available.


Parameters:
  context - the context to display
Parameters:
  x - horizontal position
Parameters:
  y - verifical position



displayDynamicHelp
void displayDynamicHelp()(Code)
Displays the dynamic help for the current UI context.

Ignored if no help UI is available.




displayHelp
void displayHelp()(Code)
Displays the entire help bookshelf.

Ignored if no help UI is available.




displayHelp
void displayHelp(String contextId)(Code)
Calls the help support system to display the given help context id.

May only be called from a UI thread.


Parameters:
  contextId - the id of the context to display




displayHelp
void displayHelp(IContext context)(Code)
Displays context-sensitive help for the given context.

May only be called from a UI thread.


Parameters:
  context - the context to display




displayHelpResource
void displayHelpResource(String href)(Code)
Displays help content for the help resource with the given URL.

This method is called by the platform to launch the help system UI, displaying the documentation identified by the href parameter.

The help system makes no guarantee that all the help resources can be displayed or how they are displayed.

Ignored if no help UI is available.


Parameters:
  href - the URL of the help resource.

Valid href are as described inorg.eclipse.help.IHelpResource.getHref IHelpResource.getHref()




displaySearch
void displaySearch()(Code)
Displays the help search system.

Ignored if no help UI is available.




hasHelpUI
boolean hasHelpUI()(Code)
Returns whether there is a UI help system installed. whether there is a UI help system installed



isContextHelpDisplayed
boolean isContextHelpDisplayed()(Code)
Returns whether the context-sensitive help window is currently being displayed. Returns false if the help UI has not been activated yet. true if the context-sensitive help window iscurrently being displayed, false otherwise



resolve
URL resolve(String href, boolean documentOnly)(Code)
Resolves the help resource href by converting it into a legitimate URL according to the implementation of the help system. Help resources that already have a protocol will be unchanged.
Parameters:
  href -
Parameters:
  documentOnly - if true, the resulting URL must pointat the document referenced by href. Otherwise, it can be a URL thatcontains additional elements like navigation that the help systemadds to the document. the resolved URL or null if no help UI isavailable.



search
void search(String expression)(Code)
Starts the search using the help search system.

Ignored if no help UI is available.


Parameters:
  expression - the search expression. The actual syntax rules of theexpression are dependent on the activehelp system. Refer to the help systemdocumentation for more details.



setHelp
void setHelp(IAction action, String contextId)(Code)
Sets the given help context id on the given action.
Parameters:
  action - the action on which to register the context id
Parameters:
  contextId - the context id to use when F1 help is invoked



setHelp
void setHelp(Control control, String contextId)(Code)
Sets the given help context id on the given control.
Parameters:
  control - the control on which to register the context id
Parameters:
  contextId - the context id to use when F1 help is invoked



setHelp
void setHelp(Menu menu, String contextId)(Code)
Sets the given help context id on the given menu.
Parameters:
  menu - the menu on which to register the context id
Parameters:
  contextId - the context id to use when F1 help is invoked



setHelp
void setHelp(MenuItem item, String contextId)(Code)
Sets the given help context id on the given menu item.
Parameters:
  item - the menu item on which to register the context id
Parameters:
  contextId - the context id to use when F1 help is invoked



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