aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorghillairet2012-05-21 08:49:32 (EDT)
committermgolubev2012-05-21 08:49:32 (EDT)
commit84d530854f38c5569731a9711dd066e9b6351f94 (patch)
treea170a8c3ecd0c2e8fd83b2ae0e66d8f36ee42bbc
parentf07ad4452b08cad3b5b173e7aad1da626c2ee304 (diff)
downloadorg.eclipse.gmf-tooling-84d530854f38c5569731a9711dd066e9b6351f94.zip
org.eclipse.gmf-tooling-84d530854f38c5569731a9711dd066e9b6351f94.tar.gz
org.eclipse.gmf-tooling-84d530854f38c5569731a9711dd066e9b6351f94.tar.bz2
removed commented code
-rw-r--r--plugins/org.eclipse.gmf.bridge/transforms/Behaviours.qvto28
-rw-r--r--plugins/org.eclipse.gmf.bridge/transforms/Map2Gen.qvto4
2 files changed, 1 insertions, 31 deletions
diff --git a/plugins/org.eclipse.gmf.bridge/transforms/Behaviours.qvto b/plugins/org.eclipse.gmf.bridge/transforms/Behaviours.qvto
index fd54859..8b7fb64 100644
--- a/plugins/org.eclipse.gmf.bridge/transforms/Behaviours.qvto
+++ b/plugins/org.eclipse.gmf.bridge/transforms/Behaviours.qvto
@@ -29,34 +29,6 @@ helper GMFMAP::CanvasMapping::handleRelatedDiagram(in mapElement : GMFMAP::Mappi
} endif;
};
---helper GMFMAP::Mapping::customBehaviours() {
--- self.nodes->collect(customBehaviours());
--- self.links->collect(customBehaviours());
--- self.getCompartments()->collect(e | e.c.customBehaviours(e.n, e.r));
-
--- return;
---}
-
---helper GMFMAP::TopNodeReference::customBehaviours() {
--- var genNode := self.resolveone(GenTopLevelNode);
--- genNode.behaviour += self.child.visualEffects->map createVisualEffects(genNode, self.child.diagramNode);
--- self.child.children->collect(customBehaviours());
--- return;
---}
-
---helper GMFMAP::ChildReference::customBehaviours() {
--- var node := self.findProcessableChildReference();
--- if not node.oclIsUndefined() then
--- node.map structure(node.child).behaviour +=
--- node.child.visualEffects->map createVisualEffects(node.map structure(node.child), node.child.diagramNode)
--- endif
---}
-
---helper GMFMAP::LinkMapping::customBehaviours() {
--- self.map structure().behaviour += self.visualEffects->map createVisualEffects(self.map structure(), self.diagramLink);
--- return;
---}
-
--
-- VisualEffect
--
diff --git a/plugins/org.eclipse.gmf.bridge/transforms/Map2Gen.qvto b/plugins/org.eclipse.gmf.bridge/transforms/Map2Gen.qvto
index c822f8d..3c1cb95 100644
--- a/plugins/org.eclipse.gmf.bridge/transforms/Map2Gen.qvto
+++ b/plugins/org.eclipse.gmf.bridge/transforms/Map2Gen.qvto
@@ -48,9 +48,7 @@ main() {
genEditor.domainGenModel := mapRoot.diagram.domainModel.findGenPackage().genModel;
genEditor.plugin := mapRoot.map editorPlugin();
genEditor.editor := object GenEditorView {};
-
--- mapRoot.customBehaviours();
-
+
genEditor.diagramUpdater := object GenDiagramUpdater {};
genEditor.audits := mapRoot.audits.map audits(); -- these two should go before expression providers collection
genEditor.metrics := mapRoot.metrics.map metrics();