PTP
Release 7.0

org.eclipse.ptp.debug.core.pdi.manager
Interface IPDIExpressionManager

All Superinterfaces:
IPDIManager, IPDISessionObject, IPDISet

public interface IPDIExpressionManager
extends IPDIManager

Represent expression manager to manage multiple expression


Method Summary
 void cleanMultiExpressions(java.lang.String exprText, TaskSet tasks, org.eclipse.core.runtime.IProgressMonitor monitor)
          Clean expression value with given tasks
 void cleanMultiExpressions(TaskSet tasks, org.eclipse.core.runtime.IProgressMonitor monitor)
          Clean expression value with given tasks
 IPDITargetExpression createExpression(TaskSet qTasks, java.lang.String expr)
          Creates an expression for specify variable
 void createMutliExpressions(TaskSet tasks, java.lang.String exprText, boolean enabled)
          Creates multiple expression object for a number of processes with one variable
 IPDIVariable createVariable(IPDIStackFrame frame, java.lang.String expr)
          Create a variable
 void deleteVariable(IPDIVariable variable)
          Delete a variable
 void destroyExpressions(TaskSet qTasks, IPDIExpression[] expressions)
          Destroy expressions
 IAIF getExpressionValue(TaskSet qTasks, java.lang.String expr)
          Get the expression value
 IPDIMultiExpressions getMultiExpression(java.lang.String exprText)
          Returns IPDIMultiExpressions with specific expression value
 IPDIMultiExpressions[] getMultiExpressions()
          Returns an array of multiple expressions
 IPDIExpression[] getMultiExpressions(int task)
          Returns array of enabled IPDIExpression with specific task id
 void removeMutliExpressions(java.lang.String exprText)
          Remove multiple expressions from store
 void removeMutliExpressions(TaskSet tasks, java.lang.String exprText)
          Remove multiple expressions from store
 void update(TaskSet qTasks, java.lang.String[] varList)
          Update the variables
 void updateMultiExpressions(java.lang.String exprText, TaskSet tasks, org.eclipse.core.runtime.IProgressMonitor monitor)
          Update expression value
 void updateMultiExpressions(TaskSet tasks, org.eclipse.core.runtime.IProgressMonitor monitor)
          Update expression value
 void updateStatusMultiExpressions(java.lang.String exprText, boolean enabled)
          Update status of multiple expressions
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.manager.IPDIManager
isAutoUpdate, setAutoUpdate, shutdown, update
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISessionObject
getSession
 
Methods inherited from interface org.eclipse.ptp.debug.core.pdi.IPDISet
getTasks
 

Method Detail

cleanMultiExpressions

void cleanMultiExpressions(TaskSet tasks,
                           org.eclipse.core.runtime.IProgressMonitor monitor)
                           throws PDIException
Clean expression value with given tasks

Parameters:
tasks - tasks
monitor -
Throws:
PDIException
Since:
4.0

cleanMultiExpressions

void cleanMultiExpressions(java.lang.String exprText,
                           TaskSet tasks,
                           org.eclipse.core.runtime.IProgressMonitor monitor)
                           throws PDIException
Clean expression value with given tasks

Parameters:
exprText -
tasks - tasks
monitor -
Throws:
PDIException
Since:
4.0

createExpression

IPDITargetExpression createExpression(TaskSet qTasks,
                                      java.lang.String expr)
                                      throws PDIException
Creates an expression for specify variable

Parameters:
qTasks - task
expr - variable
Returns:
IPDIExpression expression
Throws:
PDIException - on failure
Since:
4.0

createMutliExpressions

void createMutliExpressions(TaskSet tasks,
                            java.lang.String exprText,
                            boolean enabled)
Creates multiple expression object for a number of processes with one variable

Parameters:
tasks - task
exprText - variable
enabled - status of this expression
Since:
4.0

createVariable

IPDIVariable createVariable(IPDIStackFrame frame,
                            java.lang.String expr)
                            throws PDIException
Create a variable

Parameters:
frame -
expr -
Returns:
Throws:
PDIException

deleteVariable

void deleteVariable(IPDIVariable variable)
                    throws PDIException
Delete a variable

Parameters:
variable -
Throws:
PDIException

destroyExpressions

void destroyExpressions(TaskSet qTasks,
                        IPDIExpression[] expressions)
                        throws PDIException
Destroy expressions

Parameters:
qTasks -
expressions -
Throws:
PDIException
Since:
4.0

getExpressionValue

IAIF getExpressionValue(TaskSet qTasks,
                        java.lang.String expr)
                        throws PDIException
Get the expression value

Parameters:
qTasks -
expr -
Returns:
Throws:
PDIException
Since:
4.0

getMultiExpression

IPDIMultiExpressions getMultiExpression(java.lang.String exprText)
Returns IPDIMultiExpressions with specific expression value

Parameters:
exprText - expression value
Returns:
IPDIMultiExpressions

getMultiExpressions

IPDIMultiExpressions[] getMultiExpressions()
Returns an array of multiple expressions

Returns:
an array of multiple expressions

getMultiExpressions

IPDIExpression[] getMultiExpressions(int task)
Returns array of enabled IPDIExpression with specific task id

Parameters:
task - task id
Returns:
array of enabled IPDIExpression with specific task id

removeMutliExpressions

void removeMutliExpressions(TaskSet tasks,
                            java.lang.String exprText)
Remove multiple expressions from store

Parameters:
qTasks - task
exprText - expression name
Since:
4.0

removeMutliExpressions

void removeMutliExpressions(java.lang.String exprText)
Remove multiple expressions from store

Parameters:
exprText - expression name

update

void update(TaskSet qTasks,
            java.lang.String[] varList)
            throws PDIException
Update the variables

Parameters:
qTasks -
varList -
Throws:
PDIException
Since:
4.0

updateMultiExpressions

void updateMultiExpressions(TaskSet tasks,
                            org.eclipse.core.runtime.IProgressMonitor monitor)
                            throws PDIException
Update expression value

Parameters:
tasks -
monitor -
Throws:
PDIException
Since:
4.0

updateMultiExpressions

void updateMultiExpressions(java.lang.String exprText,
                            TaskSet tasks,
                            org.eclipse.core.runtime.IProgressMonitor monitor)
                            throws PDIException
Update expression value

Parameters:
exprText -
tasks -
monitor -
Throws:
PDIException
Since:
4.0

updateStatusMultiExpressions

void updateStatusMultiExpressions(java.lang.String exprText,
                                  boolean enabled)
Update status of multiple expressions

Parameters:
exprText - expression name
enabled - status of this expression

PTP
Release 7.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.