use of org.uberfire.ext.widgets.core.client.wizards.WizardPage in project kie-wb-common by kiegroup.
the class ExamplesWizard method start.
@Override
public void start() {
for (WizardPage page : pages) {
page.initialise();
((ExamplesWizardPage) page).setModel(model);
}
examplesService.call(new RemoteCallback<ExamplesMetaData>() {
@Override
public void callback(final ExamplesMetaData metaData) {
final ExampleRepository repository = metaData.getRepository();
sourceRepositoryPage.setPlaygroundRepository(repository);
ExamplesWizard.super.start();
}
}).getMetaData();
}
use of org.uberfire.ext.widgets.core.client.wizards.WizardPage in project kie-wb-common by kiegroup.
the class CreateAnnotationWizard method clearCurrentValuePairEditorPages.
private void clearCurrentValuePairEditorPages() {
List<ValuePairEditorPage> editorPages = filterValuePairEditorPages();
int valuePairEditors = editorPages.size();
for (WizardPage page : editorPages) {
pages.remove(page);
}
for (int i = 0; i < valuePairEditors; i++) {
ValuePairEditorPage valuePairEditorPage = editorPages.remove(0);
iocManager.destroyBean(valuePairEditorPage);
}
}
use of org.uberfire.ext.widgets.core.client.wizards.WizardPage in project drools-wb by kiegroup.
the class NewGuidedDecisionTableColumnWizard method start.
@Override
public void start() {
pages = new ArrayList<WizardPage>() {
{
add(summaryPage);
addAll(pages);
}
};
for (WizardPage page : pages) {
((BaseDecisionTableColumnPage) page).init(this);
}
parentStart();
}
use of org.uberfire.ext.widgets.core.client.wizards.WizardPage in project drools-wb by kiegroup.
the class NewGuidedDecisionTableColumnWizard method initPages.
void initPages(final DecisionTableColumnPlugin plugin) {
for (final WizardPage page : pages) {
final BaseDecisionTableColumnPage tableColumnPage = (BaseDecisionTableColumnPage) page;
tableColumnPage.init(this);
tableColumnPage.setPlugin(plugin);
}
}
Aggregations