Class HelpPlugin
- All Implemented Interfaces:
- BundleActivator
- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic booleanstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.eclipse.core.runtime.PluginPLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic Filestatic org.eclipse.help.internal.extension.ContentExtensionManagerUsed to obtain the ContentExtensionManagerstatic org.eclipse.help.internal.context.ContextManagerUsed to obtain Context Manager returns an instance of ContextManagerstatic org.eclipse.help.internal.criteria.CriteriaManagerstatic HelpPluginstatic org.eclipse.help.internal.index.IndexManagerstatic org.eclipse.help.internal.toc.TocManagerUsed to obtain Toc Navigation ManagervoidsetHelpProvider(HelpPlugin.IHelpProvider helpProvider) voidstart(BundleContext context) Starts up this plug-in.voidstop(BundleContext context) Stops this plug-in.Methods inherited from class org.eclipse.core.runtime.Pluginfind, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
- 
Field Details- 
PLUGIN_ID- See Also:
 
- 
DEBUGpublic static boolean DEBUG
- 
DEBUG_CONTEXTpublic static boolean DEBUG_CONTEXT
- 
DEBUG_SEARCHpublic static boolean DEBUG_SEARCH
- 
DEBUG_TOCpublic static boolean DEBUG_TOC
- 
DEBUG_INDEXpublic static boolean DEBUG_INDEX
- 
DEBUG_CRITERIApublic static boolean DEBUG_CRITERIA
- 
HELP_DATA_KEY- See Also:
 
- 
BASE_TOCS_KEY- See Also:
 
- 
IGNORED_TOCS_KEY- See Also:
 
- 
IGNORED_INDEXES_KEY- See Also:
 
- 
FILTER_INFOCENTER_KEY- See Also:
 
 
- 
- 
Constructor Details- 
HelpPluginpublic HelpPlugin()
 
- 
- 
Method Details- 
getDefault- Returns:
- the singleton instance of the plugin
 
- 
getTocManagerpublic static org.eclipse.help.internal.toc.TocManager getTocManager()Used to obtain Toc Navigation Manager- Returns:
- instance of TocManager
 
- 
getContextManagerpublic static org.eclipse.help.internal.context.ContextManager getContextManager()Used to obtain Context Manager returns an instance of ContextManager
- 
getContentExtensionManagerpublic static org.eclipse.help.internal.extension.ContentExtensionManager getContentExtensionManager()Used to obtain the ContentExtensionManager
- 
getIndexManagerpublic static org.eclipse.help.internal.index.IndexManager getIndexManager()
- 
getCriteriaManagerpublic static org.eclipse.help.internal.criteria.CriteriaManager getCriteriaManager()
- 
getHelpProvider
- 
setHelpProvider
- 
startDescription copied from class:PluginStarts up this plug-in.This method should be overridden in subclasses that need to do something when this plug-in is started. Implementors should call the inherited method at the first possible point to ensure that any system requirements can be met. If this method throws an exception, it is taken as an indication that plug-in initialization has failed; as a result, the plug-in will not be activated; moreover, the plug-in will be marked as disabled and ineligible for activation for the duration. Note 1: This method is automatically invoked by the platform the first time any code in the plug-in is executed. Note 2: This method is intended to perform simple initialization of the plug-in environment. The platform may terminate initializers that do not complete in a timely fashion. Note 3: The class loader typically has monitors acquired during invocation of this method. It is strongly recommended that this method avoid synchronized blocks or other thread locking mechanisms, as this would lead to deadlock vulnerability. Note 4: The supplied bundle context represents the plug-in to the OSGi framework. For security reasons, it is strongly recommended that this object should not be divulged. Note 5: This method and the Clients must never explicitly call this method.Plugin.stop(BundleContext)may be called from separate threads, but the OSGi framework ensures that both methods will not be called simultaneously.- Specified by:
- startin interface- BundleActivator
- Overrides:
- startin class- Plugin
- Parameters:
- context- the bundle context for this plug-in
- Throws:
- Exception- if this plug-in did not start up properly
 
- 
getConfigurationDirectory
- 
stopDescription copied from class:PluginStops this plug-in.This method should be re-implemented in subclasses that need to do something when the plug-in is shut down. Implementors should call the inherited method as late as possible to ensure that any system requirements can be met. Plug-in shutdown code should be robust. In particular, this method should always make an effort to shut down the plug-in. Furthermore, the code should not assume that the plug-in was started successfully. Note 1: If a plug-in has been automatically started, this method will be automatically invoked by the platform when the platform is shut down. Note 2: This method is intended to perform simple termination of the plug-in environment. The platform may terminate invocations that do not complete in a timely fashion. Note 3: The supplied bundle context represents the plug-in to the OSGi framework. For security reasons, it is strongly recommended that this object should not be divulged. Note 4: This method and the Clients must never explicitly call this method.Plugin.start(BundleContext)may be called from separate threads, but the OSGi framework ensures that both methods will not be called simultaneously.- Specified by:
- stopin interface- BundleActivator
- Overrides:
- stopin class- Plugin
- Parameters:
- context- the bundle context for this plug-in
- Throws:
- Exception- if this method fails to shut down this plug-in
 
 
-