Skip to main content
AgeCommit message (Collapse)AuthorFilesLines
2016-07-01Bug 496837 - [use case diagram] Better icon for actorsPauline DEVILLE2-15/+96
Change-Id: I4d7334e0c5252b14222dd79d0f6e531b55e0b51e Signed-off-by: Pauline DEVILLE <>
2016-05-31Bug 494921 - Fix DefaultEditHelper to provideFlorian Noyrit1-31/+14
ClientContext dependent advice execution ordering Change-Id: I76ff3387b217194f0d3685f0cafe59449c6b428e
2016-05-30Bug 494921 - Improve the ElementTypesConfiguration framework to provideFlorian Noyrit1-14/+31
ClientContext dependent advice execution ordering Change-Id: I20eb9fc1fec583e94e919061acf622203e8000f4
2016-05-27Bug 436665: [CSS] Refresh issue when an element is moved to a different ownerChristian W. Damus10-32/+174 Ensure that the element-adapter containment is refreshed whenever notation view containment changes. As a related (similar) problem, also fix stale CSS Engines without parent engine (or other important state) remaining on some notation views that had initialized their CSS support during creation of a diagram, before it was attached to the resource (therefore not having the Model Engine). The root diagram would replace its engine on attachment to the resource, but not its contained views. Change-Id: Iaf1c56f7b1b0d64d11d8245cd846b3fef8722a49
2016-05-26Bug 490251 - Sequence diagrams misrendered in Mars ↵Vincent Lorenzo1-4/+4 Bug 493874 - [Sequence Diagram] from Luna to Mars: Action Execution Specification are "outside" of the LifeLine - add a specific EAnnotation to the Lifeline Shape allows to fix all the problems - replace some int by double for the calculus of anchor position, but it doesn't seem affect the display Change-Id: I23e04697fb7ef2e6a20b41a56928737c17c2ca97 Signed-off-by: Mickael ADAM <> Signed-off-by: Vincent Lorenzo <>
2016-05-26bug 492522: [All Diagrams] Delete from model on comment links does notVincent Lorenzo2-4/+39
work (does a delete from diagram) bug 439317: [All Diagrams] Delete from model on contraint links and constraints specification links does not work (do a delete from diagram) new deprecated class : org.eclipse.papyrus.uml.diagram.common.editpolicies.ContextLinkSemanticEditPolicy I remove it from the installed editpolicy for Class, Profile and StateMachine diagrams - add tests about comment link deletion for ClassDiagram, CompositeDiagram and ComponentDiagram Change-Id: I0be833fe18d751bf4873b6e09962b8878b3d010c Signed-off-by: Vincent Lorenzo <>
2016-05-26Bug 493363 - [Test] Regression in ShapeCustomisationTestMickael ADAM1-2/+3 Change-Id: I418b0a8f08ef17dc55fccda29f3b605d578d6062 Signed-off-by: Mickael ADAM <>
2016-05-24Bug 493257: [CSS] Formatter stop working on some casesCamille Letavernier96-11630/+8512 - Migrate to the new Formatter2 API of XText - Remove unused fragments from the CSS MWE2 - Override the default postProcess which adds spaces between each unformatted grammar elements, causing semantics changes (Isolated in a specific workaround class) - Fix the Universal vs Element selector in the generated CSS files Formatter may be incomplete Change-Id: I5896d4e250d07d91d6963e7b32c2cd0fb78a0a5d Signed-off-by: Camille Letavernier <>
2016-05-24bug 492413: Conflicting extension parsers for expansion modelPatrick Tessier1-7/+0 Change-Id: I2cd85549d52bce8813bf73aab15e86d2865b60f6
2016-05-23Revert "Bug 493257: [CSS] Formatter stop working on some cases ↵Camille Letavernier93-77666/+84631" This reverts commit 3e461b4650c6b162f9d4392f3ce9d176fc4d1fcd.
2016-05-20Bug 492697: [UseCase Diagram] User should be able to change theRemi Schnekenburger7-689/+885
representation of an Actor with the TypeSymbolDefinition stereotype Change-Id: I9178d26555a141ed22990a48f4ad8aa279735969 Signed-off-by: Remi Schnekenburger <>
2016-05-20Bug 494172: [Properties View] The Advanced Notation properties viewCamille Letavernier2-4/+5
doesn't work for standard installations Change-Id: I9810f25e64b4b6ca63a46402cbc4d615e51b5a7d Signed-off-by: Camille Letavernier <>
2016-05-13Bug 493668: [Welcome Page] The new welcome page confusingly shows diagrams ↵Christian W. Damus2-5/+47
from the UML-RT profile Only show notation views from user resources (typically those in the workspace or the filesystem or, in the CDO case, in the repository). Change-Id: Id87c948c46d53c49e1419f82733bf50ef8aaedf8
2016-05-13Bug 492482: [Stereotype Display] Undo of "Show all related links" failure ↵Christian W. Damus2-14/+87
for stereotyped connectors (with model corruption) Try as much as necessary to make the undo/redo scenario of dropping Capsules to create CapsuleParts in Papyrus-RT Capsule State Machines work. That is, not to fail to undo with an index-out-of-bounds exception in undoing a ListChange in the ChangeDescription. Several things: * add a new mix-in interface for edit-policies that perform automatic edits to the notation model à la CanonicalEditPolicy with operations for execution of commands that prefer to reuse a read/write transaction if available, instead of an unprotected write * use this new protocol in the applied-stereotype edit-policies to try whenever possible to record the changes for correct undo/redo * change the applied-stereotype edit-policies to use a private pre-commit listener on the DiagramEventBroker to react to changes within a transaction instead of post-commit, again to promote the recording of changes as much as possible for undo/redo * update the default canonical child views strategy to enable registration of view types that it should not attempt to manage * use the new view-type filtering mechanism to exclude applied- stereotype views from canonical control * update all of the CommandUtil APIs for command execution that are only used by the applied-stereotype display controllers to piggy- back on the active read/write transaction if there is one, for plausible undo/redo support Note that this patch does include API changes, but not breaking changes, after the Neon M7 feature-freeze milestone. Change-Id: Ibe7978416d26c81474ccc4608e1090de5e5ac473
2016-05-13Bug 493257: [CSS] Formatter stop working on some casesNicolas FAUVERGUE93-84631/+77666 Remove the hidden keywords in XText file that are managed dirrectly by Xtext framework now. + Regenerate the xtext files (with formatting) + Add the '>' management formatter in the specific papyrus formatter Change-Id: I6d24cd6f2095a6c3e1804037ff77ff407709b3d6 Signed-off-by: Nicolas FAUVERGUE <>
2016-05-09[Releng] Fix project configuration problemsChristian W. Damus1-35/+0
Automatic update of project misconfigurations in new and existing projects via Oomph. Change-Id: I42e1b4178017a054ef4741be48c9fe3bf9e7ef31
2016-05-09Bug 491811: [CSS][Diagram] Connectors not refreshed after change of routing ↵Quentin Le Menez1-0/+32
style (eg rectilinear->oblique) - Added a refresh to the handleNotificationEvent method in the Change-Id: I54b868b54a80b4d6cb9a8341c14b7096401ddfb3 Signed-off-by: Quentin Le Menez <>
2016-05-04Bug 492690: [Editor] Welcome page throws when diagrams loaded off the UI threadChristian W. Damus2-4/+101 Ensure that the reactions to notifications received by the adapters used by the NotationObservable are processed on the UI thread so that they may safely update the observable in the context of its home realm. Change-Id: I7a6cc13d1ac645618ed166bd7d948461879b9adb
2016-05-03Bug 488286 - [CSS][Diagram] Missing refresh in some cases when using label ↵Quentin Le Menez2-0/+34
filters - Added a refresh to the handleNotificationEvent method in the Change-Id: I5ce24b9d871c639b6d5ab44527eec738df193672 Signed-off-by: Quentin Le Menez <>
2016-05-02Bug 491077 - [Usability] Make the current alt-navigation menu easier toShuai Li10-32/+574
access - Move navigable elements and their sub-menus from alt-menu to "Navigate" popup menu - The "Navigate" menu already exists in the diagrams popup menu - The "Navigate" menu is added in the tools group of the model explorer popup menu - Move parents/children, targets/sources from "More..." to navigable elements in alt-menu and popup menu - Clicking on a navigable element in alt-menu goes directly to the first found view or model explorer otherwise. The first found view cannot be the view that triggered the alt-menu. - Add model explorer icon - Cleanup Change-Id: I91853623c5e6fccae24f2eddbd2367bd94ece929 Signed-off-by: Shuai Li <>
2016-05-02bug 483357: [Table] Popup menu must be available in each context!Vincent Lorenzo1-1/+1
Change-Id: I6f89e92b9d8f9522652d191fea191ccb0ea6241f Signed-off-by: Vincent Lorenzo <>
2016-04-28Bug 492690: [Editor] Welcome page throws when diagrams loaded off the UI threadChristian W. Damus1-0/+37 Synchronize with the UI thread if necessary to create and update observables in response to events from the notation resource. Change-Id: I5621becb7e1fadeb2c893aec6c6687d3239dbeff
2016-04-28Bug 465297 - [Property view] New properties from generic shape shall beMickael ADAM19-378/+1880
add to appearance tab Change-Id: I130a235fcd1d189c9971c22545b4d996a94f1fc7 Signed-off-by: Mickael ADAM <>
2016-04-27Bug 492073 - [SysML 1.4][IBD] Comparment is hiden when created in MarsBenoit Maggi1-14/+15
and opened in Neon - the reconcilier should only update compartment that aren't already a BasicCompartment Change-Id: Iebfb9ba6b3e303742a6899308bc1c7d12536706c Signed-off-by: Benoit Maggi <>
2016-04-26Cast error at getBorderItemLocator() for LabelEditPartMickael ADAM1-54/+16
- add cast test at getBorderItemLocator - Remove Resizable label case in PapyrusLabelEditPart - fix port locator for sysml case Change-Id: I04940ee79dcfaa4d4f9ccb657227ac9a3e131322 Signed-off-by: Mickael ADAM <>
2016-04-22Bug 473722 - [Composite Diagram] Papyrus should support graphicalMickael ADAM4-159/+204
resizable ports - Fix bad behavior. - Adds isPortResizable CSS attribute - Add the possibility to resize port on component diagram(false by default) - Refactor PortPositionLocation for better behavior - add some NPE fix Change-Id: I50d5ae89fe510892029fcc325fb5f8092217ca34 Signed-off-by: Mickael ADAM <>
2016-04-15Bug 463687 - Not possible to see and click-to-navigate to oppositeShuai Li2-2/+14
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 <>
2016-04-12Move elementtypes definitions that are not model-based to model-based. Florian Noyrit2-19/+25
Change-Id: Ie8ffcdd5571799ac8bc7793c9606befb06b19fa5
2016-04-08Bug 471348: [Stereotype Display] User-input should always be serialized Céline Janssens1-1/+3 - Visibility and Persistency as compound command Only one command for set and unset visibility depending on default value. - Not taken the default value into acount for setting the persistency of a view when the user set or unset the visibility or the depth into the appearance view. - ShowTitle Value set as CSS in the default behavior - Fix some NPE errors when deleting the StereotypeComment when unapplying all the stereotypes. Change-Id: I33af4cdb912840b50257167f13e2f85fc8c0f3d2 Signed-off-by: Céline Janssens <>
2016-04-06Bug 466294 - [Diagram Shortcut] Preview on mouse hoverShuai Li1-11/+11
- Update for post-refactoring Neon Change-Id: I67388f8550d209341c9665fa2f67312c4a86a00e Signed-off-by: Shuai Li <>
2016-04-06Bug 435352 - [Property view] Attribute selection takes way too longAnsgar Radermacher3-14/+33
Change-Id: I4b6deb1ac7a4728a7ba30eee998e61af720fcf37
2016-03-22490054: [Activity Diagram] Exception when trying to deleteCamille Letavernier1-3/+8
ActivityParameterNode - Fix CustomStyleObservableList, which didn't support multiple calls to dispose() Change-Id: Ibc1c6838b65ed5860466c4b12e647311a7e284b2 Signed-off-by: Camille Letavernier <>
2016-03-22Bug 489116 - Unify diagram visualID of all diagrams in PapyrusMaged Elaasar3-33/+37
1. Changed the visual ids of the UML2 diagrams from numbers to meaningful names corresponding to notational cases. This was applied consistely across diagram such that similar cases get similar visual ids. Added diagram reconcilers for v1.2 to migrate older diagrams. 2. Amalgamated the UML2 diagram element types into a single model (umldi.elementtypesconfigurations). Some diagrams, like Sequence, Communication and Timing, still use extension-based configurations and will need to be migrated later. Change-Id: I7f47b25454dcd1ed81e8f3eeffc1a09a2584d316 Signed-off-by: Maged Elaasar <>
2016-03-10Bug 435352 - [Property view] Attribute selection takes way too longAnsgar Radermacher2-18/+23
Change-Id: Ie16f1822dcd35a6670a51c0b1eff790f307cf3c6
2016-03-07Bug 482586 - [LinkLF] Anchor doen't work for OvalMickael ADAM5-302/+516 - fix regression - take into account of comment in mars review Change-Id: I7bc6f2cd8c4b92552d302c5dd9d7e222d22e9571 Signed-off-by: Mickael ADAM <>
2016-03-04Bug 488965: Trying to select a default hyperlink without selecting one first ↵Christian W. Damus10-197/+209
result in hanged application Overhaul the hyperlink management UI: * use proper JFace dialogs instead of VE-generated shells * don't implement a flat property-sheet-like white look (instead a more native look-and-feel, especially for tabs on Mac) * stack modal dialogs properly instead of all on the workbench window * implement enablement of buttons to reflect availability of up/down/left/right and modify/delete actions * implement intuitive response to double-click to cut down on number of gestures required to complete an edit * implement proper action listeners on buttons (not mouse-down) * fix deletion of existing hyperlink when canceling an edit (web and document hyperlinks) * disable modify button for specific-object hyperlinks, which don't support editing Change-Id: I16a27a4e978bcc2204eeac2991edd1a1fbb445ca
2016-03-04Bug 482483 - [Component diagram] The behavior of the component semanticashatilov1-7/+10
should be the same - fix contribution Change-Id: Ic08832e8fa20712cdb1604f0eca08dee2bdfc955 Signed-off-by: ashatilov <>
2016-03-03488473: [All Diagrams] IParsers shall be refactoredCamille Letavernier2-0/+139 - Create a more complete IAdaptable to give more information to the IParser about the current element (Especially, the Notation View was missing) Change-Id: Id2569ca457e5f936478e3331db6eac1cbd98ece2 Signed-off-by: Camille Letavernier <>
2016-03-03Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus97-57/+3184 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-03-02Bug 474467: Papyrus editors title do not update when their label changeChristian W. Damus2-155/+84
Add support for propagation of label-provider change events for labels that are dependent on other elements' labels. Implement such a dependent label for all notation views supported by the Viewpoints mechanism that have no names of their own, including * unnamed Diagrams * unnamed Tables Now that the table label provider depends on table prototypes, the broken prototype references in editor reload tests need to be updated (they were missed in the refactoring when all of the prototypes were removed from the builtin Viewpoints configuration model). Change-Id: I8a9c361129c996188f87ac2851db39e0f66f3acd
2016-02-25Correct the nattable failing tests on master.Nicolas FAUVERGUE1-1/+3
Change-Id: I130ceccf2671eb91368a4203a9f868715a7d0915 Signed-off-by: Nicolas FAUVERGUE <>
2016-02-24Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus61-1230/+1454 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 * 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-24Bug 486726 - [Test] Some regression on ShapeCustomisationTest for masterMickael ADAM1-20/+33 - Fix regression - rebase Change-Id: I90b6e62f8ef3dd780159aa2948f5582d0e461c6e Signed-off-by: Mickael ADAM <>
2016-02-22Bug 487480 - Refactor elementtypesconfiguration frameworkFlorian Noyrit5-9/+9
Insert a "oep/infra/types" layer to host the core elementtypesconfiguration framework. Move UML elementtypesconfiguration extensions to "oep/uml" Move EMF elementtypesconfiguration extensions to "oep/infra/emf" Move elementtypesconfiguration tests to oep/tests/junit/plugins/infra/types Rename all elementtypesconfiguration plugins (core, dev, tests and extensions) and corresponfing packages to shorter qualifiers as follows: oep.infra.elementtypesconfigurations -> oep.infra.types.core and oep.infra.types oep.infra.elementtypesconfigurations.edit -> oep.infra.types.edit oep.infra.elementtypesconfigurations.editor -> oep.infra.types.editor oep.infra.elementtypesconfigurations.ui -> oep.infra.types.ui oep.infra.elementtypesconfigurations.invarianttypes -> oep.infra.types.rulebased oep.infra.elementtypesconfigurations.emf -> oep.infra.emf.types oep.infra.elementtypesconfigurations.emf.ui -> oep.infra.emf.types.ui oep.uml.elementtypesconfigurations -> oep.uml.types oep.elementtypesconfigurations.developer -> oep.infra.elementtypesconfigurations.tests -> oep.infra.types.tests oep.infra.elementtypesconfigurations.ui.tests -> oep.infra.types.ui.tests Change-Id: Iad7f5689b183e6ad29daab06a1cc2858ee408aa7
2016-02-19Bug 471444: [Diagram] Background Color of name from generic shape shallMickael ADAM7-5/+107
be customisable + some little fix and default value on base.css + adds regression test + adds nameBackgroundColor to css autocompletion Change-Id: I3f22dbb067f58db31fa20ed18b725a6568bcbba9 Signed-off-by: Mickael ADAM <>
2016-02-13Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus13-1157/+0 Fix the actual problem with the dev build's bundle dependency resolution, which is that the infra.gmfdiag.css.debug bundle's parent module was not the dev releng module of which it was a child.
2016-02-13Revert "Bug 485220: [Architecture] Provide a more modular architecture ↵Christian W. Damus34-37/+0" This reverts commit f050d4119a2316b27588076d4fc90152773fc019.
2016-02-13Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus34-0/+37 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. Damus349-12224/+11576 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 bundle to a new bundle. This includes renaming of: * extension points * label-provider contexts * XWT namespaces Add an "all UI tests" suite. Define a componentized hierarchical build layout of the main plug-ins Change-Id: I43f8f3644857a18b69715f5a2f1da9b1cf286d67
2016-02-08Bug 487442 - Add profile/stereotype support to theFlorian Noyrit1-3/+1
elementtypeconfiguration framework Change-Id: I40493e2b70490fc2a534b5d45bd848ab8957c1cc

Back to the top