[
https://issues.jboss.org/browse/JBIDE-2032?page=com.atlassian.jira.plugin...
]
Denis Golovin edited comment on JBIDE-2032 at 2/24/14 8:31 PM:
---------------------------------------------------------------
It looks like we can finally get decent help for all JBossTools/JBDS related features. It
could be done by installing documentation features from p2 repo or by connecting local
help information center to remote one:
1. We should deploy remote Information Center with JBT/JBDS documentation in eclipse
format. Information center can be deployed as war application
2. Documentation feature(s) could be built out of current documentation (need to create
features and plug-ins that would aggregate doc artifacts like topic.xml, css and html
pages)
3 Every JBoss Tools UI Element like: New Wizard, Editor, Dialog, View should have set help
context through call
{code}PlatformUI.getWorkbench().getHelpSystem().setHelp(container,
"plugin.id.<uielementname>_<name>");{code}
where:
* <uielementname> could be one of: newwizard, dialog, editor, view and e.t.c
* <name> is readable feature name
For example for new JSF Project Wizard it would be
"org.jboss.tools.jsf.ui.newwizard_jsfproject
If no context help requires then default context id should be used for example
"org.jboss.tools.foundation.help.default"
4. org.jboss.tools.foundation.help registers so called Global Help Context Provider which
process requested help context if itis not found by other context providers:
* RemoteContextProvider (loads context from remote Info Center server(s) registered in
preferences Help->Content)
* FileContextProvider (load conext help form xml files defined through
org.eclipse.help.base.contexts extension point, which is usually done in documentation
bundles)
So if doc plugins (which usually defines context help) are not installed or not available
from remote info center then control gets int global provider and it generates default
page for context help with:
* short description
* link to external site
* command to call documentation feature installation out of JBoss Central
* command to register remote info center with JBoss Tools documentation
Default context help by default is generated for JBoss Tools, but could be overriden in
JBDS or other JBoss Tools Based product.
Tested this approach on local build with local info center and it works as expected.
was (Author: dgolovin):
It looks like we can finally get decent help for all JBossTools/JBDS related features.
It could be done by installing documentation features from p2 repo or by connecting local
help information center to remote one:
1. We should deploy remote Information Center with JBT/JBDS documentation in eclipse
format. Information center can be deployed as war application
2. Documentation feature(s) could be built out of current documentation (need to create
features and plug-ins that would aggregate doc artifacts like topic.xml, css and html
pages)
3 Every JBoss Tools UI Element like: New Wizard, Editor, Dialog, View should have set help
context through call
{code}PlatformUI.getWorkbench().getHelpSystem().setHelp(container,
"plugin.id.<uielementname>_<name>");{code}
where:
* <uielementname> could be one of: newwizard, dialog, editor, view and e.t.c
* <name> is readable feature name
For example for new JSF Project Wizard it would be
"org.jboss.tools.jsf.ui.newwizard_jsfproject
If no context help requires then default context id should be used for example
"org.jboss.tools.foundation.help.default"
4. org.jboss.tools.foundation.help registers so called Global Help Context Provider which
process requested help context if itis not found by other context providers:
* RemoteContextProvider (loads context from remote Info Center server(s) registered in
preferences Help->Content)
* FileContextProvider (load conext help form xml files defined through
org.eclipse.help.base.contexts extension point, which is usually done in documentation
bundles)
So if doc plugins (which usually defines context help) are not installed or not available
from remote info center then control gets int global provider and it generates default
page for context help with:
* short description
* link to external site
* command to call documentation feature installation out of JBoss Central
* command to register remote info center with JBoss Tools documentation
Default context help by default is generated for JBoss Tools, but could be overriden in
JBDS or other JBoss Tools Based product.
Tested this approach on local build with local info center and it works as expected.
Help button works not in all wizards.
-------------------------------------
Key: JBIDE-2032
URL:
https://issues.jboss.org/browse/JBIDE-2032
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: help
Affects Versions: 2.1.0.beta1
Reporter: Anton Klimkovich
Assignee: Denis Golovin
Priority: Minor
Fix For: 4.2.x
Attachments: CreateJSFLibrary.PNG, DriverDefinitions.PNG,
EditDriverDefinitions.PNG, InstallNewServerAdapter.PNG, JSFImplementationLibrary.PNG,
NewConnectionProfile.PNG, NewDriverDefinitions.PNG, NewSeamRuntime.PNG, NewServer.PNG,
Resource - Eclipse Platform _028.png
Wizards with non-working help button attached.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira