Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2010-08-15 15:11:18 -0400
committerMartin Fluegge2010-08-15 15:11:18 -0400
commitb62b3e9a0484c50bca3093a59fbd4986a111966f (patch)
treead86adbcf9bc85497ff00171a7f39aab8839f77f /plugins/org.eclipse.emf.cdo.dawn.codegen
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.codegen')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt b/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt
index fc0bd58d97..e92944b61b 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt
+++ b/plugins/org.eclipse.emf.cdo.dawn.codegen/src/template/GMFFragmentTemplate.xpt
@@ -422,7 +422,7 @@ public class «this.dawnCreationWizardClassName» extends «this.GMFGenEditorGenera
{
if (e.getTargetException() instanceof CoreException)
{
- ErrorDialog.openError(getContainer().getShell(), "Error while creating diagram", null,
+ ErrorDialog.openError(getContainer().getShell(), Messages.«this.GMFGenEditorGenerator.diagram.creationWizardClassName»CreationError, null,
((CoreException)e.getTargetException()).getStatus());
}
else
@@ -445,7 +445,7 @@ public class «this.dawnCreationWizardClassName» extends «this.GMFGenEditorGenera
dawnDiagramModelFilePage.setCreateAutomaticResourceName(true);
addPage(dawnDiagramModelFilePage);
- dawnDomainModelFilePage = new DawnCreateNewResourceWizardPage("", true, view)
+ dawnDomainModelFilePage = new DawnCreateNewResourceWizardPage("«this.GMFGenEditorGenerator.domainFileExtension»", true, view)
{
@Override
public void setVisible(boolean visible)

Back to the top