Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-03-30 14:18:50 +0000
committeratikhomirov2006-03-30 14:18:50 +0000
commit2a98ebe9fe761dd8160627048066f2a71c1674f5 (patch)
tree210b5a04ee60081ea8e8c2a6ab1791bf24648704 /plugins/org.eclipse.gmf.codegen.ui
parent5305a1de897135822ef1b16c2bf3ac3883f73fc4 (diff)
downloadorg.eclipse.gmf-tooling-2a98ebe9fe761dd8160627048066f2a71c1674f5.tar.gz
org.eclipse.gmf-tooling-2a98ebe9fe761dd8160627048066f2a71c1674f5.tar.xz
org.eclipse.gmf-tooling-2a98ebe9fe761dd8160627048066f2a71c1674f5.zip
[mgolubev] #133472 Reconcile GenCompartment boolean properties
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.java6
1 files changed, 6 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 f0bf41265..c8c312d86 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
@@ -52,6 +52,12 @@ public class GMFGenConfig extends ReconcilerConfigBase {
preserveIfSet(GMFGEN.getGenChildNode(), GMFGEN.getGenChildContainer_ListLayout());
preserveIfNotByPattern(GMFGEN.getGenChildNode(), GMFGEN.getGenChildContainer_CanonicalEditPolicyClassName(), ".*" + GenChildContainer.CANONICAL_EDIT_POLICY_SUFFIX);
preserveIfNotByPattern(GMFGEN.getGenChildNode(), GMFGEN.getGenNode_GraphicalNodeEditPolicyClassName(), ".*" + GenNode.GRAPHICAL_NODE_EDIT_POLICY_SUFFIX);
+
+ setMatcher(GMFGEN.getGenCompartment(), new ReflectiveMatcher(GMFGEN.getGenCompartment_Title()));
+ preserveIfSet(GMFGEN.getGenCompartment(), GMFGEN.getGenChildContainer_ListLayout());
+ preserveIfSet(GMFGEN.getGenCompartment(), GMFGEN.getGenCompartment_CanCollapse());
+ preserveIfSet(GMFGEN.getGenCompartment(), GMFGEN.getGenCompartment_HideIfEmpty());
+ preserveIfSet(GMFGEN.getGenCompartment(), GMFGEN.getGenCompartment_NeedsTitle());
}
private Matcher getGenNodeMatcher(){

Back to the top