Package org.kie.workbench.common.screens.datamodeller.client.widgets.advanceddomain.annotationwizard
Class CreateAnnotationWizardPage
- java.lang.Object
-
- org.kie.workbench.common.screens.datamodeller.client.widgets.advanceddomain.annotationwizard.CreateAnnotationWizardPage
-
- All Implemented Interfaces:
com.google.gwt.user.client.ui.IsWidget,org.uberfire.ext.widgets.core.client.wizards.WizardPage
- Direct Known Subclasses:
SearchAnnotationPage,ValuePairEditorPage
public abstract class CreateAnnotationWizardPage extends Object implements org.uberfire.ext.widgets.core.client.wizards.WizardPage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateAnnotationWizardPage.PageStatus
-
Field Summary
Fields Modifier and Type Field Description protected org.kie.workbench.common.services.datamodeller.core.AnnotationDefinitionannotationDefinitionprotected org.jboss.errai.common.client.api.Caller<org.kie.workbench.common.screens.datamodeller.service.DataModelerService>modelerServiceprotected org.kie.workbench.common.services.shared.project.KieModuleprojectprotected CreateAnnotationWizardPage.PageStatusstatusprotected org.kie.workbench.common.services.datamodeller.core.ElementTypetargetprotected Stringtitleprotected javax.enterprise.event.Event<org.uberfire.ext.widgets.core.client.wizards.WizardPageStatusChangeEvent>wizardPageStatusChangeEvent
-
Constructor Summary
Constructors Constructor Description CreateAnnotationWizardPage(org.jboss.errai.common.client.api.Caller<org.kie.workbench.common.screens.datamodeller.service.DataModelerService> modelerService, javax.enterprise.event.Event<org.uberfire.ext.widgets.core.client.wizards.WizardPageStatusChangeEvent> wizardPageStatusChangeEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbuildErrorList(List<org.kie.workbench.common.services.datamodeller.driver.model.DriverError> errors)voidfireStatusChangeEvent()CreateAnnotationWizardPage.PageStatusgetStatus()StringgetTitle()voidinitialise()voidisComplete(org.uberfire.client.callbacks.Callback<Boolean> callback)booleanisValid()voidprepareView()voidsetStatus(CreateAnnotationWizardPage.PageStatus status)voidsetTitle(String title)
-
-
-
Field Detail
-
title
protected String title
-
status
protected CreateAnnotationWizardPage.PageStatus status
-
wizardPageStatusChangeEvent
protected javax.enterprise.event.Event<org.uberfire.ext.widgets.core.client.wizards.WizardPageStatusChangeEvent> wizardPageStatusChangeEvent
-
modelerService
protected org.jboss.errai.common.client.api.Caller<org.kie.workbench.common.screens.datamodeller.service.DataModelerService> modelerService
-
project
protected org.kie.workbench.common.services.shared.project.KieModule project
-
annotationDefinition
protected org.kie.workbench.common.services.datamodeller.core.AnnotationDefinition annotationDefinition
-
target
protected org.kie.workbench.common.services.datamodeller.core.ElementType target
-
-
Constructor Detail
-
CreateAnnotationWizardPage
public CreateAnnotationWizardPage(org.jboss.errai.common.client.api.Caller<org.kie.workbench.common.screens.datamodeller.service.DataModelerService> modelerService, javax.enterprise.event.Event<org.uberfire.ext.widgets.core.client.wizards.WizardPageStatusChangeEvent> wizardPageStatusChangeEvent)
-
-
Method Detail
-
getTitle
public String getTitle()
- Specified by:
getTitlein interfaceorg.uberfire.ext.widgets.core.client.wizards.WizardPage
-
setTitle
public void setTitle(String title)
-
getStatus
public CreateAnnotationWizardPage.PageStatus getStatus()
-
setStatus
public void setStatus(CreateAnnotationWizardPage.PageStatus status)
-
isValid
public boolean isValid()
-
isComplete
public void isComplete(org.uberfire.client.callbacks.Callback<Boolean> callback)
- Specified by:
isCompletein 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
-
fireStatusChangeEvent
public void fireStatusChangeEvent()
-
-