TPTP 4.2.0 Platform Project
Internal API Specification

org.eclipse.hyades.trace.ui.internal.core
Class TraceProfileCollectionsUI

java.lang.Object
  extended byorg.eclipse.hyades.trace.ui.internal.util.AbstractChangeable
      extended byorg.eclipse.hyades.trace.ui.internal.core.TraceProfileCollectionsUI
All Implemented Interfaces:
java.util.EventListener, org.eclipse.swt.events.ModifyListener, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class TraceProfileCollectionsUI
extends AbstractChangeable
implements org.eclipse.swt.events.SelectionListener, org.eclipse.swt.events.ModifyListener


Constructor Summary
TraceProfileCollectionsUI()
           
TraceProfileCollectionsUI(boolean attach)
           
 
Method Summary
 void checkNumbersAndPrintErrorMsg()
           
 org.eclipse.swt.widgets.Composite createControl(org.eclipse.swt.widgets.Composite parent)
           
 void enable(boolean enable)
           
 void enableButtons()
           
 void enableMonitoringDesp(boolean visible)
           
 void enableMonitoringSlectionGroup(boolean visible)
           
 boolean getAutoMonitoring()
           
 boolean getLimitInvocations()
           
 int getLimitInvocNb()
           
 boolean getLimitTime()
           
 int getLimitTimeNb()
           
 java.util.Vector getOptions()
          Deprecated. use getProfilingOptions instead
 java.util.Vector getProfilingOptions()
          Return the options as a set of ProfilingAttribute entries.
 void modifyText(org.eclipse.swt.events.ModifyEvent event)
           
 void setAutoMonitoring(boolean select)
           
 void setDefaultOptions()
           
 void setLimitInvocations(boolean setValue)
           
 void setLimitInvocNb(java.lang.String value)
           
 void setLimitTime(boolean setValue)
           
 void setLimitTimeNb(java.lang.String value)
           
 void setPreferencePage(org.eclipse.jface.preference.PreferencePage page)
           
 void setWizardPage(org.eclipse.jface.wizard.WizardPage page)
           
 void storeValues()
           
 java.lang.String validate()
          Returns an error message if there is an error with the limitations; otherwise null
 void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent event)
           
 void widgetSelected(org.eclipse.swt.events.SelectionEvent event)
           
 
Methods inherited from class org.eclipse.hyades.trace.ui.internal.util.AbstractChangeable
addListener, changed, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceProfileCollectionsUI

public TraceProfileCollectionsUI(boolean attach)

TraceProfileCollectionsUI

public TraceProfileCollectionsUI()
Method Detail

createControl

public org.eclipse.swt.widgets.Composite createControl(org.eclipse.swt.widgets.Composite parent)

enable

public void enable(boolean enable)

enableButtons

public void enableButtons()

getOptions

public java.util.Vector getOptions()
Deprecated. use getProfilingOptions instead

Return the options as a set of AgentConfigurationEntry entries.


getProfilingOptions

public java.util.Vector getProfilingOptions()
Return the options as a set of ProfilingAttribute entries.

Returns:
A set of profiling options.

modifyText

public void modifyText(org.eclipse.swt.events.ModifyEvent event)
Specified by:
modifyText in interface org.eclipse.swt.events.ModifyListener

getLimitInvocations

public boolean getLimitInvocations()

getLimitInvocNb

public int getLimitInvocNb()

getLimitTime

public boolean getLimitTime()

getLimitTimeNb

public int getLimitTimeNb()

setLimitInvocations

public void setLimitInvocations(boolean setValue)

setLimitInvocNb

public void setLimitInvocNb(java.lang.String value)

setLimitTime

public void setLimitTime(boolean setValue)

setLimitTimeNb

public void setLimitTimeNb(java.lang.String value)

widgetDefaultSelected

public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent event)
Specified by:
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener

widgetSelected

public void widgetSelected(org.eclipse.swt.events.SelectionEvent event)
Specified by:
widgetSelected in interface org.eclipse.swt.events.SelectionListener

checkNumbersAndPrintErrorMsg

public void checkNumbersAndPrintErrorMsg()

setWizardPage

public void setWizardPage(org.eclipse.jface.wizard.WizardPage page)

setPreferencePage

public void setPreferencePage(org.eclipse.jface.preference.PreferencePage page)

enableMonitoringSlectionGroup

public void enableMonitoringSlectionGroup(boolean visible)

enableMonitoringDesp

public void enableMonitoringDesp(boolean visible)

getAutoMonitoring

public boolean getAutoMonitoring()

setAutoMonitoring

public void setAutoMonitoring(boolean select)

storeValues

public void storeValues()

setDefaultOptions

public void setDefaultOptions()

validate

public java.lang.String validate()
Returns an error message if there is an error with the limitations; otherwise null

Returns:
null or an error message

TPTP 4.2.0 Platform Project
Internal API Specification