Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-11-09Bug 564770 - [Releng] Migrate to Java 11 and 2020-12 trainQuentin Le Menez3-10/+32
- second pass on the manifests, classpath and settings files for java 11 compliance - corrected missing manifest dependencies - seems to be a problem with the uml.tests.suite getting stuck Change-Id: I225f06da4f854f1b86fa1361fcc2a8e2fd3f0231 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr> Also-by: Vincent Lorenzo <vincent.lorenzo@cea.fr> Also-by: Patrick Tessier <patrick.tessier@cea.fr>
2020-11-09Bug 565020: Remove all reexported dependenciesVincent Lorenzo2-16/+35
- update pom version - update manifest project version - remove all re-export - add all missing required dependencies (with developped tooling + add many others required handly) - remove the optional attribute (and maybe others) - update target platform - fix 2 features verify manually: - infra.architecture - infra.constraints - infra.core - infra.emf.expression - infra.emf - facet.editor - facet make in ignore org.eclipse.papyrus.uml.decoratormodel.internal.resource.tests.DecoratorModelIndexTest.decoratorModelsForPackage_none() Change-Id: Id83401c9c46ab360214407572c4d5bd35cb8c03e Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2020-06-05Bug 562935 - Migration to GMF Notation 1.13.0Florian NOYRIT5-145/+143
Migrate dependencies to org.eclipse.gmf.runtime.notation to [1.10.0,2.0.0) Migrate dependencies to org.eclipse.gmf.runtime.notation.edit to [1.8.0,2.0.0) Changed all occurences of http://www.eclipse.org/gmf/runtime/1.0.2/notation to http://www.eclipse.org/gmf/runtime/1.0.3/notation Updated the copy of the notation metamodel in oep.infra.gmfdiag.properties/model to the new 1.10.0 metamodel Fixed some building issues in tests Change-Id: I9bb53de2558b67076f6fa423da522bdcedeb794b Signed-off-by: Florian NOYRIT <florian.noyrit@cea.fr>
2019-09-18Bug 550568: [AF] The diagrams and tables icons of disabled viewpointNicolas FAUVERGUE3-14/+23
should be grayed - Add grayed icon into the architecture framework - Create the grayed icons for diagrams and tables - Manage the view prototype display in: - Model Explorer - Welcome page - Table of views - Properties views Change-Id: I3301e9d17cb12c5ca59f2175b5cb0b86e6733917 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2019-08-07Bug 549266 - [Releng] Update the platforms4.5.0_M2Quentin Le Menez2-4/+4
- Update to new M2 references - Update to 27.1.0 guava - Update versions to reflect the bree change Change-Id: I2896aaba6a887f30cef2c6f0c4e23ae3c0f548d0 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2019-06-12Bug 545631 - [Releng] Update the targets for 2019-06 RC24.4.0_RC2Quentin Le Menez1-1/+1
- Add a strong dependency to guava 21 to avoid compiling against 27.1.0 in orbit - Rewire xwt dependency to the new milestone Change-Id: I54f2f76414b34acd186c2adfe6ce529b44f5c231 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-11-27Bug 540879: [Properties] Clean code of Observable and neighbours classesVincent Lorenzo2-0/+29
- oep.infra.emf.appearance plugin now use java 1.8 - fix some pom.xml files - add some non-nls marker - remove some possible NPE Change-Id: I68ad6b1384871438979c101dcc85b3f79994f9fd Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-11-09Bug 515967: [Label Customization] Available label custo not alwaysNicolas FAUVERGUE1-1/+1
coherent with selected element Manage the refresh of the checkboxes depending to the selection. Change-Id: Id8c7c8a25ad85e91b453248eace76f11e69c66ed Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-08-22Bug 537653 - [EPL] Update jdt.ui filesQuentin Le Menez1-1/+1
- amended the org.eclipse.jdt.ui.prefs for the new EPL2.0 license Change-Id: Ibcbef74918057bfa7ac94d341a33ec2f192f1a81 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-22Bug 537653 - [EPL] update about.html filesQuentin Le Menez1-3/+3
- move the about.html files license to the new EPL2.0 - set the correct date on the license Change-Id: Id05bd8e8332e184150df4c8523d45b8840e7941a Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-08-21Bug 537653 - [EPL] Update java files headersQuentin Le Menez43-86/+172
- replaced the reference in the java files headers - added the SPDX-License-Identifier Change-Id: Ia376515730e2430e8671c2b5c66f7b510894e5c6 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-07-04Bug 535808: [DevTools] Apply Cleanup & Format on saveCamille Letavernier2-0/+65
https://bugs.eclipse.org/bugs/show_bug.cgi?id=535808 - Propagate the new preferences to all projects Change-Id: I0e70c1c4a5d14a24c2d92371c27dad085e9aa2d3 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-06-29Bug 500442: Tab named 'Advance' in properties viewNicolas FAUVERGUE1-1/+1
Rename the tab 'Advanced' instead of 'Advance' Change-Id: I5ea86fc944e6e0abba8fb4133dd68db1b775b793 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-06-29Bug 535713: [ActivityDiagram] JoinNode and ForkNode properties view haveNicolas FAUVERGUE1-1/+2
2 Appearance tab Manage the appearance tab with the properties framework. Change-Id: Ib31c5947d5237b769bb0bdb88bd0f31174543b07 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-05-31Bug 532101: [AFViewpoints] Make AF editor fasterMaged Elaasar2-4/+4
Bug 532104: [AFViewpoints] Transform your Workspace reference to platform reference - Simplified the AF model wizard by defaulting the root to be Architecture Domain. - Extended the Load Resource action in the AF editor to allow loading AF models from the running platfom. - Added a Resolve All action that can be used on any object in the editor to quickly resolve related references. This can be used on a loaded AF model (from workspace or running platform) to also load its dependencies like elementtypeconfigurtion and palleteconfiguration files. - Made the architecture, elementtypesetconfigurtion, nattableconfiguration, and paletteconfiguration resources extend of a common base class that supports default load/save options. This base class also makes the cross references persist using platform:/platform URIs but upon load, they may resolve to platform:/resource if the resource is available in the workspace. - Refactored uml.architecture, all the elementtypeconfiguration, all palletteconfiguration, and all nattableconfiguration models by changing their cross references to platform:/plugin URI format. - Fixed PasteEObjectConfigurationItemProvider to make the containment reference axisIdentifier show in the editor/property sheet as a containment reference (was necessary to convert its cross references properly) Change-Id: I69b82f53670cbb81e9117ce82c61d7c898080c93 Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2018-05-28Bug 535209 - [Quality] Remove unused import/variable warningBenoit Maggi1-1/+0
- fix unused import - move example code from src to src-gen - remove unused variable Change-Id: Ic2d49c57277cc08f1b53027876b4ceab1bea515d Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2018-05-28Bug 535185 - Add Automatic-Module-Name header for Java 9 compatibilityBenoit Maggi1-0/+1
- add Automatic-Module-Name with the same value as Bundle-SymbolicName in all Manifest.MF - quality fix : remove unused import Change-Id: Icd3e4376bc9e61e360ac61522b967a088a248480 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2018-04-19Bug 527664 - [AFViewpoints] Architecture Model Editor removeMaged Elaasar1-1/+4
CreationCommandClass property value Converted the Creation/ConversionCommandClass properties in the architecture editor to be of type string instead of Class. They can now reference class names from the workspace (on their project's class path). Also added validation rules for that. Finally, I added a Browse... button in the property sheet to help put values for them. remove some reexport increase version to take in account API tool Change-Id: I6792449fbee70b089f83780c4935242fff72d50b Signed-off-by: Maged Elaasar <melaasar@gmail.com>
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 Menez28-3263/+3263
- 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-11-27[Quality] Replace enterprise id by nameBenoit Maggi2-2/+2
Replace/by VL222926/Vincent Lorenzo PT202707/Patrick Tessier QL238289/Quentin Le Menez RS211865/Remi Schnekenburger AC221913/Arnaud Cuccuru JC236769/Juan Cadavid Change-Id: I2f3311671289d81c93ab12b74b9cb1940618b3ee Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-09-21Bug 521754 - [Diagram] displayed label for custom connection decorationMickael ADAM2-2/+68
should be different that its name. https://bugs.eclipse.org/bugs/show_bug.cgi?id=521754 Change-Id: I9dc52e104a79f197e5407e79871858453e04cff4 Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>
2017-09-06Bug 521572 - [General] Various cleanupsPierre GAUTIER1-3/+2
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-3/+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-29Bug 515661 - [Diagram] Graphical direction on connectorsMickael ADAM4-942/+1042
https://bugs.eclipse.org/bugs/show_bug.cgi?id=515661 Change-Id: Icdf68c95c9da7991b711b963363a4f6f51f7fd0c Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>
2017-08-29Bug 520271 - [Property View] Generator should ignore redefined properties.Vincent Lorenzo2-4/+5
Change-Id: I5d73f2441ff5e23f937ab155488cf29fb249a65c Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-06-08Bug 517212: [Properties View] Context files name in preferences shouldNicolas FAUVERGUE1-101/+101
be harmonized https://bugs.eclipse.org/bugs/show_bug.cgi?id=517212 - Modify the label of needed context file to get a better 'properties view' preference view. Change-Id: I2ad5cf39346f4e894d43d07eb80d2e39969811f3 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2017-06-06Bug 516901 - Replaced references to Architecture model elements by theirMaged Elaasar2-6/+7
unique ids instead. This will avoid such elements being loaded in user model resource sets. Also, refactored the Architecture metamodel by moving the id and icon attributes to ADElement so that all elements in the model have them. This also include refactoring of the uml.architecture model to give ids to various diagrams and tables. Also, changed the UMLDiagramReconciler_1_3 to put the diagramKindId attribute instead of the diagramKind reference in the PapyrusDiagramStyle. Also, change the UMLTableReconciler_1_3 to a) test the proxy URI of the old prototype instead of name (since the legacy viewpoint configuration models were deleted earlier resulting in proxies) and to set the tableKindId instead of changing the prototype (which is now deprecated). Change-Id: I99413c1dd6daeaf395fc8c70b8b7ed2e0573acd1 Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2017-05-09[releng] Update plugin version for Oxygen releaseFlorian Noyrit1-0/+1
- Update plugin version numbers using Neon.3 as baseline - Add appropriate @since annotations to non-generated code Change-Id: I731bd059466c0caa4b5e0bf0576f0ff5d31f8967
2017-04-19Bug 515459: [Diagram] ServiceRegistryExceptions logged when undoing creation ↵Christian W. Damus1-5/+18
of a diagram Do not attempt to get the label-provider service from a deleted object because there would be none forthcoming and it will not be usefully used, anyways. https://bugs.eclipse.org/bugs/show_bug.cgi?id=515459 Change-Id: I57a943616d16ba8bee55e8758e46d25667e8db62
2017-04-06Bug 514332 - Papyrus should never reexport non-singleton pluginsBenoit Maggi1-0/+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-04-05Bug 491816: [Diagram] Grid preferences should be embedded in theFanch BONNABESSE3-40/+143
notation file for each diagram to avoid a real bad display sharing Papyrus model https://bugs.eclipse.org/bugs/show_bug.cgi?id=491816 Add the "Rulers and Grid" informations to the notation file. Change-Id: I76541b03c008be2d44091ddbcce4573ee88f9c06 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2017-03-30[releng] Update plugins and feature version numbers for Oxygen withFlorian Noyrit1-20/+20
Neon.3 as baseline Change-Id: Icb3b699de6846ce60370a1fedc169e1df741ace2
2017-03-13Bug 510451 - Reimplement the ISO42010 specification to properly supportMaged Elaasar5-104/+105
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>
2016-12-01Bug 508454 - Change the priority for the "General" tab to make it appearFlorian Noyrit1-711/+711
before the "Style" tab. Change-Id: Icf33ed0126c7601c297a91cc31ab085cbfaff8f0
2016-11-29Bug 496905: [Diagram][ModelExplorer][Table][Dialog] Papyrus must integrateNicolas FAUVERGUE4-6/+239
the internationalization feature provided by UML. https://bugs.eclipse.org/bugs/show_bug.cgi?id=496905 Commit of infra for internationalization. Change-Id: I1b1859bf111e1ef7a7522212fbe639cf2bd13890 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-08-28Bug 443799 - Fix potential bugs identified by FindBugs in oep.infra.*Florian Noyrit3-15/+15
Bug 499554 - Oxygen release version number moved to 3.0.0. Change-Id: I8e112db7175a5b89eb9b37973639627a6c29e007
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-05-20Bug 494172: [Properties View] The Advanced Notation properties viewCamille Letavernier2-4/+5
doesn't work for standard installations https://bugs.eclipse.org/bugs/show_bug.cgi?id=494172 Change-Id: I9810f25e64b4b6ca63a46402cbc4d615e51b5a7d Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2016-04-28Bug 465297 - [Property view] New properties from generic shape shall beMickael ADAM13-77/+1014
add to appearance tab https://bugs.eclipse.org/bugs/show_bug.cgi?id=465297 Change-Id: I130a235fcd1d189c9971c22545b4d996a94f1fc7 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-03-03Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus4-4/+108
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-54/+50
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. 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. Damus174-4219/+4241
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. Damus12-15/+15
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. Damus1-3/+5
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. Damus1-1/+2
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
2016-01-22Bug 481830: [All Diagrams - Generation] Initializing GMF Preferences from ↵Christian W. Damus1-1/+1
the Bundle's Activator may cause Deadlocks https://bugs.eclipse.org/bugs/show_bug.cgi?id=481830 Ensure that the loading of constraint classes by the properties ConfigurationManager does not, of itself, trigger lazy bundle activation.
2015-11-26Bug 482927: [Properties] Customization context models should have UI labelsChristian W. Damus3-1643/+1643
https://bugs.eclipse.org/bugs/show_bug.cgi?id=482927 Add an optional 'label' attribute to the Context class and a derived 'userLabel' that is the 'label' if present, otherwise the 'name'. Use the new derived user label wherever appropriate in the UI: in progress monitors, informational dialogs, and especially the preference pages. In the "Property view" preference page, sort contexts by user label. Update existing context models to provide user-friendly labels.

Back to the top