Skip to main content
AgeCommit message (Collapse)AuthorFilesLines
2021-09-02Bug 573410: [Toolsmiths] Plug-in builder reports spurious problems in ↵Christian W. Damus2-45/+49
Expansion Models - update the validation to use the ClasspathHelper to support classes in the JDT workspace classpath - add JUnit test coverage Change-Id: Ie6337c57b4a574f7bc47fe07c1d3f8de88deccd4 Signed-off-by: Christian W. Damus <>
2021-07-13Bug 573890: the builder shall informa that ↵Christian W. Damus3-4/+6
org.eclipse.papyrus.infra.gmfdiag.common is needed for the AF - define an annotation to specify additional required bundles for a creation class - apply this annotation in the GMF Diagram representation model to add org.eclipse.papyrus.infra.gmfdiag.common as a dependency (.commands is already inferred from the classConstraint annotation) - add missing classConstraint annotation for creation commands in the table representation model Change-Id: Ib05275445560dcaeadb682846f442ef0d8295b73 Signed-off-by: Christian W. Damus <>
2021-07-13Bug 573656: [Welcome Page] Concurrent Modification issue on Welcome page ↵Christian W. Damus3-19/+10
while generating Element Types for a profile Privileged runnables cannot be run asynchronously, otherwise there is every possibility that the transaction that owns them will no longer be active when the runnable runs. So, instead, create a new read-only transaction in the asynchronous runnable to process the notifications and update the observable property on the UI thread. Change-Id: I35ce6845415d8a90108bca5a1877c7c0b11b747a Signed-off-by: Christian W. Damus <>
2021-07-13Bug 572794: [Properties] Add AbstractSection and regenerate theCamille Letavernier3-0/+11
Properties model - Convert the Properties model from Ecore to UML - Add an AbstractSection; keep the current Section for "XWTSections" - Add tab#allSections, and keep tab#sections as a derived subset for compatibility - Regenerate & fix dependent code (Toolsmith + Runtime) - Add a service to plug different section renderers - Architecture Representations depend on the Constraint model and need to be regenerated - Make redefinedProperties non-derived to be more consistent with how the code was previously generated Change-Id: Ib02784508d6924415d82ff76c5c78c4a4d3cb95e Signed-off-by: Camille Letavernier <> Also-by: Christian W. Damus <> Signed-off-by: Christian W. Damus <>
2021-06-01Bug 573807 - [Core] Cannot close modified modelAnsgar Radermacher2-7/+10
- Verify that a shell is not disposed, before asking for its display. Signed-off-by: Ansgar Radermacher <> Change-Id: Id88e07e33782578304a55574805d56be4a1a14a4
2021-04-30Bug 572712: [NewChild] Creation menu edit providers do not support child ↵Christian W. Damus27-20/+165
creation extenders - add an indirection filter to enable sharing filters amongst constraint rules in Element Creation Menu models, Modeling Assistant models, and other dependent models - also with the option to own the filter to access child creation extenders - incorporate operator into label of compound filters for clarity - regenerate dependent models' EMF.Edit plug-ins, cleaning out creation icons where possible Change-Id: I0846b7e47180e381f0774e1858e6b51c53b74d3d Signed-off-by: Christian W. Damus <>
2021-04-30Bug 570486: [Architecture] Architecture model shall clearly define merge and ↵Christian W. Damus1-3/+6
inherit concepts - implement new architecture domain merger with support for legacy algorithm - update ArchitectureDomainManager and ArchitectureDomainMerger to be safe in concurrent access from the ArchitectureIndex - adapt look-up of creation and conversion command classes to trace the class name to the source architecture model for the most appropriate bundle context - update Architecture View to use the public merged model API - adapt old merge tests to use new API - add more test coverage of legacy merge - test coverage of legacy merge mixed with explicit extensions - test coverage for mixing context inheritance with context extension - improve test coverage of the Merged Architecture façade API - update documentation to describe new inheritance and extension concepts, and the merge algorithm - add tracing options for analysis of run-time problems in architecture merge Change-Id: I939d252e7ccdcc55ec81e54ba2b9677616d2d488 Signed-off-by: Christian W. Damus <>
2021-04-28Bug 571125: [Toolsmith] Improve icon validation for toolsmith validationChristian W. Damus2-3/+8
- unify validation of icons referenced by model elements - covers opaque resources of all kinds, not just icons: e.g., creation/conversion command classes in Architecture models - covers resources referenced from model files and from plugin.xml - add calculation of required bundle dependencies from command-class features that are constrained to implement some interface, the bundle providing that interface type being a required dependency. This helps to diagnose problems in resolving commands when the JDT classpath of the architecture bundle does not include the required interface Change-Id: I70db66a448d13cd989da3aeb51b54d2995d273b6 Signed-off-by: Christian W. Damus <>
2021-04-14Bug 570716: [Tests] Fix Modeling Assistant test failuresChristian W. Damus1-3/+4
Fix modeling assistant test failures in the nightly build. These did actually signal a bug affecting normal Papyrus editing functionality: drawing out a connection handle to create new elements did not suggest any connection types from the assistants model. Change-Id: Ifeba21644f67baf592e8ebbc702e330d35ced17c Signed-off-by: Christian W. Damus <>
2021-03-29Bug 570856: [Toolsmiths][AF] Improve messages for command-class constraintsChristian W. Damus6-12/+126
- introduce custom messages for problems in the command class attributes - includes a second step to distinguish diagnosis of missing class versus a class that doesn't implement the expected protocol - requires generation of the plug-in class for the Papyrus Representation model - update existing JUnit tests to accommodate new diagnostic messages Change-Id: I351466b561700fdcda68d23b1385821d4d8fc1a9 Signed-off-by: Christian W. Damus <>
2021-03-26Bug 570097: [Toolsmiths] Architecture Domains: Validation BuilderVincent Lorenzo2-47/+51
- give the Architecture Model Editor access to packages registered in the workspace - support references to locally loaded element type configurations in the palette configuration editor Enhancements to common plug-in builder framework: - support checking for cross-referenced resources in the - look up packages in the resource set's registry, not the shared instance (because Architecture Models are loaded in a resource set with workspace packages) - support loading resources to be validated in a resource set with a custom package registry (again for Architecture Models) - initial Architecture plug-in builder at parity (plus a bit) with the menu action Fix problems found in test development: - workspace-aware package registry doesn't get dynamic EPackages - dependency checking doesn't check for bundle containing referenced icon - custom model checker supertypes checking doesn't cross EPackage boundary - missing check for reference icons' existence - fix Architecture view to update when preferences are changed, especially to show contexts registered from models in the workspace - fix the ArchitectureDomainManager API to report all registered model URIs, including from preferences (used by Architecture view and Load Resource dialog in the Architecture Model Editor) Add validation of icon resources in Element Types Configurations models as was done for Architecture Context models. Change-Id: Ibe62c9f775049197d9f4a1e7d5c582bdf7e67040 Signed-off-by: Christian W. Damus <> Also-by: Vincent Lorenzo <>
2021-03-24Bug 568782: [Toolsmiths - ElementTypes] Allow specification of ↵Christian W. Damus1-3/+3
AdviceBindingConfiguration as children of ElementTypes - address code review comment - fix test case being lost in code generation - set proper name on custom test case so that it runs - fix stand-alone (Eclipse-free) execution of tests - ensure that existing models that now will violate the apply_to_all_types constraint will still load at run-time - log warnings from validation, not just errors, and consolidate into a single log event - regenerate the Element Types Configurations Editor for live validation support - fix Papyrus's own types models to comply with the apply_to_all_types constraint - account for platform:/resource URIs in the ClassLoaderHelper Signed-off-by: Christian W. Damus <> Change-Id: I0fbcb69c2cd63f504bec138fa51cd20e9a803208
2021-03-09Bug 570177 - [Releng] Update for 2021-03 RC1Quentin Le Menez25-33/+105
- Update maven plugin versions - Remove the jboss mecanism (not necessary anymore) - Add guava dependency plugin to paliate the API loss - Add missing @since tags - Add API filters because... reasons Change-Id: If0b5cb48172eed2e2079d38f1cc0c2a61fbaca1d Signed-off-by: Quentin Le Menez <>
2021-02-19Bug 571334: [Diagram][CleanUp] Clean code for UML DiagramsVincent Lorenzo204-961/+1256
- update classpath (just to be sure) - reapply papyrus code template, formatter and clean up - format code - organize import - clean up Signed-off-by: Vincent Lorenzo <> Change-Id: Idb393d172a2ef0425339e7b3714f8a71a599ed09
2021-01-26Bug 539694: The Architecture models raises bad errorsChristian W. Damus6-33/+36
- new ClasspathHelper utility to search for classes on the JDT workspace classpath - reimplement "class exists" constraints using the ClasspathHelper - requires passing information about class types down the plug-in dependency graph, which is done by annotation of the command-class attributes in the Ecore models Change-Id: Ieba2cd42ce3169be4f146ad883ef2eaf88f0cf63 Signed-off-by: Christian W. Damus <>
2020-11-26Bug 569128 - Menu contribution "CSS Theme" from Papyrus is too visibleFlorian NOYRIT1-18/+32
- Added a condition to the "CSS Theme" menu contribution to make it visible only for CSS files
2020-11-09Bug 564770 - [Releng] Migrate to Java 11 and 2020-12 trainQuentin Le Menez127-406/+1354
- 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 <> Also-by: Vincent Lorenzo <> Also-by: Patrick Tessier <>
2020-11-09Bug 565020: Remove all reexported dependenciesVincent Lorenzo86-610/+818
- 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 <>
2020-10-27Bug 568307 Deadlock while updating the welcome pagejeremie.tatibouet1-6/+6
Change-Id: Iaa40409bdc7e6d3a8820a8d6162dbd4f96cd8d06 Signed-off-by: jeremie.tatibouet <>
2020-08-03Bug 565784 - In UISafeAdapter Display.syncExec() is unnecessary and causes ↵Eike Stepper1-7/+7
deadlock when used with CDO I change syncExec() to asyncExec(). Change-Id: Ia50d3b29d6e89e3d9eee566fe32fdadf83cf0812 Signed-off-by: Eike Stepper <>
2020-06-19Bug 564461: [Git] Remove all files api_filtersVincent Lorenzo1-43/+0
Change-Id: I5e65c6e8da29fdfe4e25b628ebfe9d6eb47bc2df Signed-off-by: Vincent Lorenzo <>
2020-06-05Bug 562935 - Migration to GMF Notation 1.13.0Florian NOYRIT39-215/+194
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 to Updated the copy of the notation metamodel in to the new 1.10.0 metamodel Fixed some building issues in tests Change-Id: I9bb53de2558b67076f6fa423da522bdcedeb794b Signed-off-by: Florian NOYRIT <>
2020-06-02Bug 563126 - Edge creation in activity diagram is so slowRemi Schnekenburger1-63/+110
- add cache mechanism to avoid computing too many times the same result for no changes. Change-Id: I5aa1f9829cd02ae7f35b8ecad2c6e4b8d08cb0a2 Signed-off-by: Remi Schnekenburger <>
2020-05-28Bug 563330: [Performances] Retrieving the Label Icon for a Part is veryCamille Letavernier2-2/+2
expensive Change-Id: Ib2a1632c2e8d750e25bde753f9c26f994b142272 Signed-off-by: Camille Letavernier <>
2020-03-03Bug 560644: [Diagram] Papyrus API must provide a way to get easily the ↵Vincent Lorenzo3-3/+26
kindId of a diagram Change-Id: Icbe8b3c1635ccb52447e3ec7267efe376e633fb7 Signed-off-by: Vincent Lorenzo <>
2020-02-18Bug 560219: [Diagram][Table][AF] The abstract class ViewPrototype must allow ↵Vincent Lorenzo4-7/+22
to instanciate a view without open it Change-Id: I5da6139c1a60fcb1eb5be3eec57b9cab76767e64 Signed-off-by: Vincent Lorenzo <>
2019-10-11Bug 551057: [Core] Save options changed for notation with bug 549015Vincent Lorenzo2-1/+17
Change-Id: If7ab86a67f0afb014502896519084b31265282ee Signed-off-by: Vincent Lorenzo <>
2019-09-18Bug 550568: [AF] The diagrams and tables icons of disabled viewpointNicolas FAUVERGUE30-71/+184
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 <>
2019-08-07Bug 549266 - [Releng] Update the platforms4.5.0_M2Quentin Le Menez18-38/+38
- 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 <>
2019-08-06Bug 549266 - [Releng] Guava 27.1 compatibility patchQuentin Le Menez2-24/+27
- Add guava Futures compilation corrections (addCallback, transform, transformAsync) Change-Id: I236e3ba5cf9f4068168f5203688e99ac00fde4e8 Signed-off-by: Quentin Le Menez <>
2019-07-08Bug 549015 - [Resources] Notation file is not managed as shared resourceNicolas FAUVERGUE1-5/+15
Change the notation model hierarchy to get this as shared model. Change-Id: I0ad6fc087cc88db5d8de58c857b85bc8aa024751 Signed-off-by: Nicolas FAUVERGUE <>
2019-06-28Bug 548758 - [CSS] The CSSDiagram should provide a createEngine methodPauline DEVILLE1-3/+12
to ease override Change-Id: I39358c28a2f71764a674fd08dbe3e2eeddaa3bd8 Signed-off-by: Pauline DEVILLE <>
2019-06-12Bug 545631 - [Releng] Update the targets for 2019-06 RC24.4.0_RC2Quentin Le Menez9-15/+15
- 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 <>
2019-06-05Bug 547950: [Diagram][Export All Diagram] Common Bendpoint calculus fails ↵Vincent Lorenzo3-24/+29
during the export as image - fix the NPE Change-Id: I8ad4304c1aa2117361e733b854d124c4b29193c8 Signed-off-by: Vincent Lorenzo <>
2019-05-06Bug 543723: [Performances] Improve the ClassLoaderHelperCamille Letavernier2-3/+5 - Add a context URI or Bundle to all methods in ClassLoaderHelper - The context is used to find the most appropriate bundle to load the given class, to avoid relying on a very expensive Eclipse Buddy Policy Change-Id: Ia3c7cc86397643ff3fad634391dce68e5d509d4c Signed-off-by: Camille Letavernier <>
2019-04-12Bug 482587 - Creating a diagram does not mark model as dirty and model is ↵Ansgar Radermacher1-18/+17
not possible to save - Pass by command stack instead of executing it on the local history - Reset the owner in case of undo. Otherwise the diagram is still shown in the model explorer (but can't be opened) Signed-off-by: Ansgar Radermacher <>
2019-02-19Bug 544547: [CDO] Replace CSSDiagramImpl by CSSDiagram in ↵Vincent Lorenzo15-64/+78
oep.infra.gmfdiag.css, to avoid a ClassCastException Change-Id: I06dc69439a4d4d88b2b66047b5f40c1cf1ceb9fe Signed-off-by: Vincent Lorenzo <>
2019-02-13Bug 542518 - [Diagram] Creation of a diagram inside an element and dropping ↵Quentin Le Menez1-8/+19
associations inside - Cleaning the conditions Change-Id: I238b4d3da42b6c6e36b3cae562040a77b39fd37c Signed-off-by: Quentin Le Menez <>
2019-01-27Bug 541686 - Multiple clients and suppliers in edges after copy-pasteAnsgar Radermacher2-6/+8
- Remove copy-references from DiagramPasteStrategy (duplicate, since already in defaultPasteStrategy) - Fix typo in DefaultPasteCommand - Add new test UMLCopyTestME. Similar to existing copy test, but based on copier command in model explorer (including additional strategies and not only the copier itself) Signed-off-by: Ansgar Radermacher <> Change-Id: Ia786713a069fb69fd24e520466e4021cc6ea0c20
2019-01-18Bug 542759: Fix architecture provider to take active viewpoints intoCamille Letavernier1-1/+3
account Change-Id: I11212c02f844a27428b68882c1408330f2a75a7e Signed-off-by: Camille Letavernier <>
2019-01-09Bug 542518 - [Diagram] Creation of a diagram inside an element and dropping ↵Quentin Le Menez3-4/+8
associations inside - Added a check on the editPart to verify that it is not a Diagram Change-Id: I50f0f26fac164335368d5c3577f8c33b620b41f6 Signed-off-by: Quentin Le Menez <>
2018-11-30Bug 533667: the nameNicolas FAUVERGUE4-10/+35
/plugins/infra/gmfdiag/org.eclipse.papyrus.extensionpoints.editors do not respect the layer - Manage the old DirectEditor extension point in the new plugin - Manage the new plugin with java 1.8 Change-Id: Id84de1e7a3b41442a443e2807cafa9df6717481c Signed-off-by: Nicolas FAUVERGUE <>
2018-11-29Bug 541590: [Modeling Assistant] Remove the generation of the cache adapter ↵Vincent Lorenzo15-167/+96
method in the Modeling assistant framework Change-Id: Iff17567a39b60c91cea97b82ae61c9bd8e51abe9 Signed-off-by: Vincent Lorenzo <>
2018-11-27Bug 540879: [Properties] Clean code of Observable and neighbours classesVincent Lorenzo8-8/+39
- 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 <>
2018-11-22Bug 539022 - [Releng] Update the API references for version management toolsQuentin Le Menez7-182/+308
- Add missing APIAnalysisNature - Add missing VersionNature - Add missing settings files - regenerate the API baseline Change-Id: I4088d2998402cc10067ee6c85f6a1763d574d28c Signed-off-by: Quentin Le Menez <>
2018-11-19Bug 533667: the nameNicolas FAUVERGUE84-3130/+5226
/plugins/infra/gmfdiag/org.eclipse.papyrus.extensionpoints.editors do not respect the layer Keep the old plugin "org.eclipse.papyrus.extensionpoints.editors" and create the new one "org.eclipse.papyrusinfra.gmfdiag.extensionpoints.editors". The old classes inherit from the new ones. Change-Id: I98230776a03ab0c8a1f37e06790d50ad6af0077d Signed-off-by: Nicolas FAUVERGUE <>
2018-11-12Bug 541029 - [Depreacted] Set duplicated classes as deprecated in ↵Vincent Lorenzo6-13/+43
org.eclipse.papyrus.infra.gmfdiag.tooling.runtime - add the @Deprecated annotation - update the minor fo the plugin (required to be able to write since when the classes are deprecated) Change-Id: Ifdd261a4bee4590d3d97421efc3548ba7bad704f Signed-off-by: Vincent Lorenzo <>
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 <>
2018-10-19Bug 539754 - [Customization] Improve error messagesAnsgar Radermacher2-24/+23
- Add error messages - Use ClassLoaderHelper instead of directly using bundle.loadClass. Signed-off-by: Ansgar Radermacher <>
2018-10-19Bug 536486 - [Sequence Diagram] Duration/time constraint & Duration/timeNicolas FAUVERGUE2-26/+55
observation and general ordering - Manage Duration/Time constraint, Duration/Time observation and GeneralOrdering Change-Id: Ice6a31e9b4bb1e757378494a62a2714d775f47dd Signed-off-by: Nicolas FAUVERGUE <>

Back to the top