TPTP 4.2.0 Tracing and Profiling Tools Project
Internal API Specification

org.eclipse.hyades.uml2sd.trace.actions.internal
Class OpenTraceInteractions

java.lang.Object
  extended byorg.eclipse.core.commands.common.EventManager
      extended byorg.eclipse.jface.action.AbstractAction
          extended byorg.eclipse.jface.action.Action
              extended byorg.eclipse.hyades.trace.ui.actions.OpenAssociatedTraceViewAction
                  extended byorg.eclipse.hyades.uml2sd.trace.actions.internal.OpenTraceInteractions
All Implemented Interfaces:
org.eclipse.jface.action.IAction, org.eclipse.ui.IActionDelegate, org.eclipse.ui.IViewActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate
Direct Known Subclasses:
OpenAgentInteractions, OpenClassInteractions, OpenNodeInteractions, OpenObjectInteractions, OpenProcessInteractions, OpenThreadInteractions

public abstract class OpenTraceInteractions
extends org.eclipse.hyades.trace.ui.actions.OpenAssociatedTraceViewAction
implements org.eclipse.ui.IWorkbenchWindowActionDelegate, org.eclipse.ui.IViewActionDelegate

The abstract action that offers to help opening a trace interaction.


Field Summary
 
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
OpenTraceInteractions()
          OpenReferencePatternView constructor comment.
OpenTraceInteractions(java.lang.String label)
          OpenReferencePatternView constructor comment.
OpenTraceInteractions(java.lang.String label, org.eclipse.jface.resource.ImageDescriptor image)
          OpenReferencePatternView constructor comment.
 
Method Summary
 boolean checkCollectionMode(org.eclipse.emf.ecore.EObject object)
           
protected  boolean checkEObjectCollectionMode(java.lang.Object obj)
           
 void dispose()
          Looks like a dispose...
abstract  java.lang.String getLoaderClassName()
          The abstract to be implemented by concrete trace interactions opening actions.
 java.lang.String getViewID()
           
 void init(org.eclipse.ui.IViewPart view)
          Initializes this action delegate with the view it will work in.
 void init(org.eclipse.ui.IWorkbenchWindow window)
           
 boolean isEnabledForObject(java.lang.Object obj)
           
 boolean isVisibleForType(java.lang.Object mofObject)
           
 void run()
           
 void run(org.eclipse.jface.action.IAction action)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
 
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.action.IAction
addPropertyChangeListener, removePropertyChangeListener
 

Constructor Detail

OpenTraceInteractions

public OpenTraceInteractions()
OpenReferencePatternView constructor comment.


OpenTraceInteractions

public OpenTraceInteractions(java.lang.String label)
OpenReferencePatternView constructor comment.

Parameters:
label - java.lang.String

OpenTraceInteractions

public OpenTraceInteractions(java.lang.String label,
                             org.eclipse.jface.resource.ImageDescriptor image)
OpenReferencePatternView constructor comment.

Parameters:
label - java.lang.String
image - org.eclipse.jface.parts.IImage
Method Detail

isVisibleForType

public boolean isVisibleForType(java.lang.Object mofObject)

run

public void run()
Specified by:
run in interface org.eclipse.jface.action.IAction
See Also:
IAction.run()

run

public void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.run(org.eclipse.jface.action.IAction)

getLoaderClassName

public abstract java.lang.String getLoaderClassName()
The abstract to be implemented by concrete trace interactions opening actions. This is the way to know which concrete class is to be instantiated as a loader. It exists mainly because the id of the org.eclipse.hyades.ui.analyzerExtensions extension point can not be retrieved.


selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelection)

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate
See Also:
IWorkbenchWindowActionDelegate.init(org.eclipse.ui.IWorkbenchWindow)

init

public void init(org.eclipse.ui.IViewPart view)
Initializes this action delegate with the view it will work in.

Specified by:
init in interface org.eclipse.ui.IViewActionDelegate
Parameters:
view - the view that provides the context for this delegate

dispose

public void dispose()
Looks like a dispose...

Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate

getViewID

public java.lang.String getViewID()

checkEObjectCollectionMode

protected boolean checkEObjectCollectionMode(java.lang.Object obj)

isEnabledForObject

public boolean isEnabledForObject(java.lang.Object obj)

checkCollectionMode

public boolean checkCollectionMode(org.eclipse.emf.ecore.EObject object)

TPTP 4.2.0 Tracing and Profiling Tools Project
Internal API Specification