TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.instrumentation.ui.internal.control.provider.application
Class InstrumentAgentStateModifier

java.lang.Object
  extended by org.eclipse.tptp.platform.instrumentation.ui.internal.control.provider.application.InstrumentAgentStateModifier
All Implemented Interfaces:
org.eclipse.tptp.trace.ui.provisional.control.provider.IAgentStateModifier

public class InstrumentAgentStateModifier
extends java.lang.Object
implements org.eclipse.tptp.trace.ui.provisional.control.provider.IAgentStateModifier

A standard implementation of IAgentStateModifier that looks up the execution agent to change its state. The attach and detach options are not implemented.


Constructor Summary
InstrumentAgentStateModifier()
          Default constructor.
 
Method Summary
 void attach()
          Not implemented
 boolean canAttach()
          Not implemented
 boolean canDetach()
          Not implemented
 boolean canPause()
          Indicates whether pauseMonitoring can be invoked for the affiliated agent.
 boolean canResume()
          Indicates whether startMonitoring can be invoked for the affiliated agent.
 void detach()
          Not implemented
 void pauseMonitoring()
          Pauses the affiliated agent.
 void setInput(org.eclipse.jface.viewers.StructuredSelection input)
          Sets the current input for this state modifier.
 void startMonitoring()
          Starts monitoring the affiliated agent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentAgentStateModifier

public InstrumentAgentStateModifier()
Default constructor.

Method Detail

attach

public void attach()
            throws org.eclipse.core.runtime.CoreException
Not implemented

Specified by:
attach in interface org.eclipse.tptp.trace.ui.provisional.control.provider.IAgentStateModifier
Throws:
org.eclipse.core.runtime.CoreException

canAttach

public boolean canAttach()
Not implemented

Specified by:
canAttach in interface org.eclipse.tptp.trace.ui.provisional.control.provider.IAgentStateModifier

canDetach

public boolean canDetach()
Not implemented

Specified by:
canDetach in interface org.eclipse.tptp.trace.ui.provisional.control.provider.IAgentStateModifier

canPause

public boolean canPause()
Indicates whether pauseMonitoring can be invoked for the affiliated agent.

Specified by:
canPause in interface org.eclipse.tptp.trace.ui.provisional.control.provider.IAgentStateModifier
Returns:
true if the pauseMonitoring operation can be performed; false otherwise

canResume

public boolean canResume()
Indicates whether startMonitoring can be invoked for the affiliated agent.

Specified by:
canResume in interface org.eclipse.tptp.trace.ui.provisional.control.provider.IAgentStateModifier
Returns:
true if the pauseMonitoring operation can be performed; false otherwise

detach

public void detach()
            throws org.eclipse.core.runtime.CoreException
Not implemented

Specified by:
detach in interface org.eclipse.tptp.trace.ui.provisional.control.provider.IAgentStateModifier
Throws:
org.eclipse.core.runtime.CoreException

pauseMonitoring

public void pauseMonitoring()
                     throws org.eclipse.core.runtime.CoreException
Pauses the affiliated agent.

Specified by:
pauseMonitoring in interface org.eclipse.tptp.trace.ui.provisional.control.provider.IAgentStateModifier
Throws:
org.eclipse.core.runtime.CoreException

setInput

public void setInput(org.eclipse.jface.viewers.StructuredSelection input)
Sets the current input for this state modifier.

Specified by:
setInput in interface org.eclipse.tptp.trace.ui.provisional.control.provider.IAgentStateModifier

startMonitoring

public void startMonitoring()
                     throws org.eclipse.core.runtime.CoreException
Starts monitoring the affiliated agent

Specified by:
startMonitoring in interface org.eclipse.tptp.trace.ui.provisional.control.provider.IAgentStateModifier
Throws:
org.eclipse.core.runtime.CoreException

TPTP 4.5.0 Platform Project
Internal API Specification