TPTP 4.2.0 Platform Project
Internal API Specification

org.eclipse.hyades.trace.ui.internal.actions
Class AttachActionDelegate

java.lang.Object
  extended byorg.eclipse.hyades.trace.ui.internal.actions.AbstractProfileActionDelegate
      extended byorg.eclipse.hyades.trace.ui.internal.actions.AbstractListenerActionDelegate
          extended byorg.eclipse.hyades.trace.ui.internal.actions.AttachActionDelegate
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IPageListener, org.eclipse.ui.IPartListener, org.eclipse.hyades.trace.ui.IProfileEventListener, org.eclipse.ui.ISelectionListener, org.eclipse.ui.IViewActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate
Direct Known Subclasses:
AttachAction

public class AttachActionDelegate
extends AbstractListenerActionDelegate


Constructor Summary
AttachActionDelegate()
           
 
Method Summary
 void dispose()
           
 void doAction(java.lang.Object object)
          Does the specific action of this action to the process.
 boolean isEnabledFor(java.lang.Object element)
          Returns whether this action will work for the given element
 void run(org.eclipse.hyades.models.hierarchy.TRCAgentProxy fAgent, INavigator fViewer)
           
 
Methods inherited from class org.eclipse.hyades.trace.ui.internal.actions.AbstractListenerActionDelegate
doHandleProfileEvent, getPage, getWindow, handleProfileEvent, init, init, pageActivated, pageClosed, pageOpened, partActivated, partBroughtToTop, partClosed, partDeactivated, partOpened, setWindow
 
Methods inherited from class org.eclipse.hyades.trace.ui.internal.actions.AbstractProfileActionDelegate
enableForMultiSelection, getAction, getEnableStateForSelection, getSelection, getView, initialize, isInitialized, run, selectionChanged, selectionChanged, setAction, setInitialized, setView, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachActionDelegate

public AttachActionDelegate()
Method Detail

run

public void run(org.eclipse.hyades.models.hierarchy.TRCAgentProxy fAgent,
                INavigator fViewer)

isEnabledFor

public boolean isEnabledFor(java.lang.Object element)
Description copied from class: AbstractProfileActionDelegate
Returns whether this action will work for the given element

Specified by:
isEnabledFor in class AbstractProfileActionDelegate
See Also:
AbstractProfileActionDelegate.isEnabledFor(Object)

doAction

public void doAction(java.lang.Object object)
              throws java.lang.Exception
Description copied from class: AbstractProfileActionDelegate
Does the specific action of this action to the process.

Specified by:
doAction in class AbstractProfileActionDelegate
Throws:
java.lang.Exception
See Also:
AbstractProfileActionDelegate.doAction(Object)

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
Overrides:
dispose in class AbstractListenerActionDelegate

TPTP 4.2.0 Platform Project
Internal API Specification