Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-03-13Bug 510451 - Reimplement the ISO42010 specification to properly supportMaged Elaasar1-8/+0
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-05-31Bug 493420: StereotypeEAnnotationMigrationEditPolicy should beFanch BONNABESSE1-42/+36
replaced/subsumed by a proper DiagramReconcilier https://bugs.eclipse.org/bugs/show_bug.cgi?id=493420 Cherry Pick Mars to Neon. Change-Id: Id9ba0ff917690282ee928ff972b97956314d1b05 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2016-05-13Bug 492482: [Stereotype Display] Undo of "Show all related links" failure ↵Christian W. Damus1-0/+9
for stereotyped connectors (with model corruption) https://bugs.eclipse.org/bugs/show_bug.cgi?id=492482 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
2015-05-06Bug 463903: [Stereotype Display] Objective 7: Plan a modelCéline Janssens1-0/+6
transformation for a compatibility with old models using EAnnotation. https://bugs.eclipse.org/bugs/show_bug.cgi?id=463903 Creation of Command for Migration of Stereotype Label - Allow "AllDiagrams" in the DiagramType field - Properties Migration - Create new Helper for CommandExecution - Enrich the CommandUtil class with additional method to execute Commands - Make the Applied Stereotype Helper as Deprecated - Remove the EAnnotation Update when applying or unappling Stereotype - Rename StereotypeDisplayUtils into StereotypeDisplayConstant - Rename StereotypeDisplayHelper into StereotypeDisplayUtil - Create StereotypeUserActionHelper - Create StereotypeDisplayMigrationConstant - Create Edit Policies for Migration - Create Migration Edit Policies Provider - Create Command to migrate Comment - Disable the Delete Command on the Stereotype Comment Edit Part - CSS match on StereotypeComment instead of [type = StereotypeComment] - CSS match on Label[kind=StereotypeLabel] - Avoid "This element is Imported" decoration for invisible Stereotype View. - Sychronise the Depth of the compartment Name with the Label Depth. The Commands of AppliedStereotypeHelper have been dupplicated into oep.uml.diagram.common.stereotype.diplay by changing the way those Commands manipulate the Stereotype Display Object using the new Structure. Change-Id: I72eb4b7610774b05502b2908ee9071628c3087cb Signed-off-by: Céline Janssens <Celine.Janssens@all4tec.net>
2015-05-06Bug 460356: [Stereotype Display] Objective 4c. Display properties into aCéline Janssens1-1/+1
comment thanks to CSS. Bug 461561: [Stereotype Display] The reference Element should be the Stereotype instead of StereotypeApplication Bug 461559: [Stereotype Display] Brace Properties should be store in a different Compartment into Notation View https://bugs.eclipse.org/bugs/show_bug.cgi?id=460356 https://bugs.eclipse.org/bugs/show_bug.cgi?id=461559 https://bugs.eclipse.org/bugs/show_bug.cgi?id=461561 - Point to Stereotype instead of Stereotype Application - Dupplicated Compartment for Brace Properties - EditPolicy Hierarchy change - Not Display Comment, and Properties by Default into base.css - Creation of AppliedStereotypeEmptyEditPart and InvisibleRectangleFigure to Avoid DefaultNodeEditPart of GMF not well interpreted into CornerBentFigure. - Fix Operation and Property Stereotype Display - Refactor the EditPolicy Hierarchy - Comment Creation is independent of Compartment creation - Label and Brace structure created into Abstract EditPolicy - Base.CSS file update for Stereotypes Change-Id: Ia5afc63639f64590748db3a9c9844bee7351344a Signed-off-by: Céline Janssens <Celine.Janssens@all4tec.net>
2015-05-06Bug 460356: [Stereotype Display] Objective 4c. Display properties into aCéline Janssens1-1/+1
comment thanks to CSS. - Refactor EditPolicies - Add creation of Stereotype Structure at the ASLabelDisplayEditPolicy - creation of Comment with new Structure as a copy of the Compartment. - Comment Compartment Displayed and deleted - Small refactor - Default display: All is displayed everywhere by Default Change-Id: Ief7bf1d8b8cbffa8301b0e342c7f26d5c66941b5 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=460356 Signed-off-by: Céline Janssens <Celine.Janssens@all4tec.net>
2015-05-06Bug 455311: [All Diagrams] Applied stereotypes visibility should beCéline Janssens1-1/+1
implemented with NamedStyle instead of EAnnotation - Display all the stereotypes thanks to DecorationNode with one Label by stereotype - Hide stereotypes thanks to CSS - Display Qualified Name of some stereotypes thanks to CSS - Display all the properties into the compartment thanks to the DecorationNode into the notation file. - Hide the properties thanks to the CSS - Fix some spelling issues Change-Id: If2bec78b39e031ecc5c3b5b40097ba5104873c1c Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=455311 Signed-off-by: Céline Janssens <Celine.Janssens@all4tec.net>
2014-04-03431216: [All Diagrams] Layout issues in Compartmentsptessier1-1/+1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=431216
2013-10-09Bug 405583 - [SysML Requirement Diagram] Requirements attributes cannotPatrick Tessier1-1/+1
be displayed.
2013-01-30269492: [All Diagrams] Display properties of a applied stereotypes as a " ↵ptessier1-0/+27
comment" https://bugs.eclipse.org/bugs/show_bug.cgi?id=269492

    Back to the top