TPTP 4.5.0 Platform Project
Internal API Specification

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

java.lang.Object
  extended by org.eclipse.hyades.trace.ui.internal.util.AbstractChangeable
      extended by org.eclipse.hyades.trace.ui.internal.core.TraceProfileUI
All Implemented Interfaces:
java.util.EventListener, ILaunchConfigurationTabUpdater, org.eclipse.jface.viewers.ICheckStateListener, org.eclipse.jface.viewers.IDoubleClickListener, org.eclipse.jface.viewers.ISelectionChangedListener, org.eclipse.swt.events.KeyListener, org.eclipse.swt.internal.SWTEventListener

public class TraceProfileUI
extends AbstractChangeable
implements org.eclipse.jface.viewers.ICheckStateListener, org.eclipse.jface.viewers.ISelectionChangedListener, org.eclipse.swt.events.KeyListener, org.eclipse.jface.viewers.IDoubleClickListener, ILaunchConfigurationTabUpdater

Ali M. -- 93212: The following changes are made to the profile tab:


Field Summary
 
Fields inherited from class org.eclipse.hyades.trace.ui.internal.util.AbstractChangeable
_listeners, EVENT
 
Constructor Summary
TraceProfileUI(ProfileTab parentTab, boolean includeDestinationTab)
          The constructor.
 
Method Summary
 void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy conf)
           
 void checkStateChanged(org.eclipse.jface.viewers.CheckStateChangedEvent event)
           
 org.eclipse.swt.widgets.Composite createControl(org.eclipse.swt.widgets.Composite parent)
           
 void deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy wc)
           
 void doubleClick(org.eclipse.jface.viewers.DoubleClickEvent event)
           
 org.eclipse.jface.viewers.CheckboxTreeViewer getCheckBoxTreeViewer()
           
 java.lang.String getErrorMessage()
           
 org.eclipse.hyades.trace.ui.launcher.ProfilingSetsManagerCopy getProfilingSetWC()
           
 void initializeAfterFetch()
           
 void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration conf)
           
 boolean isValid(org.eclipse.debug.core.ILaunchConfiguration conf)
           
 void keyPressed(org.eclipse.swt.events.KeyEvent e)
          Used to show a quick description of the selected item in the monitor tab.
 void keyReleased(org.eclipse.swt.events.KeyEvent e)
           
 void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy wc)
          Invoked when the user has applied the changes.
 void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
          Invoked as a result of a selection change in the tree displaying the data collectors and their associated analysis types.
 void update()
           
 
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

TraceProfileUI

public TraceProfileUI(ProfileTab parentTab,
                      boolean includeDestinationTab)
The constructor.

Parameters:
parentTab - The parent tab
includeDestinationTab - true will force the destination tab to appear as a nested tab of the profile tab. Clients are encouraged to include the destination tab as a configuration tab of its own (i.e. having this flag always set to false)
Method Detail

createControl

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

checkStateChanged

public void checkStateChanged(org.eclipse.jface.viewers.CheckStateChangedEvent event)
Specified by:
checkStateChanged in interface org.eclipse.jface.viewers.ICheckStateListener

selectionChanged

public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Invoked as a result of a selection change in the tree displaying the data collectors and their associated analysis types.

Specified by:
selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener
Parameters:
event - The selection event.

initializeAfterFetch

public void initializeAfterFetch()

initializeFrom

public void initializeFrom(org.eclipse.debug.core.ILaunchConfiguration conf)

activated

public void activated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy conf)

deactivated

public void deactivated(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy wc)

performApply

public void performApply(org.eclipse.debug.core.ILaunchConfigurationWorkingCopy wc)
Invoked when the user has applied the changes.

Parameters:
wc - An editable copy of the launch configuration.

isValid

public boolean isValid(org.eclipse.debug.core.ILaunchConfiguration conf)

getProfilingSetWC

public org.eclipse.hyades.trace.ui.launcher.ProfilingSetsManagerCopy getProfilingSetWC()

update

public void update()
Specified by:
update in interface ILaunchConfigurationTabUpdater

getErrorMessage

public java.lang.String getErrorMessage()

keyPressed

public void keyPressed(org.eclipse.swt.events.KeyEvent e)
Used to show a quick description of the selected item in the monitor tab.

Specified by:
keyPressed in interface org.eclipse.swt.events.KeyListener

keyReleased

public void keyReleased(org.eclipse.swt.events.KeyEvent e)
Specified by:
keyReleased in interface org.eclipse.swt.events.KeyListener

doubleClick

public void doubleClick(org.eclipse.jface.viewers.DoubleClickEvent event)
Specified by:
doubleClick in interface org.eclipse.jface.viewers.IDoubleClickListener

getCheckBoxTreeViewer

public org.eclipse.jface.viewers.CheckboxTreeViewer getCheckBoxTreeViewer()

TPTP 4.5.0 Platform Project
Internal API Specification