Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-04-16Bug 528199 - [Xtext, Constraints] The edition of constraints does not choose ↵Ansgar Radermacher1-1/+1
a suitable editor - Cleanup implementation in DirectEditorsUtil: * Assure that method implementations are consistent and based on each other (before, implementations were duplicated, some respected priorities while others did not), fix comments * Rename getDirectEditorConfiguration (name was misleading, keep old method as deprecated) - Set version of oep.extensionpoints.editors plugin to 3.0.0, adapt all references (other MANIFEST files) accordingly - If no editor with for a given language is found, search all editors without taking language tag into account (implementations must still be compatible with semantic element). This assures that other editors are used, if the default editor is not compatible (e.g. OCL is default editor for opaque expression, but not compatible with non-OCL bodies) - Add an EmbeddedEditor.usecases txt file in plugin oep.extensionpoints.editors - Replace calls to old methods (in diagram.common, property.sheet, uml.diagram.sequence, diagram.stereotype.edition, service.types.ui and natable.xtext.valuespecification/integration) - Move OCL editor registration from generic plugin oep.uml.properties.xtext to OCL plugin. - Add a test to the existing oep.uml.textedit.tests plugin that checks whether a suitable editor is opened on an opaque expression with (1) a C++ body and (2) OCL body (the plugin registers a dummy C++ editor) Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: I4cee823b91e13f9601ecb7a9655409a74e3d7579
2018-03-23Bug 532823: [AllDiagrams] Update all diagram reconciler to target 1.4.0 ↵Vincent Lorenzo1-3/+3
diagram version Change-Id: I2ca004d14a3367582095e3e517dabffbcd04fcdb Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-01-18Bug 528421: [API Tools] Change default settings for Papyrus projectsCamille Letavernier1-6/+12
https://bugs.eclipse.org/bugs/show_bug.cgi?id=528421 - Use more flexible options wrt. Constant values and Reexported APIs - Display errors directly in the code rather than Manifest, when relevant Change-Id: I7a48bca8a9a84487957a3d97a8dddfb145cdfd78 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-01-09Bug 515367 - [releng] Uniformization of the end of lines to Unix standardQuentin Le Menez172-68577/+68577
- Format the EOL of all the files matched by: grep -rIUs . | xargs -Ifile dos2unix -k 'file' Change-Id: I5c41d540a9a67b50de9b912ab35e16cc9a912961 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2017-12-14Bug 528776 - [Quality] Remove auto-generated TODOBenoit Maggi8-8/+8
- remove: // TODO Auto-generated method stub // TODO Auto-generated constructor stub // TODO: Auto-generated Javadoc Change-Id: Ia754c343b5dd76c17b34d041ae938318b6030522 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-09-25Bug 519876 - [Palettes][DiaGen] Palette generation from gmfgen should beMickael ADAM1-160/+0
disabled https://bugs.eclipse.org/bugs/show_bug.cgi?id=519876 - deactivate paletteConfiguration model - remove palette from gmfgen - add instruction for timing diagram. Change-Id: Iaaa327931a8a22891d2c2dac3fdba0a544a545a4 Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>
2017-09-06Bug 521572 - [General] Various cleanupsPierre GAUTIER1-2/+1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=521572 fix remaining output 'target/classes' in some .classpath cleanup of various basic build.properties warnings including : - remove useless bin.. - incorrect source.. - incorrect output.. - includes Change-Id: I5bf3480020ab53c8acf1fd6fc35d92377c231eaa Signed-off-by: Pierre GAUTIER <pierre.gautier@cea.fr>
2017-09-01Bug 521572 - [General] Various cleanupsPierre GAUTIER2-0/+4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=521572 define project-specific, overriding workspace-scoped, preferences for UTF8 encoding and Unix end of line preferences Change-Id: I260d84ab76c08866cd3e8709967d4218d992c095 Signed-off-by: Pierre GAUTIER <pierre.gautier@cea.fr>
2017-08-31Bug 520837: [DeployementDiagram] Some Links EditPart doesn't implement ↵Vincent Lorenzo5-4059/+4098
ILabelRoleProvider Change-Id: Ib5a2480cb12209c6dba6ec14c36999cdaf820b4b Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-08-30Bug 520830: [DeploymentDiagram] DeploymentDiagram must be regenerated to get ↵Vincent Lorenzo116-3492/+3101
code generation changes from bug 520733 Bug 520882: [DiaGen] contribution to "org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings" must be removed. - remove contribution in the plugin.xml, as expected by the bug 520882 Change-Id: Ia7f0918c35e02484835c8a0693b0fa561a50fcdf Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-08-28Bug 515198: [DeploymentDiagram] DnD of CommunicationPath leads toFanch BONNABESSE3-209/+250
corrupted representation https://bugs.eclipse.org/bugs/show_bug.cgi?id=515198 Added communicationpath (association) management for the deployment diagram Change-Id: Ib0cb84a6119087a200415969eb44897f3f8c067f Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2017-08-03Bug 480423: [Class Diagram] Relationship keyword labels missing theFrancois Le Fevre1-2/+24
guillemets Actions -add reference to the norm -open the API -add a new parser dedicated to manage the keyword Tests -starting a remote eclipse and check the package relationship with use keyword -apply an ecore stereotype on the use relationship and check also the result Change-Id: Id106a7862dd980ec3f33f52ba008d1dd358222f6 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=480423 Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
2017-06-19Bug 514455 - [All diagrams] Label icon does not correspond to element typeAnsgar Radermacher3-33/+3
- Push changes via perl script instead of re-generation. While this is certainly not the correct way, it avoids changes that are not related to the template change. Thus, it is less risky. Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: I4d6797fed9dfecd9e6bffbd015a7bb3a2e17571e
2017-06-02Bug 517539 - [All] Update UML2 dependency for all Papyrus pluginsQuentin Le Menez1-2/+2
- Update plugins dependencies to uml2 - Add a new test to verify uml2.uml versions during bundle tests - Update plugin versions due to new reexported versions and other manifest changes Change-Id: I524eb4474eb6dd7de6f97ce118f144c28590773b Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2017-05-15Bug 516590 - [ElementTypes] Component to normalize the xmi id ofBenoit Maggi1-33/+33
IElementTypeConfiguration run the script provided by https://git.eclipse.org/r/#/c/96974/ to change all element types ids Change-Id: Ieffa8e4ad0b62f8b53202e15eef01fe9eddf8792 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-05-10Bug 515235 - [Architecture Framework] Palette Configuration shall beBenoit Maggi1-18/+1
have a better integration to AF - add a property palettes in Meta model - remove old customePalette in Meta model - the palette application filter should be done with the name of the PapyrusDiagram defined in the architecture (currently the key, hopfully will be changed for an id field) Change-Id: I7a4163874bbb94f92bd76043d956ee8e79b4a6bb
2017-05-09[releng] Update plugin version for Oxygen releaseFlorian Noyrit3-0/+3
- Update plugin version numbers using Neon.3 as baseline - Add appropriate @since annotations to non-generated code Change-Id: I731bd059466c0caa4b5e0bf0576f0ff5d31f8967
2017-04-18Bug 515361 - [Class Diagram] no paletteFrancois Le Fevre1-1/+1
Actions -switching from \ to / in plugin.xml Change-Id: I80c30f81b5c4059aa60417633fdf5660ad85f92b Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
2017-04-14Bug 512343 - [Palette] Papyrus Palette framework should be refactoredMickael ADAM5-652/+304
Change-Id: I4170f878f144bc9e47ed21f1f3beaeb53911a887 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2017-04-06Bug 514332 - Papyrus should never reexport non-singleton pluginsBenoit Maggi1-1/+1
- remove Required-Bundle Guava (and their re-export) - use package import for Guava dependencies Change-Id: Ie1e383b6b8ed1d57747345c2788c0c63de1f08bb Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr> Signed-off-by: Florian Noyrit <florian.noyrit@cea.fr>
2017-03-30[releng] Update plugins and feature version numbers for Oxygen withFlorian Noyrit1-8/+8
Neon.3 as baseline Change-Id: Icb3b699de6846ce60370a1fedc169e1df741ace2
2017-03-13Bug 510451 - Reimplement the ISO42010 specification to properly supportMaged Elaasar4-95/+70
architectural contexts and viewpoints Replaced the viewpoint configuration framework by a new architectural context/viewpoint framework. This involves defining architecture contexts and viewpoints in models and contributing them via extension points or via the preferences. Models reference an architecture context and a set of viewpoints at creation time, but can be switched later. Architecture contexts double as client contexts for which elementtypesetconfigurations can be registered. They also define viewpoints, which reference representation kinds (diagrams or tables). This contribution defines three architecture contexts: UML, Profile, and SysML corresponding to what Papyrus used to call diagram categories. Change-Id: I203b58d9e97afdffc45c2674683c0281eb8a7c5b Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2017-03-09Bug 512207: [Preferences] Specific prefence pages "Rulers And Grids" forFanch BONNABESSE4-4746/+4702
UML diagrams are unused https://bugs.eclipse.org/bugs/show_bug.cgi?id=512207 Remove preferences pages "Rulers and Grid" for all diagrams Change-Id: Id0de50c322cd96296ca58d1add786e437d332b72 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2017-02-03Bug 464625: [All Diagrams] Direct edition should rely on service edit toBenoit Maggi1-2/+3
manipulate values https://bugs.eclipse.org/bugs/show_bug.cgi?id=464625 - Modify AbstractElementTypeBasedAttributeParser to use IElementEditService - Modify Template regenerate all diagrams (except InteractionOverview with the missing gmfgen) Change-Id: I19a0f8fe5a2e6b9ec4e5e92be6990753bc1dbf9b Signed-off-by: Gabriel Pascual <gabriel.pascual@all4tec.net> Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-01-27Bug 510889 - [GMFT] Fork gmft.runtimeBenoit Maggi131-6651/+5324
- rename the plugin as org.eclipse.papyrus.infra.gmfdiag.tooling.runtime - integrate in Papyrus build - add the plugin to gmfdiag feature - change dependency in infra.gmfdiag.common - change xtend templates - re-genenerate all diagrams - fix missing keys using full namespace - fix wrong version number - impossible to regenerate InteractionOverview (no gmfgen) - Remaining generated not in Activity and Timing - keep hand made code in UMLNavigatorLabelProvider for Sequence Diagram Change-Id: I1c1b988eafff38eae56a789d6a8734083c1117d4 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2016-11-29Bug 496905: [Diagram][ModelExplorer][Table][Dialog] Papyrus must integrateNicolas FAUVERGUE3-442/+494
the internationalization feature provided by UML. https://bugs.eclipse.org/bugs/show_bug.cgi?id=496905 Commit of UML for internationalization. Change-Id: Ia61e5ef4d537f9e9b192bcfe073f921542fe4876 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-10-07Bug 497320 - [CSS][Deployment diagram] UML Deployment Diagram ignoresMauricio Alferez146-66827/+66718
the "displayTags:" command when elements are inside a package Change-Id: Ie5f11ab635cde3187c9c6e009eaaa4e0fcb4cbfb Signed-off-by: Mauricio Alferez <mauricio.alferez@cea.fr>
2016-08-28Bug 443799 - Fix potential bugs identified by FindBugs in oep.infra.*Florian Noyrit2-14/+14
Bug 499554 - Oxygen release version number moved to 3.0.0. Change-Id: I8e112db7175a5b89eb9b37973639627a6c29e007
2016-08-05Bug 497678: [SysML][Requirements] NPE while opening requirements diagramGéry Deloge3-2722/+2553
change unknown visualID value from null to "" (empty String) impact on all diagrams Change-Id: Ib24d6d1bc5b64ba5338645b3d8abdaa74db528c3 Signed-off-by: Géry Deloge <gery.deloge@cea.fr>
2016-07-06Bug 497366: [Diagram] Format the code with papyrus formatterPatrick Tessier53-278/+332
https://bugs.eclipse.org/bugs/show_bug.cgi?id=497366 Change-Id: I7ea53b85de442b0497a9332cde4baddf8e9d6bc3
2016-04-26Bug 480307 - [Customization] DefautElementEditPart shall support shapeMickael ADAM2-8/+9
customisation. https://bugs.eclipse.org/bugs/show_bug.cgi?id=480307 Modify defalutElementEditpart to extends RoundedCompartmentEditPart and use RoundedCompartmentFigure on: ClassDiagram ComponentDiagram DeploymentDiagram UseCaseDiagram Change-Id: I57589db7252e0ff1c9facb2d084c8477ec7c50e4 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-04-19Bug 491883 - Remove the ExtendedTypes frameworkFlorian Noyrit3-59/+4
Change-Id: Ic057d8fef473b82d91e40237ad8d70db8cf07897
2016-04-12Move elementtypes definitions that are not model-based to model-based. Florian Noyrit1-13/+0
Change-Id: Ie8ffcdd5571799ac8bc7793c9606befb06b19fa5
2016-04-01Bug 490180 - [namingconvention] be sure the src directories respect theFrancois Le Fevre - CEA145-17/+18
convention under the diagram folder - just changing the target generation folder - renaming the folder manually F2 Change-Id: I413e8a79e771fe4e741fa8ee2da3f40d1525f07c Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
2016-03-31Bug 490278 - [releng] all gmfgen have to switch to the 2.0.0.q versionFrancois Le Fevre - CEA1-1/+1
-switching from 1.2.0.q to 2.0.0.q Change-Id: I8fcb750c1da4ef994ba9da55d102042d47091c8a Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
2016-03-22Bug 489116 - Unify diagram visualID of all diagrams in PapyrusMaged Elaasar144-9661/+12894
1. Changed the visual ids of the UML2 diagrams from numbers to meaningful names corresponding to notational cases. This was applied consistely across diagram such that similar cases get similar visual ids. Added diagram reconcilers for v1.2 to migrate older diagrams. 2. Amalgamated the UML2 diagram element types into a single model (umldi.elementtypesconfigurations). Some diagrams, like Sequence, Communication and Timing, still use extension-based configurations and will need to be migrated later. Change-Id: I7f47b25454dcd1ed81e8f3eeffc1a09a2584d316 Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2016-03-03Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus4-5/+109
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Complete the configuration of PDE API Tooling in the Papyrus Main and Developer Tools projects, including: * adding the API Analysis nature and builder to .project where it was missing * adding a new menu action in the dev tools Project Management menu to ensure that all Oomph version-management projects in the workspace have API analysis also * fixing API version analysis problems, mostly by upversioning bundles to 2.0 but also applying API filters in some cases where it seems appropriate * implementing project-level API Analysis preferences for warning severity of missing @since doc tags (the default is error) and adding it to the Oomph project preferences management Change-Id: I3f5fad20ffc7bb66eec0abbb86b5cc52aacb1ff1
2016-02-24Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus2-75/+54
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Implement version management: PDE API Tooling and Oomph Version Management. Introduce two new plug-in projects to manage versioning using Oomph: * org.eclipse.papyrus.releng.main.release for the Main bundles and features * org.eclipse.papyrus.releng.dev.release for the Dev Tools Add new menu actions to the Dev Tools: * main menu bar: * synchronize POM and manifest versions * "Configure" context menu on bundle projects and MANIFEST.MF * optimize bundle dependencies and re-exports * update dependency version ranges to match current workspace and PDE target Remove obsolete menu actions from the Dev Tools: * main menu bar: * Set all Papyrus feature versions * Set all Papyrus plug-in versions * Set versions of all Papyrus dependencies in Papyrus plug-ins Fix versioning errors reported by PDE and Oomph. Ensure proper version ranges consistent with latest build target. Optimize the dependencies of all Papyrus Main bundles and Dev Tools. Remove version- and reexport-checking tests in the BundlesTests that are now not needed because, on the one hand, we now implement discrete bundle versioning (managed by PDE/Oomph) and on the other, we now use re-exports properly to ensure classpath consistency in clients of a bundle's API. Thorough overhaul of the "project editors" API, including: * rationalize the API interfaces * refactor the all-in-one PluginEditor class from the customization bundle to the project-editors bundle * update clients in the Customization and DSML Validation components * fix a bunch of operations that didn't work * add missing operations required by the new Dev Tools actions * complete some unimplemented APIs * add a comprehensive JUnit test suite covering all of the project-editors API Change-Id: I6a699d93909f61099226ceb994140f03ea99a70f
2016-02-22Bug 487480 - Refactor elementtypesconfiguration frameworkFlorian Noyrit3-149/+149
Insert a "oep/infra/types" layer to host the core elementtypesconfiguration framework. Move UML elementtypesconfiguration extensions to "oep/uml" Move EMF elementtypesconfiguration extensions to "oep/infra/emf" Move elementtypesconfiguration tests to oep/tests/junit/plugins/infra/types Rename all elementtypesconfiguration plugins (core, dev, tests and extensions) and corresponfing packages to shorter qualifiers as follows: oep.infra.elementtypesconfigurations -> oep.infra.types.core and oep.infra.types oep.infra.elementtypesconfigurations.edit -> oep.infra.types.edit oep.infra.elementtypesconfigurations.editor -> oep.infra.types.editor oep.infra.elementtypesconfigurations.ui -> oep.infra.types.ui oep.infra.elementtypesconfigurations.invarianttypes -> oep.infra.types.rulebased oep.infra.elementtypesconfigurations.emf -> oep.infra.emf.types oep.infra.elementtypesconfigurations.emf.ui -> oep.infra.emf.types.ui oep.uml.elementtypesconfigurations -> oep.uml.types oep.elementtypesconfigurations.developer -> oep.dev.types oep.infra.elementtypesconfigurations.tests -> oep.infra.types.tests oep.infra.elementtypesconfigurations.ui.tests -> oep.infra.types.ui.tests Change-Id: Iad7f5689b183e6ad29daab06a1cc2858ee408aa7
2016-02-13Revert "Bug 485220: [Architecture] Provide a more modular architecture ↵Christian W. Damus1-1/+0
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220" This reverts commit f050d4119a2316b27588076d4fc90152773fc019.
2016-02-13Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus1-0/+1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Fix build failure to resolve bundles in referenced p2 repositories by restoring the missing <groupId> elements in the POMs which, as it turns out, are not inherited from the parent module, despite what the m2e validator says. Change-Id: I62dacc9c70c940d28c3c02e1e35c8f874a7d3df0
2016-02-12Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus3-153/+151
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Factor UI dependencies out of the UML Element Types bundle. This includes moving some advices that interact with the user into a new org.eclipse.papyrus.uml.service.types.ui bundle. Pull up the PasteCommandService and IPasteCommandProvider API into the Infra Diagram layer where the extension point is defined. Deprecate the old API in the UML layer. Introduce a service for participation of languages in CSS styling: * styling reset actions in the Reset Style command * access to semantic model classes and properties to make available to CSS Factor PapyrusObservableValue and cohorts out of the UML Tools bundle into the Infra Layer for more general reuse and to relieve the Diagram Infrastructure layer of UML dependencies. The old API remains as deprecated. Remove the Infra Diagram Layer dependency on UML Layer for property testers governing deletion in the diagram. Includes introduction of a new IGraphicalDeletionHelper OSGi service for delegation of the determination of whether an element can be deleted from the diagram and replacement of the XML expression properties * org.eclipse.papyrus.uml.diagram.common.isSemanticDeletion * org.eclipse.papyrus.uml.diagram.common.isReadOnly by * org.eclipse.papyrus.infra.gmfdiag.common.isSemanticDeletion * org.eclipse.papyrus.infra.gmfdiag.common.canDelete (where the latter is the negation of the property that it supersedes) Extract UML dependencies from the Diagram Outline and CSS Editor bundles. Remove unused MDTUtil APIs that referenced a UML-specific annotation. Move the Diagram Infrastructure CSS Palette bundle into the UML layer because it serves to provide extensions on the Palette Service, which is an overtly UML-specific capability. All client APIs for the Properties View are moved from org.eclipse.papyrus.views.properties bundle to a new org.eclipse.papyrus.infra.properties.ui bundle. This includes renaming of: * extension points * label-provider contexts * XWT namespaces Add an "all UI tests" suite. Define a componentized hierarchical build layout of the main plug-ins Change-Id: I43f8f3644857a18b69715f5a2f1da9b1cf286d67
2016-02-05Improve/Fix the support of extensions of theFlorian Noyrit2-455/+149
ElementTypesConfiguration framework - Bug 477206 Change-Id: I50ed9bb1bf6a807881a143875f87c5a6f56a6afc
2016-01-29Improve ElementTypeConfiguration Framework to support:Florian Noyrit3-3/+25
- Advice execution ordering - Prepare Multiple ClientContext in Papyrus Change-Id: I00b5d3d5e090de1b8fc9926c9073913c90dda47e
2016-01-22Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus4-4/+6
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Move UI-dependent APIs from the org.eclipse.papyrus.infra.tools bundle to org.eclipse.papyrus.infra.ui. Accordingly move tests into a new org.eclipse.papyrus.infra.ui.tests bundle. Two crucial UI dependencies are inverted by introduction of new OSGi services with core interfaces specified in the non-UI layer: * IExecutorService extends Java Platform's ExecutorService with APIs for synchronous execution (a la Display.syncExec). A new CoreExecutors class in the infra.tools bundle supplies the instance provided by the OSGi service implementation in the infra.ui bundle. This provides compatibility for clients of various UIUtil APIs that they can no longer access * IContextualServiceRegistryTracker abstracts the concept of the default ServicesRegistry found in the currently active editor, which the ServiceUtilsForHandlers class (and hence all of its clients) relies on. Again an OSGi service implementation in the infra.ui bundle supplies the implementation of this tracker, which is exposed in infra.core through the service-utils API Also move UI-dependent APIs from the org.eclipse.papyrus.infra.core bundle into org.eclipse.papyrus.infra.ui. This includes * moving the 'papyrusDiagram' and 'papyrusContentOutline' extension points into the org.eclipse.papyrus.infra.ui namespace * moving various UI-related services such as EditorLifeycleManager, SaveLayoutBeforeClose, and the IMultiDiagramEditor, itself, into the org.eclipse.papyrus.infra.ui bundle This necessitates not only widespread refactorings on the moved APIs, but also concomitant move of other APIs in other bundles because they cannot plausibly use these moved APIs from their new home in org.eclipse.papyrus.infra.ui and/or they cannot reasonably also be moved to the UI bundle and/or they must be used by bundles that now have no UI dependency: * the DI/sash-windows EMF model is moved out of infra.core.sasheditor.di bundle into a new model-only org.eclipse.papyrus.infra.sashwindows.di bundle (which symbolic name incidentally now better reflects the contained Java package names) * the IPageManager and ILocalPageService interfaces are moved out of infra.core.sasheditor.di bundle because they need to remain accessible by headless code such as the edit advices that ensure deletion of sash-model pages for notations that are deleted. These are now in a package named org.eclipse.papyrus.infra.code.sashwindows.di.service. Accordingly the class hierarchy implementing the IPageManager interface is changed: the obsolete PageMngrImpl is deleted, replaced by a BasicPageManagerImpl which now the PageManagerImpl extends. A service factory creates the basic page manager in a headless context, but is overridden by the UI-aware implementation when the UI bundles are installed * the MultiDiagramEditorGefDelegate (which has a GEF 3 dependency) is moved from the org.eclipse.papyrus.infra.core.sasheditor bundle to a new org.eclipse.papyrus.infra.gmfdiag.gef bundle. Its usage for an adapter of ActionRegistry type is extracted out of the CoreMultiDiagramEditor class into a new external adapter-factory in the infra.gmfdiag.gef bundle Tests all still pass (inasmuch as they do in the nightly master builds). Change-Id: I573dee5d9312d6e5746d74575350d0152b591ab3
2016-01-16Refactored the generated code to handle visualID as a String instead ofFlorian Noyrit136-10791/+8524
an int and refactoed the API to comply. Change-Id: Ie459e27d5c80dd18743aeac9e2d745b2f95a4fe0
2015-12-14Bug 484308 - A custom templates invocation should be registered in aatischenko1-0/+10
gmfgen Change-Id: I71f27f405f12907d8ba708ee0029fb53f3305297 Signed-off-by: atischenko <tischenko@montages.com>
2015-12-04Bug 477384: [Canonical] Should not use drop requests to create viewsChristian W. Damus5-5/+80
https://bugs.eclipse.org/bugs/show_bug.cgi?id=477384 Changes to core APIs to remove PapyrusCanonicalEditPolicy's dependence on the generated diagram drag-and-drop behavior: * extract the CommonDiagramDragDropEditPolicy's abstract API for information about diagram-specific view types into a new service * update the canonical edit-policy and diagram-to-diagram synchronization infrastructure to use the new VisualTypeService to obtain information about the diagram's specific view types to then let the view service create views without resorting to drop commands * update extensions of various canonical strategies in the UML diagrams to adapt to the new drop-free synchronization mechanism Update the Papyrus Diagram GMFGen extensions and code generation templates to add generation of the IVisualTypeProvider that plugs into the new VisualTypeService to support canonical synchronization and drag-and-drop. Includes regeneration of the GMFGen extension model using EMF's most recent templates, which result in minor changes to most model source files. Regenerate all UML diagrams to create and register the visual type provider extensions. Also update the BREE for diagrams to 1.8 because at least one of them requires Java 8 to compile properly. * Note that the interaction overview diagram uses a code generator that is not published on Eclipse.org, so I had to emulate the code generation step for this one * Note also that the SysML 1.1 diagrams likewise cannot be re-generated but, moreover, they do not implement the common pattern for Visual ID Registry, so they are also updated "by hand" for parity with the Mars implementation of drag-and-drop (which had gaps) Deprecate the ICreationTargetStrategy extension API which was only needed to redirect drag-and-drop requests, but these are no longer employed in the canonical synchronization. Also some fixes for region layout problems in the State Machine Diagram: * update custom creation edit policies to re-use the commands used by drag-and-drop and untargeted creation that perform initial placement of new regions * fix the GMFGen to register the custom creation edit policy for the state machine compartment Change-Id: I3afc68d6f0f1bfe05e336c9138a7f1acbc8f643b
2015-10-27Bug 479627 - [All diagrams] Manage <Connector> Labels dialog should beashatilov8-80/+56
as well used for external node labels - squash commit for abandoned verified gerrits (+2 from Remi): Change-Id: I14831fdc65207912ac16a65dfc50e930d5e3aa58 Change-Id: Iffe443ab5189d81d93804f0d4201d8c04bef8e79 Change-Id: Ic94e78dfceeb8d2eaf2b3515c2122b173668b939 Change-Id: I685836ccf34e6b5682630cf50431fa1053c3388a Change-Id: Ia97e4a9ee47f086efe27dd4d9a110abe0af5660b Change-Id: I8cbdc2e60e03956ec091495f0855d84d432ed5e5 Change-Id: Ie6ec55db5e50a66ce840450e24fc402585d6e592 Change-Id: I6b7c7d70b301a4a65abbdeb817dd10e662840a9f Change-Id: Ic9edd422fe3331fe5d6e92c198bce8432c82c0c9 Signed-off-by: ashatilov <shatilov@montages.com>
2015-10-23Bug 478772 - There should be no @generated NOT codeatischenko45-45/+45
Add ability to override performDirectEdit(char initialCharacter) method Change-Id: Ifa238ed0f123224fd9337b040c6ae9c9d7df4c6b Signed-off-by: atischenko <tischenko@montages.com>

Back to the top