org.drools.workbench.screens.guided.dtable.client.wizard.pages
Class AbstractGuidedDecisionTableWizardPage
java.lang.Object
org.drools.workbench.screens.guided.dtable.client.wizard.pages.AbstractGuidedDecisionTableWizardPage
- All Implemented Interfaces:
- com.google.gwt.user.client.ui.IsWidget, org.uberfire.client.wizards.WizardPage
- Direct Known Subclasses:
- ActionInsertFactFieldsPage, ActionSetFieldsPage, ColumnExpansionPage, FactPatternConstraintsPage, FactPatternsPage, ImportsPage, SummaryPage
public abstract class AbstractGuidedDecisionTableWizardPage
- extends Object
- implements org.uberfire.client.wizards.WizardPage
Base page for the guided Decision Table Wizard
Method Summary |
protected boolean |
allowEmptyValues()
Check whether empty values are permitted |
com.google.gwt.user.client.ui.Widget |
asWidget()
|
Validator |
getValidator()
|
void |
makeResult(org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model)
When the Widget is finished a GuidedDecisionTable52 instance is passed to
each page for enrichment. |
void |
setContent(NewGuidedDecisionTableAssetWizardContext context,
org.kie.workbench.common.widgets.client.datamodel.AsyncPackageDataModelOracle oracle,
org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model,
Validator validator)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.uberfire.client.wizards.WizardPage |
getTitle, initialise, isComplete, prepareView |
NEW_FACT_PREFIX
protected static final String NEW_FACT_PREFIX
- See Also:
- Constant Field Values
content
protected final com.google.gwt.user.client.ui.SimplePanel content
context
protected NewAssetWizardContext context
model
protected org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model
validator
protected Validator validator
modelUtils
protected GuidedDecisionTableUtils modelUtils
oracle
protected org.kie.workbench.common.widgets.client.datamodel.AsyncPackageDataModelOracle oracle
cellUtils
protected DTCellValueUtilities cellUtils
AbstractGuidedDecisionTableWizardPage
public AbstractGuidedDecisionTableWizardPage()
asWidget
public com.google.gwt.user.client.ui.Widget asWidget()
- Specified by:
asWidget
in interface com.google.gwt.user.client.ui.IsWidget
setContent
public void setContent(NewGuidedDecisionTableAssetWizardContext context,
org.kie.workbench.common.widgets.client.datamodel.AsyncPackageDataModelOracle oracle,
org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model,
Validator validator)
getValidator
public Validator getValidator()
makeResult
public void makeResult(org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model)
- When the Widget is finished a GuidedDecisionTable52 instance is passed to
each page for enrichment. Some pages are able to work on this instance
directly (i.e. the model is suitable for direct use in the page, such as
FactPatternsPage) however others maintain their own representation of the
model that must be copied into the GuidedDecisionTable52.
- Parameters:
model
-
allowEmptyValues
protected boolean allowEmptyValues()
- Check whether empty values are permitted
- Returns:
- True if empty values are permitted
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.