TPTP 4.2.0 Platform Project
Internal API Specification

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

java.lang.Object
  extended byorg.eclipse.hyades.trace.ui.internal.util.AbstractChangeable
      extended byorg.eclipse.hyades.trace.ui.internal.core.TraceProfileUI
All Implemented Interfaces:
java.util.EventListener, 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

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


Constructor Summary
TraceProfileUI(ProfileTab parentTab, boolean attach)
          Deprecated. It's not recommended for clients to use this constructor. The constructor is equivalent to calling TraceProfileUI(par, attach, true) which always creates nested tabs under the profile tab. This constructor is only provided for easy transitioning and backward compatibility.
TraceProfileUI(ProfileTab parentTab, boolean attach, 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 doubleClick(org.eclipse.jface.viewers.DoubleClickEvent event)
           
 java.lang.String getErrorMessage()
           
 org.eclipse.hyades.trace.ui.launcher.ProfilingSetsManagerCopy getProfilingSetWC()
           
 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 attach)
Deprecated. It's not recommended for clients to use this constructor. The constructor is equivalent to calling TraceProfileUI(par, attach, true) which always creates nested tabs under the profile tab. This constructor is only provided for easy transitioning and backward compatibility.

Parameters:
parentTab - The parent tab
attach - Whether this is used for attach or not

TraceProfileUI

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

Parameters:
parentTab - The parent tab
attach - Whether this is used for attach scenario or not
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.

initializeFrom

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

activated

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

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()

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

TPTP 4.2.0 Platform Project
Internal API Specification