Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2010-08-15 19:11:18 +0000
committerMartin Fluegge2010-08-15 19:11:18 +0000
commitb62b3e9a0484c50bca3093a59fbd4986a111966f (patch)
treead86adbcf9bc85497ff00171a7f39aab8839f77f /plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn
parentdb6d584381dea06dd7be2cd28ace00e7718c6654 (diff)
downloadcdo-b62b3e9a0484c50bca3093a59fbd4986a111966f.tar.gz
cdo-b62b3e9a0484c50bca3093a59fbd4986a111966f.tar.xz
cdo-b62b3e9a0484c50bca3093a59fbd4986a111966f.zip
[321024] [Dawn] DawnCreationWizard fails if the page for the semantic resource is not entered
https://bugs.eclipse.org/bugs/show_bug.cgi?id=321024
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/DawnAcoreCreationWizard.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/DawnAcoreCreationWizard.java b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/DawnAcoreCreationWizard.java
index 21bd369a14..5ec882cd07 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/DawnAcoreCreationWizard.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.examples.acore.diagram.dawn/src/org/eclipse/emf/cdo/dawn/examples/acore/diagram/part/DawnAcoreCreationWizard.java
@@ -52,11 +52,6 @@ public class DawnAcoreCreationWizard extends AcoreCreationWizard
@Override
public boolean performFinish()
{
- AcoreDiagramEditorPlugin.getInstance().logInfo(
- "Notational Model: " + dawnDiagramModelFilePage.getURI().lastSegment());
- AcoreDiagramEditorPlugin.getInstance().logInfo("Notational Model URI: " + dawnDiagramModelFilePage.getURI());
- AcoreDiagramEditorPlugin.getInstance().logInfo("Domain Model: " + dawnDomainModelFilePage.getURI().lastSegment());
- AcoreDiagramEditorPlugin.getInstance().logInfo("Domain Model URI: " + dawnDomainModelFilePage.getURI());
IRunnableWithProgress op = new WorkspaceModifyOperation(null)
{
@Override
@@ -75,8 +70,8 @@ public class DawnAcoreCreationWizard extends AcoreCreationWizard
}
catch (PartInitException e)
{
- ErrorDialog.openError(getContainer().getShell(), Messages.AcoreCreationWizardOpenEditorError, null, e
- .getStatus());
+ ErrorDialog.openError(getContainer().getShell(), Messages.AcoreCreationWizardOpenEditorError, null,
+ e.getStatus());
}
}
}
@@ -114,7 +109,7 @@ public class DawnAcoreCreationWizard extends AcoreCreationWizard
dawnDiagramModelFilePage.setCreateAutomaticResourceName(true);
addPage(dawnDiagramModelFilePage);
- dawnDomainModelFilePage = new DawnCreateNewResourceWizardPage("", true, view)
+ dawnDomainModelFilePage = new DawnCreateNewResourceWizardPage("acore", true, view)
{
@Override
public void setVisible(boolean visible)

Back to the top