TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.trace.ui.internal.launcher.application
Class AbstractConfiguration

java.lang.Object
  extended by org.eclipse.tptp.trace.ui.internal.launcher.application.AbstractConfiguration
All Implemented Interfaces:
org.eclipse.tptp.trace.ui.provisional.launcher.IConfiguration, org.eclipse.tptp.trace.ui.provisional.launcher.ILightConfiguration
Direct Known Subclasses:
AgentDiscovererConfiguration, PIConfiguration, PIMemoryAnalysisConf, PITimeAnalysisConf, TIConfiguration, TIExtendedConfiguration, TIHeapAnalysisConfig, TIProbeInsertionAnalysisConfig, TIProbeInsertionConfPage, TIThreadAnalysisConfig, TITimeAnalysisConfig

public abstract class AbstractConfiguration
extends java.lang.Object
implements org.eclipse.tptp.trace.ui.provisional.launcher.IConfiguration

An abstract configuration wizard used for the analysis types of the JVMPI data collector.


Nested Class Summary
static class AbstractConfiguration.ExtendedConfigurationPage
          Abstract implementation of IExtendedConfiguration
static interface AbstractConfiguration.IExtendedConfigurationPage
          Extends the configuration page to add APIs that can be used for storing and retrieving attributes.
 
Field Summary
 
Fields inherited from interface org.eclipse.tptp.trace.ui.provisional.launcher.ILightConfiguration
AC_OPT_PREFIX_NAME
 
Constructor Summary
AbstractConfiguration(java.lang.Class[] confPages)
          Constructor - The configuration page classes are expected to implement IExtendedConfigurationPage and have a 0-argument constructor.
 
Method Summary
 boolean finishConfiguration(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
          Finishes the wizard
 org.eclipse.tptp.trace.ui.provisional.launcher.DataCollectionEngineAttribute[] getAttributes()
          Returns the attributes for the configuration wizard.
 org.eclipse.tptp.trace.ui.provisional.launcher.IConfigurationPage[] getConfigurationPages()
           
 void initialize()
          Initialize the configuration pages of the wizard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractConfiguration

public AbstractConfiguration(java.lang.Class[] confPages)
Constructor - The configuration page classes are expected to implement IExtendedConfigurationPage and have a 0-argument constructor.

Parameters:
confPages - The configuration pages that should be added to this wizard
Method Detail

initialize

public void initialize()
Initialize the configuration pages of the wizard.

Specified by:
initialize in interface org.eclipse.tptp.trace.ui.provisional.launcher.IConfiguration

getConfigurationPages

public org.eclipse.tptp.trace.ui.provisional.launcher.IConfigurationPage[] getConfigurationPages()
Specified by:
getConfigurationPages in interface org.eclipse.tptp.trace.ui.provisional.launcher.IConfiguration

getAttributes

public org.eclipse.tptp.trace.ui.provisional.launcher.DataCollectionEngineAttribute[] getAttributes()
Returns the attributes for the configuration wizard.

Specified by:
getAttributes in interface org.eclipse.tptp.trace.ui.provisional.launcher.ILightConfiguration

finishConfiguration

public boolean finishConfiguration(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy workingCopy)
Finishes the wizard

Specified by:
finishConfiguration in interface org.eclipse.tptp.trace.ui.provisional.launcher.IConfiguration

TPTP 4.5.0 Platform Project
Internal API Specification