csheets.ext.test.ui
Class TestCaseParamController

java.lang.Object
  extended by csheets.ext.test.ui.TestCaseParamController

public class TestCaseParamController
extends Object

A controller for updating the test case parameters of a cell.

Author:
Einar Pehrson

Constructor Summary
TestCaseParamController(UIController uiController)
          Creates a new test case parameter controller.
 
Method Summary
 TestCaseParam setTestCaseParams(TestableCell cell, String content, Set<TestCaseParam> unChangedParams)
          Sets the active cell's user-specified testcase parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestCaseParamController

public TestCaseParamController(UIController uiController)
Creates a new test case parameter controller.

Parameters:
uiController - the user interface controller
Method Detail

setTestCaseParams

public TestCaseParam setTestCaseParams(TestableCell cell,
                                       String content,
                                       Set<TestCaseParam> unChangedParams)
Sets the active cell's user-specified testcase parameters.

Parameters:
cell - the cell to add the parameter to
content - the content of the parameter to be added
unChangedParams - a set containing all parameters that were not changed
Returns:
true the parameter that was added, or null if the parameter was not added