Class ImportsPage
- java.lang.Object
-
- org.drools.workbench.screens.guided.dtable.client.wizard.table.pages.AbstractGuidedDecisionTableWizardPage
-
- org.drools.workbench.screens.guided.dtable.client.wizard.table.pages.ImportsPage
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,ImportsPageView.Presenter,org.uberfire.ext.widgets.core.client.wizards.WizardPage
@Dependent public class ImportsPage extends AbstractGuidedDecisionTableWizardPage implements ImportsPageView.Presenter
A page for the guided Decision Table Wizard to define imports
-
-
Field Summary
-
Fields inherited from class org.drools.workbench.screens.guided.dtable.client.wizard.table.pages.AbstractGuidedDecisionTableWizardPage
baseFileName, cellUtilities, columnUtilities, content, contextPath, hitPolicy, model, NEW_FACT_PREFIX, oracle, tableFormat
-
-
Constructor Summary
Constructors Constructor Description ImportsPage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddImport(String fqcn)StringgetTitle()voidinitialise()voidisComplete(org.uberfire.client.callbacks.Callback<Boolean> callback)voidmakeResult(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.voidprepareView()booleanremoveImport(String fqcn)-
Methods inherited from class org.drools.workbench.screens.guided.dtable.client.wizard.table.pages.AbstractGuidedDecisionTableWizardPage
allowEmptyValues, asWidget, getValidator, setContent
-
-
-
-
Method Detail
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceorg.uberfire.ext.widgets.core.client.wizards.WizardPage
-
initialise
public void initialise()
- Specified by:
initialisein interfaceorg.uberfire.ext.widgets.core.client.wizards.WizardPage
-
prepareView
public void prepareView()
- Specified by:
prepareViewin interfaceorg.uberfire.ext.widgets.core.client.wizards.WizardPage
-
isComplete
public void isComplete(org.uberfire.client.callbacks.Callback<Boolean> callback)
- Specified by:
isCompletein interfaceorg.uberfire.ext.widgets.core.client.wizards.WizardPage
-
addImport
public void addImport(String fqcn)
- Specified by:
addImportin interfaceImportsPageView.Presenter
-
removeImport
public boolean removeImport(String fqcn)
- Specified by:
removeImportin interfaceImportsPageView.Presenter
-
makeResult
public void makeResult(org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model)
Description copied from class:AbstractGuidedDecisionTableWizardPageWhen 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.- Overrides:
makeResultin classAbstractGuidedDecisionTableWizardPage
-
-