|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
org.ow2.clif.console.lib.egui.editor.TestPlanObservable
public class TestPlanObservable
Test plan observed by different views (TreeView and Editor). Each action done on treeview or editor is set in this class and notified to all observers.
Constructor Summary | |
---|---|
TestPlanObservable()
Simple construtor. |
|
TestPlanObservable(java.util.Map<java.lang.String,ClifDeployDefinition> testPlan)
Construtor with a testplan |
Method Summary | |
---|---|
java.lang.String |
getSelectId()
Get selected id in the test plan |
java.util.Map<java.lang.String,ClifDeployDefinition> |
getTestPlan()
Get the observable test plan |
void |
put(java.lang.String newId,
ClifDeployDefinition definition)
Associates the specified value with the specified key in this testplan and notify observers |
void |
remove(java.lang.String key)
Removes the mapping for this key from this test plan and notify observers |
void |
setSelectId(java.lang.String selectId)
Set selected of this test plan |
void |
setTestPlan(java.util.Map<java.lang.String,ClifDeployDefinition> testPlan)
Set observable test plan |
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestPlanObservable()
public TestPlanObservable(java.util.Map<java.lang.String,ClifDeployDefinition> testPlan)
testPlan
- the test plan observable by different viewsMethod Detail |
---|
public java.util.Map<java.lang.String,ClifDeployDefinition> getTestPlan()
public void setTestPlan(java.util.Map<java.lang.String,ClifDeployDefinition> testPlan)
testPlan
- The testPlan to set.public void remove(java.lang.String key)
key
- key whose mapping is to be removed from the map.public void put(java.lang.String newId, ClifDeployDefinition definition)
newId
- id with which the specified clif def is to be associated.definition
- definition to be associated with the specified key.public java.lang.String getSelectId()
public void setSelectId(java.lang.String selectId)
selectId
- The selectId to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |