TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.hyades.trace.ui.internal.launcher
Class ProfilingSetsManager

java.lang.Object
  extended by org.eclipse.hyades.trace.ui.internal.launcher.ProfilingSetsManager

public class ProfilingSetsManager
extends java.lang.Object


Field Summary
protected  FilterSetElement defaultFilterSet
           
protected  java.lang.String defaultProfilingSet
           
protected  org.eclipse.hyades.trace.ui.launcher.IProfilingSet defaultSet
           
protected static ProfilingSetsManager instance
           
protected  java.util.Map profilingSets
           
protected  java.lang.String profilingSetsExtPoint
          Deprecated.  
protected  java.lang.String profilingSetsStore
           
protected  java.util.Map profilingTypes
           
protected  java.lang.String profilingTypesExtPoint
          Deprecated.  
protected  java.util.Map profilingTypesGroups
          Deprecated.  
protected  java.lang.String profilingTypesGroupsExtPoint
          Deprecated.  
 
Constructor Summary
protected ProfilingSetsManager()
           
 
Method Summary
static void addProfilingOption(java.util.List options, org.eclipse.hyades.trace.ui.launcher.ProfilingAttribute option)
          Add a profiling option to the set of existing options.
static java.util.List filterDuplicateOptions(java.util.List original)
           
protected  boolean filterOption(java.lang.String name)
           
 FilterSetElement findNextAvailableFilterSet()
           
 boolean getAutoMonitoring(org.eclipse.debug.core.ILaunchConfiguration conf)
           
 FilterSetElement getDefaultFilterSet()
           
static java.util.List getDefaultProfilingOptions()
           
 java.lang.String getDefaultProfilingSet()
           
 org.eclipse.hyades.trace.ui.launcher.IProfilingSet getDefaultSet()
           
 java.util.ArrayList getFilters(org.eclipse.debug.core.ILaunchConfiguration conf)
           
 java.util.Map getFilterSets()
           
 org.eclipse.hyades.trace.ui.launcher.IProfilingSet getInitialDefaultSet(java.lang.String toBeRemovedProfileSetId)
           
 java.util.Vector getLimitOptions(org.eclipse.debug.core.ILaunchConfiguration conf)
           
 java.util.Vector getOptions(org.eclipse.debug.core.ILaunchConfiguration conf)
           
 java.util.Vector getProfileOptions(org.eclipse.hyades.trace.ui.launcher.IProfilingSet set)
           
protected  java.lang.StringBuffer getProfilingFiltersString()
           
 java.util.Map getProfilingSets()
           
protected  java.lang.StringBuffer getProfilingSetsString()
           
 java.util.Map getProfilingTypes()
           
 org.eclipse.hyades.trace.ui.launcher.IProfilingSetType[] getProfilingTypesForGroup(java.lang.String groupId)
           
 java.util.Map getProfilingTypesGroups()
          Deprecated.  
protected  void initialize()
           
protected  void initializeProfilingFilters()
           
protected  void initializeProfilingSets()
           
protected  void initializeProfilingTypes()
          Deprecated.  
protected  void initializeProfilingTypesGroups()
          Deprecated.  
static ProfilingSetsManager instance()
           
protected  void readFilters(java.lang.String profilingSetsStr)
           
protected  boolean readSets(java.lang.String profilingSetsStr)
           
protected  boolean readSetsFromPreferences()
          Read profiling sets stored in preferences
protected  void readSetsFromRegistry()
          Add profiling sets defined by extension points
 void setDefaultFilterSet(FilterSetElement defaultFilterSet)
           
 void setDefaultSet(org.eclipse.hyades.trace.ui.launcher.IProfilingSet defaultSet)
           
 void setFilterSets(java.util.Map filterSets)
           
 void writeProfilingSetsToPreference()
           
 void writeSetsToPreferences()
          Write profiling sets to preferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

protected static ProfilingSetsManager instance

profilingSets

protected java.util.Map profilingSets

profilingTypesGroups

protected java.util.Map profilingTypesGroups
Deprecated. 

profilingTypes

protected java.util.Map profilingTypes

defaultSet

protected org.eclipse.hyades.trace.ui.launcher.IProfilingSet defaultSet

defaultFilterSet

protected FilterSetElement defaultFilterSet

profilingTypesGroupsExtPoint

protected final java.lang.String profilingTypesGroupsExtPoint
Deprecated. 
See Also:
Constant Field Values

profilingTypesExtPoint

protected final java.lang.String profilingTypesExtPoint
Deprecated. 
See Also:
Constant Field Values

profilingSetsExtPoint

protected final java.lang.String profilingSetsExtPoint
Deprecated. 
See Also:
Constant Field Values

profilingSetsStore

protected final java.lang.String profilingSetsStore
See Also:
Constant Field Values

defaultProfilingSet

protected final java.lang.String defaultProfilingSet
See Also:
Constant Field Values
Constructor Detail

ProfilingSetsManager

protected ProfilingSetsManager()
Method Detail

instance

public static ProfilingSetsManager instance()

getProfilingTypesGroups

public java.util.Map getProfilingTypesGroups()
Deprecated. 


getProfilingTypes

public java.util.Map getProfilingTypes()

getProfilingSets

public java.util.Map getProfilingSets()

initialize

protected void initialize()

initializeProfilingTypesGroups

protected void initializeProfilingTypesGroups()
Deprecated. 


initializeProfilingTypes

protected void initializeProfilingTypes()
Deprecated. 


initializeProfilingSets

protected void initializeProfilingSets()

readSetsFromRegistry

protected void readSetsFromRegistry()
Add profiling sets defined by extension points


readSetsFromPreferences

protected boolean readSetsFromPreferences()
Read profiling sets stored in preferences


readSets

protected boolean readSets(java.lang.String profilingSetsStr)

getInitialDefaultSet

public org.eclipse.hyades.trace.ui.launcher.IProfilingSet getInitialDefaultSet(java.lang.String toBeRemovedProfileSetId)

readFilters

protected void readFilters(java.lang.String profilingSetsStr)

writeSetsToPreferences

public void writeSetsToPreferences()
Write profiling sets to preferences


writeProfilingSetsToPreference

public void writeProfilingSetsToPreference()

getProfilingSetsString

protected java.lang.StringBuffer getProfilingSetsString()

getProfilingFiltersString

protected java.lang.StringBuffer getProfilingFiltersString()

getProfilingTypesForGroup

public org.eclipse.hyades.trace.ui.launcher.IProfilingSetType[] getProfilingTypesForGroup(java.lang.String groupId)

getDefaultSet

public org.eclipse.hyades.trace.ui.launcher.IProfilingSet getDefaultSet()
Returns:
Returns the defaultSet.

setDefaultSet

public void setDefaultSet(org.eclipse.hyades.trace.ui.launcher.IProfilingSet defaultSet)
Parameters:
defaultSet - The defaultSet to set.

initializeProfilingFilters

protected void initializeProfilingFilters()

getFilterSets

public java.util.Map getFilterSets()
Returns:
Returns the filterSets.

setFilterSets

public void setFilterSets(java.util.Map filterSets)
Parameters:
filterSets - The filterSets to set.

getDefaultFilterSet

public FilterSetElement getDefaultFilterSet()
Returns:
Returns the defaultFilterSet.

setDefaultFilterSet

public void setDefaultFilterSet(FilterSetElement defaultFilterSet)
Parameters:
defaultFilterSet - The defaultFilterSet to set.

getLimitOptions

public java.util.Vector getLimitOptions(org.eclipse.debug.core.ILaunchConfiguration conf)
                                 throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

getOptions

public java.util.Vector getOptions(org.eclipse.debug.core.ILaunchConfiguration conf)
                            throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

getProfileOptions

public java.util.Vector getProfileOptions(org.eclipse.hyades.trace.ui.launcher.IProfilingSet set)
                                   throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

filterOption

protected boolean filterOption(java.lang.String name)

getAutoMonitoring

public boolean getAutoMonitoring(org.eclipse.debug.core.ILaunchConfiguration conf)
                          throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

getFilters

public java.util.ArrayList getFilters(org.eclipse.debug.core.ILaunchConfiguration conf)
                               throws org.eclipse.core.runtime.CoreException
Throws:
org.eclipse.core.runtime.CoreException

findNextAvailableFilterSet

public FilterSetElement findNextAvailableFilterSet()

getDefaultProfilingSet

public java.lang.String getDefaultProfilingSet()

getDefaultProfilingOptions

public static java.util.List getDefaultProfilingOptions()

filterDuplicateOptions

public static java.util.List filterDuplicateOptions(java.util.List original)

addProfilingOption

public static void addProfilingOption(java.util.List options,
                                      org.eclipse.hyades.trace.ui.launcher.ProfilingAttribute option)
Add a profiling option to the set of existing options. If the option already exists, update the existing option value if necessary

Parameters:
options -
option -

TPTP 4.5.0 Platform Project
Internal API Specification