TPTP 4.6.0 Platform Project
Internal API Specification

org.eclipse.hyades.ui.internal.report
Class ReportManager

java.lang.Object
  extended by org.eclipse.hyades.ui.internal.report.ReportManager
All Implemented Interfaces:
org.eclipse.hyades.ui.util.IDisposable

public class ReportManager
extends java.lang.Object
implements org.eclipse.hyades.ui.util.IDisposable

This manages all report generators.


Field Summary
protected  java.lang.String extensionPoint
           
protected  org.eclipse.ui.plugin.AbstractUIPlugin plugin
           
protected  java.util.List pluginReportDescription
           
protected  java.util.List preferenceReportDescription
           
protected static java.lang.String prefKey
           
protected static ReportManager reportManager
           
 
Constructor Summary
ReportManager(org.eclipse.ui.plugin.AbstractUIPlugin plugin, java.lang.String extensionPoint)
          Constructor for ReportManager
 
Method Summary
 void addReportDefinition(org.eclipse.hyades.ui.report.IReportDescription reportDescription)
           
 void dispose()
           
static ReportManager getInstance()
          Returns the report manager for the Test UI plugin.
protected  org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
           
 org.eclipse.hyades.ui.report.IReportDescription[] getPreferenceStoreReportDescriptions()
           
 org.eclipse.hyades.ui.report.IReportDescription[] getReportDescriptions()
           
protected  void loadDescription(org.w3c.dom.Element descriptionElement)
          Loads the preference setting located in the XML element.
 void loadFromPluginRegistry()
           
 void loadFromPreferenceStore()
           
 void removeReportDefinition(org.eclipse.hyades.ui.report.IReportDescription reportDescription)
           
 void saveIntoPreferenceStore()
           
protected  void storeDescription(java.lang.StringBuffer xml, org.eclipse.hyades.ui.report.IReportDescription reportDefinition)
          Writes the preferences of the specified report definition in an XML format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prefKey

protected static java.lang.String prefKey

pluginReportDescription

protected java.util.List pluginReportDescription

preferenceReportDescription

protected java.util.List preferenceReportDescription

plugin

protected org.eclipse.ui.plugin.AbstractUIPlugin plugin

extensionPoint

protected java.lang.String extensionPoint

reportManager

protected static ReportManager reportManager
Constructor Detail

ReportManager

public ReportManager(org.eclipse.ui.plugin.AbstractUIPlugin plugin,
                     java.lang.String extensionPoint)
Constructor for ReportManager

Method Detail

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.hyades.ui.util.IDisposable
See Also:
IDisposable.dispose()

getPreferenceStore

protected org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()

addReportDefinition

public void addReportDefinition(org.eclipse.hyades.ui.report.IReportDescription reportDescription)

removeReportDefinition

public void removeReportDefinition(org.eclipse.hyades.ui.report.IReportDescription reportDescription)

getPreferenceStoreReportDescriptions

public org.eclipse.hyades.ui.report.IReportDescription[] getPreferenceStoreReportDescriptions()

getReportDescriptions

public org.eclipse.hyades.ui.report.IReportDescription[] getReportDescriptions()

loadFromPluginRegistry

public void loadFromPluginRegistry()

loadFromPreferenceStore

public void loadFromPreferenceStore()

loadDescription

protected void loadDescription(org.w3c.dom.Element descriptionElement)
Loads the preference setting located in the XML element.

Parameters:
mappingElement -

saveIntoPreferenceStore

public void saveIntoPreferenceStore()

storeDescription

protected void storeDescription(java.lang.StringBuffer xml,
                                org.eclipse.hyades.ui.report.IReportDescription reportDefinition)
Writes the preferences of the specified report definition in an XML format

Parameters:
xml -
reportDefinition -

getInstance

public static ReportManager getInstance()
Returns the report manager for the Test UI plugin.

Returns:
ReportManager

TPTP 4.6.0 Platform Project
Internal API Specification