Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMickael ADAM2017-09-12 08:35:42 -0400
committerPatrick Tessier2017-09-25 10:14:07 -0400
commit683cb7460360169d6798b69b85a6f2de39ade07f (patch)
tree526db0e7704f759c5d8b5e611c68d786f852c9f6 /plugins/developer
parent308ee2350b151160c1cae2645c72c2e37fb5b7ca (diff)
downloadorg.eclipse.papyrus-683cb7460360169d6798b69b85a6f2de39ade07f.tar.gz
org.eclipse.papyrus-683cb7460360169d6798b69b85a6f2de39ade07f.tar.xz
org.eclipse.papyrus-683cb7460360169d6798b69b85a6f2de39ade07f.zip
Bug 519876 - [Palettes][DiaGen] Palette generation from gmfgen should be
disabled https://bugs.eclipse.org/bugs/show_bug.cgi?id=519876 - deactivate paletteConfiguration model - remove palette from gmfgen - add instruction for timing diagram. Change-Id: Iaaa327931a8a22891d2c2dac3fdba0a544a545a4 Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>
Diffstat (limited to 'plugins/developer')
-rw-r--r--plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusGenerator.java2
-rw-r--r--plugins/developer/org.eclipse.papyrus.def/xtend/aspects/xpt/plugin/plugin.xtend4
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusGenerator.java b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusGenerator.java
index 0ad66e9e136..5cee3e7ba91 100644
--- a/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusGenerator.java
+++ b/plugins/developer/org.eclipse.papyrus.codegen/src/org/eclipse/papyrus/codegen/PapyrusGenerator.java
@@ -54,7 +54,7 @@ public class PapyrusGenerator extends GeneratorWithXtend2 {
@Override
protected void customRun() throws InterruptedException, UnexpectedBehaviourException {
super.customRun();
- generatePaletteConfiguration();
+ // generatePaletteConfiguration(); // commented to disable paletteConfiguration model generation
}
/**
diff --git a/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/xpt/plugin/plugin.xtend b/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/xpt/plugin/plugin.xtend
index 2abe1a642cb..962deb0b53d 100644
--- a/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/xpt/plugin/plugin.xtend
+++ b/plugins/developer/org.eclipse.papyrus.def/xtend/aspects/xpt/plugin/plugin.xtend
@@ -78,6 +78,10 @@ import java.io.File
</plugin>
'''
+
+ /**
+ * deprecated: palette configuration are now declared through architecture model.
+ */
def paletteConfiguration(GenEditorGenerator it) '''
<extension point="org.eclipse.papyrus.infra.gmfdiag.common.paletteDefinition">
«xmlGeneratedTag»

Back to the top