public class NewGuidedDecisionTableWizardHelper extends Object
NewGuidedDecisionTableWizard
wizard.
Handles all of the boiler-plate to initialise and manage the Wizard's state together with performing the
creation of any resulting Guided Decision Table. Users of this class need to provide a "Save" success callback.Constructor and Description |
---|
NewGuidedDecisionTableWizardHelper(org.jboss.errai.common.client.api.Caller<GuidedDecisionTableEditorService> dtService,
org.kie.workbench.common.widgets.client.datamodel.AsyncPackageDataModelOracleFactory oracleFactory,
org.jboss.errai.ioc.client.container.SyncBeanManager beanManager) |
Modifier and Type | Method and Description |
---|---|
void |
createNewGuidedDecisionTable(org.uberfire.backend.vfs.Path contextPath,
String baseFileName,
org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52.TableFormat tableFormat,
org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view,
org.jboss.errai.common.client.api.RemoteCallback<org.uberfire.backend.vfs.Path> onSaveSuccessCallback)
Presents the
NewGuidedDecisionTableWizard to Users to creates a new Guided Decision Table. |
@Inject public NewGuidedDecisionTableWizardHelper(org.jboss.errai.common.client.api.Caller<GuidedDecisionTableEditorService> dtService, org.kie.workbench.common.widgets.client.datamodel.AsyncPackageDataModelOracleFactory oracleFactory, org.jboss.errai.ioc.client.container.SyncBeanManager beanManager)
public void createNewGuidedDecisionTable(org.uberfire.backend.vfs.Path contextPath, String baseFileName, org.drools.workbench.models.guided.dtable.shared.model.GuidedDecisionTable52.TableFormat tableFormat, org.uberfire.ext.widgets.common.client.common.HasBusyIndicator view, org.jboss.errai.common.client.api.RemoteCallback<org.uberfire.backend.vfs.Path> onSaveSuccessCallback)
NewGuidedDecisionTableWizard
to Users to creates a new Guided Decision Table.contextPath
- The base path where the Decision Table will be created. Cannot be null.baseFileName
- The base file name of the new Decision Table. Cannot be null.tableFormat
- The format of the Decision Table. Cannot be null.view
- A HasBusyIndicator
to handle status messages. Cannot be null.onSaveSuccessCallback
- Called when the new Decision Table has successfully been created. Cannot be null.Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.