Drools Workbench - Guided Decision Table Editor - Client 6.2.0.CR3

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

java.lang.Object
  extended by org.drools.workbench.screens.guided.dtable.client.wizard.pages.AbstractGuidedDecisionTableWizardPage
      extended by org.drools.workbench.screens.guided.dtable.client.wizard.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.pages.AbstractGuidedDecisionTableWizardPage
baseFileName, cellUtils, content, contextPath, model, modelUtils, NEW_FACT_PREFIX, oracle, tableFormat
 
Constructor Summary
ImportsPage()
           
 
Method Summary
 void addImport(String fqcn)
           
 String getTitle()
           
 void initialise()
           
 void isComplete(org.uberfire.client.callbacks.Callback<Boolean> callback)
           
 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 prepareView()
           
 boolean removeImport(String fqcn)
           
 
Methods inherited from class org.drools.workbench.screens.guided.dtable.client.wizard.pages.AbstractGuidedDecisionTableWizardPage
allowEmptyValues, asWidget, getValidator, setContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportsPage

public ImportsPage()
Method Detail

getTitle

public String getTitle()
Specified by:
getTitle in interface org.uberfire.ext.widgets.core.client.wizards.WizardPage

initialise

public void initialise()
Specified by:
initialise in interface org.uberfire.ext.widgets.core.client.wizards.WizardPage

prepareView

public void prepareView()
Specified by:
prepareView in interface org.uberfire.ext.widgets.core.client.wizards.WizardPage

isComplete

public void isComplete(org.uberfire.client.callbacks.Callback<Boolean> callback)
Specified by:
isComplete in interface org.uberfire.ext.widgets.core.client.wizards.WizardPage

addImport

public void addImport(String fqcn)
Specified by:
addImport in interface ImportsPageView.Presenter

removeImport

public boolean removeImport(String fqcn)
Specified by:
removeImport in interface ImportsPageView.Presenter

makeResult

public void makeResult(org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52 model)
Description copied from class: AbstractGuidedDecisionTableWizardPage
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.

Overrides:
makeResult in class AbstractGuidedDecisionTableWizardPage

Drools Workbench - Guided Decision Table Editor - Client 6.2.0.CR3

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