Drools Workbench - Guided Decision Table Editor - Client 6.1.0-SNAPSHOT

org.drools.workbench.screens.guided.dtable.client.wizard.pages
Class AbstractGuidedDecisionTableWizardPage

java.lang.Object
  extended by 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


Field Summary
protected  String baseFileName
           
protected  DTCellValueUtilities cellUtils
           
protected  com.google.gwt.user.client.ui.SimplePanel content
           
protected  org.uberfire.backend.vfs.Path contextPath
           
protected  org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model
           
protected  GuidedDecisionTableUtils modelUtils
           
protected static String NEW_FACT_PREFIX
           
protected  org.kie.workbench.common.widgets.client.datamodel.AsyncPackageDataModelOracle oracle
           
protected  org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52.TableFormat tableFormat
           
protected  Validator validator
           
 
Constructor Summary
AbstractGuidedDecisionTableWizardPage()
           
 
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(org.uberfire.backend.vfs.Path contextPath, String baseFileName, org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52.TableFormat tableFormat, 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
 

Field Detail

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

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

contextPath

protected org.uberfire.backend.vfs.Path contextPath

baseFileName

protected String baseFileName

tableFormat

protected org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52.TableFormat tableFormat
Constructor Detail

AbstractGuidedDecisionTableWizardPage

public AbstractGuidedDecisionTableWizardPage()
Method Detail

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(org.uberfire.backend.vfs.Path contextPath,
                       String baseFileName,
                       org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52.TableFormat tableFormat,
                       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

Drools Workbench - Guided Decision Table Editor - Client 6.1.0-SNAPSHOT

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.