public abstract class VpSettingJob
extends com.ibm.rational.common.test.editor.framework.jobs.TestModifyingJob
Constructor and Description |
---|
VpSettingJob(TestEditor editor,
Display jobDisplay,
String name,
PluginHelper helper) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getCompletionKey() |
com.ibm.rational.test.lt.testeditor.common.AbstractVerificationPointSettingDialog |
getDialog() |
List |
getElements() |
abstract boolean |
handleObject(CBActionElement object) |
boolean |
isEnable() |
boolean |
isSelectAll() |
protected void |
refreshElement(CBActionElement element) |
protected void |
reportEndOfRun(int done,
String key,
PluginHelper helper) |
protected IStatus |
runInteractive(IProgressMonitor monitor) |
IStatus |
runInUIThread(IProgressMonitor monitor) |
protected IStatus |
runSilent(IProgressMonitor monitor) |
void |
setDialog(com.ibm.rational.test.lt.testeditor.common.AbstractVerificationPointSettingDialog dialog)
By default, the
VpSettingJob runs in non-interactive mode. |
void |
setElements(List elements) |
void |
setEnable(boolean enable) |
void |
setSelectAll(boolean selectAll) |
protected void |
storeNew(CBActionElement newElement) |
getEditor, setEditor
errorStatus, getDisplay, run, setDisplay
addJobChangeListener, belongsTo, cancel, canceling, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, toString, wakeUp, wakeUp, yieldRule
getAdapter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAdapter
public VpSettingJob(TestEditor editor, Display jobDisplay, String name, PluginHelper helper)
editor
- jobDisplay
- name
- public IStatus runInUIThread(IProgressMonitor monitor)
runInUIThread
in class UIJob
protected IStatus runInteractive(IProgressMonitor monitor)
monitor
- protected IStatus runSilent(IProgressMonitor monitor)
protected void refreshElement(CBActionElement element)
element
- protected abstract String getCompletionKey()
protected void reportEndOfRun(int done, String key, PluginHelper helper)
done
- public abstract boolean handleObject(CBActionElement object)
protected void storeNew(CBActionElement newElement)
public List getElements()
public void setElements(List elements)
public boolean isEnable()
public void setEnable(boolean enable)
public boolean isSelectAll()
public void setSelectAll(boolean selectAll)
selectAll
- The selectAll to set.public com.ibm.rational.test.lt.testeditor.common.AbstractVerificationPointSettingDialog getDialog()
public void setDialog(com.ibm.rational.test.lt.testeditor.common.AbstractVerificationPointSettingDialog dialog)
VpSettingJob
runs in non-interactive mode. If interactive mode is desired,
call this method with the dialog argument, that will handle the UI.dialog
- AbstractVerificationPointSettingDialog. Extend AbstractVerificationPointSettingDialog
toprovide behavior specific to your concrete verification point type.© Copyright IBM Corp. 2013. All rights reserved.