org.drools.guvnor.client.qa.testscenarios
Class ScenarioWidgetComponentCreator

java.lang.Object
  extended by org.drools.guvnor.client.qa.testscenarios.ScenarioWidgetComponentCreator

public class ScenarioWidgetComponentCreator
extends Object


Constructor Summary
protected ScenarioWidgetComponentCreator(RuleAsset asset, ScenarioWidget scenarioWidget)
           
 
Method Summary
protected  AddExecuteButton createAddExecuteButton()
           
protected  com.google.gwt.user.client.ui.ListBox createAvailableRulesBox(String[] list)
           
protected  CallMethodLabelButton createCallMethodLabelButton(List<ExecutionTrace> listExecutionTrace, int executionTraceLine, ExecutionTrace previousExecutionTrace)
           
protected  com.google.gwt.user.client.ui.Widget createCallMethodOnGivenPanel(List<ExecutionTrace> listExecutionTrace, int executionTraceLine, CallFixtureMap given)
           
protected  ConfigWidget createConfigWidget()
           
protected  DirtyableFlexTable createDirtyableFlexTable()
           
protected  ExecutionWidget createExecutionWidget(ExecutionTrace currentExecutionTrace)
           
protected  ExpectPanel createExpectPanel(ExecutionTrace currentExecutionTrace)
           
protected  GivenLabelButton createGivenLabelButton(List<ExecutionTrace> listExecutionTrace, int executionTraceLine, ExecutionTrace previousExecutionTrace)
           
protected  com.google.gwt.user.client.ui.Widget createGivenPanel(List<ExecutionTrace> listExecutionTrace, int executionTraceLine, FixturesMap given)
           
protected  GlobalPanel createGlobalPanel(ScenarioHelper scenarioHelper, ExecutionTrace previousExecutionTrace)
           
protected  com.google.gwt.user.client.ui.HorizontalPanel createHorizontalPanel()
           
protected  com.google.gwt.user.client.ui.Button createOkButton(RuleSelectionEvent selected, com.google.gwt.user.client.ui.TextBox ruleNameTextBox)
           
protected  com.google.gwt.event.dom.client.ChangeHandler createRuleChangeHandler(com.google.gwt.user.client.ui.TextBox ruleNameTextBox, com.google.gwt.user.client.ui.ListBox availableRulesBox)
           
protected  com.google.gwt.user.client.ui.TextBox createRuleNameTextBox()
           
protected  SmallLabel createSmallLabel()
           
protected  VerifyFactsPanel createVerifyFactsPanel(List<ExecutionTrace> listExecutionTrace, int executionTraceLine, FixtureList fixturesList)
           
protected  VerifyRulesFiredWidget createVerifyRulesFiredWidget(FixtureList fixturesList)
           
 MetaData getMetaData()
           
 Scenario getScenario()
           
 boolean isShowResults()
           
 void setScenario(Scenario scenario)
           
 void setShowResults(boolean showResults)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScenarioWidgetComponentCreator

protected ScenarioWidgetComponentCreator(RuleAsset asset,
                                         ScenarioWidget scenarioWidget)
Method Detail

createGlobalPanel

protected GlobalPanel createGlobalPanel(ScenarioHelper scenarioHelper,
                                        ExecutionTrace previousExecutionTrace)

createHorizontalPanel

protected com.google.gwt.user.client.ui.HorizontalPanel createHorizontalPanel()

createSmallLabel

protected SmallLabel createSmallLabel()

createConfigWidget

protected ConfigWidget createConfigWidget()

createAddExecuteButton

protected AddExecuteButton createAddExecuteButton()

createVerifyRulesFiredWidget

protected VerifyRulesFiredWidget createVerifyRulesFiredWidget(FixtureList fixturesList)

createVerifyFactsPanel

protected VerifyFactsPanel createVerifyFactsPanel(List<ExecutionTrace> listExecutionTrace,
                                                  int executionTraceLine,
                                                  FixtureList fixturesList)

createCallMethodLabelButton

protected CallMethodLabelButton createCallMethodLabelButton(List<ExecutionTrace> listExecutionTrace,
                                                            int executionTraceLine,
                                                            ExecutionTrace previousExecutionTrace)

createGivenLabelButton

protected GivenLabelButton createGivenLabelButton(List<ExecutionTrace> listExecutionTrace,
                                                  int executionTraceLine,
                                                  ExecutionTrace previousExecutionTrace)

createExecutionWidget

protected ExecutionWidget createExecutionWidget(ExecutionTrace currentExecutionTrace)

createExpectPanel

protected ExpectPanel createExpectPanel(ExecutionTrace currentExecutionTrace)

createDirtyableFlexTable

protected DirtyableFlexTable createDirtyableFlexTable()

createGivenPanel

protected com.google.gwt.user.client.ui.Widget createGivenPanel(List<ExecutionTrace> listExecutionTrace,
                                                                int executionTraceLine,
                                                                FixturesMap given)

createCallMethodOnGivenPanel

protected com.google.gwt.user.client.ui.Widget createCallMethodOnGivenPanel(List<ExecutionTrace> listExecutionTrace,
                                                                            int executionTraceLine,
                                                                            CallFixtureMap given)

createRuleNameTextBox

protected com.google.gwt.user.client.ui.TextBox createRuleNameTextBox()

createOkButton

protected com.google.gwt.user.client.ui.Button createOkButton(RuleSelectionEvent selected,
                                                              com.google.gwt.user.client.ui.TextBox ruleNameTextBox)

createRuleChangeHandler

protected com.google.gwt.event.dom.client.ChangeHandler createRuleChangeHandler(com.google.gwt.user.client.ui.TextBox ruleNameTextBox,
                                                                                com.google.gwt.user.client.ui.ListBox availableRulesBox)

createAvailableRulesBox

protected com.google.gwt.user.client.ui.ListBox createAvailableRulesBox(String[] list)

getMetaData

public MetaData getMetaData()

setShowResults

public void setShowResults(boolean showResults)

isShowResults

public boolean isShowResults()

getScenario

public Scenario getScenario()

setScenario

public void setScenario(Scenario scenario)


Copyright © 2001-2011 JBoss Inc.. All Rights Reserved.