Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorradvorak2006-05-19 15:19:29 +0000
committerradvorak2006-05-19 15:19:29 +0000
commit21d778248d99b9a587f639317a65be1811125265 (patch)
tree45467e38ae371e4828eadb4970dd4e77b13cd9df /plugins/org.eclipse.gmf.codegen.ui
parent69513b071f393cff06ed88580450db51eaa7b7d3 (diff)
downloadorg.eclipse.gmf-tooling-21d778248d99b9a587f639317a65be1811125265.tar.gz
org.eclipse.gmf-tooling-21d778248d99b9a587f639317a65be1811125265.tar.xz
org.eclipse.gmf-tooling-21d778248d99b9a587f639317a65be1811125265.zip
#142778 Merge validation related properties when re-generating gmfgen model
Diffstat (limited to 'plugins/org.eclipse.gmf.codegen.ui')
-rw-r--r--plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/GMFGenConfig.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/GMFGenConfig.java b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/GMFGenConfig.java
index 88bd67894..1120cc7f6 100644
--- a/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/GMFGenConfig.java
+++ b/plugins/org.eclipse.gmf.codegen.ui/src/org/eclipse/gmf/internal/codegen/GMFGenConfig.java
@@ -59,6 +59,14 @@ public class GMFGenConfig extends ReconcilerConfigBase {
preserveIfSet(GMFGEN.getGenCompartment(), GMFGEN.getGenCompartment_CanCollapse());
preserveIfSet(GMFGEN.getGenCompartment(), GMFGEN.getGenCompartment_HideIfEmpty());
preserveIfSet(GMFGEN.getGenCompartment(), GMFGEN.getGenCompartment_NeedsTitle());
+
+ preserveIfSet(GMFGEN.getGenDiagram(), GMFGEN.getBatchValidation_ValidationEnabled());
+ preserveIfSet(GMFGEN.getGenDiagram(), GMFGEN.getBatchValidation_ValidationDecorators());
+ preserveIfSet(GMFGEN.getGenDiagram(), GMFGEN.getBatchValidation_ValidationProviderClassName());
+ preserveIfSet(GMFGEN.getGenDiagram(), GMFGEN.getBatchValidation_ValidationProviderPriority());
+
+ preserveIfSet(GMFGEN.getGenDiagram(), GMFGEN.getBatchValidation_MetricProviderPriority());
+ preserveIfSet(GMFGEN.getGenDiagram(), GMFGEN.getBatchValidation_MetricProviderClassName());
}
private Matcher getGenNodeMatcher(){

Back to the top