From b73d3c2d9bc9eb2fe3f7a678ef00e81e4dd925a2 Mon Sep 17 00:00:00 2001 From: Christian W. Damus Date: Mon, 7 Mar 2016 08:52:16 -0500 Subject: Bug 488559: [Releng] Projects not included in the Developer Tools release https://bugs.eclipse.org/bugs/show_bug.cgi?id=488559 Delete obsolete bundles and include the oep.developer.profile bundle in the dev tools feature. Change-Id: I81da098459c758bb3e8d736dd664f3f1d9d4fea5 --- .../org.eclipse.papyrus.dev.feature/feature.xml | 7 + .../developer/org.eclipse.papyrus.doc/.directory | 3 - plugins/developer/org.eclipse.papyrus.doc/.project | 40 - .../org.eclipse.papyrus.doc/META-INF/MANIFEST.MF | 12 - .../developer/org.eclipse.papyrus.doc/about.html | 28 - .../org.eclipse.papyrus.doc/build.properties | 11 - .../icons/PAPYRUS DEF + ECLIPSE.jpg | Bin 868835 -> 0 bytes .../org.eclipse.papyrus.doc/icons/Papyrus.ico | Bin 70726 -> 0 bytes .../org.eclipse.papyrus.doc/icons/Papyrus.psd | Bin 15625509 -> 0 bytes .../icons/Papyrus128x128.ico | Bin 67646 -> 0 bytes .../icons/Papyrus128x128_TransparentBkgd.bmp | Bin 65590 -> 0 bytes .../icons/Papyrus128x128_TransparentBkgd.gif | Bin 4415 -> 0 bytes .../icons/Papyrus128x128_TransparentBkgd.ico | Bin 67646 -> 0 bytes .../org.eclipse.papyrus.doc/icons/Papyrus16x16.ico | Bin 1150 -> 0 bytes .../PapyrusBanner_128x128_TransparentBckgrd.gif | Bin 8497 -> 0 bytes .../icons/PapyrusLogo16x16.gif | Bin 963 -> 0 bytes .../icons/PapyrusLogo16x16.png | Bin 825 -> 0 bytes .../icons/PapyrusLogo24x24.gif | Bin 1148 -> 0 bytes .../icons/PapyrusLogo256x256.gif | Bin 10003 -> 0 bytes .../icons/PapyrusLogo32x32.gif | Bin 1264 -> 0 bytes .../icons/PapyrusLogo32x32.png | Bin 2001 -> 0 bytes .../icons/PapyrusLogo48x48.gif | Bin 1590 -> 0 bytes .../icons/PapyrusLogo48x48.png | Bin 3348 -> 0 bytes .../icons/PapyrusSplashScreenWithEclipseLogo.ico | Bin 28288 -> 0 bytes .../PapyrusSplashScreenWithEclipseLogo.ico.bmp | Bin 262198 -> 0 bytes .../icons/PapyrusWithEclipse.jpg | Bin 619121 -> 0 bytes .../intro/css/firststeps.css | 3 - .../intro/css/graphics/newproject.png | Bin 3348 -> 0 bytes .../intro/css/graphics/newproject_hov.png | Bin 3348 -> 0 bytes .../org.eclipse.papyrus.doc/intro/css/overview.css | 3 - .../org.eclipse.papyrus.doc/intro/firststeps.xml | 12 - .../org.eclipse.papyrus.doc/intro/overview.xml | 12 - .../org.eclipse.papyrus.doc/plugin.properties | 12 - .../developer/org.eclipse.papyrus.doc/plugin.xml | 70 - .../plugin_customization.ini | 37 - plugins/developer/org.eclipse.papyrus.doc/toc.xml | 25 - ...&AddingNewPluginInPapyrus_v1.0_d2010-05-07.html | 521 ---- ...ginInPapyrus_v1.0_d2010-05-07_html_11174b23.png | Bin 20735 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_20d7fa65.gif | Bin 1213 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_21c4a62a.gif | Bin 1160 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_3b41e179.gif | Bin 1177 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_3ff687e7.png | Bin 5333 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_47da22ab.gif | Bin 6589 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_4ddfcb15.jpg | Bin 161057 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_51cd634f.gif | Bin 994 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_6b592bb8.gif | Bin 945 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_6bd32e21.png | Bin 26928 -> 0 bytes ...uginInPapyrus_v1.0_d2010-05-07_html_ae49080.png | Bin 22370 -> 0 bytes ...inInPapyrus_v1.0_d2010-05-07_html_m1e24f929.gif | Bin 963 -> 0 bytes ...inInPapyrus_v1.0_d2010-05-07_html_m2bea2a2a.png | Bin 14244 -> 0 bytes ...inInPapyrus_v1.0_d2010-05-07_html_m318ea83a.gif | Bin 14783 -> 0 bytes ...inInPapyrus_v1.0_d2010-05-07_html_m32cc7b38.gif | Bin 938 -> 0 bytes ...inInPapyrus_v1.0_d2010-05-07_html_m4922ca4f.gif | Bin 10054 -> 0 bytes ...inInPapyrus_v1.0_d2010-05-07_html_m4ac5f84a.gif | Bin 1003 -> 0 bytes ...inInPapyrus_v1.0_d2010-05-07_html_m5bcfb153.gif | Bin 1222 -> 0 bytes ...inInPapyrus_v1.0_d2010-05-07_html_m63a2afcc.png | Bin 15165 -> 0 bytes ...inInPapyrus_v1.0_d2010-05-07_html_m6e3b81b8.png | Bin 11167 -> 0 bytes ...inInPapyrus_v1.0_d2010-05-07_html_m70e80a0b.png | Bin 21268 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_m8c3db26.png | Bin 20846 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_mfb4253b.png | Bin 15995 -> 0 bytes ...ginInPapyrus_v1.0_d2010-05-07_html_mfc790d3.png | Bin 18126 -> 0 bytes ...al_OnPaletteCustomization_v1.0_d2010-05-10.html | 635 ----- ...ustomization_v1.0_d2010-05-10_html_190000d0.jpg | Bin 46910 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_1a7383ef.jpg | Bin 14490 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_1f1d26a1.gif | Bin 883 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_23e9525f.gif | Bin 959 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_2de6511e.jpg | Bin 15482 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_2e60cc27.gif | Bin 1264 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_3dc01309.gif | Bin 957 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_3ee63c30.jpg | Bin 24003 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_411962d6.jpg | Bin 38111 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_48d1d34a.jpg | Bin 43591 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_4b33db00.jpg | Bin 46690 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_4ddfcb15.jpg | Bin 161057 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_524be928.jpg | Bin 106457 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_555bbb5d.gif | Bin 12977 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_68bae2f2.jpg | Bin 61682 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_6b592bb8.gif | Bin 945 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_74c8281f.jpg | Bin 52272 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_76021fdc.jpg | Bin 76765 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_78f85dd6.gif | Bin 1770 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_7bb211b8.jpg | Bin 73774 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_7c8e723e.jpg | Bin 61013 -> 0 bytes ...Customization_v1.0_d2010-05-10_html_fa9f27c.jpg | Bin 62381 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m13347fb5.jpg | Bin 22694 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m1612afc0.gif | Bin 945 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m1abb7658.gif | Bin 1490 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m1e24f929.gif | Bin 963 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m21556a07.jpg | Bin 29049 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m2a5d1838.gif | Bin 920 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m2d88bdd2.gif | Bin 844 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m33dcfb72.jpg | Bin 65350 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m35c81750.gif | Bin 871 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m4995407d.jpg | Bin 25496 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m4a6d66e1.gif | Bin 1433 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m4d2642df.jpg | Bin 61678 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m5a174047.jpg | Bin 35793 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m5b16696f.gif | Bin 951 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_m62c1dd5.gif | Bin 947 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m6e3b81b8.png | Bin 11167 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m70da181d.jpg | Bin 45759 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m79877ecd.jpg | Bin 41793 -> 0 bytes ...stomization_v1.0_d2010-05-10_html_m7a8be963.jpg | Bin 51073 -> 0 bytes ...ustomization_v1.0_d2010-05-10_html_mf9df094.jpg | Bin 56126 -> 0 bytes .../SashEditor/sashAndCoreArchitecture.htm | 2529 -------------------- .../sashAndCoreArchitecture_fichiers/filelist.xml | 34 - .../sashAndCoreArchitecture_fichiers/image001.png | Bin 7748 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image002.jpg | Bin 7281 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image003.png | Bin 74419 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image004.jpg | Bin 33630 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image005.png | Bin 92825 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image006.jpg | Bin 16842 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image007.png | Bin 72531 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image008.jpg | Bin 29350 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image009.png | Bin 99693 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image010.jpg | Bin 23456 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image011.png | Bin 34602 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image012.jpg | Bin 26951 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image013.png | Bin 80947 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image014.jpg | Bin 21591 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image015.png | Bin 59098 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image016.jpg | Bin 33145 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image017.png | Bin 47674 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image018.jpg | Bin 15596 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image019.png | Bin 17649 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image020.jpg | Bin 12906 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image021.png | Bin 14186 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image022.jpg | Bin 17459 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image023.png | Bin 18393 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image024.jpg | Bin 13172 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image025.png | Bin 26323 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image026.jpg | Bin 18777 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image027.png | Bin 2694 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image028.jpg | Bin 4135 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image029.png | Bin 29086 -> 0 bytes .../sashAndCoreArchitecture_fichiers/image030.jpg | Bin 22271 -> 0 bytes ...evelopperTutorial_OnXtext_v0 6_d2011-01-10.html | 1326 ---------- ...rial_OnXtext_v0 6_d2011-01-10_html_281a152c.png | Bin 19051 -> 0 bytes ...rial_OnXtext_v0 6_d2011-01-10_html_427e03b1.png | Bin 31269 -> 0 bytes ...orial_OnXtext_v0 6_d2011-01-10_html_556ade7.gif | Bin 28566 -> 0 bytes ...rial_OnXtext_v0 6_d2011-01-10_html_55ff396d.jpg | Bin 36408 -> 0 bytes ...rial_OnXtext_v0 6_d2011-01-10_html_66a22042.png | Bin 22184 -> 0 bytes ...rial_OnXtext_v0 6_d2011-01-10_html_783765cb.png | Bin 22164 -> 0 bytes ...rial_OnXtext_v0 6_d2011-01-10_html_79503f82.png | Bin 14631 -> 0 bytes ...ial_OnXtext_v0 6_d2011-01-10_html_m1129831d.png | Bin 28109 -> 0 bytes ...ial_OnXtext_v0 6_d2011-01-10_html_m11aa8a4d.png | Bin 6539 -> 0 bytes ...ial_OnXtext_v0 6_d2011-01-10_html_m15dd1f70.gif | Bin 4415 -> 0 bytes ...ial_OnXtext_v0 6_d2011-01-10_html_m1e24f929.gif | Bin 963 -> 0 bytes ...ial_OnXtext_v0 6_d2011-01-10_html_m2a0df40c.png | Bin 23051 -> 0 bytes ...ial_OnXtext_v0 6_d2011-01-10_html_m2b708589.png | Bin 19115 -> 0 bytes ...ial_OnXtext_v0 6_d2011-01-10_html_m3a39bbab.png | Bin 168795 -> 0 bytes ...ial_OnXtext_v0 6_d2011-01-10_html_m6d9d6d6e.png | Bin 35596 -> 0 bytes ...ial_OnXtext_v0 6_d2011-01-10_html_m6e3b81b8.png | Bin 11167 -> 0 bytes ...rial_OnXtext_v0 6_d2011-01-10_html_mba499f0.png | Bin 11700 -> 0 bytes .../.classpath | 7 - .../.project | 52 - .../.settings/org.eclipse.jdt.core.prefs | 288 --- .../.settings/org.eclipse.jdt.ui.prefs | 68 - .../.settings/org.eclipse.pde.api.tools.prefs | 98 - .../META-INF/MANIFEST.MF | 16 - .../about.html | 28 - .../build.properties | 8 - .../plugin.properties | 3 - .../plugin.xml | 14 - .../pom.xml | 13 - .../extendedtypes/elementtypeview/Activator.java | 59 - .../view/ElementTypeLabelProvider.java | 82 - .../elementtypeview/view/ElementTypeView.java | 253 -- plugins/developer/pom.xml | 1 - 169 files changed, 7 insertions(+), 6303 deletions(-) delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/.directory delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/.project delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/META-INF/MANIFEST.MF delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/about.html delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/build.properties delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PAPYRUS DEF + ECLIPSE.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus.ico delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus.psd delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128.ico delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.bmp delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.ico delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus16x16.ico delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusBanner_128x128_TransparentBckgrd.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo16x16.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo16x16.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo24x24.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo256x256.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo32x32.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo32x32.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo48x48.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo48x48.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusSplashScreenWithEclipseLogo.ico delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusSplashScreenWithEclipseLogo.ico.bmp delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusWithEclipse.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/intro/css/firststeps.css delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/intro/css/graphics/newproject.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/intro/css/graphics/newproject_hov.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/intro/css/overview.css delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/intro/firststeps.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/intro/overview.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/plugin.properties delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/plugin.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/plugin_customization.ini delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/toc.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07.html delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_11174b23.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_20d7fa65.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_21c4a62a.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_3b41e179.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_3ff687e7.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_47da22ab.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_4ddfcb15.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_51cd634f.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_6b592bb8.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_6bd32e21.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_ae49080.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m1e24f929.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m2bea2a2a.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m318ea83a.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m32cc7b38.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m4922ca4f.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m4ac5f84a.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m5bcfb153.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m63a2afcc.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m6e3b81b8.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m70e80a0b.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m8c3db26.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_mfb4253b.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_mfc790d3.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10.html delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_190000d0.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_1a7383ef.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_1f1d26a1.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_23e9525f.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_2de6511e.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_2e60cc27.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_3dc01309.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_3ee63c30.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_411962d6.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_48d1d34a.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_4b33db00.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_4ddfcb15.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_524be928.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_555bbb5d.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_68bae2f2.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_6b592bb8.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_74c8281f.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_76021fdc.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_78f85dd6.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_7bb211b8.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_7c8e723e.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_fa9f27c.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m13347fb5.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1612afc0.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1abb7658.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1e24f929.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m21556a07.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m2a5d1838.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m2d88bdd2.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m33dcfb72.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m35c81750.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4995407d.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4a6d66e1.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4d2642df.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m5a174047.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m5b16696f.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m62c1dd5.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m6e3b81b8.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m70da181d.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m79877ecd.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m7a8be963.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_mf9df094.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture.htm delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/filelist.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image001.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image002.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image003.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image004.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image005.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image006.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image007.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image008.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image009.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image010.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image011.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image012.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image013.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image014.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image015.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image016.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image017.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image018.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image019.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image020.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image021.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image022.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image023.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image024.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image025.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image026.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image027.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image028.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image029.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image030.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10.html delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_281a152c.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_427e03b1.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_556ade7.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_55ff396d.jpg delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_66a22042.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_783765cb.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_79503f82.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m1129831d.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m11aa8a4d.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m15dd1f70.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m1e24f929.gif delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m2a0df40c.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m2b708589.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m3a39bbab.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m6d9d6d6e.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m6e3b81b8.png delete mode 100644 plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_mba499f0.png delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.classpath delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.project delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.jdt.core.prefs delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.jdt.ui.prefs delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.pde.api.tools.prefs delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/META-INF/MANIFEST.MF delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/about.html delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/build.properties delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/plugin.properties delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/plugin.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/pom.xml delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/Activator.java delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeLabelProvider.java delete mode 100644 plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeView.java diff --git a/features/papyrus-dev-features/org.eclipse.papyrus.dev.feature/feature.xml b/features/papyrus-dev-features/org.eclipse.papyrus.dev.feature/feature.xml index e05c9f46aa4..ae4cb25df77 100644 --- a/features/papyrus-dev-features/org.eclipse.papyrus.dev.feature/feature.xml +++ b/features/papyrus-dev-features/org.eclipse.papyrus.dev.feature/feature.xml @@ -189,4 +189,11 @@ http://www.eclipse.org/legal/epl-v10.html version="0.0.0" unpack="false"/> + + diff --git a/plugins/developer/org.eclipse.papyrus.doc/.directory b/plugins/developer/org.eclipse.papyrus.doc/.directory deleted file mode 100644 index 53db334b0c4..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/.directory +++ /dev/null @@ -1,3 +0,0 @@ -[Dolphin] -Timestamp=2009,10,29,13,26,35 -ViewMode=1 diff --git a/plugins/developer/org.eclipse.papyrus.doc/.project b/plugins/developer/org.eclipse.papyrus.doc/.project deleted file mode 100644 index dc1932cbf81..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/.project +++ /dev/null @@ -1,40 +0,0 @@ - - - org.eclipse.papyrus.doc - - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.oomph.version.VersionBuilder - - - check.maven.pom - true - - - ignore.lower.bound.dependency.ranges - true - - - release.path - /org.eclipse.papyrus.releng.dev.release/release.xml - - - - - - org.eclipse.pde.PluginNature - org.eclipse.oomph.version.VersionNature - - diff --git a/plugins/developer/org.eclipse.papyrus.doc/META-INF/MANIFEST.MF b/plugins/developer/org.eclipse.papyrus.doc/META-INF/MANIFEST.MF deleted file mode 100644 index 2916d725ccd..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/META-INF/MANIFEST.MF +++ /dev/null @@ -1,12 +0,0 @@ -Manifest-Version: 1.0 -Require-Bundle: org.eclipse.equinox.app;bundle-version="[1.3.0,2.0.0)", - org.eclipse.ui;bundle-version="[3.107.0,4.0.0)", - org.eclipse.help;bundle-version="[3.7.0,4.0.0)", - org.eclipse.ui.intro;bundle-version="[3.5.0,4.0.0)", - org.eclipse.pde.ui;bundle-version="[3.9.0,4.0.0)" -Bundle-Vendor: %providerName -Bundle-Version: 1.2.0.qualifier -Bundle-Name: %pluginName -Bundle-Localization: plugin -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.doc;singleton:=true diff --git a/plugins/developer/org.eclipse.papyrus.doc/about.html b/plugins/developer/org.eclipse.papyrus.doc/about.html deleted file mode 100644 index 82d49bf5f81..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

About This Content

- -

June 5, 2007

-

License

- -

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

- -

If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

- - - diff --git a/plugins/developer/org.eclipse.papyrus.doc/build.properties b/plugins/developer/org.eclipse.papyrus.doc/build.properties deleted file mode 100644 index 2202c477f66..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/build.properties +++ /dev/null @@ -1,11 +0,0 @@ -bin.includes = META-INF/,\ - plugin.xml,\ - icons/,\ - toc.xml,\ - tutorials/,\ - intro/,\ - plugin_customization.ini,\ - plugin.properties,\ - about.html -bin.excludes = icons/Papyrus.psd -src.includes = about.html diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PAPYRUS DEF + ECLIPSE.jpg b/plugins/developer/org.eclipse.papyrus.doc/icons/PAPYRUS DEF + ECLIPSE.jpg deleted file mode 100644 index dbead9036e6..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PAPYRUS DEF + ECLIPSE.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus.ico b/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus.ico deleted file mode 100644 index 78d502d74db..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus.ico and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus.psd b/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus.psd deleted file mode 100644 index 749d95f068a..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus.psd and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128.ico b/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128.ico deleted file mode 100644 index 529959075ce..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128.ico and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.bmp b/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.bmp deleted file mode 100644 index 1e92ec42406..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.bmp and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.gif b/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.gif deleted file mode 100644 index 528d45c6d86..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.ico b/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.ico deleted file mode 100644 index d6223d0e4e8..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus128x128_TransparentBkgd.ico and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus16x16.ico b/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus16x16.ico deleted file mode 100644 index 1246cea6b10..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/Papyrus16x16.ico and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusBanner_128x128_TransparentBckgrd.gif b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusBanner_128x128_TransparentBckgrd.gif deleted file mode 100644 index 6b17dfbb5c2..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusBanner_128x128_TransparentBckgrd.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo16x16.gif b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo16x16.gif deleted file mode 100644 index a32f4b1b572..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo16x16.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo16x16.png b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo16x16.png deleted file mode 100644 index 3447e03cbe2..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo16x16.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo24x24.gif b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo24x24.gif deleted file mode 100644 index 35bcddb69a8..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo24x24.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo256x256.gif b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo256x256.gif deleted file mode 100644 index aec1e61d4ce..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo256x256.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo32x32.gif b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo32x32.gif deleted file mode 100644 index 50cd9a142ee..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo32x32.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo32x32.png b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo32x32.png deleted file mode 100644 index 57e441b344c..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo32x32.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo48x48.gif b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo48x48.gif deleted file mode 100644 index a1d04e56539..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo48x48.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo48x48.png b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo48x48.png deleted file mode 100644 index 1a6ee9b632f..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusLogo48x48.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusSplashScreenWithEclipseLogo.ico b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusSplashScreenWithEclipseLogo.ico deleted file mode 100644 index edec69e1452..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusSplashScreenWithEclipseLogo.ico and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusSplashScreenWithEclipseLogo.ico.bmp b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusSplashScreenWithEclipseLogo.ico.bmp deleted file mode 100644 index e85e2df6acc..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusSplashScreenWithEclipseLogo.ico.bmp and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusWithEclipse.jpg b/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusWithEclipse.jpg deleted file mode 100644 index 03b5f32ab77..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/icons/PapyrusWithEclipse.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/intro/css/firststeps.css b/plugins/developer/org.eclipse.papyrus.doc/intro/css/firststeps.css deleted file mode 100644 index 74f9c98b8e7..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/intro/css/firststeps.css +++ /dev/null @@ -1,3 +0,0 @@ - -a#newpapyrusproject-introLink img { background-image : url(graphics/newproject.png); } -a#newpapyrusproject-introLink:hover img { background-image : url(graphics/newproject_hov.png); } \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.doc/intro/css/graphics/newproject.png b/plugins/developer/org.eclipse.papyrus.doc/intro/css/graphics/newproject.png deleted file mode 100644 index 1a6ee9b632f..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/intro/css/graphics/newproject.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/intro/css/graphics/newproject_hov.png b/plugins/developer/org.eclipse.papyrus.doc/intro/css/graphics/newproject_hov.png deleted file mode 100644 index 1a6ee9b632f..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/intro/css/graphics/newproject_hov.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/intro/css/overview.css b/plugins/developer/org.eclipse.papyrus.doc/intro/css/overview.css deleted file mode 100644 index 74f9c98b8e7..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/intro/css/overview.css +++ /dev/null @@ -1,3 +0,0 @@ - -a#newpapyrusproject-introLink img { background-image : url(graphics/newproject.png); } -a#newpapyrusproject-introLink:hover img { background-image : url(graphics/newproject_hov.png); } \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.doc/intro/firststeps.xml b/plugins/developer/org.eclipse.papyrus.doc/intro/firststeps.xml deleted file mode 100644 index ebafdb878eb..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/intro/firststeps.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Start with creation of new Papyrus project - - - - \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.doc/intro/overview.xml b/plugins/developer/org.eclipse.papyrus.doc/intro/overview.xml deleted file mode 100644 index 0ff38e4ad54..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/intro/overview.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - Start with creation of new Papyrus project - - - - \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.doc/plugin.properties b/plugins/developer/org.eclipse.papyrus.doc/plugin.properties deleted file mode 100644 index 20e90a756c8..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/plugin.properties +++ /dev/null @@ -1,12 +0,0 @@ -################################################################################# -# Copyright (c) 2008 CEA LIST. -# All rights reserved. This program and the accompanying materials -# are made available under the terms of the Eclipse Public License v1.0 -# which accompanies this distribution, and is available at -# http://www.eclipse.org/legal/epl-v10.html -# -# Contributors: -# Tatiana Fesenko tatiana.fesenko@cea.fr - Initial API and implementation -################################################################################## -pluginName=Papyrus Main Documentation plugin -providerName=Eclipse Modeling Project diff --git a/plugins/developer/org.eclipse.papyrus.doc/plugin.xml b/plugins/developer/org.eclipse.papyrus.doc/plugin.xml deleted file mode 100644 index ca82479dc4c..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/plugin.xml +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/developer/org.eclipse.papyrus.doc/plugin_customization.ini b/plugins/developer/org.eclipse.papyrus.doc/plugin_customization.ini deleted file mode 100644 index 1dab08d7357..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/plugin_customization.ini +++ /dev/null @@ -1,37 +0,0 @@ -# plugin_customization.ini -# sets default values for plug-in-specific preferences -# keys are qualified by plug-in id -# e.g., com.example.acmeplugin/myproperty=myvalue -# modeling.io.Properties file (ISO 8859-1 with "\" escapes) -# "%key" are externalized strings defined in plugin_customization.properties -# This file does not need to be translated. - -# WARNING: This file defines the preference overrides for the Platform build -# (the one with no JDT or PDE), not the SDK build (aka the IDE). -# For the SDK build, use the plugin_customization.ini file in the -# org.eclipse.sdk plug-in instead. - -# Property "org.eclipse.ui/defaultPerspectiveId" controls the -# perspective that the workbench opens initially -org.eclipse.ui/defaultPerspectiveId=org.eclipse.papyrus.core.perspective - -# new-style tabs by default -org.eclipse.ui/SHOW_TRADITIONAL_STYLE_TABS=false - -# put the perspective switcher on the top right -org.eclipse.ui/DOCK_PERSPECTIVE_BAR=topRight - -# show progress on startup -org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP = true - -# Welcome theme to use -org.eclipse.ui.intro/INTRO_THEME = org.eclipse.ui.intro.universal.circles - -# Root page links to show in the Universal Welcome -org.eclipse.ui.intro.universal/INTRO_ROOT_PAGES = overview,firststeps,tutorials,samples,whatsnew - -# Initial page layout of the Universal Welcome -# org.eclipse.ui.intro.universal/INTRO_DATA = product:introData.xml - -# Order help books in table of contents -# org.eclipse.help/HELP_DATA = helpData.xml \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.doc/toc.xml b/plugins/developer/org.eclipse.papyrus.doc/toc.xml deleted file mode 100644 index 2eb1290a5d7..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/toc.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07.html b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07.html deleted file mode 100644 index 2badc752ef7..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07.html +++ /dev/null @@ -1,521 +0,0 @@ - - - - - - - - - - - - - - - - - -
-

-
On - creating/adding a new plug-in in Papyrus Version 1.0

-
- - - - - -
-



-

-




-

-
-



-

-



-

-



-

-



-

-



-

-



-

-

Papyrus -Tutorial:

-

How to -create and add a new plug-in within Papyrus?

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

- - - - - - - - - - - - - - - - - - - -
-

Editor

-
-

Sébastien - Gérard, CEA LIST

-
-

Status

-
-

Final - version

-
-

Version - number

-
-

1.0

-
-

Date of - preparation

-
-

2010-05-07

-
-

Authors

- - - - - - - - - - - - - - - - - -
-

Editor - name (first/last name)

-
-

Company

-
-

E-mail

-
-

Initial

-
-

- Sébastien - Gérard

-
-

- CEA LIST

-
-

- Sebastien.gerard@cea.fr

-
-

SG

-
-



-

-



-

- - - - - - - - - - - - - - - - - -
-

- Authors name (first/last name)

-
-

- Company

-
-

- E-mail

-
-

- Initial

-
-

- Sébastien - Gérard

-
-

- CEA LIST

-
-

- Sebastien.gerard@cea.fr

-
-

SG

-
-



-

-



-

-

Revision -chart and history log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

- Version -

-
-

- Date

-
-

- Reasons

-
-

- 1.0

-
-

- 2010-05-07

-
-

- Initial contribution.

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

Table -of contents

-
-

Authors 2

-

Revision - chart and history log 3

-

List - of abbreviations 4

-

Table - of contents 5

-

List - of figures 6

-

List - of tables 7

-

1 - Introduction 8

-

2 - <<<Main chapters>>> 9

-

3 - Summary and conclusion 10

-

4 - References 11

-
-



-

-



-

-

-1Introduction

-

The purpose of this document is to -provide to Papyrus developpers a tutorial explaining how to create -and add a new plug-in within Papyrus.

-

-2How to create a new plug-in for Papyrus ?

-
    -
  1. Create a new plug-in - for Papyrus

    -
-





-

-
    -
  1. Name your new plug-in applying - the formating rule: org.eclipse.papyrus.<YourPluginName>

    -
-




-

-
    -
  1. - Then click on the button Finish. - Then the following user interface is displayed:

    -
-




-

-
    -
  1. Set the following properties and - then click on the button Finish.

    -
- -
    -
  1. - Add a new file named plugin.properties under the plug-in - project

    -
-




-

- - - - - - - -
-



-

-
-



-

-
-

You then should get then the -following result:

-



-

-




-

-
    -
  1. Edit the file and add the - following text inside. This file is used for defining the variables - used in the plug-in definition. In our case, we have previously - introduced both following variables, pluginName and providerName. - The value set for this variable may be any kind of string. Then do - not forget to save the file and you can also close it.

    -
-




-

-
    -
  1. Configure the manifest of the - plug-in. For that purpose, open the file named MANIFEST.MF under the - folder named META-INF as shown below. In our case, we check the - resource folder and plugin.properties file in order these later may - be automatically included in the build of the plug-in. Then do not - forget to save the file and you can also close it.

    -
-




-

-

Your plug-in is now created and can -be committed to the Papyrus repository. For that purpose please refer -to next chpater.

-

-3How to commit a new plug-in within the Papyrus repository?

-
    -
  1. Now, the final step is to commit - your new plug-in on the Papyrus svn. For that purpose, select your - plug-in in the package explorer and do following action, Team>Share - Project.., as shown below.

    -
-




-

-
    -
  1. Then select svn as shown - below...

    -
-




-

-
    -

  1. … - and next select the Papyrus svn repository.

    -
-



-

-
    -
  1. Finish and then you get the user - interface shwon below. You have to select “Use mutliple - projects ...” option in the group named “Project - Repository Layout”. The value to set is depending on the - location you want to commit your new plug-in. A priori it is on the - trunk of Papyrus, so it should start by “/trunk” and - then you specify the path of the targeted location. In our example, - the new plug-in will be committed under the path - “/trunk/plugins/uml”. Then you have also to uncheck the - box named “Use Subversion recommend layout ...”, and - then you can press the button Finish.

    -
-




-

-
    -
  1. - Finally, you will get the following last user interface that ask you - to enter a comment denoting the new commit. Pressing the button OK, - you will have finished the process and your plug-in should be added - to the Papyrus svn repository.

    -
-




-

-
    -
  1. Last step is to check that - everything has been done correctly. For that, switch to the svn view - and check that your new plug-in has been uploaded correctly and at - the right location and close then bug that was attached to that new - feature supported by your plug-in.

    -
-

4References

-

N/A.

-
-

 - 2009 The - Papyrus Consortium 13/13

-
- - \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_11174b23.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_11174b23.png deleted file mode 100644 index e5b3a6d3336..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_11174b23.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_20d7fa65.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_20d7fa65.gif deleted file mode 100644 index 92de8528f35..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_20d7fa65.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_21c4a62a.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_21c4a62a.gif deleted file mode 100644 index 3c511de27d1..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_21c4a62a.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_3b41e179.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_3b41e179.gif deleted file mode 100644 index 39d514196bc..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_3b41e179.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_3ff687e7.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_3ff687e7.png deleted file mode 100644 index 8c1330e3d9f..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_3ff687e7.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_47da22ab.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_47da22ab.gif deleted file mode 100644 index 47a34fbdde7..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_47da22ab.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_4ddfcb15.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_4ddfcb15.jpg deleted file mode 100644 index 4bdff4f72a6..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_4ddfcb15.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_51cd634f.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_51cd634f.gif deleted file mode 100644 index 90720a88a5d..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_51cd634f.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_6b592bb8.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_6b592bb8.gif deleted file mode 100644 index e2c121b226a..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_6b592bb8.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_6bd32e21.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_6bd32e21.png deleted file mode 100644 index eb00ad6ec3e..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_6bd32e21.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_ae49080.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_ae49080.png deleted file mode 100644 index b77d09fe82e..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_ae49080.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m1e24f929.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m1e24f929.gif deleted file mode 100644 index a32f4b1b572..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m1e24f929.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m2bea2a2a.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m2bea2a2a.png deleted file mode 100644 index 5fd0edbe697..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m2bea2a2a.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m318ea83a.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m318ea83a.gif deleted file mode 100644 index 3768f4e7c27..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m318ea83a.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m32cc7b38.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m32cc7b38.gif deleted file mode 100644 index 2b5b373cabc..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m32cc7b38.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m4922ca4f.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m4922ca4f.gif deleted file mode 100644 index 7e548fd3d0a..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m4922ca4f.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m4ac5f84a.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m4ac5f84a.gif deleted file mode 100644 index 6dba7f2f78d..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m4ac5f84a.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m5bcfb153.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m5bcfb153.gif deleted file mode 100644 index c94023f49fe..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m5bcfb153.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m63a2afcc.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m63a2afcc.png deleted file mode 100644 index 20997cbcb2e..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m63a2afcc.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m6e3b81b8.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m6e3b81b8.png deleted file mode 100644 index ce02bc553ff..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m6e3b81b8.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m70e80a0b.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m70e80a0b.png deleted file mode 100644 index 9f7dc3461c3..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m70e80a0b.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m8c3db26.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m8c3db26.png deleted file mode 100644 index 824b92f9d43..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_m8c3db26.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_mfb4253b.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_mfb4253b.png deleted file mode 100644 index 95ae0529228..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_mfb4253b.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_mfc790d3.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_mfc790d3.png deleted file mode 100644 index 1b1fda9bac0..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/CreatingNewPlugin/PapyrusDevelopperTutorial_OnCreating&AddingNewPluginInPapyrus_v1.0_d2010-05-07_html_mfc790d3.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10.html b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10.html deleted file mode 100644 index 7b536b58d4a..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10.html +++ /dev/null @@ -1,635 +0,0 @@ - - - - - - - - - - - - - - - - - -
-

-
Tutorial - on Palette Customization in Papyrus Version 1.0

-
- - - - - -
-



-

-




-

-
-



-

-



-

-



-

-



-

-



-

-



-

-

Papyrus -Tutorial:

-

How to -customize a palette in Papyrus?

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

- - - - - - - - - - - - - - - - - - - -
-

Editor

-
-

Scott - Uk-Jin Lee, CEA LIST

-
-

Status

-
-

Final - version

-
-

Version - number

-
-

1.0

-
-

Date of - preparation

-
-

2010-05-07

-
-

Authors

- - - - - - - - - - - - - - - - - -
-

Editor - name (first/last name)

-
-

Company

-
-

E-mail

-
-

Initial

-
-

- Scott Uk-Jin Lee

-
-

- CEA LIST

-
-

- scott.lee@cea.fr

-
-

SL

-
-



-

-



-

- - - - - - - - - - - - - - - - - -
-

- Authors name (first/last name)

-
-

- Company

-
-

- E-mail

-
-

- Initial

-
-

- Hubert Dubois

-
-

- CEA LIST

-
-

- hubert.dubois@cea.fr

-
-

HD

-
-



-

-



-

-

Revision -chart and history log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

- Version -

-
-

- Date

-
-

- Reasons

-
-

- 1.0

-
-

- 10/05/10

-
-

- Initial contribution.

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

-
-

Table -of contents

-
-

Authors 2

-

Revision - chart and history log 3

-

Table - of contents 4

-

1 - - Introduction.....................................................................................................................................................5

-

2 - Palette Customization in Papyrus - …...............................................................................................................6

-

3 - Application of customized palette to Papyrus plug-ins - ….............................................................................12

-

4 - FAQs - …........................................................................................................................................................17

-

5 - References 18

-
-



-

-



-

-

-1Introduction

-

The purpose of this -document is to provide a tutorial for Papyrus users and developers, -explaining the followings: -

- -



-

-

A palette is a -collection of UML elements available for a particular diagram. It is -located on the right hand side of the Papyrus diagram editor as shown -below. The palette allows convenient construction of a particular UML -diagram. -

-




-

-

-2How to customize palette for Papyrus ?

-
    -
  1. Right click on the - palette toolbar and select 'Customize...'

    -
-




-

-
    -
  1. The - 'Customize Palette' pop-up appears. Select 'Create a new local - Palette' icon as indicated below.

    -

    -
  2. The - 'Local Palette Information' pop-up is displayed. Type the name of - the new Local Palette to be customized and click 'Next'.

    -


    -

    -
  3. The - customization menu for the new Local Palette then appears as shown - below. This menu allows customize the Local Palette with drawers, - separators and UML elements. The UML elements can be renamed and - assigned with custom icons. -

    -
-




-

-



-

-
    -
  1. Create a new drawer with the - indicated button as shown below. When the 'Dialog Information Page' - pop-up appears, type the name of the new drawer and click 'Finish'. - Similarly, appropriate buttons can be utilized to rename or remove - the drawer. -

    -
-




-

-



-

-



-

-
    -

    -
  1. Add - appropriate elements to the highlighted drawer in the local Palette - by selecting the element to be added and clicking the right-arrow as - shown below.

    -
-




-

-
    -
  1. Customize name, description and - icons for the added elements by selecting the added element and - changing the information on the text fields of 'Entry Information:' - as shown below. -

    -


    -

    -
  2. Add separators between elements - in a drawer if necessary by selecting the element and clicking the - indicated button as shown below. Note that the separator will be - created below the selected element. -

    -
-




-

-
    -
  1. Customize the added elements - with profile by applying stereotype to the element. First, click on - the indicated button and select 'Set list of applied stereotypes'.

    -


    -

    Then, apply stereotype to the - element by using the button indicated below and selecting the - appropriate stereotype from the 'Stereotype selection' pop-up. -

    -
-


* -Note: The profile must be applied on the model that consists of the -diagram with the palette to be customized prior to applying the -stereotype.

-
    -
  1. When the stereotypes to be - applied are selected click 'ok'. The applied stereotypes are - displayed as indicated below. -

    -


    -

    -

    -
  2. Add all the elements and apply - appropriate stereotypes to complete the palette customization and - click 'finish' button. Then the 'Customize Palette' pop-up reappears - as shown below. Select only the palette to be displayed, then click - 'ok'.

    -


    -
  3. The palette customization is - successfully finished indicating that the customized palette appears - in the diagram editor as indicated below. -

    -


    -

    -
-



-

-

-3Application of customized palette to Papyrus Plug-ins

-
    -
  1. Once the palette is - customized, go to the Papyrus workspace folder and navigate to the - '\.metadata\.plugins\org.eclipse.papyrus.diagram.common' folder as - shown below. -

    -
    -

    -
  2. Copy the XML file - containing the palette customization information which has the name - in the form of 'Palette_[UserName]_[numbers].xml'. (Note: XML file - is created every time the new local palette is created for - customization. So, copy the correct XML file that you want.) -

    -
    -

    -
  3. In the plug in that - you want to apply customized palette, create folder with the name - 'palettes'. In the created folder, paste the copied XML file and - rename the file with '[Name].Palette.xml' format. -

    -
    -

    -

    -
  4. Open 'plug-in.xml' - file. If the 'plug-in.xml' file is not yet generated, open - 'MANIFEST.MF' file from 'META-INF' folder. Then, go to the - 'dependencies' tab and click 'add' button to add required plug-ins - as shown below.

    -
-
- - -



-

-
    -
  1. When 'Plug-in - Selection' pop up appears as shown below, add - 'org.eclipse.papyrus.diagram.common' plug-in as shown below.

    -
    -

    -

    -

    -
  2. Similarly, go to the - 'extension' tab and click 'Add' button. When the 'New Extension' - pop-up appears as shown below, type 'paletteDefinition' at the - 'Extension Point filter:' text field. Select - 'org.eclipse.papyrus.diagram.common.paletteDefinition' and click - 'Finish'.

    -
    -

    -
  3. Then the extension - element is added under the extension point as shown below. Click - extension element and set its 'name' and 'ID'. Also, set the 'path' - to the path of the custom palette XML file, - '/palettes/paletteName.Palette.xml'. For the 'class' setting, browse - 'org.eclipse.papyrus.diagram.common.service.PluginPaletteProvider' - class and select. For the 'icon' setting, eclipse icon can be reused - by typing location of the Eclipse icon which is - 'platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif'.

    -
    -

    -

    -
  4. Expand - 'paletteDefinition' extension element, and click on the 'Priority' - as indicated below. Then, set appropriate priority on the 'Extension - Element Details' column.

    -
    - -

    * - Note: When the elements in the custom palette is shared with other - palettes in the diagram editor, only the palette with higher - priority will display the elements under its drawer. So, make sure - to set the priority appropriately for the elements to appear in the - desired palette.

    -

    -
  5. Right click on the - added 'paletteDefinition' Extension and add new editor as shown - below. -

    -
-
-



-

-



-

-
    -

    -
  1. Select the newly - added editor and set appropriate 'id' of the editor where the custom - palette is to be applied to. For example, - 'org.eclipse.papyrus.diagram.clazz' for the class diagram as shown - below. -

    -
    -

    -
  2. Now when the plug-in - is launched, the custom palette automatically appears for the - selected diagram editor. For example, the custom palette for class - diagram editor appears as shown below. -

    -
    -

    -
-

4FAQs

-
    -
  1. Why can I not see the - stereotypes applicable to the added elements when customizing a - palette?

    -
- -
    -

    -
  1. Why are the customized elements - do not appear in the customized palette when the palette - customization is applied to a Papyrus plug-in? -

    -
- -

5References

-

N/A.

-
-

 - 2009 The - Papyrus Consortium 19/19

-
- - \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_190000d0.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_190000d0.jpg deleted file mode 100644 index 0128c3bc499..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_190000d0.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_1a7383ef.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_1a7383ef.jpg deleted file mode 100644 index bfe28c24ea6..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_1a7383ef.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_1f1d26a1.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_1f1d26a1.gif deleted file mode 100644 index 4ad13a622e1..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_1f1d26a1.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_23e9525f.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_23e9525f.gif deleted file mode 100644 index 179d8b3b866..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_23e9525f.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_2de6511e.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_2de6511e.jpg deleted file mode 100644 index 2ab9affbc0c..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_2de6511e.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_2e60cc27.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_2e60cc27.gif deleted file mode 100644 index 74cd206eeff..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_2e60cc27.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_3dc01309.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_3dc01309.gif deleted file mode 100644 index c6f17795db6..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_3dc01309.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_3ee63c30.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_3ee63c30.jpg deleted file mode 100644 index cbae08405be..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_3ee63c30.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_411962d6.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_411962d6.jpg deleted file mode 100644 index 94e9104a746..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_411962d6.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_48d1d34a.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_48d1d34a.jpg deleted file mode 100644 index 886a962bf01..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_48d1d34a.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_4b33db00.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_4b33db00.jpg deleted file mode 100644 index a98089284e2..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_4b33db00.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_4ddfcb15.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_4ddfcb15.jpg deleted file mode 100644 index 7379fd0e4c7..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_4ddfcb15.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_524be928.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_524be928.jpg deleted file mode 100644 index 386ee2527be..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_524be928.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_555bbb5d.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_555bbb5d.gif deleted file mode 100644 index d71eee7fc6e..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_555bbb5d.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_68bae2f2.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_68bae2f2.jpg deleted file mode 100644 index 3603e6521e9..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_68bae2f2.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_6b592bb8.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_6b592bb8.gif deleted file mode 100644 index e2c121b226a..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_6b592bb8.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_74c8281f.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_74c8281f.jpg deleted file mode 100644 index ca52876ff25..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_74c8281f.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_76021fdc.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_76021fdc.jpg deleted file mode 100644 index 47f7159ef6c..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_76021fdc.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_78f85dd6.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_78f85dd6.gif deleted file mode 100644 index dcd719ec1d7..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_78f85dd6.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_7bb211b8.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_7bb211b8.jpg deleted file mode 100644 index 57b2c212a80..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_7bb211b8.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_7c8e723e.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_7c8e723e.jpg deleted file mode 100644 index 68541e6c461..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_7c8e723e.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_fa9f27c.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_fa9f27c.jpg deleted file mode 100644 index 3c694a0fcb5..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_fa9f27c.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m13347fb5.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m13347fb5.jpg deleted file mode 100644 index e0fbe954ee3..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m13347fb5.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1612afc0.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1612afc0.gif deleted file mode 100644 index 789cf6c95f7..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1612afc0.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1abb7658.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1abb7658.gif deleted file mode 100644 index 70f03edb7a1..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1abb7658.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1e24f929.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1e24f929.gif deleted file mode 100644 index a32f4b1b572..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m1e24f929.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m21556a07.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m21556a07.jpg deleted file mode 100644 index 04bd72d1a47..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m21556a07.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m2a5d1838.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m2a5d1838.gif deleted file mode 100644 index 666c8992617..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m2a5d1838.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m2d88bdd2.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m2d88bdd2.gif deleted file mode 100644 index 193c5ef29e6..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m2d88bdd2.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m33dcfb72.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m33dcfb72.jpg deleted file mode 100644 index c8b731f2c26..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m33dcfb72.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m35c81750.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m35c81750.gif deleted file mode 100644 index 8a35160260c..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m35c81750.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4995407d.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4995407d.jpg deleted file mode 100644 index 949f4278492..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4995407d.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4a6d66e1.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4a6d66e1.gif deleted file mode 100644 index 2b882b47641..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4a6d66e1.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4d2642df.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4d2642df.jpg deleted file mode 100644 index b7ef8b592ee..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m4d2642df.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m5a174047.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m5a174047.jpg deleted file mode 100644 index b84ee8beac7..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m5a174047.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m5b16696f.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m5b16696f.gif deleted file mode 100644 index a83547b8904..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m5b16696f.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m62c1dd5.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m62c1dd5.gif deleted file mode 100644 index 20108fede91..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m62c1dd5.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m6e3b81b8.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m6e3b81b8.png deleted file mode 100644 index ce02bc553ff..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m6e3b81b8.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m70da181d.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m70da181d.jpg deleted file mode 100644 index e76e1025ef0..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m70da181d.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m79877ecd.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m79877ecd.jpg deleted file mode 100644 index 05b867948ee..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m79877ecd.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m7a8be963.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m7a8be963.jpg deleted file mode 100644 index da60bd2cd3d..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_m7a8be963.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_mf9df094.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_mf9df094.jpg deleted file mode 100644 index 68973bb4909..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/PaletteCustomization/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10_html_mf9df094.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture.htm b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture.htm deleted file mode 100644 index 84199d94e0d..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture.htm +++ /dev/null @@ -1,2529 +0,0 @@ - - - - - - - - - - -Sash and Core - - - - - - - -
- -

Sash and -Core
-Architectures

- -

Author : Cedric Dumoulin

- -

Date : 6 déc. 2009

- -

Rev : 22 Jan. 2010

- -

 

- -

1.   Introduction

- -

Sash System -and Core are used by the Papyrus UML editor.

- -

The Sash -System provides an editor of pages that can be arranged in multiple pages -separated by sashes. A page can be either an editor or a SWT Component.

- -

The Core -provides the main Editor implemented with the Sash. The core also provides a -notion of Services that can be added to the main editor. The services can then -be retrieved and shared between nested pages.

- -

The Core -depends on the Sash System (Figure 1). The Sash System is independent.

- -

 

- -

- -

Figure 1 Sash and Core packages

- -

2.   Sash System

- -

The sash -system is used to render multiple nested pages in one main editor. A page can -be an editor or a SWT component.

- -

In the sash -system, nested pages can be layed in tabfolders and side by side. The sash -system allows to move the pages from tabfolder to tabfolder, or to create new -tabfolders.

- -

2.1.        -Architecture -Overview

- -

The sash -system main component is the SashWindowsContainer class. It is used to render -the pages as described above. The class requires two interfaces in order to -work properly (Figure 2):

- - - -

 

- -

- -

Figure 2 Sash Container and its required -interfaces

- -

 

- -

The Sash -Container can be used directly in an Eclipse editor. A base implementation is -provided in AbstractMultiPageSashEditor. This implementation requires a concrete -implementation for the ISashWindowsContentProvider interface.

- -

2.2.        -ContentProvider

- -

The -ContentProvider is used by the SashContainer to discover the content of the -sash, and to store this content externally.

- -

The -ContentProvider main API is ISashWindowContentProvider.

- -

 

- -

2.2.1.   ContentProvider structure

- -

The -ContentProvider is used to read and store the structure to be rendered by the -SashContainer. This structure can be implemented in different manners.

- -

The -ContentProvider API is design in order to be able to implement the structure by -using any kind of Objects, called raw -model. The Container call special methods (createChildSashModel(Object)) -to obtain a well known API from a raw model used in the container.

- -

The content -provider returns a view on the real structure implementation. The SashContainer -start to explore this view from the ISashWindowContentProvider. The virtual -view is made of ‘Model’ represented -by the different IXxxModel interfaces in Figure 3.

- -

- -

Figure 3 ContentProvider set of interfaces -used by the SashContener

- -

 

- -

From the -content provider, the  virtual -view is as follow:

- - - -

 

- -

2.2.2.   ContentProvider main API

- -

The main -API of the content provider is ISashWindowsContentProvider.

- -

There is -two methods to explore the ContentProvider structure: getRootModel() and createChildSashModel(object).

- -

Others -methods are used by the Container to modify the content after a user -interaction.

- -

2.2.3.   ContentProvider exploration

- -

To discover -the content, the Container first call the getRootModel() -to get the root model of the content. This returns an Object representing the -root of the structure of the Sash.

- -

Then the -container call createChildSashModel(object) whith the -previous object to get the Model represented by the Object. This is either a ISashPanelModel or a ITabFolderModel.

- -

For a -ISashPanelModel the container call the getChildren() -method to obtain the raw models of the node. Then for each childs it get the -IAbstractPanelModel by calling createChildSashModel(object).

- -

For a a -ITabFolderModel, the container call the getChildren() -method to obtain the raw models of the node. Then for each childs it get the -IPageModel by calling createChildSashModel(object). This return either a IComponentModel or a IEditorModel, -representing a SWT Component or a IEditor.

- -

The container create the corresponding SWT component or -IEditorPart by calling appropriate method.

- -

2.2.4.   ContentProvider Modification by the -SashContainer

- -

The -SashContainer modify the ContentProvider by the way of the -ISashWindowsContentProvider interface. It doesn’t create models by itself.

- -

The -SashContainer transforms user interactions in calls to -ISashWindowsContentProvider.  This should -modify the ContentProvider internal structure. In turn, something must call the -refresh() method on the SashContainer in -order to refresh it (to force it to synchronize itself with the -ContentProvider).

- -

The -SashContainer do not listen on the ContentProvider. This should be implemented -externally.

- -

2.3.        -DI -ContentProvider

- -

The DiContentProvider is an implementation of the -ISashWindowContentProvider.

- -

It is implemented with -an EMF metamodel, to save its content as EMF model.

- -

The -DiContentProvider is accessible throw the DiSashModelMngr class or -TransactionalDiSashModelMngr class.

- -

 

- -

The -internal EMF implementation is not intended to be used directly by users. Some -interfaces are provided in order to access it: IPageMngr and  ISashWindowContentProvider.

- -

 

- -

IPageMngr, -provides methods to add, open, remove Editors from the ContentProvider. This is -the API used by user.

- -

An -implementation of the IPageMngr can be obtained from the DiSashModelMngr or the -TransactionalDiSashModelMngr.

- -

 

- -

2.3.1.   DiSashModelMngr

- -

To get an -instance of the DiContentProvider, it is necessary to create an instance of -DiSashModelMngr (or the Transactional one). This class requires two classes to -work (Figure 4): an EMF -Resource that is used to store/retrieve content, and a -IPageModelFactory, used to create -instance of IPageModel (model used by the SashContentProvider to create -instance of nested Editor).

- -

 

- -

 

- -

- -

Figure 4 DiContentProvider Provided and Required -Interfaces

- -

 

- -

 

- -

2.3.2.   Internal Structure

- -

The implementation is made of 3 parts:

- -

·        -The manager, used to retrieve the concrete -implementations of provided interfaces (Figure 4)

- -

·        -Implementations of ISashWindowContentProvider and -IPageMngr (Figure 4)

- -

·        -An EMF metamodel and model used to store/retrieve -the sash structure (Figure 5).

- -

 

- -

- -

Figure 5 The di -sashwindows metamodel (internal structure).

- -

 

- -

The EMF -metamodel is itself made of two parts:

- -

·        -A -SashModel representing the structure of SashSystem. This is a tree structure -whose leaf are objects representing pages (an Editor or a Component).

- -

·        -A -PageList – a list of pages currently available for the SashSystem. This list -contains objects representing all the pages, the open ones as well as the -closed ones.

- -

 

- -

2.4.        -AbstractMultiPageSashEditor

- -

The Sash -System provides an abstract base implementation of a -multieditors. The class is AbstractMultiPageSashEditor. This implementation uses a SashContainer -and requires a ISashWindowsContentProvider.

- -

This later -should be set by calling setContentProvider().

- -

 

- -

- -

Figure 6 AbstractMultiPageSashEditor Overview

- -

 

- -

2.5.        -SashContainerFactory

- -

The SashContainerFactory class can be used to get an instance of the -SashContainer, as this later is not directly accessible.

- -

Note: this class is not yet implemented. It will be if there is a need -for it.

- -

2.6.        -Glossary

- - - - - - - - - - - - - - - - - - - - - - - - - - -
-

Concept

-
-

Definition

-
-

SashContainer

-
-

A sash - container is the main component of the sash system. It contains pages that - can be arranged in multiple windows, and inside each window the pages can be - arranged side by side or in sash folder. Two adjacent pages are separated by - a sash allowing to resize the pages.

-
-

Sash - Window

-
-

A sash - window is a window that can be moved independently from the Eclipse window. A - sash window show one or more pages of a Sash container.

-

Note: the - actual implementation allows only one window docked inside Eclipse.

-
-

Sash - Folder

-

Sash - tabfolder

-

Folder

-
-

A sash - folder renders pages in a tab fashion. A folder contains several pages, but show - only one of them at a time. Pages can be selected with a tab.

-
-

Sash - Panel

-
-

A sash - panel render two

-
-

Sash Page

-
-

A sash - page is the final

-
- -

 

- -

3.   Core / Backbone

- -

The Core -main intent is to provide a multieditors, that is, an -editor of editors.

- -

The -provided multieditors is independent from the nested -editors. These nested editors can be registered by using the Eclipse extension -mechanism.

- -

Nested -editors can share objects thanks to the ServiceRegistry who register services. -These services are registered programmatically or by using the Eclipse -extension mechanism.

- -

The -multieditors use a Di ContentProvider to register the Sash content.

- -

3.1.        -Architecture -Overview

- -

The main -class of the core is the CoreMultiDiagramEditor. It extends the -sasheditor.AbstractMultiPageEditor to provide a multieditors. -It adds some services needed by the nested editors.

- -

Figure 7 shows the main classes and the added services.

- -

 

- -

- -

Figure 7 Core multieditors overview.

- -

All the -services are also accessible thanks to the ServicesRegistry. This -ServicesRegistry is provided to all nested editors while they are created. The -nested editors can then retrieve any service it need.

- -

3.2.        -Public -API

- -

Main API of the core is represented in Figure 8.

- -

From the main editor (aka instance of CoreMultiDiagramEditor) , it is possible to get the following members :

- -

·        -ServicesRegistry – To get other registered services

- -

·        -SashWindowsContainer – To get the active editor or -refresh all editors

- -

·        -DiSashModelManager – To add, remove move, open, -close diagrams in the editors

- -

·        -Main IEditorSite – To get the Eclipse -SelectionService

- -

·        -The currently active nested editor. – Required by -some GMF stuff

- -

·        -LifeCycleEventsProvider – To listen on life cycles -events on the main editor (doSave, doSaveAs)

- -

 

- -

 

- -

- -

Figure 8 Core main APIs

- -

 

- -

·        -ServiceRegistry – Used to get registered services

- -

·        - 

- -

3.3.        -Available -Services

- -

The core creates and registers a number of services:

- -

·        -See org.eclipse.papyrus.core.editor.CoreMultiDiagramEditor.init(IEditorSite, -IEditorInput)

- -

·        - 

- -

3.4.        -ServiceRegistry

- -

The -ServiceRegistry is used to register services that can be found by a key, -generally the classname of the service.

- -

A service -can be retrieve in a standard way, generally by using its ID or its implementation -class.

- -

 

- -

3.4.1.   Architecture Overview

- -

Figure 9 shows the architecture of the ServiceRegistry.

- -

 

- -

- -

Figure 9 ServiceRegistry Architecture

- -

3.4.2.   Designing a Service

- -

A service -is a class providing some methods.

- -

The class -can be a Pojo, or it can extend the IService interface.

- -

If the -service extends the IService interface, the ServiceRegistry will call the life -cycle methods on the service.

- -

3.4.3.   Register a Service

- -

A service -can be registered in several ways:

- - - -

 

- -

Using the Eclipse -extension mechanism

- -

A service -can be registered using the Eclipse extension mechanism.

- -

Figure 10 shows the extension names and fields.

- -

 

- -

- -

Figure 10 Register a Service with Eclipse -extension

- - - -

 

- -

Programmatically

- -

Services -can be registered programmatically using one of the add(…) methods (Figure -11). In this case, the service can be a Pojo.

- -

- -

Figure 11 ServicesRegistry class public API.

- -

3.5.        -EditorRegistry

- -

The -EditorRegistry is used to register the descriptors of editors that can be -created in the multieditor.

- -

Editor -descriptors can be registered using the Eclipse extension mechanism (Figure 12).

- -

 

- -

- -

Figure 12 Nested Editor registered with -Eclipse Extension

- -

The -EditorRegistry is mainly used by the SashContainer to create nested Editors -when requested by the user, or when the multieditor is reopened.

- -

The -EditorRegistry requires the following to work:

- -

·        - 

- -

4.   Nested Editors

- -

A nested -editor, or embedded editor, is an editor that can be created and rendered in -the multieditors.

- -

A nested -editor can be a regular Eclipse editor implementing the IEditorPart interface.

- -

There is -several ways to create nested editor, depending on which package you use (Sash -only, Core, …).

- -

Usually, -all nested editors share common resources, like the EMF Resource. This can be -achieved with the help of the ServiceRegistry.

- -

4.1.        -Sash -Requirements for nested Editors

- -

 

- -

On the Sash -level, it is necessary to provide a ContentProvider managing the structure of -rendered editors.

- -

The sash -package provides 3 implementations for the ContentProvider:

- -

·        -org.eclipse.papyrus.sasheditor.contentprovider.singlefolder

- -

o      -Mainly -used for test purpose. This implementation only allows one tabfolder, and all -nested editor are in this tabfolder. Implementation using this ContentProvider -will react as the original Eclipse MultiTabEditor.

- -

·        -org.eclipse.papyrus.sasheditor.contentprovider.simple

- -

o      -A -simple implementation where the structure is only maintained in memory. There -is no way to save the structure. This is an example design.

- -

·        -org.eclipse.papyrus.sasheditor.contentprovider.di

- -

o      -An -implementation done with an EMF model called sashdi. This implementation allows -save and restore of nested EMF based editors.

- -

4.2.        -Sash -Di Requirements for nested Editors

- -

4.3.        -Core -Requirements for nested Editors

- -

The Core provides some services helping to manage nested editors.

- -

To enable a nested editor in the multieditor, it is necessary to:

- -

·        -Register the nested editor in the Core Editor -Factory

- -

·        -Enable an action creating an new instance of the -editor

- -

 

- -

You need to provide the following;

- -

·        -An Editor (not covered here)

- -

·        -An Action or an Handler allowing to create the -EObject representing the editor and add this EObject to the SashContentProvider

- -

·        -A factory that will receive as input the previously -created EObject, and will create an IEditorModel for your editor.

- -

·        -A subclass of IEditorModel. This class is used as -model by the SashEditor. It serves to create the instance of the Editor for the -previously created EObject.

- -

4.3.1.   Environment Provided by Core

- -

The Core provide following services that can be helpful when enabling a -nested editor:

- -

·        -PageModelFactoryRegistry – Used to register a -nested editor. Editors are registered with the help of the Eclipse extension -mechanism.

- -

·        -ActionBarContributorRegistry – Used to share common -ActionBarContributor between nested editor

- -

·        -ServicesRegistry – Used to share services across -nested editors.

- -

·        -IPageMngr – Used to add or open an editor instance

- -

·        -DiResourceSet – Use to get the available models.

- -

4.3.2.   Registering Nested Editor

- -

You need an editor allowing to save its -representation as an EMF model. GMF editors falls in -this category, as well as EMF ones.

- -

Once you have such an editor, you need to:

- -

·        -Provide an implementation of IPluggableEditorFactory

- -

·        -Provide an implementation of IEditorModel

- -

·        -Register your editor with the Eclipse extension -mechanism

- -

 

- -

The core impose some requirements on its nested editors: mainly, such -editor should rely on an EMF model.

- -

Editor Requirements

- -

·        -Your -Editor should answer to following requirements:

- -

o      Implements -org.eclipse.ui.IEditorPart

- -

o      Can be -represented by an EObject. That is, it is possible to 1) Get an EObject -representing the type and the content of the editor. 2) Reopen the editor from -the EObject. GMF editors fall in this category.

- -

IPluggableEditorFactory

- -

You need to provide an implementation of this class for your editor. -This class will be used to register your editor in the Core.

- -

The sash editor will ask the PageModelFactoryRegistry for an editor -factory suitable for a specified EObject.

- -

When found, the sash editor ask for the -IEditorModel for this EObject.

- -

IEditorModel

- -

Implementations of this interface are used to create instances of -editors.

- -

The class provides methods to:

- -

·        -Create the editor instance – Here you should -instanciate your editor.

- -

·        -Get the ActionBarContributor associated to the -editor

- -

·        -Get the editor icon and name

- -

·        -

- -

Register -as Eclipse Extension

- -

The core load all EditorFactories registered as Eclipse extension (Figure 13).

- -

 

- -

- -

Figure 13 Registering an nested Editor

- -

 

- -

4.3.1.   -Create -Editor Instance Action

- -

 

- -

To add a -nested editor to the core, following actions should be done:

- -
    -
  1. Create the nested editor EMF - representation
  2. -
- -

·        -Method -org.eclipse.papyrus.core.adaptor.gmf.AbstractPapyrusGmfCreateDiagramCommandHandler.runAsTransaction(DiResourceSet, -EObject, String) shows  an (complex) example of how a GMF diagram can -be created.

- -
    -
  1. Add the root EObject - representing the nested editor to the DiContentProvider by using the IPageMngr.openPage(eObject) method.
  2. -
- -

·        -The -IPageMngr can be -obtained by calling org.eclipse.papyrus.core.utils.EditorUtils.getIPageMngr()

- -
    -
  1. The SashSystem should react - automatically and show the newly added nested editor (if it know how to - handle such editor ).
  2. -
- -

 

- -

To let the -Core handle a nested editor, following things are required:

- - - -

 

- -

There can -have several Action classes used to create a new editor. All the implementations -should do what is described before (create a notation.Diagram and add it to the -DiContentProvider). Example of implementation can be found for the class -diagram:

- - - -

 

- -

I would -like to provide a more general mechanism for the creation wizard. This -mechanism will complete the Eclipse mechanism for declaring menus and toolbar -actions. It will allow:

- - - -

 

- -

From the -core point of view, an nested editor can be added to -the multieditor by adding the EObject representing the nested editor to the -IPageMngr. Figure 13 shows what happen when an -nested editor is added to the DiContentProvider.

- -

 

- -

- -

Figure 14 Adding nested Editor - Core -Point of View

- -

4.3.1.   -Example

- -

A complete example can be found here:

- -

org.eclipse.papyrus.diagram.umltools.clazz

- -
- - - - diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/filelist.xml b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/filelist.xml deleted file mode 100644 index 3d7665735d4..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/filelist.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image001.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image001.png deleted file mode 100644 index 5cdc73a62bc..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image001.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image002.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image002.jpg deleted file mode 100644 index 55e932b7273..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image002.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image003.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image003.png deleted file mode 100644 index bad4e8a9f9d..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image003.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image004.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image004.jpg deleted file mode 100644 index 759af43846d..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image004.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image005.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image005.png deleted file mode 100644 index 74947bc7144..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image005.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image006.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image006.jpg deleted file mode 100644 index 1268f581e37..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image006.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image007.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image007.png deleted file mode 100644 index 383774533e6..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image007.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image008.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image008.jpg deleted file mode 100644 index 3eca112d66c..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image008.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image009.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image009.png deleted file mode 100644 index 38c7fedbfc8..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image009.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image010.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image010.jpg deleted file mode 100644 index 4bcca520bb1..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image010.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image011.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image011.png deleted file mode 100644 index f19ef1834ef..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image011.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image012.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image012.jpg deleted file mode 100644 index 31f14ebe8eb..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image012.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image013.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image013.png deleted file mode 100644 index 71fc4abebe2..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image013.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image014.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image014.jpg deleted file mode 100644 index 3c47435a826..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image014.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image015.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image015.png deleted file mode 100644 index 1c67941a39a..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image015.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image016.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image016.jpg deleted file mode 100644 index 33957776947..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image016.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image017.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image017.png deleted file mode 100644 index 2368b50fa61..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image017.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image018.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image018.jpg deleted file mode 100644 index f5c1e04c63a..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image018.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image019.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image019.png deleted file mode 100644 index 64c214e04d7..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image019.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image020.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image020.jpg deleted file mode 100644 index b0ef68c4cc7..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image020.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image021.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image021.png deleted file mode 100644 index b2326d6e9fd..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image021.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image022.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image022.jpg deleted file mode 100644 index d4a16e8aef5..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image022.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image023.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image023.png deleted file mode 100644 index 951647271f3..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image023.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image024.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image024.jpg deleted file mode 100644 index 1496515a65c..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image024.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image025.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image025.png deleted file mode 100644 index 84da53ea066..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image025.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image026.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image026.jpg deleted file mode 100644 index d45f04503c5..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image026.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image027.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image027.png deleted file mode 100644 index ebb5e333fc4..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image027.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image028.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image028.jpg deleted file mode 100644 index 36c1660e439..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image028.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image029.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image029.png deleted file mode 100644 index 43f3f0143cb..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image029.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image030.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image030.jpg deleted file mode 100644 index b5f3fc8d554..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/SashEditor/sashAndCoreArchitecture_fichiers/image030.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10.html b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10.html deleted file mode 100644 index a6c45875676..00000000000 --- a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10.html +++ /dev/null @@ -1,1326 +0,0 @@ - - - - - - - - - - - - - - - - -
-

-
Tutorial - on embedding Xtext editors inside Papyrus diagrams Version 0.6

-
- - - - - -
-



-

-




-

-
-



-

-



-

-



-

-



-

-



-

-



-

-

Papyrus -Tutorial:

-

How to -embed an Xtext editor inside a Papyrus diagram

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

- - - - - - - - - - - - - - - - - - - -
-

Editor

-
-

Saadia - DHOUIB, Arnaud CUCCURU, Vincent LORENZO - CEA LIST

-
-

Status

-
-

Production

-
-

Version - number

-
-

0.4

-
-

Date of - preparation

-
-

2010-07-08

-
-

Authors

-



-

-



-

- - - - - - - - - - - - - - - - - - - - - - - -
-

- Authors name (first/last name)

-
-

- Company

-
-

- E-mail

-
-

- Initial

-
-

- Saadia DHOUIB

-
-

- CEA LIST

-
-

- Saadia.dhouib@cea.fr

-
-

SD

-
-

- Arnaud CUCCURU

-
-

- CEA LIST

-
-

- arnaud.cuccuru@cea.fr - -

-
-

AC

-
-



-

-



-

-

Revision -chart and history log

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-

- Version -

-
-

- Date

-
-

- Reasons

-
-

- 0.1

-
-

- 18/05/10

-
-

- Initial contribution.

-
-

- 0.2

-
-

- 03/06/10

-
-

- Sections 1, 2, 3 - finished

-
-

- 0.3

-
-

- 04/06/10

-
-

- Section 4, 5 finished

-
-

- 0.4

-
-

- 08/07/10

-
-

- Modified section 1, - Moved 3.2.e (extending the directEditors extension point) to - section 5, cosmectic/english modifications

-
-

- 0.5

-
-

- 12/07/10

-
-

- Section 5 modified, - papyrus icon changed (p1)

-
-

- 0.6

-
-

- 10/01/10

-
-

- Adds Section 6 : Code - enhancements

-
-

Table -of contents

-
-

Authors 2

-

Revision - chart and history log 3

-

Table - of contents 4

-

1 - Introduction 5

-

2 - How to install eclipse Xtext bundle for Papyrus development 6

-

3 - Create and configure your Xtext project 8

-

- 3.1 - Create an Xtext project 8

-

- 3.2 - Configure the Xtext project for using UML models 11

-

4 - Build your own grammar 17

-

5 - Create your Xtext pop up editor 19

-

6 - References 23

-
-



-

-



-

-
    -
  1. - Introduction

    -
-

Xtext is a framework -for the development of domain-specific languages and other textual -programming languages. It is tightly integrated with the Eclipse -Modeling Framework (EMF) and leverages the Eclipse Platform in order -to provide a language-specific integrated development environment -(IDE). -

-

The purpose of this -document is to provide a tutorial for Papyrus users and developers, -explaining the followings: -

- -



-

-



-

-



-

-
    -
  1. - How to install eclipse Xtext bundle for Papyrus development

    -
-
    -
  1. Install the latest version of - Eclipse Helios. -

    -
  2. In order to install Papyrus and - Xtext, go to the menu: Help -> Install Modeling Component. - Then select Papyrus and Xtext, and press Finish.

    -
-



-

-

-




-

-

Figure 1: Papyrus and - Xtext installation

-


-

-

-

-

-
    -
  1. - Create and configure your Xtext project

    -
      -
    1. - Create an Xtext project

      -
    -
-
    -
  1. Use the Xtext wizard to create a - new project: File -> New -> Project... -> Xtext -> - Xtext project (cf. Figure 2)

    -
-

-


Figure - 2: Choose Xtext wizard

-


-

-
    -
  1. Choose a - meaningful project name, language name and file extension, e.g. -

    -
- - - - - - - - - - - - - - - -
-

Main project name: -

-
-

org.eclipse.papyrus.message.editor.xtext

-
-

Language name: -

-
-

org.eclipse.papyrus.message.editor.xtext.UmlMessage

-
-

DSL-File extension: -

-
-

umlmessage

-
-

Keep “Create generator project” -checked, as we will also create a code generator in a second step -(cf. Figure 3). Click on Finish to create the projects.

-

By convention, the following naming -pattern is followed:

- -



-

-

-


Figure - 3: Create new xtext project

-


-

-

Figure 3 provides an example related -to the creation of a textual editor for Messages, in the context of -communication diagrams.

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-
    -
  1. Project Layout: -

    -

    In the Package Explorer you can see - three new projects (cf. Figure 4). In - org.eclipse.papyrus.message.editor.xtext you can define - the grammar and configure the runtime aspects of your language. The - editor, outline view and code completion goes into - org.eclipse.papyrus.message.editor.xtext.ui. Both - projects consist of generated classes derived from your grammar and - manual code such as the grammar itself or further classes to - differentiate from the default behavior. -

    -
-

-


Figure - 4: Xtext project layout

-


-

-
    -

    It is good to be clear and - unambiguous whether the code is generated or is to be manipulated by - the developer. Thus, the generated code should be held separately - from the manual code. We follow this pattern by having a folder src/ - and a folder src-gen/ in each project. Keep in mind not to make - changes in the src-gen/ folder. They will be overwritten by the - generator. -

    -
  1. Build the generated sample - grammar: The wizard will automatically open the example grammar file - UmlMessage.xtext from the first project in the editor. - We will test the generation of the language artifacts. To do this, - locate the file GenerateUmlMessage.mwe next to the grammar file in - the package explorer view (cf. Figure 5). From its context menu, - choose Run As -> MWE Workflow. That will trigger the - Xtext language generator. You will see its logging messages in the - Console view. No errors should appear in the Console view. The - purpose of this step is to obtain the file plugin.xml that will be - modified in the next step.

    -
-



-

-



-

-



-

-



-

-



-

-



-

-

-


Figure - 5: Generate language artifacts

-


-

-



-

-
    -
      -
    1. - Configure the Xtext project for using UML models

      -
    -
-
    -

    Papyrus projects are based on UML2 - models. To combine the xtext defined grammar with the existing UML2 - model, it is necessary to do the following steps:

    -
  1. The first thing we have to do is - to add two additional dependencies to the eclipse xtext project - (org.eclipse.papyrus.message.editor.xtext) :

    -
      -
    • org.eclipse.uml2.codegen.ecore - (1.0.6)

      -
    • org.eclipse.uml2.uml (3.1.0)

      -
    -
-

To do this, open the file plugin.xml -(generated previously) and add the aforementioned dependencies (cf. -Figure 6).

-



-

-



-

-



-

-



-

-

-


Figure - 6: Adding plugin dependencies

-


-

-
    -
  1. The models are integrated in the - eclipse environment. For a standalone usage they have to be copied - to the xtext project. Add a new folder “model” and add - the following model files to it (cf. Figure 7):

    -
      -
    • UML.genmodel

      -
    • UML.ecore

      -
    • Ecore.ecore

      -
    • Ecore.genmodel

      -

      -
    -
-

-


Figure - 7: Add files to model folder

-


-

-
    -
  1. The grammar must gain knowledge - about the UML2 metamodel. This can be done with the following import - in the UmlMessage.xtext grammar file: -

    -

    import - "http://www.eclipse.org/uml2/3.0.0/UML" - as - uml

    -

    Figure - 8 illustrates this import.

    -
-

-


Figure - 8: import UML2 metamodel in the xtext grammar file

-


-

-
    -

    With the alias - uml - the - UML2 model elements can be used in the grammar, such as shown below:

    -

    -

    NameRule:

    -

    name=ID - ':' - ((type=[uml::Classifier]) - | "<Undefined>")

    -

    - -

    -
-



-

-



-

-
    -

    In this example, the statement - “type=[uml::Classifier]” specifies that the property - “type” of rule “NameRule” is used to specify - a reference to an existing UML Classifier. By specifying this kind - of rule, the Xtext framework is able to generate tools for - completion, content assist and cross references to Classifiers - available in the Scope of the rule.

    -
  1. Modify the - GenerateUmlMessage.mwe2 file:

    -
-
    - -
-



-

-



-

-

-

bean - = StandaloneSetup {

-

platformUri - = "${runtimeProject}/.."

-

registerGeneratedEPackage - = "org.eclipse.uml2.uml.UMLPackage"

-

registerGeneratedEPackage - = "org.eclipse.uml2.codegen.ecore.genmodel.GenModelPackage"

-

uriMap - = {from="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore" - -

-

to="platform:/resource/org.eclipse.papyrus.message.editor.xtext/model/Ecore.ecore"}

-

uriMap - = - {from="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel" - -

-

- to="platform:/resource/org.eclipse.papyrus.message.editor.xtext/model/Ecore.genmodel"}

-

}

-

-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-

Figure 9 shows the exact place where -this code has to be added.

-

-


Figure - 9: Modify the mwe2 file to setup “UMLPackage” and - “GenModelPackage”

-


-

-



-

-



-

-



-

-



-

-



-

-



-

-
    - -
-

-


Figure - 10: Adding a hint for the model generation to EcoreGeneratorFragment - -

-


-

-
    - -
-

-

// - scoping and exporting API

-

-

fragment - = scoping.ImportURIScopingFragment {}

-

fragment - = exporting.SimpleNamesFragment {}

-

-

-

// - scoping and exporting API -

-

/*fragment - = scoping.ImportNamespacesScopingFragment {}

-

fragment - = exporting.QualifiedNamesFragment {} */

-

-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-
    -
  1. - Build your own grammar

    -
-

Many tutorials on the web can help -you to create your grammar [1, 2].

-

Important -note: Avoid the usage of terminal rules if one part of the -regular expression is semantically relevant (e.g., in our example, -the rule SequenceTermRule could be fully captured by a simple regular -expression). In order to ease the usage of semantically relevant -information (e.g., in our exemple, the property sequencialorder or -rule SequenceTermRule), you should use data type rules or parser -rules. In the example below, we show the grammar of the UMLMessage -label.

-

-

grammar - org.eclipse.papyrus.message.editor.xtext.UmlMessage with - org.eclipse.xtext.common.Terminals -

-



-

-

import - "http://www.eclipse.org/uml2/3.0.0/UML" - as - uml

-



-

-

generate - umlMessage - "http://www.eclipse.org/papyrus/message/editor/xtext/UmlMessage"

-



-

-

MessageRule: - -

-

sequenceTerm - += SequenceTermRule -

-

('.' - sequenceTerm += SequenceTermRule)*

-

':'

-

name - = nameRule

-

;

-



-

-

SequenceTermRule - :

-

sequencialOrder - = INT //represents the sequential order - of the Message within the next higher level of procedural calling

-

(sequenceName - = ID)? // represents a concurrent - thread of control. Messages that differ in the final name are - concurrent at that level of nesting

-

(recurrence - = RecurrenceRule)? // The recurrence - represents conditional or iterative execution.

-

;

-



-

-

terminal - nameRule:

-

('a'..'z'|'A'..'Z') - ('a'..'z'|'A'..'Z'|'_'|'-'|'0'..'9')*;

-



-

-

RecurrenceRule - : -

-

('*' - '[' - STRING ']')|('[' - STRING ']') - ;

-

-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-

Once -you have created your grammar, you can :

-
    -
  1. generate - language artifacts: Save the grammar and make sure that no error - markers appear. Then, locate the file GenerateUMLMessage.mwe next to - the grammar file in the package explorer view. From its context - menu, choose Run - As -> MWE Workflow. - That will trigger - the Xtext language generator. You will see its logging messages in - the Console view. -

    -
  2. Run the generated editor: If - code generation succeeded, right-click on the Xtext project and - choose Run As -> Eclipse Application. This will spawn a - new Eclipse workbench with your projects as plug-ins installed. In - the new workbench, create a new project ( File -> New -> - Project... -> General -> Project) and therein a new file - with the file extension you chose in the beginning. This will open - the generated entity editor. -

    -
-

Once -you have created and tested your grammar, you can go to the next step -which is embedding the XtextEditor inside a pop up Editor.

-
    -
  1. - Create your Xtext pop up editor -

    -
-



-

-
    -
  1. In order to enable the - encapsulation of the Xtext editor inside a Papyrus diagram, the - org.eclipse.papyrus.message.editor.xtext.ui plugin has to contribute - to a papyrus extension point: - org.eclipse.papyrus.extensionpoints.editors.DirectEditor: -

    -
-
    - -
-
    - -
-
    - -
-
    - -
-

-


Figure - 13: Editing the extension details

-


-

-
    - -
-

- -


Figure - 14: Set the editor configuration

-


-

-

-

-

-



-

-

The -created class MessagePopupEditor, -have to extend -org.eclipse.xtext.gmf.glue.PopupEditorConfiguration -class. - -

-

The -latter class is provided in the org.eclipse.xtext.gmf.glue -plug-in. -

-



-

-

The -two methods that you have to customize inside the -MessagePopupEditorConfigurationContribution class are:

- -

Some -other classes have to be created in the src folder of the -org.eclipse.papyrus.message.editor.xtext.ui -and org.eclipse.papyrus.message.editor.xtext projects:

- -



-

-
    -
  1. - Code - enhancements

    -
-



-

-

A -new Xtext project has been created in order to regroup common code.

- - - -



-

-

org.eclipse.papyrus.common.editor.xtext

-

This -plugin provides grammar for : -

- -



-

-

To -use it : -

-

1/ -in the file plugin.xml of your plugin editor.xtext, adds the -dependency to org.eclipse.papyrus.common.editor.xtext

-

2/ -in your grammar file replaces -

-

-

grammar - org.eclipse.papyrus.myelement.editor.xtext.UmlMessage with - org.eclipse.xtext.common.Terminals -

-



-

-

-

-



-

-



-

-



-

-

by

-

-

grammar - org.eclipse.papyrus.parameter.editor.xtext.UmlParameter -

-

//with - org.eclipse.xtext.common.Terminals

-

with - org.eclipse.papyrus.common.editor.xtext.UmlCommon

-



-

-



-

-

-

-



-

-



-

-



-

-



-

-

3/ -In the GenerateUmlElement.mwe2, replace the following line :

-

-

// - generates Java API for the generated EPackages -

-

fragment - = ecore.EcoreGeneratorFragment {

-

referencedGenModels - = - "platform:/resource/org.eclipse.papyrus.myelement.editor.xtext/model/UML.genmodel"

-

}

-



-

-

-

-



-

-



-

-



-

-



-

-



-

-



-

-

by -: -

-

-

// - generates Java API for the generated EPackages -

-

fragment - = ecore.EcoreGeneratorFragment {

-

referencedGenModels - = - "platform:/resource/org.eclipse.papyrus.myelement.editor.xtext/model/UML.genmodel"

-

-

referencedGenModels - = - "platform:/resource/org.eclipse.papyrus.common.editor.xtext/src-gen/org/eclipse/papyrus/common/editor/xtext/UMLCommon.genmodel"

-

-

}

-



-

-

-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-



-

-

This -plugin provides some classes which can be extended in the other Xtext -plugin :

- -



-

-

org.eclipse.papyrus.common.editor.xtext.generator

-

Not -used. -

-



-

-

org.editor.papyrus.common.editor.xtext.ui

-

In -the project org.eclipse.papyrus.myelement.editor.xtext.ui adds the -dependency to org.editor.papyrus.common.editor.xtext.ui.

-



-

-

This -plugin provides some classes which can be extended in other Xtext -plugin : -

-

- -UmlCommonProposalProvider

-
    -
  1. - References

    -
-

[1] Xtext tutorial, -http://www.eclipse.org/Xtext/documentation/latest/xtext.html#getting-started

-

[2] Xtext Reference document, -http://www.eclipse.org/Xtext/documentation/0_7_2/xtext.pdf,2009

-
-

 - 2010 The - Papyrus Consortium 25/25

-
- - \ No newline at end of file diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_281a152c.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_281a152c.png deleted file mode 100644 index 6b35e38b7de..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_281a152c.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_427e03b1.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_427e03b1.png deleted file mode 100644 index 4ecc7249631..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_427e03b1.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_556ade7.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_556ade7.gif deleted file mode 100644 index 559fa944789..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_556ade7.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_55ff396d.jpg b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_55ff396d.jpg deleted file mode 100644 index 67b5ee8d591..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_55ff396d.jpg and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_66a22042.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_66a22042.png deleted file mode 100644 index 1831afd3727..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_66a22042.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_783765cb.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_783765cb.png deleted file mode 100644 index b84900918c9..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_783765cb.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_79503f82.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_79503f82.png deleted file mode 100644 index 2194729d53a..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_79503f82.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m1129831d.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m1129831d.png deleted file mode 100644 index ed00b41f2a9..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m1129831d.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m11aa8a4d.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m11aa8a4d.png deleted file mode 100644 index 373434d2134..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m11aa8a4d.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m15dd1f70.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m15dd1f70.gif deleted file mode 100644 index 528d45c6d86..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m15dd1f70.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m1e24f929.gif b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m1e24f929.gif deleted file mode 100644 index a32f4b1b572..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m1e24f929.gif and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m2a0df40c.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m2a0df40c.png deleted file mode 100644 index 44ed6c86f9e..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m2a0df40c.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m2b708589.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m2b708589.png deleted file mode 100644 index d9699a57a5f..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m2b708589.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m3a39bbab.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m3a39bbab.png deleted file mode 100644 index b903a435362..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m3a39bbab.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m6d9d6d6e.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m6d9d6d6e.png deleted file mode 100644 index 221664e347b..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m6d9d6d6e.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m6e3b81b8.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m6e3b81b8.png deleted file mode 100644 index ce02bc553ff..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_m6e3b81b8.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_mba499f0.png b/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_mba499f0.png deleted file mode 100644 index 97812b2931c..00000000000 Binary files a/plugins/developer/org.eclipse.papyrus.doc/tutorials/XText/PapyrusDevelopperTutorial_OnXtext_v0 6_d2011-01-10_html_mba499f0.png and /dev/null differ diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.classpath b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.classpath deleted file mode 100644 index 2d1a4302f04..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.project b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.project deleted file mode 100644 index 50d3cbb97ea..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.project +++ /dev/null @@ -1,52 +0,0 @@ - - - org.eclipse.papyrus.infra.extendedtypes.elementtypeview - - - - - - org.eclipse.jdt.core.javabuilder - - - - - org.eclipse.pde.ManifestBuilder - - - - - org.eclipse.pde.SchemaBuilder - - - - - org.eclipse.pde.api.tools.apiAnalysisBuilder - - - - - org.eclipse.oomph.version.VersionBuilder - - - check.maven.pom - true - - - ignore.lower.bound.dependency.ranges - true - - - release.path - /org.eclipse.papyrus.releng.dev.release/release.xml - - - - - - org.eclipse.pde.PluginNature - org.eclipse.jdt.core.javanature - org.eclipse.pde.api.tools.apiAnalysisNature - org.eclipse.oomph.version.VersionNature - - diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.jdt.core.prefs b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.jdt.core.prefs deleted file mode 100644 index 4d72ad12656..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.jdt.core.prefs +++ /dev/null @@ -1,288 +0,0 @@ -eclipse.preferences.version=1 -org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled -org.eclipse.jdt.core.compiler.problem.assertIdentifier=error -org.eclipse.jdt.core.compiler.problem.enumIdentifier=error -org.eclipse.jdt.core.formatter.align_type_members_on_columns=false -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_assignment=0 -org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16 -org.eclipse.jdt.core.formatter.alignment_for_compact_if=16 -org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80 -org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0 -org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16 -org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0 -org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80 -org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16 -org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16 -org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16 -org.eclipse.jdt.core.formatter.blank_lines_after_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_after_package=1 -org.eclipse.jdt.core.formatter.blank_lines_before_field=0 -org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0 -org.eclipse.jdt.core.formatter.blank_lines_before_imports=1 -org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1 -org.eclipse.jdt.core.formatter.blank_lines_before_method=1 -org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1 -org.eclipse.jdt.core.formatter.blank_lines_before_package=0 -org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1 -org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1 -org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line -org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false -org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false -org.eclipse.jdt.core.formatter.comment.format_block_comments=true -org.eclipse.jdt.core.formatter.comment.format_header=false -org.eclipse.jdt.core.formatter.comment.format_html=true -org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true -org.eclipse.jdt.core.formatter.comment.format_line_comments=true -org.eclipse.jdt.core.formatter.comment.format_source_code=true -org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true -org.eclipse.jdt.core.formatter.comment.indent_root_tags=true -org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert -org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert -org.eclipse.jdt.core.formatter.comment.line_length=260 -org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true -org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true -org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false -org.eclipse.jdt.core.formatter.compact_else_if=true -org.eclipse.jdt.core.formatter.continuation_indentation=2 -org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2 -org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off -org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on -org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false -org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true -org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true -org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_empty_lines=false -org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true -org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true -org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false -org.eclipse.jdt.core.formatter.indentation.size=4 -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert -org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert -org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert -org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert -org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert -org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert -org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert -org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert -org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert -org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert -org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert -org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert -org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert -org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert -org.eclipse.jdt.core.formatter.join_lines_in_comments=false -org.eclipse.jdt.core.formatter.join_wrapped_lines=false -org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false -org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false -org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false -org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false -org.eclipse.jdt.core.formatter.lineSplit=260 -org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false -org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false -org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0 -org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=5 -org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true -org.eclipse.jdt.core.formatter.tabulation.char=tab -org.eclipse.jdt.core.formatter.tabulation.size=4 -org.eclipse.jdt.core.formatter.use_on_off_tags=false -org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false -org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true -org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true -org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.jdt.ui.prefs b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.jdt.ui.prefs deleted file mode 100644 index 954281dbc31..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.jdt.ui.prefs +++ /dev/null @@ -1,68 +0,0 @@ -cleanup.add_default_serial_version_id=true -cleanup.add_generated_serial_version_id=false -cleanup.add_missing_annotations=true -cleanup.add_missing_deprecated_annotations=true -cleanup.add_missing_methods=false -cleanup.add_missing_nls_tags=false -cleanup.add_missing_override_annotations=true -cleanup.add_missing_override_annotations_interface_methods=true -cleanup.add_serial_version_id=false -cleanup.always_use_blocks=true -cleanup.always_use_parentheses_in_expressions=false -cleanup.always_use_this_for_non_static_field_access=false -cleanup.always_use_this_for_non_static_method_access=false -cleanup.convert_functional_interfaces=false -cleanup.convert_to_enhanced_for_loop=false -cleanup.correct_indentation=false -cleanup.format_source_code=false -cleanup.format_source_code_changes_only=false -cleanup.insert_inferred_type_arguments=false -cleanup.make_local_variable_final=true -cleanup.make_parameters_final=false -cleanup.make_private_fields_final=true -cleanup.make_type_abstract_if_missing_method=false -cleanup.make_variable_declarations_final=false -cleanup.never_use_blocks=false -cleanup.never_use_parentheses_in_expressions=true -cleanup.organize_imports=false -cleanup.qualify_static_field_accesses_with_declaring_class=false -cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true -cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true -cleanup.qualify_static_member_accesses_with_declaring_class=true -cleanup.qualify_static_method_accesses_with_declaring_class=false -cleanup.remove_private_constructors=true -cleanup.remove_redundant_type_arguments=true -cleanup.remove_trailing_whitespaces=true -cleanup.remove_trailing_whitespaces_all=true -cleanup.remove_trailing_whitespaces_ignore_empty=false -cleanup.remove_unnecessary_casts=true -cleanup.remove_unnecessary_nls_tags=true -cleanup.remove_unused_imports=true -cleanup.remove_unused_local_variables=false -cleanup.remove_unused_private_fields=true -cleanup.remove_unused_private_members=false -cleanup.remove_unused_private_methods=true -cleanup.remove_unused_private_types=true -cleanup.sort_members=false -cleanup.sort_members_all=false -cleanup.use_anonymous_class_creation=false -cleanup.use_blocks=true -cleanup.use_blocks_only_for_return_and_throw=false -cleanup.use_lambda=true -cleanup.use_parentheses_in_expressions=false -cleanup.use_this_for_non_static_field_access=false -cleanup.use_this_for_non_static_field_access_only_if_necessary=true -cleanup.use_this_for_non_static_method_access=false -cleanup.use_this_for_non_static_method_access_only_if_necessary=true -cleanup.use_type_arguments=false -cleanup_profile=_Papyrus -cleanup_settings_version=2 -eclipse.preferences.version=1 -formatter_profile=_Papyrus -formatter_settings_version=12 -org.eclipse.jdt.ui.ignorelowercasenames=true -org.eclipse.jdt.ui.importorder=java;javax;org;com; -org.eclipse.jdt.ui.javadoc=true -org.eclipse.jdt.ui.ondemandthreshold=99 -org.eclipse.jdt.ui.staticondemandthreshold=99 -org.eclipse.jdt.ui.text.custom_code_templates= diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.pde.api.tools.prefs b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.pde.api.tools.prefs deleted file mode 100644 index 23fb95e120f..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/.settings/org.eclipse.pde.api.tools.prefs +++ /dev/null @@ -1,98 +0,0 @@ -ANNOTATION_ELEMENT_TYPE_ADDED_METHOD_WITHOUT_DEFAULT_VALUE=Error -ANNOTATION_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -ANNOTATION_ELEMENT_TYPE_REMOVED_FIELD=Error -ANNOTATION_ELEMENT_TYPE_REMOVED_METHOD=Error -ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Error -API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error -API_USE_SCAN_FIELD_SEVERITY=Error -API_USE_SCAN_METHOD_SEVERITY=Error -API_USE_SCAN_TYPE_SEVERITY=Error -CLASS_ELEMENT_TYPE_ADDED_METHOD=Error -CLASS_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error -CLASS_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -CLASS_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error -CLASS_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -CLASS_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error -CLASS_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error -CLASS_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -CLASS_ELEMENT_TYPE_REMOVED_CONSTRUCTOR=Error -CLASS_ELEMENT_TYPE_REMOVED_FIELD=Error -CLASS_ELEMENT_TYPE_REMOVED_METHOD=Error -CLASS_ELEMENT_TYPE_REMOVED_SUPERCLASS=Error -CLASS_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -CLASS_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -CONSTRUCTOR_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -CONSTRUCTOR_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -CONSTRUCTOR_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error -CONSTRUCTOR_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -ENUM_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error -ENUM_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -ENUM_ELEMENT_TYPE_REMOVED_ENUM_CONSTANT=Error -ENUM_ELEMENT_TYPE_REMOVED_FIELD=Error -ENUM_ELEMENT_TYPE_REMOVED_METHOD=Error -ENUM_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -FIELD_ELEMENT_TYPE_ADDED_VALUE=Error -FIELD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -FIELD_ELEMENT_TYPE_CHANGED_FINAL_TO_NON_FINAL_STATIC_CONSTANT=Error -FIELD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error -FIELD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error -FIELD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error -FIELD_ELEMENT_TYPE_CHANGED_TYPE=Error -FIELD_ELEMENT_TYPE_CHANGED_VALUE=Error -FIELD_ELEMENT_TYPE_REMOVED_TYPE_ARGUMENT=Error -FIELD_ELEMENT_TYPE_REMOVED_VALUE=Error -ILLEGAL_EXTEND=Warning -ILLEGAL_IMPLEMENT=Warning -ILLEGAL_INSTANTIATE=Warning -ILLEGAL_OVERRIDE=Warning -ILLEGAL_REFERENCE=Warning -INTERFACE_ELEMENT_TYPE_ADDED_FIELD=Ignore -INTERFACE_ELEMENT_TYPE_ADDED_METHOD=Error -INTERFACE_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error -INTERFACE_ELEMENT_TYPE_ADDED_SUPER_INTERFACE_WITH_METHODS=Error -INTERFACE_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -INTERFACE_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error -INTERFACE_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error -INTERFACE_ELEMENT_TYPE_REMOVED_FIELD=Error -INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error -INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error -INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -INVALID_ANNOTATION=Ignore -INVALID_JAVADOC_TAG=Ignore -INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Ignore -LEAK_EXTEND=Warning -LEAK_FIELD_DECL=Warning -LEAK_IMPLEMENT=Warning -LEAK_METHOD_PARAM=Warning -LEAK_METHOD_RETURN_TYPE=Warning -METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error -METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error -METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error -METHOD_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error -METHOD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error -METHOD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error -METHOD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error -METHOD_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error -METHOD_ELEMENT_TYPE_REMOVED_ANNOTATION_DEFAULT_VALUE=Error -METHOD_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error -MISSING_EE_DESCRIPTIONS=Error -TYPE_PARAMETER_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_CLASS_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error -TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error -UNUSED_PROBLEM_FILTERS=Warning -automatically_removed_unused_problem_filters=Enabled -eclipse.preferences.version=1 -incompatible_api_component_version=Error -incompatible_api_component_version_include_major_without_breaking_change=Disabled -incompatible_api_component_version_include_minor_without_api_change=Disabled -invalid_since_tag_version=Error -malformed_since_tag=Error -missing_since_tag=Warning -report_api_breakage_when_major_version_incremented=Disabled -report_resolution_errors_api_component=Warning diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/META-INF/MANIFEST.MF b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/META-INF/MANIFEST.MF deleted file mode 100644 index e4692de03aa..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/META-INF/MANIFEST.MF +++ /dev/null @@ -1,16 +0,0 @@ -Manifest-Version: 1.0 -Export-Package: org.eclipse.papyrus.infra.extendedtypes.elementtypeview, - org.eclipse.papyrus.infra.extendedtypes.elementtypeview.view -Require-Bundle: org.eclipse.gmf.runtime.diagram.ui;bundle-version="[1.8.0,2.0.0)", - org.eclipse.papyrus.editor;bundle-version="[1.2.0,2.0.0)", - org.eclipse.papyrus.infra.gmfdiag.dnd;bundle-version="[1.2.0,2.0.0)", - org.eclipse.papyrus.infra.services.edit;bundle-version="[2.0.0,3.0.0)" -Bundle-Vendor: %providerName -Bundle-ActivationPolicy: lazy -Bundle-Version: 1.2.0.qualifier -Bundle-Localization: plugin -Bundle-Name: %pluginName -Bundle-Activator: org.eclipse.papyrus.infra.extendedtypes.elementtypeview.Activator -Bundle-ManifestVersion: 2 -Bundle-SymbolicName: org.eclipse.papyrus.infra.extendedtypes.elementtypeview;singleton:=true -Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/about.html b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/about.html deleted file mode 100644 index 82d49bf5f81..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/about.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - -About - - -

About This Content

- -

June 5, 2007

-

License

- -

The Eclipse Foundation makes available all content in this plug-in ("Content"). Unless otherwise -indicated below, the Content is provided to you under the terms and conditions of the -Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is available -at http://www.eclipse.org/legal/epl-v10.html. -For purposes of the EPL, "Program" will mean the Content.

- -

If you did not receive this Content directly from the Eclipse Foundation, the Content is -being redistributed by another party ("Redistributor") and different terms and conditions may -apply to your use of any object code in the Content. Check the Redistributor's license that was -provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise -indicated below, the terms and conditions of the EPL still apply to any source code in the Content -and such source code may be obtained at http://www.eclipse.org.

- - - diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/build.properties b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/build.properties deleted file mode 100644 index 5587fef6adc..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/build.properties +++ /dev/null @@ -1,8 +0,0 @@ -source.. = src/ -output.. = bin/ -bin.includes = META-INF/,\ - .,\ - about.html,\ - plugin.properties,\ - plugin.xml -src.includes = about.html diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/plugin.properties b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/plugin.properties deleted file mode 100644 index 4760ab80448..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/plugin.properties +++ /dev/null @@ -1,3 +0,0 @@ -#Properties file for org.eclipse.papyrus.emf.commandstack -providerName = Eclipse Modeling Project -pluginName = A View for editpolicies diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/plugin.xml b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/plugin.xml deleted file mode 100644 index a59861ee580..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/plugin.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/pom.xml b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/pom.xml deleted file mode 100644 index 67834812f9f..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/pom.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - 4.0.0 - - org.eclipse.papyrus.developer - org.eclipse.papyrus - 0.0.1-SNAPSHOT - - org.eclipse.papyrus.infra.extendedtypes.elementtypeview - org.eclipse.papyrus - 1.2.0-SNAPSHOT - eclipse-plugin - diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/Activator.java b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/Activator.java deleted file mode 100644 index b576a06ae78..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/Activator.java +++ /dev/null @@ -1,59 +0,0 @@ -package org.eclipse.papyrus.infra.extendedtypes.elementtypeview; - -import org.eclipse.papyrus.infra.core.log.LogHelper; -import org.eclipse.ui.plugin.AbstractUIPlugin; -import org.osgi.framework.BundleContext; - -/** - * The activator class controls the plug-in life cycle - */ -public class Activator extends AbstractUIPlugin { - - // The plug-in ID - public static final String PLUGIN_ID = "org.eclipse.papyrus.infra.extendedtypes.elementtypeview"; //$NON-NLS-1$ - - // The shared instance - private static Activator plugin; - - public static LogHelper log; - - /** - * The constructor - */ - public Activator() { - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) - */ - @Override - public void start(BundleContext context) throws Exception { - super.start(context); - plugin = this; - log = new LogHelper(this); - } - - /* - * (non-Javadoc) - * - * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) - */ - @Override - public void stop(BundleContext context) throws Exception { - log = null; - plugin = null; - super.stop(context); - } - - /** - * Returns the shared instance - * - * @return the shared instance - */ - public static Activator getDefault() { - return plugin; - } - -} diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeLabelProvider.java b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeLabelProvider.java deleted file mode 100644 index 8b90c8fc5ba..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeLabelProvider.java +++ /dev/null @@ -1,82 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2010 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Ansgar Radermacher (CEA LIST) ansgar.radermacher@cea.fr - Initial API and implementation - * Based on edit policy view from patrick.tessier@cea.fr - * - */ -package org.eclipse.papyrus.infra.extendedtypes.elementtypeview.view; - -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.jface.viewers.ILabelProviderListener; -import org.eclipse.jface.viewers.ITableColorProvider; -import org.eclipse.jface.viewers.ITableLabelProvider; -import org.eclipse.swt.graphics.Color; -import org.eclipse.swt.graphics.Image; -import org.eclipse.swt.widgets.Display; - - -/** - * This is the label provider to display figures - * - */ -public class ElementTypeLabelProvider implements ITableLabelProvider, ITableColorProvider { - - protected Color papyrusColor = new Color(Display.getDefault(), 0, 127, 14); - - protected Color customizableDropEditPolicyColor = new Color(Display.getDefault(), 0, 38, 255); - - @Override - public void removeListener(ILabelProviderListener listener) { - } - - @Override - public boolean isLabelProperty(Object element, String property) { - return false; - } - - @Override - public void dispose() { - } - - @Override - public void addListener(ILabelProviderListener listener) { - } - - @Override - public String getColumnText(Object element, int columnIndex) { - if (element instanceof IElementType) { - IElementType elementType = (IElementType) element; - switch (columnIndex) { - case 0: - String name = elementType.getDisplayName(); - return name; - case 1: - return elementType.getId(); - } - } - return "cannot display element: " + element; - } - - @Override - public Image getColumnImage(Object element, int columnIndex) { - return null; - } - - @Override - public Color getForeground(Object element, int columnIndex) { - return null; - } - - @Override - public Color getBackground(Object element, int columnIndex) { - return null; - } -}; diff --git a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeView.java b/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeView.java deleted file mode 100644 index 53481e65bb9..00000000000 --- a/plugins/developer/org.eclipse.papyrus.infra.extendedtypes.elementtypeview/src/org/eclipse/papyrus/infra/extendedtypes/elementtypeview/view/ElementTypeView.java +++ /dev/null @@ -1,253 +0,0 @@ -/***************************************************************************** - * Copyright (c) 2013 CEA LIST. - * - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Ansgar Radermacher (CEA LIST) ansgar.radermacher@cea.fr - Initial API and implementation - * Based on edit policy view from patrick.tessier@cea.fr - */ -package org.eclipse.papyrus.infra.extendedtypes.elementtypeview.view; - -import org.eclipse.core.runtime.IAdaptable; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.gmf.runtime.emf.type.core.ElementTypeRegistry; -import org.eclipse.gmf.runtime.emf.type.core.IClientContext; -import org.eclipse.gmf.runtime.emf.type.core.IElementType; -import org.eclipse.jface.action.Action; -import org.eclipse.jface.action.IToolBarManager; -import org.eclipse.jface.viewers.IContentProvider; -import org.eclipse.jface.viewers.ISelection; -import org.eclipse.jface.viewers.IStructuredSelection; -import org.eclipse.jface.viewers.ITableLabelProvider; -import org.eclipse.jface.viewers.ITreeContentProvider; -import org.eclipse.jface.viewers.TreeViewer; -import org.eclipse.jface.viewers.Viewer; -import org.eclipse.papyrus.infra.core.services.ServiceException; -import org.eclipse.papyrus.infra.extendedtypes.elementtypeview.Activator; -import org.eclipse.papyrus.infra.services.edit.internal.context.TypeContext; -import org.eclipse.swt.SWT; -import org.eclipse.swt.custom.CLabel; -import org.eclipse.swt.layout.GridData; -import org.eclipse.swt.layout.GridLayout; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Tree; -import org.eclipse.swt.widgets.TreeColumn; -import org.eclipse.ui.ISelectionListener; -import org.eclipse.ui.ISelectionService; -import org.eclipse.ui.IWorkbenchPart; -import org.eclipse.ui.PlatformUI; -import org.eclipse.ui.part.ViewPart; - -/** - * This class shows the figure hierarchy attached to a edit-part - * - */ -public class ElementTypeView extends ViewPart { - - private ISelectionListener myEditPartlistener; - - private TreeViewer viewer; - - private CLabel selectedElement; - - /* - * (non-Javadoc) - * - * @see org.eclipse.ui.part.WorkbenchPart#setFocus() - */ - @Override - public void setFocus() { - Viewer viewer = getViewer(); - if (viewer != null && !viewer.getControl().isDisposed()) { - viewer.getControl().setFocus(); - } - } - - /** - * Create the main tree control - * - * @param parent - * @return Tree - */ - protected Tree createTree(Composite parent) { - Tree tree = new Tree(parent, SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI | SWT.FULL_SELECTION); - tree.setLinesVisible(true); - return tree; - } - - /** - * Return the viewer. - * - * @return TreeViewer - */ - protected TreeViewer getViewer() { - return viewer; - } - - /** - * - * Constructor. - * - */ - public ElementTypeView() { - myEditPartlistener = new ISelectionListener() { - - @Override - public void selectionChanged(IWorkbenchPart part, ISelection selection) { - if (selection instanceof IStructuredSelection) { - Object selectedobject = ((IStructuredSelection) selection).getFirstElement(); - IClientContext papyrusContext; - try { - papyrusContext = TypeContext.getContext(); - } catch (ServiceException e) { - Activator.log.error(e); - if (viewer != null) { - viewer.setInput(new Object[0]); - viewer.expandAll(); - } - return; - } - EObject selectedEObject = null; - if (selectedobject instanceof EObject) { - selectedEObject = (EObject) selectedobject; - } else if (selectedobject instanceof IAdaptable) { - selectedEObject = (EObject) ((IAdaptable) selectedobject).getAdapter(EObject.class); - } - - if (selectedElement != null && !selectedElement.isDisposed()) { - selectedElement.setText((selectedEObject != null) ? selectedEObject.toString() : ""); - } - - if (viewer != null) { - if (selectedEObject == null) { - viewer.setInput(new IElementType[0]); - } else { - viewer.setInput(ElementTypeRegistry.getInstance().getAllTypesMatching(selectedEObject, papyrusContext)); - viewer.expandAll(); - } - } - } - } - }; - ISelectionService selectionService = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService(); - selectionService.addSelectionListener(myEditPartlistener); - } - - protected void createColumns() { - viewer.getTree().setHeaderVisible(true); - viewer.getTree().setLinesVisible(true); - TreeColumn tcName = new TreeColumn(viewer.getTree(), SWT.LEFT); - tcName.setText("Element Type"); - tcName.setWidth(300); - TreeColumn tcIdentifier = new TreeColumn(viewer.getTree(), SWT.LEFT); - tcIdentifier.setText("Identifier"); - tcIdentifier.setWidth(250); - // TreeColumn tcLayoutManager = new TreeColumn(viewer.getTree(), SWT.LEFT); - // tcLayoutManager.setText("Layout manager"); - // tcLayoutManager.setWidth(150); - // TreeColumn tcBorder = new TreeColumn(viewer.getTree(), SWT.LEFT); - // tcBorder.setText("Border"); - // tcBorder.setWidth(150); - } - - @Override - public void createPartControl(final org.eclipse.swt.widgets.Composite parent) { - final IToolBarManager tbm = getViewSite().getActionBars().getToolBarManager(); - tbm.add(getClearViewAction()); - Composite composite = new Composite(parent, SWT.BORDER); - composite.setLayout(new GridLayout(1, true)); - selectedElement = new CLabel(composite, SWT.NONE); - selectedElement.setText(""); - selectedElement.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false)); - Tree tree = createTree(composite); - tree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); - viewer = new TreeViewer(tree); - viewer.setContentProvider(getContentProvider()); - viewer.setLabelProvider(getLabelProvider()); - createColumns(); - } - - protected ITableLabelProvider getLabelProvider() { - return new ElementTypeLabelProvider(); - } - - protected Action getClearViewAction() { - return new Action() { - - @Override - public void run() { - clear(); - } - - @Override - public boolean isEnabled() { - return true; - } - - @Override - public String getToolTipText() { - return getText(); - } - - @Override - public String getText() { - return "Clear the view"; - } - }; - } - - protected IContentProvider getContentProvider() { - return new ITreeContentProvider() { - - @Override - public Object[] getElements(final Object inputElement) { - if (inputElement instanceof IElementType[]) { - return (IElementType[]) inputElement; - } - return null; - } - - @Override - public void inputChanged(final Viewer viewer, final Object oldInput, final Object newInput) { - // nothing - } - - @Override - public void dispose() { - // nothing - } - - @Override - public boolean hasChildren(final Object element) { - return false; - } - - @Override - public Object getParent(final Object element) { - return null; - } - - @Override - public Object[] getChildren(final Object parentElement) { - return new Object[0]; - } - }; - } - - @Override - public void dispose() { - super.dispose(); - ISelectionService selectionService = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService(); - selectionService.removeSelectionListener(myEditPartlistener); - } - - private void clear() { - selectedElement.setText(""); - viewer.setInput(null); - } -} diff --git a/plugins/developer/pom.xml b/plugins/developer/pom.xml index b7592f184ba..c3e5c4b4378 100644 --- a/plugins/developer/pom.xml +++ b/plugins/developer/pom.xml @@ -31,7 +31,6 @@ org.eclipse.papyrus.gmf.figureview org.eclipse.papyrus.gmfgenextension org.eclipse.papyrus.infra.emf.commandstack - org.eclipse.papyrus.infra.extendedtypes.elementtypeview org.eclipse.papyrus.infra.gmfdiag.css.debug org.eclipse.papyrus.mwe2.utils org.eclipse.papyrus.releng.tools -- cgit v1.2.3