Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordstadnik2006-02-24 21:22:14 +0000
committerdstadnik2006-02-24 21:22:14 +0000
commite9a530cf3145180ca1909769c7883b035ae4f046 (patch)
treeb1081a5c2cd77c578205cc7b439d04be4731f354 /plugins/org.eclipse.gmf.codegen.ui
parent2d0bbed7ca7fe0039c03eb068dde243e667ce902 (diff)
downloadorg.eclipse.gmf-tooling-e9a530cf3145180ca1909769c7883b035ae4f046.tar.gz
org.eclipse.gmf-tooling-e9a530cf3145180ca1909769c7883b035ae4f046.tar.xz
org.eclipse.gmf-tooling-e9a530cf3145180ca1909769c7883b035ae4f046.zip
#129322 Allow to select domain model element on definition page that will be used as diagram canvas element
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen.ui')
-rw-r--r--plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/resolver/ResolvedItem.java9
-rw-r--r--plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/resolver/StructureBuilder.java12
-rw-r--r--plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/DefinitionPage.java238
-rw-r--r--plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/DomainModelSource.java2
-rw-r--r--plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/FileDomainModelSource.java9
-rw-r--r--plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/GMFGraphSimpleModelWizard.java2
-rw-r--r--plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/GMFToolSimpleModelWizard.java2
7 files changed, 208 insertions, 66 deletions
diff --git a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/resolver/ResolvedItem.java b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/resolver/ResolvedItem.java
index 99a9da23e..50a5dec18 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/resolver/ResolvedItem.java
+++ b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/resolver/ResolvedItem.java
@@ -33,15 +33,18 @@ public class ResolvedItem {
private Object domainRef;
+ private TypePattern pattern;
+
private Resolution[] possibleResolutions;
private ResolvedItem parent;
private List children = new ArrayList();
- public ResolvedItem(Resolution resolution, Object domainRef, Resolution[] possibleResolutions) {
+ public ResolvedItem(Resolution resolution, Object domainRef, TypePattern pattern, Resolution[] possibleResolutions) {
this.resolution = resolution;
this.domainRef = domainRef;
+ this.pattern = pattern;
this.possibleResolutions = possibleResolutions;
}
@@ -70,6 +73,10 @@ public class ResolvedItem {
return domainRef;
}
+ public TypePattern getPattern() {
+ return pattern;
+ }
+
public ResolvedItem getParent() {
return parent;
}
diff --git a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/resolver/StructureBuilder.java b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/resolver/StructureBuilder.java
index fe1af01a6..2d6f05ee3 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/resolver/StructureBuilder.java
+++ b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/resolver/StructureBuilder.java
@@ -28,7 +28,7 @@ public class StructureBuilder {
}
public ResolvedItem process(EPackage domainPackage) {
- ResolvedItem item = new ResolvedItem(null, domainPackage, ResolvedItem.DEFAULT_RESOLUTIONS);
+ ResolvedItem item = new ResolvedItem(null, domainPackage, null, ResolvedItem.DEFAULT_RESOLUTIONS);
for (Iterator it = domainPackage.getEClassifiers().iterator(); it.hasNext();) {
Object next = it.next();
if (next instanceof EClass) {
@@ -42,25 +42,25 @@ public class StructureBuilder {
ResolvedItem item;
TypePattern pattern = resolver.resolve(domainClass);
if (pattern instanceof NodePattern) {
- item = new ResolvedItem(Resolution.NODE, domainClass, ResolvedItem.NODE_LINK_RESOLUTIONS);
+ item = new ResolvedItem(Resolution.NODE, domainClass, pattern, ResolvedItem.NODE_LINK_RESOLUTIONS);
NodePattern nodePattern = (NodePattern) pattern;
addLabels(item, nodePattern);
for (int i = 0; i < nodePattern.getRefLinks().length; i++) {
- item.addChild(new ResolvedItem(Resolution.LINK, nodePattern.getRefLinks()[i], ResolvedItem.LINK_RESOLUTIONS));
+ item.addChild(new ResolvedItem(Resolution.LINK, nodePattern.getRefLinks()[i], null, ResolvedItem.LINK_RESOLUTIONS));
}
} else if (pattern instanceof TypeLinkPattern) {
- item = new ResolvedItem(Resolution.LINK, domainClass, ResolvedItem.NODE_LINK_RESOLUTIONS);
+ item = new ResolvedItem(Resolution.LINK, domainClass, pattern, ResolvedItem.NODE_LINK_RESOLUTIONS);
TypeLinkPattern linkPattern = (TypeLinkPattern) pattern;
addLabels(item, linkPattern);
} else {
- item = new ResolvedItem(null, domainClass, ResolvedItem.DEFAULT_RESOLUTIONS);
+ item = new ResolvedItem(null, domainClass, pattern, ResolvedItem.DEFAULT_RESOLUTIONS);
}
return item;
}
protected void addLabels(ResolvedItem typeItem, TypePattern pattern) {
for (int i = 0; i < pattern.getLabels().length; i++) {
- typeItem.addChild(new ResolvedItem(Resolution.LABEL, pattern.getLabels()[i], ResolvedItem.LABEL_RESOLUTIONS));
+ typeItem.addChild(new ResolvedItem(Resolution.LABEL, pattern.getLabels()[i], null, ResolvedItem.LABEL_RESOLUTIONS));
}
}
}
diff --git a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/DefinitionPage.java b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/DefinitionPage.java
index e26768aff..85b3f0220 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/DefinitionPage.java
+++ b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/DefinitionPage.java
@@ -14,16 +14,24 @@ package org.eclipse.gmf.internal.codegen.wizards;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.PrintStream;
+import java.util.Collection;
+import java.util.Comparator;
+import java.util.Iterator;
import java.util.List;
+import java.util.Set;
+import java.util.TreeSet;
import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.provider.EcoreItemProviderAdapterFactory;
import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
import org.eclipse.gmf.internal.codegen.CodeGenUIPlugin;
+import org.eclipse.gmf.internal.codegen.resolver.NodePattern;
import org.eclipse.gmf.internal.codegen.resolver.Resolution;
import org.eclipse.gmf.internal.codegen.resolver.ResolvedItem;
import org.eclipse.gmf.internal.codegen.resolver.StructureBuilder;
+import org.eclipse.gmf.internal.codegen.resolver.TypeLinkPattern;
import org.eclipse.jface.viewers.CellEditor;
import org.eclipse.jface.viewers.CheckboxCellEditor;
import org.eclipse.jface.viewers.ColumnPixelData;
@@ -39,9 +47,13 @@ import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.StackLayout;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.events.SelectionListener;
import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
import org.eclipse.swt.widgets.Text;
@@ -55,59 +67,117 @@ public class DefinitionPage extends WizardPage {
private DomainModelSource domainModelSource;
- protected Label msg;
-
- protected TreeViewer viewer;
+ private boolean allowDiagramElementSelection;
private Composite innerPlate;
private StackLayout innerPlateLayout;
+ private Combo diagramElementSelector;
+
+ private Button excludeContainedNodesChoice;
+
+ private Button excludeLinksChoice;
+
+ private TreeViewer viewer;
+
private Text errorDetails;
- public DefinitionPage(String pageId, StructureBuilder structureBuilder, DomainModelSource domainModelSource) {
+ public DefinitionPage(String pageId, StructureBuilder structureBuilder, DomainModelSource domainModelSource, boolean allowDiagramElementSelection) {
super(pageId);
this.structureBuilder = structureBuilder;
this.domainModelSource = domainModelSource;
+ this.allowDiagramElementSelection = allowDiagramElementSelection;
+ }
+
+ protected GridData createFillBothGridData(int span) {
+ GridData data = new GridData();
+ data.verticalAlignment = GridData.FILL;
+ data.grabExcessVerticalSpace = true;
+ data.horizontalAlignment = GridData.FILL;
+ data.grabExcessHorizontalSpace = true;
+ data.horizontalSpan = span;
+ return data;
+ }
+
+ protected GridData createFillHorzGridData(int span) {
+ GridData data = new GridData();
+ data.horizontalAlignment = GridData.FILL;
+ data.grabExcessHorizontalSpace = true;
+ data.horizontalSpan = span;
+ return data;
}
public void createControl(Composite parent) {
- Composite plate = new Composite(parent, SWT.NONE);
- {
- GridLayout layout = new GridLayout();
- layout.verticalSpacing = 12;
- plate.setLayout(layout);
-
- GridData data = new GridData();
- data.verticalAlignment = GridData.FILL;
- data.grabExcessVerticalSpace = true;
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- plate.setLayoutData(data);
- }
- msg = new Label(plate, SWT.NONE);
- {
- GridData data = new GridData();
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- msg.setLayoutData(data);
- }
- innerPlate = new Composite(plate, SWT.NONE);
- {
- GridData data = new GridData();
- data.verticalAlignment = GridData.FILL;
- data.grabExcessVerticalSpace = true;
- data.horizontalAlignment = GridData.FILL;
- data.grabExcessHorizontalSpace = true;
- innerPlate.setLayoutData(data);
- }
+ innerPlate = new Composite(parent, SWT.NONE);
+ innerPlate.setLayoutData(createFillBothGridData(1));
innerPlate.setLayout(innerPlateLayout = new StackLayout());
- viewer = createViewer(innerPlate);
- innerPlateLayout.topControl = viewer.getControl();
- errorDetails = new Text(innerPlate, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
- createAdditionalControls(plate);
+ innerPlateLayout.topControl = createDomainModelGroup(innerPlate);
+ createErrorGroup(innerPlate);
setPageComplete(validatePage());
- setControl(plate);
+ setControl(innerPlate);
+ }
+
+ private Composite createDomainModelGroup(Composite parent) {
+ Composite plate = new Composite(parent, SWT.NONE);
+ GridLayout layout = new GridLayout(2, false);
+ layout.verticalSpacing = 12;
+ plate.setLayout(layout);
+ if (allowDiagramElementSelection) {
+ Label diagramElementLabel = new Label(plate, SWT.NONE);
+ diagramElementLabel.setText("Diagram element:");
+ diagramElementLabel.setLayoutData(new GridData());
+ diagramElementSelector = new Combo(plate, SWT.DROP_DOWN);
+ diagramElementSelector.setLayoutData(createFillHorzGridData(1));
+ diagramElementSelector.addSelectionListener(new SelectionListener() {
+
+ public void widgetSelected(SelectionEvent e) {
+ // TODO : validate selection
+ }
+
+ public void widgetDefaultSelected(SelectionEvent e) {
+ }
+ });
+ excludeContainedNodesChoice = createChoice(plate, "Exclude types that are resolved as nodes that have a container");
+ excludeLinksChoice = createChoice(plate, "Exclude types that are resolved as links");
+ }
+ Label domainModelElementsLabel = new Label(plate, SWT.NONE);
+ domainModelElementsLabel.setText("Domain model elements to process:");
+ domainModelElementsLabel.setLayoutData(createFillHorzGridData(2));
+ viewer = createViewer(plate);
+ viewer.getControl().setLayoutData(createFillBothGridData(2));
+ return plate;
+ }
+
+ private Button createChoice(Composite plate, String text) {
+ Label dummy = new Label(plate, SWT.NONE);
+ dummy.setLayoutData(new GridData());
+ Button choice = new Button(plate, SWT.CHECK);
+ choice.setText(text);
+ choice.setLayoutData(createFillHorzGridData(1));
+ choice.addSelectionListener(new SelectionListener() {
+
+ public void widgetSelected(SelectionEvent e) {
+ updateDiagramElementSelector();
+ }
+
+ public void widgetDefaultSelected(SelectionEvent e) {
+ }
+ });
+ return choice;
+ }
+
+ private Composite createErrorGroup(Composite parent) {
+ Composite plate = new Composite(parent, SWT.NONE);
+ GridLayout layout = new GridLayout();
+ layout.verticalSpacing = 12;
+ plate.setLayout(layout);
+ Label errorDescription = new Label(plate, SWT.NONE);
+ errorDescription.setText("Error loading domain model:");
+ errorDescription.setLayoutData(createFillHorzGridData(1));
+ errorDetails = new Text(plate, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL);
+ errorDetails.setLayoutData(createFillBothGridData(1));
+ return plate;
}
protected TreeViewer createViewer(Composite parent) {
@@ -167,9 +237,6 @@ public class DefinitionPage extends WizardPage {
return column;
}
- protected void createAdditionalControls(Composite parent) {
- }
-
protected boolean validatePage() {
return true;
}
@@ -181,14 +248,15 @@ public class DefinitionPage extends WizardPage {
viewer.setInput(contents == null ? null : structureBuilder.process(contents));
viewer.expandAll();
viewer.getControl().pack();
- msg.setText(domainModelSource.getStatus());
if (contents != null) {
+ updateDiagramElementSelector();
setPageComplete(validatePage());
- innerPlateLayout.topControl = viewer.getControl();
+ showDomainModelControls();
} else {
if (domainModelSource.getErrorStatus() == null) {
+ updateDiagramElementSelector();
setPageComplete(true);
- innerPlateLayout.topControl = viewer.getControl();
+ showDomainModelControls();
} else {
setPageComplete(false);
try {
@@ -201,17 +269,95 @@ public class DefinitionPage extends WizardPage {
} catch (IOException e) {
// never happens
}
- innerPlateLayout.topControl = errorDetails;
+ showErrorDetailsControls();
}
}
- innerPlate.layout(true);
+ innerPlate.layout(true, true);
}
}
+ protected void showDomainModelControls() {
+ innerPlateLayout.topControl = innerPlate.getChildren()[0];
+ }
+
+ protected void showErrorDetailsControls() {
+ innerPlateLayout.topControl = innerPlate.getChildren()[1];
+ }
+
public ResolvedItem getModel() {
return (ResolvedItem) viewer.getInput();
}
+ public ResolvedItem getDiagramElement() {
+ if (!allowDiagramElementSelection) {
+ return null;
+ }
+ return findResolvedItemByTypeName(getModel(), diagramElementSelector.getText());
+ }
+
+ private ResolvedItem findResolvedItemByTypeName(ResolvedItem item, String typeName) {
+ if (item.getDomainRef() instanceof EClass && ((EClass) item.getDomainRef()).getName().equals(typeName)) {
+ return item;
+ }
+ for (Iterator it = item.getChildren().iterator(); it.hasNext();) {
+ ResolvedItem result = findResolvedItemByTypeName((ResolvedItem) it.next(), typeName);
+ if (result != null) {
+ return result;
+ }
+ }
+ return null;
+ }
+
+ private void updateDiagramElementSelector() {
+ if (!allowDiagramElementSelection) {
+ return;
+ }
+ Set types = new TreeSet(new Comparator() {
+
+ public int compare(Object arg0, Object arg1) {
+ EClass type0 = (EClass) ((ResolvedItem) arg0).getDomainRef();
+ EClass type1 = (EClass) ((ResolvedItem) arg1).getDomainRef();
+ return type0.getName().compareToIgnoreCase(type1.getName());
+ }
+ });
+ if (viewer.getInput() != null) {
+ collectResolvedDomainTypes(types, (ResolvedItem) viewer.getInput());
+ }
+ String contents = diagramElementSelector.getText();
+ diagramElementSelector.removeAll();
+ for (Iterator it = types.iterator(); it.hasNext();) {
+ EClass type = (EClass) ((ResolvedItem) it.next()).getDomainRef();
+ diagramElementSelector.add(type.getName());
+ if (contents.equals(type.getName())) {
+ diagramElementSelector.setText(contents);
+ }
+ }
+ if (diagramElementSelector.getText().length() == 0 && diagramElementSelector.getItemCount() > 0) {
+ diagramElementSelector.setText(diagramElementSelector.getItem(0));
+ }
+ if (!contents.equals(diagramElementSelector.getText())) {
+ // TODO : update resolution tree
+ }
+ }
+
+ private void collectResolvedDomainTypes(Collection types, ResolvedItem item) {
+ if (item.getDomainRef() instanceof EClass) {
+ boolean ignore = false;
+ if (excludeContainedNodesChoice.getSelection()) {
+ ignore |= item.getPattern() instanceof NodePattern;
+ }
+ if (excludeLinksChoice.getSelection()) {
+ ignore |= item.getPattern() instanceof TypeLinkPattern;
+ }
+ if (!ignore) {
+ types.add(item);
+ }
+ }
+ for (Iterator it = item.getChildren().iterator(); it.hasNext();) {
+ collectResolvedDomainTypes(types, (ResolvedItem) it.next());
+ }
+ }
+
protected static class ResolverContentProvider implements ITreeContentProvider {
public void dispose() {
diff --git a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/DomainModelSource.java b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/DomainModelSource.java
index 764a6fd8c..23f96009b 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/DomainModelSource.java
+++ b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/DomainModelSource.java
@@ -28,7 +28,5 @@ public interface DomainModelSource {
public EPackage getContents();
- public String getStatus();
-
public IStatus getErrorStatus();
}
diff --git a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/FileDomainModelSource.java b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/FileDomainModelSource.java
index 22d87e45a..c41b60012 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/FileDomainModelSource.java
+++ b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/FileDomainModelSource.java
@@ -32,8 +32,6 @@ public class FileDomainModelSource implements DomainModelSource {
private EPackage contents;
- private String status;
-
private IStatus errorStatus;
public IFile getFile() {
@@ -48,10 +46,6 @@ public class FileDomainModelSource implements DomainModelSource {
return contents;
}
- public String getStatus() {
- return status;
- }
-
public IStatus getErrorStatus() {
return errorStatus;
}
@@ -68,7 +62,6 @@ public class FileDomainModelSource implements DomainModelSource {
protected void reload() {
if (file == null) {
contents = null;
- status = "Domain model file is not specified; empty model will be created.";
errorStatus = null;
}
try {
@@ -76,11 +69,9 @@ public class FileDomainModelSource implements DomainModelSource {
ResourceSet rs = new ResourceSetImpl();
Resource r = rs.getResource(uri, true);
contents = (EPackage) r.getContents().get(0);
- status = "Domain model elements to process:";
errorStatus = null;
} catch (Exception e) {
contents = null;
- status = "Error loading domain model file:";
String namespace = CodeGenUIPlugin.getDefault().getBundle().getSymbolicName();
errorStatus = new Status(IStatus.ERROR, namespace, 0, e.getMessage(), e);
}
diff --git a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/GMFGraphSimpleModelWizard.java b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/GMFGraphSimpleModelWizard.java
index 431be028c..db22af4bc 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/GMFGraphSimpleModelWizard.java
+++ b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/GMFGraphSimpleModelWizard.java
@@ -49,7 +49,7 @@ public class GMFGraphSimpleModelWizard extends GMFGraphModelWizard {
domainModelSelectionPage.setDescription("Select file with ecore domain model");
addPage(domainModelSelectionPage);
- graphicalDefinitionPage = new DefinitionPage("GraphicalDefinitionPage", new StructureBuilder(new StructureResolver()), domainModelSource);
+ graphicalDefinitionPage = new DefinitionPage("GraphicalDefinitionPage", new StructureBuilder(new StructureResolver()), domainModelSource, false);
graphicalDefinitionPage.setTitle("Graphical Definition");
graphicalDefinitionPage.setDescription("Specify basic graphical definition of the domain model");
addPage(graphicalDefinitionPage);
diff --git a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/GMFToolSimpleModelWizard.java b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/GMFToolSimpleModelWizard.java
index 1ea7b9aee..ec0d09bea 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/GMFToolSimpleModelWizard.java
+++ b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/wizards/GMFToolSimpleModelWizard.java
@@ -49,7 +49,7 @@ public class GMFToolSimpleModelWizard extends GMFToolModelWizard {
domainModelSelectionPage.setDescription("Select file with ecore domain model");
addPage(domainModelSelectionPage);
- toolDefinitionPage = new DefinitionPage("ToolDefinitionPage", new StructureBuilder(new StructureResolver()), domainModelSource);
+ toolDefinitionPage = new DefinitionPage("ToolDefinitionPage", new StructureBuilder(new StructureResolver()), domainModelSource, false);
toolDefinitionPage.setTitle("Tooling Definition");
toolDefinitionPage.setDescription("Specify basic tooling definition of the domain model");
addPage(toolDefinitionPage);

Back to the top