Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-06-11469953: [Releng] Update the build to support a global POMCamille Letavernier1-2/+2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=469953 Change-Id: I050cf9dbbdd5705aaf8d45f2db3458226d148002 Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-03-25Bug 433206: Papyrus shall enable local synchronization between graphical ↵Christian W. Damus10-3/+297
element and element in the model https://bugs.eclipse.org/bugs/show_bug.cgi?id=433206 (1) Refactor the 'uml.diagram.synchronizeview' plug-in: * remove the UML dependency (supplied by a UML-specific default children strategy) * move into infra.gmfdiag component * rename for GMF-standard 'canonical' terminology * API types, extension points, etc. renamed for 'canonical' terminology * fix parsing of priorities and other problems in the extension-point loading * support listening to multiple dependent model elements for canonical refresh * add a notion of default semantic children strategies for edit-parts that don't have specific requirements but can rely on a generic implementation (2) Implement a canonical request wrapper to pass through the drop request to default drop edit policy provided by the diagram, by-passing the pluggable strategies to which the CustomizableDopEditPolicy delegates. (3) Implement a toggle action in the various diagram filter menus to toggle canonical synchronization. (4) Enable the canonical edit policy provider. This requires additional changes: * only activate the canonical edit policy when the style is applied and is enabled because otherwise GMF assumes that canonical mode is on and treats connections as canonical (GMF run-time only checks that the edit policy is installed and is active) * listen for changes to the canonical style to disable/enable the canonical edit policy on the fly (5) Fix undo/redo of canonical view creation and of canonical enablement. (6) Properties view support for model/view synchronization (canonical edit policy). (7) Adapt SysML test utility to account for possible inclusion of ToggleCanonicalModeCommand by GMF in drop commands. (8) Implement deferred loading of synch child strategies and XML enablement expressions. (9) Fix problems in handling of connections incoming and outgoing canonical top shapes. (10) Support for a CSS 'canonical' style attribute. (11) Initial simple canonical synchronization scenarios for JUnit test cases. (12) Integrate canonical edit policy tests into the build. (13) Test cases for toggling canonical on/off, with undo/redo. Test cases for adding elements to the semantic model, with undo/redo. Test cases for deleting elements from the semantic model (including by simple remove, which unlike destroy does not also deletes dependent views anyways), with undo/redo. (14) Add regression tests for creation/deletion of elements and views together per the usual diagram editing scenarios, in the context of canonical diagrams. (15) Fix problems in canonical creation (with undo and redo) of connection views for non-owned relationship elements. (16) Add tests for CSS control of canonical synchronization. Fix inability to override CSS canonical style to turn synchronization off on selected views. Bug 461629: [CSS] Diagram refresh undo/redo problems https://bugs.eclipse.org/bugs/show_bug.cgi?id=461629 Implement new DiagramHelper refresh APIs to fix a few problems: - encapsulate synchronous (forced) and asynchronous refresh in new API methods. Deprecate the old methods that required clients to follow several steps. Update various client call sites to use the new API instead of the deprecated API - add corresponding APIs for refresh of individual DiagramEditParts, with similar heuristic for dropping redundant refresh requests - re-implement asynchronous refresh to use a new TransactionalEditingDomain executor that runs tasks as pre-commit trigger commands, to capture any undo/redo information for model changes - implement a new transaction option in the Papyrus editing domain that prevents runExclusive calls creating read-only transactions nested within a write transaction, so that canonical changes ensuing from edit-part refresh during refresh tasks can be properly recorded (without unprotected writes nested in the read-only context) Bug 433206: Papyrus shall enable local synchronization between graphical element and element in the model https://bugs.eclipse.org/bugs/show_bug.cgi?id=433206 (17) Enable test cases unblocked by the fix for undo/redo problems in diagram refresh (being bug 461629). (18) Do not record the edit-part but the view in the SetCanonicalCommand to support undo/redo even if the diagram has been closed and re-opened in the mean-time. To refresh the CanonicalEditPolicy's activation state after execute/undo/redo, the command now searches on the fly for all edit-parts (in all open diagram editors) that present the view in question. (19) Implement a new 'semi-active' state in the PapyrusCanonicalEditPolicy that is its minimally active state. This allows the edit policy to react to semantic model changes to delete views for deleted model elements, where such views are ones that it had originally created by canonical refresh. This relies on new tracking of canonically- created views, which in turn relies on a new utility for digging through complex command tree structures to get the views that were created by them. Includes automated tests for non-transactional refresh creating canonical views, with undo and redo in the semantic model undoing and redoing creationg of the elements that had been canonically created, after the canonical edit policy was (non-transactionally) disabled. (20) Don't forget about views that were created canonically if the diagram happens to be closed and then re-opened. (21) Rework the CanonicalStateListener to support injection of refresh 'pokes' to trigger updates in other dependents, such as the Properties view, when change in canonical activation is detected for any reason. (22) New JUnit tests for: - undo of semantic model change that created a canonical view after canonical edit policy disabled by CSS and close/reopen of the diagram - canonical edit policy's book-keeping does not leak diagram views nor model elements (23) CanonicalStateListener should be auto-retained because it automatically installs itself, and it won't be uninstalled except when successfully released. (24) Fix layout (margins etc.) of Synchronization properties group. (25) Fix concurrent modification in iteration over diagram edit part tree. Rationalize state-transition logic in canonical edit policy. (26) Fix some problems in canonical composite structures (incomplete): - manage connections canonically on border items as well as top shapes - do not include connectors as semantic children of structured classifiers but only as connections/edges of their connected elements - do not create parts of Association type when dropping an Association onto a structured classifier - include notation context in children-strategy query to account for structures such as part-with-port in connectors to disambiguate repeated semantic elements - add canonical composite structure tests (one still failing) (27) Refactor the canonical children strategies extension point ID to make it more meaningful and less redundant. Shave some execution time off the execution of the canonical edit policy tests in the automated build environment where we don't need to see what is happening in the diagrams. This involves a refactoring of earlier infrastructure that detects the build server or local Maven/Tycho build environment. (28) Fix failure to create canonical connection views because source/target nodes that were created canonically don't yet have their edit-parts. The canonical creation of connections is now deferred using the transaction pre-commit executor, exposed as a new DiagramHelper::submit(...) API. Several JUnit tests need updating, both to correct erroneous assumptions on latent bugs now fixed, and also to add UI event-processing in undo/redo scenarios to account for deferred connection creation. Use a DeferredLayoutCommand to improve the layout of the contents added to shape compartments by canonical 'drop', which otherwise would all be stacked on top of one another. Add a new pluggable strategy for determination of the edit-part that should handle creation of views, for cases such as flows in activities where connections must be dropped into contents compartments, not onto either the source or target node shape. (29) Fix canonical presentation of activity flows on pins. Implement basics of canonical synchronization of state machine diagrams. (30) Communication diagram synchronization of messages between lifelines. Requires a new extension interface for pluggable view-children strategies, to complement the semantic-children strategies, because the views that need to be synchronized are labels of connected edges, not the edges themselves. The semantic-children strategy interface is refactored to align with the new visual-children strategy interface, and likewise the determination of existing semantic and visual children in the PapyrusCanonicalEditPolicy. This also removes redundant re-calculation on semantic node children in the second-phase processing of connections. (31) Fix exceptions in synchronization and layout of communication diagrams. Fix regression in canonical deletion of edges. (32) Fix spurious deactivation of canonical edit policy in edit-parts that had had canonical mode (refresh enablement) toggled during execution of some user command. Change-Id: I9c39f74638cb55455e2d8bc42b07e49501ec3ea7
2015-02-17Bug 457266 - Remove pdoc from papyrus repositoryBenoit Maggi3-8/+5
Change-Id: I621a26b4b5fb54cf096817c7859f8628e423645c Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2015-01-26455075: [Properties View] Providers instantiated from DataSource are never ↵Christian W. Damus2-4/+16
updated. https://bugs.eclipse.org/bugs/show_bug.cgi?id=455075 Ensure that CSS model-elements are updated properly to recompute the GMF notation views from which they derive their properties when the selection changes.
2014-12-12454891: [All Diagrams] "Delete" shouldn't be able to delete theGabriel Pascual1-209/+214
DiagramEditPart https://bugs.eclipse.org/bugs/show_bug.cgi?id=454891 - Define its own AbstractGraphicalHandler#computeEnable() for DeleteFromModelCommandHandler and DeleteFromDiagramCommandHandler Change-Id: Ib828ca74e8c24c00efa9d122a706961d76db57a7 Signed-off-by: Gabriel Pascual <gabriel.pascual@all4tec.net>
2014-09-15[Releng] Update feature versions to 1.1.0Camille Letavernier1-2/+2
2014-09-15[Releng] Change plug-ins version to 1.1.0Camille Letavernier1-13/+13
2014-08-26[Code Style] Configure code style in the projectsChristian W. Damus2-1/+352
Configure the master settings for Code Style in the org.eclipse.papyrus.infra.core plug-in, including: - Code Formatter - Code Clean-up - Code Templates - Import Sort Order Employ the Oomph Project Configuration tooling to propagate these settings to all other Papyrus main, test, and developer plug-ins, plus the CDO Integration plug-ins. Update the Papyrus Oomph model to remove the workspace-wide code style settings. Change-Id: Id1c7c7fb94c82974a9f1c7cafcfcf32b71ce6c1f
2014-08-25[Code style] Apply clean-up profile to Papyrus Main plug-insCamille Letavernier3-13/+13
2014-08-21[Code style] Apply clean-up and formatter on Main plug-insCamille Letavernier34-387/+424
2014-08-20[Releng] Update Papyrus version to 1.0.1 in pom.xmlCamille Letavernier1-2/+2
2014-08-20[Releng] Update versions to 1.0.1Camille Letavernier1-13/+13
2014-08-07417409: [Performances - Properties view] Delay in UI when reorganizing ↵Christian W. Damus6-39/+88
diagram layout. https://bugs.eclipse.org/bugs/show_bug.cgi?id=417409 Make property sheet views reusable, with updating of the bound selection when the selection changes to another element that shows the same views. This employs new capability of the DataSource to update the selection that it encapsulates, pushing the new selection into the ModelElements that it creates, using a new delegating observable framework. Property sheet controls are re-used on a per-tab basis. Because of the new delegation pattern introduced here, we need to be able to ensure that delegate observables are disposed of when they are no longer needed. This includes not only the delegates of the new DelegatingObservables, but also the delegates of MultipleObservableValue and similar aggregates. As these delegates can be shared amongst multiple wrappers of different kinds, we use a simple reference counting scheme to ensure that observables are not disposed while they are still in use. This averts the exceptions discovered in multi-observable (multiple selection) scenarios on a previous iteration of this patch set. Change-Id: Ide8f3fcea4228083a68bc9d5d39dc5a50217af62
2014-06-20437103: [Properties View] ClassCastException in the GMF NotationCamille Letavernier1-30/+52
properties view https://bugs.eclipse.org/bugs/show_bug.cgi?id=437103 Change-Id: Ief57d8af0a722597ae45f72306b2bfefc7f4dba5
2014-06-04[Releng] Remove the (Incubation) suffix from all (main) plug-ins andCamille Letavernier1-1/+1
features Update the Bundle test accordingly
2014-04-17[releng] Generated all the pom.xml files for the plugins and featuresLaurent Wouters1-0/+14
Command: python releng/toolkit/tycho-genertor.py Signed-off-by: Laurent Wouters <laurent.wouters@cea.fr>
2014-03-27#431139: [Diagram Creation] Issues with the Viewpoint-based Diagram Creation ↵Laurent Wouters1-1/+1
commands Changed the auto-creation of diagram root element to use the edit service https://bugs.eclipse.org/bugs/show_bug.cgi?id=431139 Signed-off-by: Laurent Wouters <laurent.wouters@cea.fr>
2014-03-24Fix Bug 421412. rschnekenbu4-19/+19
Replace EnumRadio with EnumCombo to avoid the no more handles (seems to be present for enumradio in groups)
2014-03-14[Releng] Fix dependency versionsCamille Letavernier1-4/+4
2014-03-14399860: Papyrus shall enable to customize the creation policy of viewsLaurent Wouters6-56/+385
https://bugs.eclipse.org/bugs/show_bug.cgi?id=399860 Signed-off-by: Laurent Wouters <laurent.wouters@cea.fr>
2014-02-25323802: [General] Papyrus shall provide a read only modeChristian W. Damus1-7/+5
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802 Make stereotype decorator properties sensitive to read-only state of the notation view.
2014-02-25323802: [General] Papyrus shall provide a read only modeChristian W. Damus3-8/+60
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802 Make presentation of gradient style properties sensitive to read-only state of the notation view.
2014-02-24323802: [General] Papyrus shall provide a read only modeChristian W. Damus1-2/+4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323802 Disable widgets in the Properties View that edit read-only model elements.
2014-01-17386118: [EMF Facet] Papyrus should progressively support EMF Facet 0.2ptessier1-1/+0
https://bugs.eclipse.org/bugs/show_bug.cgi?id=386118
2013-12-18Merge remote-tracking branch 'origin/master'Camille Letavernier18-14/+1012
2013-12-18423799: [Diagram]Rulers and Grid preferences are not customizable forVincent Lorenzo2-29/+43
each diagrams https://bugs.eclipse.org/bugs/show_bug.cgi?id=423799 Fix bad preferences initialization reopening diagrams (bad preference initialization)
2013-12-11422553: [Diagram] Status (checked/uncheked) of the grid actions are notVincent Lorenzo17-13/+997
updated when we change a new diagram take the focus https://bugs.eclipse.org/bugs/show_bug.cgi?id=422553 422406: Snap to grid disabled still makes snap to grid https://bugs.eclipse.org/bugs/show_bug.cgi?id=422406 423799: [Diagram]Rulers and Grid preferences are not customizable for each diagrams https://bugs.eclipse.org/bugs/show_bug.cgi?id=423799 423805: [Preferences] Key used for Preferences is the string "null" for all inherited diagrams (SysML Diagram + Uml Package +...) https://bugs.eclipse.org/bugs/show_bug.cgi?id=423805
2013-12-11Bug 394893 - [All Diagrams] Papyrus shall support symbols in theCamille Letavernier2-7/+7
diagrams https://bugs.eclipse.org/bugs/show_bug.cgi?id=394893 Change the name of symbols appearance properties to improve consistency (shape_visibility -> shapeVisibility, shape_direction -> shapeDirection)
2013-11-15420568: [All diagrams] Hard to draw nice linksCamille Letavernier2-7/+8
https://bugs.eclipse.org/bugs/show_bug.cgi?id=420568
2013-11-13263430: [General] Add relengCamille Letavernier1-11/+11
https://bugs.eclipse.org/bugs/show_bug.cgi?id=263430 Luna: Update plug-in version numbers to 1.0.0
2013-07-04[Releng] Update Papyrus version to 0.10.1cletavernie1-11/+11
2013-05-03394893: [All Diagrams] Papyrus shall support symbols in the diagramsrschnekenbu8-25/+333
https://bugs.eclipse.org/bugs/show_bug.cgi?id=394893
2013-05-02407086: [All Diagrams] Databinding for GMF elements should be moved to ↵cletavernie19-948/+9
infra.gmfdiag.common plugin https://bugs.eclipse.org/bugs/show_bug.cgi?id=407086
2012-11-23391945: [Refactoring] Part 2: Refactoring on Kepler (0.10)cletavernie3-79/+13
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391945
2012-09-18Kepler: Update plug-in versions to 0.10.0cletavernie1-17/+20
2012-09-17380517: [Papyrus] We should use explicit plug-in dependencies whenever possiblecletavernie3-5/+16
https://bugs.eclipse.org/bugs/show_bug.cgi?id=380517 + removed some unused dependencies and imports
2012-04-25Fix plug-in names and providerscletavernie1-2/+2
2012-03-21365919: [Architecture - SVN - Build] Rewrite the Buildcletavernie3-2/+8
https://bugs.eclipse.org/bugs/show_bug.cgi?id=365919
2012-03-19370797: [Theme] Papyrus should provide a support for CSS files on its diagramscletavernie192-2823/+2689
https://bugs.eclipse.org/bugs/show_bug.cgi?id=370797
2012-03-01370797: [Theme] Papyrus should provide a support for CSS files on its diagramscletavernie4-136/+2
https://bugs.eclipse.org/bugs/show_bug.cgi?id=370797
2012-02-29370797: [Theme] Papyrus should provide a support for CSS files on its diagramscletavernie23-29/+1296
https://bugs.eclipse.org/bugs/show_bug.cgi?id=370797
2012-02-14371460: [UML Diagram Common] The UML Diagram Common plug-in should be splitcletavernie2-5/+4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=371460
2012-01-12359794: [UML - Tools] Content/Label providerscletavernie1-2/+0
https://bugs.eclipse.org/bugs/show_bug.cgi?id=359794
2011-12-21359794: [UML - Tools] Content/Label providerscletavernie10-1604/+2295
https://bugs.eclipse.org/bugs/show_bug.cgi?id=359794 367066: [Refactoring] There should be a central generic plug-in for pure EMF-based tools https://bugs.eclipse.org/bugs/show_bug.cgi?id=367066 351802: [Constraints] The Property View constraints model should be more generic https://bugs.eclipse.org/bugs/show_bug.cgi?id=351802
2011-12-19367066: [Refactoring] There should be a central generic plug-in for pure ↵cletavernie3-3/+4
EMF-based tools https://bugs.eclipse.org/bugs/show_bug.cgi?id=367066
2011-11-09362162: [Architecture - Refactoring] The plug-ins should be renamed to match ↵cletavernie165-450/+449
their layer's qualified name https://bugs.eclipse.org/bugs/show_bug.cgi?id=362162
2011-11-04362162: [Architecture - Refactoring] The plug-ins should be renamed to match ↵cletavernie1-1/+1
their layer's qualified name https://bugs.eclipse.org/bugs/show_bug.cgi?id=362162
2011-11-04362162: [Architecture - Refactoring] The plug-ins should be renamed to match ↵cletavernie3-8/+7
their layer's qualified name https://bugs.eclipse.org/bugs/show_bug.cgi?id=362162
2011-11-03362162: [Architecture - Refactoring] The plug-ins should be renamed to match ↵vlorenzo1-3/+3
their layer's qualified name https://bugs.eclipse.org/bugs/show_bug.cgi?id=362162
2011-11-02362162: [Architecture - Refactoring] The plug-ins should be renamed to match ↵cletavernie172-0/+5511
their layer's qualified name https://bugs.eclipse.org/bugs/show_bug.cgi?id=362162

    Back to the top