Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-06-02Bug 517539 - [All] Update UML2 dependency for all Papyrus pluginsQuentin Le Menez2-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-18Bug 515706: [Table][RichText] The RichText editor must be in agreementNicolas FAUVERGUE3-7/+7
with the preferences https://bugs.eclipse.org/bugs/show_bug.cgi?id=515706 - Move the RichText preferences into infra.ui instead of uml.diagram.common to use it in table. - Use the preferences into nattable editors. - Upgrade MANIFEST versions when needed. Change-Id: Iee4505223a8e2de23c91a4d46f25ed2627fa04b1 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2017-05-09[releng] Update plugin version for Oxygen releaseFlorian Noyrit10-0/+42
- Update plugin version numbers using Neon.3 as baseline - Add appropriate @since annotations to non-generated code Change-Id: I731bd059466c0caa4b5e0bf0576f0ff5d31f8967
2017-05-02Bug 514048 - [Toolsmiths][newchild] switch from string based model toFrancois Le Fevre1-1/+1
real ereference model based with uml and not ecore model Actions -creation of uml model from ecore -manually edition to add package to filters and elementtype -creation class diagram -modification of model to add an ereference -suppression of string reference -suppression the default element type function as deprecated -create a new one that took the CreationMenu as parameter -regenerate the model,edit and editor code -adapt the test models to the new model -migration of creationmenumodelS to the new version with an automatic dom tool -upgrade the plugin version Tests -run org.eclipse.papyrus.infra.newchild.tests -open the different touched creationmenumodel files Change-Id: Iab6808a34ba765e03371240ae72846ad0f223241 Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
2017-04-24Bug 355731 - [collaborative work] move element/diagram into a submodelThanh Liem PHAN1-3/+3
not loaded should be forbidden - Prohibit the move of an element or a diagram if the target element is a proxy (an object that has not been loaded) Change-Id: I7170a1ce929c2c3a6902c38be2e9e842955ac90b Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-04-06Bug 514332 - Papyrus should never reexport non-singleton pluginsBenoit Maggi3-0/+5
- 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-04-04Bug 510451 - Fix newchild menus to make them architecture-awareFlorian Noyrit1-109/+110
Change-Id: I15b6e4674a591d5872aa47f0ffac74946517cc9a
2017-03-30[releng] Update plugins and feature version numbers for Oxygen withFlorian Noyrit8-162/+162
Neon.3 as baseline Change-Id: Icb3b699de6846ce60370a1fedc169e1df741ace2
2017-03-13Bug 510451 - Reimplement the ISO42010 specification to properly supportMaged Elaasar4-4/+4
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-02-13Bug 509357: [Model Explorer] Rename... Contextual menu doesn't existThanh Liem PHAN7-14/+348
anymore for element https://bugs.eclipse.org/bugs/show_bug.cgi?id=509357 - Add commands to rename an element and its label - Refactor common methods into the ModelExplorerEditionUtil class - Refactor rename handlers - Correct an NPE in DirectEditorEditingSupport - Externalise the dialog's parameters Change-Id: I96dd078590139bde342fa6c0e633d04c4cd40b92 Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-01-29Bug 508843 - [Toolsmiths] Remove unexpected .projectFlorian Noyrit1-17/+0
Change-Id: I01cac0a26ec78017db2163150a1e2440c84ea023
2017-01-27Bug 511046: [View][Properties] Generator is broken : we can't generate ↵Vincent Lorenzo17-61/+61
property view Change-Id: Ia09930c247c206ce39a370e1260242e539e93d87 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-01-24Bug 508843 - [Toolsmiths] migrate expansion model into its own pluginFrancois Le Fevre1-0/+17
-just moving exapnasion model into its own plugin -reexporting the different package -updating manifest.mf with this new plugin -package renaming with genmodel update -moving to right bundle version in a manifest.mf -adding it into its feature -retrigger after merge conflict resolution -dispatching class in their own package Change-Id: If81918a014ca46e67a9e6fb60b1e0bf21c5645ab Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
2017-01-23Bug 508130 - [Toolsmiths] dispatching customization properties pluginsFrancois Le Fevre227-7/+18497
in there own functional unit -moving stuff to the right functional unit -changing extension point naming Change-Id: Id498eed0baeeb6e31655668fca69776d09bee37a Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
2017-01-17Bug 404980 - [Model Explorer] Model Explorer elements should not alwaysJaafar Bouayad3-0/+19
expand on double click https://bugs.eclipse.org/bugs/show_bug.cgi?id=404980 Change-Id: I04c68f47d9cf3eaea95b0f866beef81f3dc395b5 Signed-off-by: Jaafar Bouayad <jaafar.bouayad@atos.net> Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-01-09Bug 508512 - [Core] respecting maven conventionFrancois Le Fevre4-4/+8
-adding pom.xml -adding the schema in the header enabling to remove the warning in eclipse Change-Id: I8ab35fb6c6a696c5feb44aa5236db1c02e86f08e Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
2017-01-03Bug 509346 - [Facet] Order of loaded facet should be savedBenoit Maggi1-124/+5
- store the facet in an Array - reload the facet order - remove very old commented code Change-Id: I199d824a3cccc8ebee26a139b5ee22648ca47815 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2016-12-06Bug 508515 - [Documentation View] Focus lost when using documentationMickael ADAM1-0/+6
view https://bugs.eclipse.org/bugs/show_bug.cgi?id=508515 Change-Id: Ic1eceef6ec995e150cfc857a1f8bc23eee1cfbf2 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-12-06Bug 508516 - [Model Explorer] Removing profile filter broke the searchMickael ADAM2-2/+28
https://bugs.eclipse.org/bugs/show_bug.cgi?id=508516 - declare filter with extension point instead of use viewer.addFilter() Change-Id: Ibfe02041080c644d89f2649427cffcbba9bda4cc Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-11-18Bug 507610 - [Documentation View] html balise is add at text at simpleMickael ADAM2-6/+9
text mode https://bugs.eclipse.org/bugs/show_bug.cgi?id=507610 - fix the issue - set the synchronized button to enable by default. Change-Id: Ic22d6de67cca6ab047c4ae0294d4545138819c78 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-11-09Bug 500869 - [Widget] Select Element Dialog should be improvedMickael ADAM1-1/+1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=500869 Change-Id: I29e26992c5bf99aaf145d9046254f93964206309 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-11-09Bug 501511 - [Documentation] A new documentation View for UML ElementMickael ADAM24-0/+2418
shall be available. https://bugs.eclipse.org/bugs/show_bug.cgi?id=501511 - Add new Documentation View. Change-Id: Iac879a5eb1e188dd59cd9bcd38d90bf0e756b83f Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-11-03Bug 506506 - [Model Explorer] Filter shall be compliant with RegexMickael ADAM6-1/+65
https://bugs.eclipse.org/bugs/show_bug.cgi?id=506506 - replacement of << and >> by « and » at search field. - Preference available at 'Papyrus > Model Explorer' Change-Id: If73d19941fa4cdef2b8aa2ab937ebe378c30baa0 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-10-24Bug 505907 - [Model Explorer] Expand is failing with Package ImportMickael ADAM9-8/+163
https://bugs.eclipse.org/bugs/show_bug.cgi?id=505907 - Add max expand level preference, set to 15 by default. Change-Id: Ib0068d7176451f9b71bbff05ba47d8d8ec055b70 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-10-06Bug 503038 - [Model Explorer] The validation of search field should beMickael ADAM11-85/+295
improved. https://bugs.eclipse.org/bugs/show_bug.cgi?id=503038 - Add new Model explorer preference for filter field validation: -Live validataion -delay field(ms) -Some refactor to clean Model explorer Preferences. Change-Id: Icead28b694eaed6b5d7c7cad7caac94e9e6e9170 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-10-04Remove not necessary label from message.Mickael ADAM1-1/+0
Change-Id: I47e5207f3abb08bbc3a06945085e637491516880 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-09-30Bug 502003 - [Model Explorer] Expand/Collapse buttons should be work atMickael ADAM6-1/+207
selected element https://bugs.eclipse.org/bugs/show_bug.cgi?id=502003 Change-Id: Ife74540571623e4eacadaca18ba72e6daab63dc6 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-09-28Bug 455241: [Undo/Redo] Deleting an element is not always undo/redo-ableFanch BONNABESSE1-13/+66
via edit menu https://bugs.eclipse.org/bugs/show_bug.cgi?id=455241 Selection of the root element only when the command delete an element. Check if the command is a delete command. Change-Id: Ide547602825d29c7147fa0b0d0b6a9be6946bf16 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-09-09Bug 455241: [Undo/Redo] Deleting an element is not always undo/redo-ableFanch BONNABESSE1-1/+18
via edit menu https://bugs.eclipse.org/bugs/show_bug.cgi?id=455241 Changing the selection when the CommandStack is modified to refresh actions. Change-Id: Ie6057ab600f838d49a0284e4a1e9cdeffdf07a93 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-09-09Bug 499235: [Cleanup] Remove @deprecated handlers on theFanch BONNABESSE7-609/+292
views.modelexplorer plug-in https://bugs.eclipse.org/bugs/show_bug.cgi?id=499235 Remove two handlers. Increase plug-in version 2.0.0 to 3.0.0 (org.eclipse.papyrus.views.modelexplorer) + Rebase (PatchSet8) Change-Id: Ia4b828145118d71524de9c68c3abc418e29342d9 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-09-09Bug 500290 - [Model Explorer] It should be possible to filter elementMickael ADAM5-12/+111
from model https://bugs.eclipse.org/bugs/show_bug.cgi?id=500290 Change-Id: Id15819484b62b69a0f0b686f257d9acfee31e870 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-08-28Bug 443799 - Fix potential bugs identified by FindBugs in oep.infra.*Florian Noyrit14-73/+73
Bug 499554 - Oxygen release version number moved to 3.0.0. Change-Id: I8e112db7175a5b89eb9b37973639627a6c29e007
2016-08-11Bug 497289: [Model Explorer] Renaming an element in the model explorerFanch BONNABESSE9-38/+288
should not open a modal editor https://bugs.eclipse.org/bugs/show_bug.cgi?id=497289 Activation of the DirectEditor configuration on the ModelExplorer view for: - NamedElement - Diagram - Table Add a Preference on "Papyrus > Papyrus Model Explorer > New Child Menu" Change-Id: I760b84ee4b30f8f05ccb6c2f001a4e0f1e82d150 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-08-04Bug 492891: [Table] Link with editor: different behavior of diagrams andNicolas FAUVERGUE1-1/+1
tables https://bugs.eclipse.org/bugs/show_bug.cgi?id=492891 - The owner of table can be modified and the context can't be modified - Add the 'Table', 'Appearance' and 'Paste' tab in properties view when an the table is the current editor This looks to correct other bugs: - Bug 492605 - [Table][Properties][usability] error message "Properties are not available" - Bug 492615 - [Table][usability] inconsistency of properties view N.B: The 'invert axis' button doesn't work correctly, but another gerrit manage it Change-Id: I9d22713e81bf865bc59fbd10a34b270e75aa5037 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-08-02Bug 422927: [Model Explorer] Rename does not work on model explorer, ifFanch BONNABESSE6-355/+346
the diagram have not the focus previously https://bugs.eclipse.org/bugs/show_bug.cgi?id=422927 org.eclipse.papyrus.views.modelexplorer.handler.AbstractCommandHandler is deprecated, modify to org.eclipse.papyrus.infra.ui.command.AbstractCommandHandler on many handlers : - CopyHandler - CutHandler - PasteHandler - DeleteCommandHandler - LoadResourceHandler - UnloadResourceHandler - AbstractImportHandler Change-Id: I655ba0af47051dfef16b92e73b423d7745ba487c Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-05-09[Releng] Fix project configuration problemsChristian W. Damus1-3/+3
Automatic update of project misconfigurations in new and existing projects via Oomph. Change-Id: I42e1b4178017a054ef4741be48c9fe3bf9e7ef31
2016-05-03Bug 492194 - [NewChild] it should be possible to hide NewChildMickael ADAM1-1/+1
contribution https://bugs.eclipse.org/bugs/show_bug.cgi?id=492194 Conflicts: features/papyrus-main-features/org.eclipse.papyrus.infra.ui.feature/feature.xml Change-Id: I8ff8a6324a1d3cd92b774e0cca3c3d21f52591fb Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-05-03Bug 489141: It should be possible to know all references of an elementFanch BONNABESSE1-1/+3
https://bugs.eclipse.org/bugs/show_bug.cgi?id=489141 Adding of the about.html file on the build.properties Change-Id: Ibd924f9d71fd2e6db8c0dd878508393d6602c756 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-05-02Bug 489141: It should be possible to know all references of an elementFanch BONNABESSE3-1/+32
https://bugs.eclipse.org/bugs/show_bug.cgi?id=489141 Adding correction on the manifest.mf file: - Bundle-Vendor - Bundle-Description Adding the about.html file. Change-Id: I589fc59a6b52696c87f95a87562a94e53d559400 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-05-02Bug 489141: It should be possible to know all references of an elementFanch BONNABESSE25-0/+2274
https://bugs.eclipse.org/bugs/show_bug.cgi?id=489141 Adding the view "References" to display elements making references to a selected item. Change-Id: I80d10991f46d6e05a6203ddc2c2cdde05f67418a Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-04-15Bug 463687 - Not possible to see and click-to-navigate to oppositeShuai Li1-28/+1
elements across links in Model Explorer - Add navigation contributor for relationships: * Type of association member ends * Types of directed relationship targets and sources - Add navigation contributor for activity edge: * Target * Source - Add navigation contributor for connector end: * Role * Part with port * Defining end - UI improvements and fixes * Do not show navigation menu after a navigation if Alt hasn't been released once at least * Fix a bug where in the model explorer, we navigate to the selected element, but then we might navigate right away to another hovered over element in some cases - Refactoring * Add generic navigable element from which every navigable element should inherit * Fix some navigable element labels * Remove menu button contributors for source and targets ends under More... Change-Id: Idfcd2d460d44d5f14dfa9ff12c7cf7dd6dde4a71 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2016-04-07Bug 487199 - [NewChild] A action shall be available to deployMickael ADAM1-2/+2
creationMenuModel from project explorer https://bugs.eclipse.org/bugs/show_bug.cgi?id=487199 - Adds deploy/undeploy action on creationmenumodel files. - Adds methods to load/unload folders programmatically. - Tests of deploy/undeploy + test of extension point - update plugin requirement model and update - adds generated images Change-Id: I79ab475a3933f281037754b69fe7b1e3ef56d6c5 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-03-03Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus24-20/+748
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. Damus14-322/+364
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-13Revert "Bug 485220: [Architecture] Provide a more modular architecture ↵Christian W. Damus11-15/+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. Damus11-0/+15
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. Damus129-15215/+1949
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-01-22Bug 485220: [Architecture] Provide a more modular architecture (& builds) ↵Christian W. Damus313-39503/+216
for Papyrus https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Refactor the Properties Model bundles into the Infra Layer. The *.views.properties.model[.edit,.editor] bundles are renamed as *.infra.properties[.edit,.editor]. The packages within are correspondingly renamed. To support upgrade installation, special p2 update metadata tells the p2 engine how these bundles have been renamed, ensuring proper replacement of the old *.views.properties.model* bundles, because otherwise the clash of EMF model registrations would cause run-time errors. The *.views.properties.environment extension point is moved to *.infra.properties.environments. The *.views.properties.context extension point has the <context> element moved to a new *.infra.properties.contexts point. The <preferencePageBinding> element remains. JUnit tests pass, at least inasmuch as they pass in the nightly builds. Change-Id: I6445808f8eb1144b08c0cd5f0a487d1bad229a4c
2016-01-22Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus2-5/+14
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Move UI-dependent APIs from the org.eclipse.papyrus.infra.constraints bundle to a new org.eclipse.papyrus.infra.constraints.ui bundle. Replace usage of ISelection and IStructuredSelection in Constraint and ConstraintEngine API methods with Object and Collection<?>, respectively. Move the ElementTypesPreferences class from the infra.elementtypesconfigurations bundle to a new infra.elementtypesconfigurations.ui bundle. For compatibility, it still persists its data via an `IMemento` in the preferences of the core `infra.elementtypesconfigurations` bundle. It implements a new provider extension interface that allows the core bundle's element-type registry to call out to it to get user-defined element types from the workspace. Move the RuntimeValuesEditionAdviceEditHelperAdvice class and some of its attendants from the infra.elementtypesconfigurations.emf bundle to the new infra.elementtypesconfigurations.ui bundle because it needs to open the EditionDialog to let the user edit objects. Likewise the similar APIs in the infra.extendedtypes bundle, including also the entire providers package for action-providers, with the ExtendedElementTypeActionService class, the IExtendedElementTypeActionProvider interface, and the corresponding extension point namespace. Move the ElementTypeValidator class from the infra.services.edit bundle to a new infra.services.edit.ui bundle. Other fixes for simple inessential UI dependencies and also conflicts in bundle classpaths (such as in the Sequence Diagram particularly) that cause deadlocks in class loading in a complete Papyrus environment, such as the AllTests suite. Factor the UI dependencies out of the infra.onefile bundle into a new infra.onefile.ui bundle. Tests all still pass (inasmuch as they do in the nightly master builds). Change-Id: I43510c84f54c3e0e52cd7d2aa3ca6aca95b894a7
2016-01-22Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus14-129/+27
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Move UI-dependent APIs from the org.eclipse.papyrus.infra.emf bundle to a new org.eclipse.papyrus.infra.ui.emf bundle. Accordingly move tests into a new org.eclipse.papyrus.infra.ui.emf.tests bundle. Now that we have an UI EMF bundle, move the editor-page advices from the infra.ui bundle into it, which is a more appropriate home for them. One UI dependency is removed by reordering of code in the EMFHelper::getEObject(Object) API: * the EMF Facet tree elements are once again IAdaptables, providing their encapsulated EObjects or EReferences as adapters. So, the case handling IAdaptable is moved ahead of the test for is-an-EObject because these tree elements are also EObjects but are not interesting in themselves Also, the dialog-settings for the EMF Facet customization manager are moved into the infra.ui.emf bundle, as is the lazy initialization of the manager from those settings. Clients are refactored to get the customization manager from this new bundle (via a new ProviderHelper API) to ensure this lazy initialization. Various UI-dependent ServiceUtilsForXyz classes that were in the infra.emf bundle but had nothing to do with EMF are moved into the infra.ui bundle. UI-dependent classes from the org.eclipse.papyrus.infra.emf.readonly bundle are moved into the org.eclipse.papyrus.infra.ui.emf, also. These include extraction of the editor reload listener from the ReadOnlyManager class by means of a new general-purpose IReadOnlyManagerProcessor OSGi service interface. Tests all still pass (inasmuch as they do in the nightly master builds). Change-Id: Ieb0993b2ed1a7a49890d3471c7b42bc4f218fec6

Back to the top