SimpleHelpUI Reference 1.2.0

download

Purpose

The plug-in com.bdaum.simpleHelpUI is targeted towards small Rich Client Applications, where footprint is a problem. The plug-in can be used in lieue of the following plug-ins: org.eclipse.help.base, org.eclipse.help.ui, org.eclipse.help.webapp, org.eclipse.help.appserver, org.eclipse.tomcat, org.apache.lucene and org.apache.ant. This will reduce the footprint of RCP application by 5 MB+.

Requirements

Restrictions

Features

Configuration

The configuration is defined in preferences.ini. Five preference values are used to configure com.bdaum.simpleHelpUI:

These preferences can be easily overwritten by defining a file plugin_customization.ini in another plug-in:

# location of converted toc page 
com.bdaum.simpleHelpUI/tocHtmlPage=myPlugin/doc/index.html 
# location of frameset 
com.bdaum.simpleHelpUI/frameset=myPlugin/doc/myframeset.html 
# location of contents style sheet 
com.bdaum.simpleHelpUI/styleSheet=myPlugin/toc.xsl
# location of contents CSS 
com.bdaum.simpleHelpUI/tocCSS=myPlugin/toc.css
# index page grouped by letters 
com.bdaum.simpleHelpUI/index=grouped
# location of index style sheet 
com.bdaum.simpleHelpUI/indexStyleSheet=myPlugin/index.xsl
# location of index CSS 
com.bdaum.simpleHelpUI/indexCSS=myPlugin/index.css
 

Transformation

<!ELEMENT tocs (toc*)>
<!ATTLIST tocs
             css CDATA #IMPLIED
>
<!ELEMENT toc (topic*)>
<!ATTLIST toc
             label CDATA #REQUIRED
             href CDATA #IMPLIED
>
<!ELEMENT topic (topic*)>
<!ATTLIST topic
               label CDATA #REQUIRED
               href CDATA #IMPLIED
>

An example stylesheet transforming the format in HTML output is given in default.xsl in com.bdaum.simpleHelpUI.

<!ELEMENT index (group* | keyword*)>
<!ATTLIST index
             name CDATA #REQUIRED
	     css CDATA #IMPLIED
>
<!ELEMENT group EMPTY>
<!ATTLIST group
             name CDATA #REQUIRED
             href CDATA #REQUIRED
>
<!ELEMENT keyword (ref+)>
<!ATTLIST keyword 
             name CDATA #REQUIRED
>
<!ELEMENT ref EMPTY>
<!ATTLIST ref 
               title CDATA #REQUIRED
               href CDATA #REQUIRED
>

An example stylesheet transforming the format in HTML output is given in index.xsl in com.bdaum.simpleHelpUI.

 

Conversion from simpleHelpUI 1.1.0

 

(c) 2005-2006, Berthold Daum