Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2006-05-29 16:45:23 +0000
committerashatalin2006-05-29 16:45:23 +0000
commitc8b7867edd8d893e7c3ec54d8da0e17879810580 (patch)
treefb84c81ee68ba462997ef3289118ef12fb127468 /plugins/org.eclipse.gmf.codegen.ui
parent023ce6fc11b94529830d43624fae60a13a905624 (diff)
downloadorg.eclipse.gmf-tooling-c8b7867edd8d893e7c3ec54d8da0e17879810580.tar.gz
org.eclipse.gmf-tooling-c8b7867edd8d893e7c3ec54d8da0e17879810580.tar.xz
org.eclipse.gmf-tooling-c8b7867edd8d893e7c3ec54d8da0e17879810580.zip
#139128 Preserve visualID of the .gmfgen model nodes on modifying .gmfmap model.
- adding more traces - default OCL queries changed - containment/child metafeatures checked for GenNodes
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen.ui')
-rw-r--r--plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/popup/actions/TransformToGenModel.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/popup/actions/TransformToGenModel.java b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/popup/actions/TransformToGenModel.java
index d65bb2a28..6227a0525 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/popup/actions/TransformToGenModel.java
+++ b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/popup/actions/TransformToGenModel.java
@@ -178,7 +178,9 @@ public class TransformToGenModel implements IObjectActionDelegate {
return validate(genEditor);
} catch (IOException ex) {
- return CodeGenUIPlugin.createError("", ex);
+ return CodeGenUIPlugin.createError(ex.getMessage(), ex);
+ } catch (IllegalArgumentException ex) {
+ return CodeGenUIPlugin.createError(ex.getMessage(), ex);
} finally {
monitor.done();
}

Back to the top