TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.trace.ui.launcher
Class ProfilingSetsManagerCopy

java.lang.Object
  extended byorg.eclipse.hyades.trace.ui.internal.launcher.ProfilingSetsManager
      extended byorg.eclipse.hyades.trace.ui.launcher.ProfilingSetsManagerCopy

public class ProfilingSetsManagerCopy
extends org.eclipse.hyades.trace.ui.internal.launcher.ProfilingSetsManager

This class is used to store changes to the LCD(Launch Configuration Dialog), before the user hits apply. Necessary for the case when user reverts, or cancel. During a save action, this manager copy instance gets sent to the manager. During a cancel action, the manager copy info is not persisted.


Field Summary
 
Fields inherited from class org.eclipse.hyades.trace.ui.internal.launcher.ProfilingSetsManager
defaultFilterSet, defaultProfilingSet, defaultSet, instance, profilingSets, profilingSetsExtPoint, profilingSetsStore, profilingTypes, profilingTypesExtPoint, profilingTypesGroups, profilingTypesGroupsExtPoint
 
Constructor Summary
ProfilingSetsManagerCopy()
          This class will be used to keep temporary information regarding profiling sets
 
Method Summary
 void applyChanges()
          Apply any changes to the main profiling set manager
 void applyManagerChanges()
           
 ProfilingSetsManagerCopy createCopy()
          Creates a copy of this ProfilingSetsManagerCopy instance.
protected  void initializeFilterSets()
          Initialize the filter sets.
 void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration conf)
          Creates the copy information given a launch configuration.
protected  void initializeProfilingSets()
          Initialize the profiling sets.
protected  void initializeProfilingTypes()
          Initialize the profiling types.
protected  void initializeProfilingTypesGroups()
          Deprecated.  
static org.eclipse.hyades.trace.ui.internal.launcher.ProfilingSetsManager instance()
          Creates an instance of the ProfilingSetsManager, this should not be called for ProfilingSetsManagerCopy.
 void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy wc)
          Applies the given launch configuration working copy to this profiling sets manager copy.
 void resetFrom(ProfilingSetsManagerCopy other)
          Resets the data in this instance from another ProfilingSetsManagerCopy instance.
 
Methods inherited from class org.eclipse.hyades.trace.ui.internal.launcher.ProfilingSetsManager
addProfilingOption, filterDuplicateOptions, filterOption, findNextAvailableFilterSet, getAutoMonitoring, getDefaultFilterSet, getDefaultProfilingOptions, getDefaultProfilingSet, getDefaultSet, getFilters, getFilterSets, getInitialDefaultSet, getLimitOptions, getOptions, getProfileOptions, getProfilingFiltersString, getProfilingSets, getProfilingSetsString, getProfilingTypes, getProfilingTypesForGroup, getProfilingTypesGroups, initialize, initializeProfilingFilters, readFilters, readSets, readSetsFromPreferences, readSetsFromRegistry, setDefaultFilterSet, setDefaultSet, setFilterSets, writeProfilingSetsToPreference, writeSetsToPreferences
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilingSetsManagerCopy

public ProfilingSetsManagerCopy()
This class will be used to keep temporary information regarding profiling sets

Method Detail

initializeFrom

public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration conf)
Creates the copy information given a launch configuration.

Parameters:
conf - an ILaunchConfiguration instance, the launch configuration

instance

public static org.eclipse.hyades.trace.ui.internal.launcher.ProfilingSetsManager instance()
Creates an instance of the ProfilingSetsManager, this should not be called for ProfilingSetsManagerCopy.


applyChanges

public void applyChanges()
Apply any changes to the main profiling set manager


applyManagerChanges

public void applyManagerChanges()

initializeProfilingTypesGroups

protected void initializeProfilingTypesGroups()
Deprecated.  

Initialize the profiling types groups.


initializeProfilingTypes

protected void initializeProfilingTypes()
Initialize the profiling types.


initializeProfilingSets

protected void initializeProfilingSets()
Initialize the profiling sets.


initializeFilterSets

protected void initializeFilterSets()
Initialize the filter sets.


performApply

public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy wc)
Applies the given launch configuration working copy to this profiling sets manager copy.

Parameters:
wc - an ILaunchConfigurationWorkingCopy instance, the given launch configuration working copy

createCopy

public ProfilingSetsManagerCopy createCopy()
Creates a copy of this ProfilingSetsManagerCopy instance.

Returns:
a ProfilingSetsManagerCopy instance, the copied instance

resetFrom

public void resetFrom(ProfilingSetsManagerCopy other)
Resets the data in this instance from another ProfilingSetsManagerCopy instance.

Parameters:
other - the other ProfilingSetsManagerCopy instance

TPTP 4.4.0 Platform Project
Public API Specification