Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
3 daysBug 575999 - [Releng] Update target platform for 2021-09 releaseHEADmasterPauline DEVILLE11-129/+136
Change-Id: I0145b028171cfc1d9f8ac8fa27044e15255aee35 Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
5 daysBug 574094: [Toolsmiths - Properties Editor] Unmodified XWT files are ↵Christian W. Damus2-50/+93
saved/reformatted The mechanism of trying to create an output stream to test for writability of a resource truncates the resource to 0 bytes, after which it is (usually) saved again with full content. But that defeats EMF's save-only-if-modified-by-memory-buffer strategy. Instead, give the editing domain specific knowledge of ppe: URI scheme and use heuristics supported by EMF (including URI schemes and URIConverter) to test for real read-only condition and also, while saving, provide ephemeral read-only state for resources that are not modified. This prevents unmodified but otherwise writable XWT resources being saved again with slightly rearranged but otherwise identical content. Change-Id: I0df7e37847df85eb5a0f84f9b1feae7020170be8 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
10 daysBug 575725: [Toolsmiths] Models leak in PluginCheckerBuilderChristian W. Damus1-20/+55
- ensure that models loaded by the builder are unloaded when finished Change-Id: I4536f6e15ae85caf2cf32875031a3a792e9aa427 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-09-02Bug 573410: [Toolsmiths] Plug-in builder reports spurious problems in ↵Christian W. Damus36-46/+2176
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 <give.a.damus@gmail.com>
2021-09-02Bug 574592: [Profiles] Do not prompt to define a static profileChristian W. Damus5-22/+193
- check whether the profile has a GenModel that imports it, restricting the search to the most common case of same-named file in the same directory - fix up some UI strings - externalize all strings in the pre-save listener Change-Id: I6433e69f1881f0867ca67388700644fd4edabde5 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-09-02Bug 569105: [Toolsmiths] The "Remove Reexport" quickfix may create invalid ↵Christian W. Damus3-64/+77
Manifest directives - do not add a null value for a header attribute/directive that was not present Change-Id: I36872c7803730655e48a62c4dc72c5383aa2b7c5 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-08-30Bug 574690: [Toolsmiths - Quickfixes] Add folder to build.properties should ↵Christian W. Damus3-2/+122
ignore nested folders - update the quick fix to add the topmost folder to the build, not the immediate container of the file Change-Id: Ie9a4813945066ae0666cdd77053393b1be2aff6e Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-08-30Bug 573888: the papyrus builder raises an error on the profile referenced in ↵Christian W. Damus4-0/+123
the AF - ensure that package/profile registrations on the EMF and UML2 extension points that use platform:/plugin URIs are resolved into the workspace where applicable Change-Id: I859ff15a80cfc5cc4fab9168657f7ad9503ad792 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-08-30Bug 573042: Spurious indexingChristian W. Damus2-2/+42
- do not index derived resources in the workspace Change-Id: Iefde5547bf8722d73d0f3707ec1d07fcccd7ab88 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-08-25Bug 573886: An incorrectly completed NS URI can make the AF wobblyChristian W. Damus14-11/+357
- add a custom Profile validation rule checking for relative URIs Change-Id: I629400f6001ab860544b7d80b940810345ab682b Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-08-25Bug 575376: [Toolsmiths - Builder] Duplicate markers for Manifest validationChristian W. Damus7-35/+107
- define a new Java Problem Marker subtype for Papyrus plug-in problems to avoid interference with Java problems - implement the clean step in all Papyrus builders Change-Id: Idbd705494884f821d5a561a281325b421641d575 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-08-25Bug 573988: [Toolsmiths] Fix some Facet-customizations in the PropertiesCamille Letavernier17-200/+777
Editor - Replace the long-deprecated EMF Facet 1.x query sets used by the Properties Editor (Customization.ctx) with JavaQueries, to fix all dynamic sections used in the Properties Editor Change-Id: Ieb19878c8e91645e83eb73378ee0dceb26f386c3 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2021-08-25Bug 573245: [Toolsmiths] Remove plug-in validation context menu actionsChristian W. Damus29-792/+106
- remove the plug-in extensions for the menu actions and supporting bits such as expression property testers - remove internal APIs used by the menu actions - deprecate public APIs that were only used by the menu actions, reimplemented by delegation to project build - adjust JUnit test cases to account for these changes - update the documentation guide for the plug-in validation to remove references to the menu actions Change-Id: I9426d011c4b0140d776a6b7dd2761e6a01b5e8de Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-08-25Bug 573987: [Toolsmiths] Properties Editor improvements (Perspective, Toolbar)Christian W. Damus28-385/+989
- open the editor on completion of the new properties context wizard - remove toggle action for showing data contexts - filter out inapplicable child/sibling creation actions for virtual nodes in the editor tree - add preference for action to take on opening the Context Editor - fix the tracking of state of the Preview View toggle button - compute initial generator and source model in the wizard from the current workbench selection, where applicable Change-Id: I20f40f34bc71ac6ea1b885aed6f5118ee97132ec Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-08-25Bug 573788: [Toolsmiths] Generic representation clean-up adviceChristian W. Damus40-43/+1204
- create a generic representation (view) deletion advice that works with any user-defined representation kind - add a context menu action to the Architecture Model that adds this advice to an architecture context - add a custom toolsmiths validation warning for architecture contexts that do not reference, inherit, or get by extension this new advice, unless the context is an extension of other contexts - add a bit of documentation about quick fix APIs Change-Id: I58ce20d7d9654d5c5204a7a01c505d143a0328af Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-08-10Bug 575220: [Toolsmiths - Validation] Incorrect quickfix(es) for the ↵Christian W. Damus2-19/+82
org.eclipse.uml2.uml.generated_package, when using nested profiles - actually reuse UML2's algorithm for auto-generating the package URI - find the GenPackage corresponding to the profile NS URI to get the correct qualified Java interface name to register on the extension point Change-Id: I511e4f11220dbc85c21aecf53a6d6482acbda077 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-08-09Bug 575205: [Core, model indexer] Race condition workspace model indexerChristian W. Damus6-203/+732
- do not use JobManager::join to wait for idle state of indexing - aggregate after-index computations onto a single job to avoid flooding the JobManager with tiny JobBasedFutures - add new listener mechanism in IndexManager to improve testability of synchronization scenarios involving the JobWrangler job - ensure isolation of WorkspaceModelIndex tests for consistent execution Change-Id: Icb915bebb8a90e46e29aafe3b788c18ade42033d Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-08-03Bug 571814: Table configuration export bugVincent Lorenzo1-14/+36
Change-Id: If2248e3f2c9e6dba477d4863b456ee23971927e4 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2021-08-03Bug 514620: [SysML1.4][Table] Child Requirement duplicationVincent Lorenzo3-11/+17
Change-Id: I3a9b34d34882baeb019dc33cc779d3f699b17840 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2021-07-30Bug 572487 - [Designer, Codegen] Move ProjectBasedFileAccess and ICleanCode ↵Ansgar Radermacher4-6/+15
interfaces to Designer - Mark these the two classes as deprecate in core Papyrus as they are moved to designer - Increase minor version number to 4.2.0 Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: I17324dd3332194c58dc5b71d2f235315aad68f24
2021-07-27Bug 572328 - [Wizards, Robotics] The Papyrus (and Robotics) project creation ↵Ansgar Radermacher2-10/+21
wizards do not support addition to a working set - Add support for working set dialog in creation page - Respect working-set result from dialog in wizard - Replace use of deprecated SubProgressMonitor with SubMonitor Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: I55db5dad9e8a69410056edffcf391266d8de9afb
2021-07-22Bug 572017 - [Releng] Fix RCP signingPauline DEVILLE1-2/+2
Change-Id: I669cd7ec56ca44c1b15d5cb8fc0de910df8c5f5e Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2021-07-22Bug 572017 - [Releng] Update dependencies and releng platformbugs/5.2.0_relengQuentin Le Menez4-22/+63
- Update releng platform to the latest dependencies - Add XWT dependency to the infra.ui feature - Rewire jboss p2 links to feed the XWT update site to the p2 installer Change-Id: I2458908d66f8080517a35213ecf11e06500e5804 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2021-07-22Bug 572017 - [Releng] Remove unsupported pack200Quentin Le Menez3-100/+5
Change-Id: I437b275f20f739e197b7718572b8a727e1ff19c7 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2021-07-21Bug 574687 - [Properties] The content of a widget is not refresh in someptessier1-0/+6
cases Change-Id: Ib488314fce39b7ec7c6767e215c6b2407f1a0d3b Signed-off-by: ptessier <patrick.tessier@cea.fr>
2021-07-19Revert "Bug 574687 - [Properties] The content of a widget is not refresh in ↵ptessier1-6/+2
some cases" This reverts commit 7aed6d6923ee426b474f1d48bcb01ad3862a1bf5.
2021-07-13Bug 573890: the builder shall informa that ↵Christian W. Damus7-11/+55
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 <give.a.damus@gmail.com>
2021-07-13Bug 572633: [Toolsmiths] New Child Menus: plug-in builderChristian W. Damus85-134/+4361
- create a New Child Menu validation bundle with the plug-in checker implementation - implement role validation based on a workspace-wide Element Types Configurations index on a refactoring of the Architecture Domain model index - integrate the New Child Menu plug-in checkers into the Papyrus Project Builder - support plug-in relative paths for icons in creation menu models in addition to absolute URIs - avoid unintended automatic builds during plug-in builder tests - add documentation of the new child plug-in validation Change-Id: Iadbbd7515a092290d5b66d17ff22676d330f61c3 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-07-13Bug 573626: [Documentation] Papyrus shall provide a common styling for all ↵Christian W. Damus7-5/+280
online documentation - update the stylesheet to lose the whitespace and the background image - dynamically inject the stylesheet link and banner image, now at the top right of the page, into every Papyrus documentation page Change-Id: If6784adcca5cc77d53a49098f3c2a379718128eb Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-07-13Bug 573656: [Welcome Page] Concurrent Modification issue on Welcome page ↵Christian W. Damus16-82/+328
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 <give.a.damus@gmail.com>
2021-07-13Bug 574393 - [Example] a example with all customizations of papyrusptessier28-0/+2611
shall be created Change-Id: I4fbf6b15870a8cc45f12111a840ad1440c91c4f1 Signed-off-by: ptessier <patrick.tessier@cea.fr>
2021-07-13Bug 572794: [Properties] Add AbstractSection and regenerate theCamille Letavernier196-6237/+7002
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 <cletavernier@eclipsesource.com> Also-by: Christian W. Damus <give.a.damus@gmail.com> Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-07-13Bug 572676: [Toolsmiths] Profiles without a URI are not properly handled by ↵Christian W. Damus12-10/+472
the Validators/Quickfixes - update static profile utility to account for profiles having no URI for which the EMF Model Importer would generate a namespace URI - use the utility in Element Types Configurations validation builder - add JUnit test coverage for UML Profile validation builder - so that there will be no test failures, incorporate a fix for extant UML Profile project builder test failure from another Gerrit patch Change-Id: Id4195d706f0eb1c6df9a8ac2d8f999f70d337247 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-07-13Bug 573408: [Toolsmiths] GenericEMFModelBuilder tries to validate CSS filesChristian W. Damus2-63/+83
- skip CSS files in the generic EMF model validation - ensure that resources loaded for validation are unloaded - only try to parse XMLResources for XML namespaces - don't read and parse entire model file to get XML namespaces - attempt to fix intermittent failure of an Architecture Builder test Change-Id: Ib8db7339ad6b2a43a2b5a38a5b612b4c548eec1a Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-07-08Bug 572017 - [Releng] Add swt update site to the category.xml since xwtPauline DEVILLE1-0/+1
is out of the release train Change-Id: I78d05b5ef2a3fc7d7cbeac7118d83dd23d5d3620 Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2021-07-08Bug 574688 - [Properties] Widget is disposed exception when updatePauline DEVILLE1-1/+3
ReferenceDialog Change-Id: Ieb71b3cc622f255c2a0605e03f7f2c26ad835730 Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2021-07-06Bug 574687 - [Properties] The content of a widget is not refresh in somePauline DEVILLE1-2/+6
cases Change-Id: I177ba4afd8d1854fafaf972026e8a4426ca468fe Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2021-07-01Bug 574410 - [Model Explorer, reload] Exceptions during reload, contents ↵Ansgar Radermacher1-3/+10
disappears during 2nd reload - Return null instead of an adapter, if inactive. - Do not remove the reload listener during deactivate, but during dispose. Otherwise, it is no longer available during the 2nd reload Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: I0121307876d75c4e7715ba7e3253414f5a7a3893
2021-06-29Bug 571814 - Table configuration export bugVincent Lorenzo6-9/+13
- fix the calculus of the path to support space in eclipse location (the initial bug) - in addition : - resave some gif image as gif (in reality they were under png format) - forbid table type declared with space Change-Id: I3736e572c8114b872eeed6ca53b5a774101cd7eb Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2021-06-24[Releng] Update Oomph setupChristian W. Damus1-89/+83
- update the setup model for 2021-06 release to match the target platform definitions Change-Id: Ic1b388e086e05f7c112c74042cad78aae4cb8053 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-06-22Bug 573886: [Optional] Dynamic profiles can make the AF wobblyChristian W. Damus1-12/+58
- support registered dynamic profile definitions in the PolicyChecker, handling the distinct copies that are loaded in every resource set's package registry Change-Id: I6e7e88b7c4575560d8dce5fbfedb850eabc498bb Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-06-17[Releng] Update target platform on 2021-06Pauline DEVILLE7-12/+12
Change-Id: I955ad85098c6c4818fb29eaeb6c06befd3d91c3c Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2021-06-14[Releng] Update target platformPauline DEVILLE9-74/+74
Change-Id: Ibbd62914221e9d51b2dd519804950545696b4d5b Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2021-06-01Bug 573885: ElementTypes are badly generatedChristian W. Damus18-4/+716
- account for indirectly applied profiles on nested packages in the stereotype application matcher/advice implementation Change-Id: I19acbbb9fd2596926a1a4952da2770f77e273309 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
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 <ansgar.radermacher@cea.fr> Change-Id: Id88e07e33782578304a55574805d56be4a1a14a4
2021-05-31Bug 573839 - [Properties] table in the properties view is not refreshedAsma Smaoui1-1/+9
when adding new rows when adding rows to a table displayed in the Properties view, the table does not refresh : the resourceset listener should be added to the contextEditting domain Change-Id: I108df538d4db43624920466573ddcd2da71a05f6 Signed-off-by: Asma Smaoui <asma.smaoui@cea.fr>
2021-05-27Bug 571948 - [Core][Editor] When the editor is opening the tool shouldPauline DEVILLE17-34/+44
display progress informations * Export IStatusService as api Change-Id: Ibc6fdb202d3640f08a526384d63d4c883840d68b Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2021-05-26Bug 572017 - [Releng] Update targeplatform and tycho configurationQuentin Le Menez47-1104/+211
- Remove server targets - Update build steps Change-Id: I98298cb61d44a841c5a317b840a30c819467773f Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2021-05-21Bug 570542: [Toolsmiths] Provide cookbook to guide toolsmith developersChristian W. Damus62-8/+3568
- implement example element types in an example architecture project - deploy the example project via the EMF Examples Installer wizard - document recipes for Element Types Configurations by reference to the example project - includes a maven Antrun step to embellish the generated doc with a convenient hyperlink to install the example project - includes a fix for an NPE in MultiDependencyHelper in models that do not support UML Dependency relationships and which resulted in total failure of connection handles Change-Id: I4119f898388aef7ec10c8a2100cf79f003362c0c Signed-off-by: Christian W. Damus <give.a.damus@gmail.com> Also-by: Remi Schnekenburger <rschekenburger@eclipsesource.com> Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>
2021-05-20Bug 570542: [Toolsmiths] Provide cookbook to guide toolsmith developersChristian W. Damus110-481/+15792
- define a generic Constraint Advice Configuration for invariant constraints - reference constraint for create/set/move restrictions - relationship constraint for create/reorient restrictions - required stereotype constraint for unapply restrictions Change-Id: I5f3a20fc1ce793e902bfccea6bc0ec1da744ca01 Signed-off-by: Christian W. Damus <give.a.damus@gmail.com>

Back to the top