Class GHelpSet
- java.lang.Object
- 
- javax.help.HelpSet
- 
- docking.help.GHelpSet
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 public class GHelpSet extends javax.help.HelpSetGhidra help set that creates a GhidraHelpBroker, installs some custom HTML handling code via the GHelpHTMLEditorKit, and most importantly, changes how the JavaHelp system works with regard to integrating Help Sets.The HelpSet class uses a javax.help.Map object to locate HTML files by javax.help.map.ID objects. This class has overridden that basic usage of the Map object to allow ID lookups to take place across GHelpSet objects. We need to do this due to how we merge help set content across modules. More specifically, in order to merge, we have to make all xml tags the same, including the target HTML file they may reference. Well, when a module uses a tag that references an HTML file not inside of it's module, then JavaHelp considers this an error and does not correctly merge the HelpSets that share the reference. Further, it does not properly locate the shared HTML file reference. This class allows lookups across modules by overridden the lookup functionality done by the map object. More specifically, we override getCombinedMap()andgetLocalMap()to use a custom delegate map object that knows how do do this "cross-module" help lookup.- See Also:
- GHelpHTMLEditorKit, Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description GHelpSet(java.lang.ClassLoader loader, java.net.URL helpset)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.help.HelpBrokercreateHelpBroker()javax.help.MapgetCombinedMap()javax.help.MapgetLocalMap()- 
Methods inherited from class javax.help.HelpSetadd, addHelpSetListener, addPresentation, addSubHelpSet, addView, contains, createHelpBroker, findHelpSet, findHelpSet, findHelpSet, fireHelpSetAdded, fireHelpSetRemoved, getDefaultPresentation, getHelpSets, getHelpSetURL, getHomeID, getKeyData, getLoader, getLocale, getNavigatorView, getNavigatorViews, getPresentation, getPresentations, getTitle, parse, parseInto, remove, removeHelpSetListener, setHomeID, setKeyData, setLocalMap, setTitle, toString
 
- 
 
- 
- 
- 
Method Detail- 
createHelpBrokerpublic javax.help.HelpBroker createHelpBroker() - Overrides:
- createHelpBrokerin class- javax.help.HelpSet
 
 - 
getLocalMappublic javax.help.Map getLocalMap() - Overrides:
- getLocalMapin class- javax.help.HelpSet
 
 - 
getCombinedMappublic javax.help.Map getCombinedMap() - Overrides:
- getCombinedMapin class- javax.help.HelpSet
 
 
- 
 
-