Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratikhomirov2006-05-17 12:38:51 +0000
committeratikhomirov2006-05-17 12:38:51 +0000
commit6193b17441d17f335aafe12720c67598e7745500 (patch)
tree233f8123919ab762f7139ef37f8de2477735ff38 /plugins/org.eclipse.gmf.codegen.ui
parent934329839e9f2e8663ebce2fb48502caf27f2a4d (diff)
downloadorg.eclipse.gmf-tooling-6193b17441d17f335aafe12720c67598e7745500.tar.gz
org.eclipse.gmf-tooling-6193b17441d17f335aafe12720c67598e7745500.tar.xz
org.eclipse.gmf-tooling-6193b17441d17f335aafe12720c67598e7745500.zip
[mgolubev] #140186 XYLayoutEditPolicy should not be installed for editparts that have figure with non-XYLayout in the gmfgraph 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.java4
1 files changed, 1 insertions, 3 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 85093b260..613cccc6b 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
@@ -46,17 +46,15 @@ public class GMFGenConfig extends ReconcilerConfigBase {
setMatcher(GMFGEN.getGenDiagram(), ALWAYS_MATCH);
setMatcher(GMFGEN.getGenTopLevelNode(), getGenNodeMatcher());
- preserveIfSet(GMFGEN.getGenTopLevelNode(), GMFGEN.getGenChildContainer_ListLayout());
preserveIfNotByPattern(GMFGEN.getGenTopLevelNode(), GMFGEN.getGenChildContainer_CanonicalEditPolicyClassName(), ".*" + GenChildContainer.CANONICAL_EDIT_POLICY_SUFFIX);
preserveIfNotByPattern(GMFGEN.getGenTopLevelNode(), GMFGEN.getGenNode_GraphicalNodeEditPolicyClassName(), ".*" + GenNode.GRAPHICAL_NODE_EDIT_POLICY_SUFFIX);
setMatcher(GMFGEN.getGenChildNode(), getGenNodeMatcher());
- 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_ListLayout());
preserveIfSet(GMFGEN.getGenCompartment(), GMFGEN.getGenCompartment_CanCollapse());
preserveIfSet(GMFGEN.getGenCompartment(), GMFGEN.getGenCompartment_HideIfEmpty());
preserveIfSet(GMFGEN.getGenCompartment(), GMFGEN.getGenCompartment_NeedsTitle());

Back to the top