Skip to main content
AgeCommit message (Collapse)AuthorFilesLines
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-03Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus4-5/+109 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-02-24Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus2-50/+51 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-13Revert "Bug 485220: [Architecture] Provide a more modular architecture ↵Christian W. Damus1-1/+0" This reverts commit f050d4119a2316b27588076d4fc90152773fc019.
2016-02-13Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus1-0/+1 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. Damus17-221/+1254 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-01-22Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus7-33/+32 Move UI-dependent APIs from the bundle to org.eclipse.papyrus.infra.ui. Accordingly move tests into a new org.eclipse.papyrus.infra.ui.tests bundle. Two crucial UI dependencies are inverted by introduction of new OSGi services with core interfaces specified in the non-UI layer: * IExecutorService extends Java Platform's ExecutorService with APIs for synchronous execution (a la Display.syncExec). A new CoreExecutors class in the bundle supplies the instance provided by the OSGi service implementation in the infra.ui bundle. This provides compatibility for clients of various UIUtil APIs that they can no longer access * IContextualServiceRegistryTracker abstracts the concept of the default ServicesRegistry found in the currently active editor, which the ServiceUtilsForHandlers class (and hence all of its clients) relies on. Again an OSGi service implementation in the infra.ui bundle supplies the implementation of this tracker, which is exposed in infra.core through the service-utils API Also move UI-dependent APIs from the org.eclipse.papyrus.infra.core bundle into org.eclipse.papyrus.infra.ui. This includes * moving the 'papyrusDiagram' and 'papyrusContentOutline' extension points into the org.eclipse.papyrus.infra.ui namespace * moving various UI-related services such as EditorLifeycleManager, SaveLayoutBeforeClose, and the IMultiDiagramEditor, itself, into the org.eclipse.papyrus.infra.ui bundle This necessitates not only widespread refactorings on the moved APIs, but also concomitant move of other APIs in other bundles because they cannot plausibly use these moved APIs from their new home in org.eclipse.papyrus.infra.ui and/or they cannot reasonably also be moved to the UI bundle and/or they must be used by bundles that now have no UI dependency: * the DI/sash-windows EMF model is moved out of infra.core.sasheditor.di bundle into a new model-only org.eclipse.papyrus.infra.sashwindows.di bundle (which symbolic name incidentally now better reflects the contained Java package names) * the IPageManager and ILocalPageService interfaces are moved out of infra.core.sasheditor.di bundle because they need to remain accessible by headless code such as the edit advices that ensure deletion of sash-model pages for notations that are deleted. These are now in a package named org.eclipse.papyrus.infra.code.sashwindows.di.service. Accordingly the class hierarchy implementing the IPageManager interface is changed: the obsolete PageMngrImpl is deleted, replaced by a BasicPageManagerImpl which now the PageManagerImpl extends. A service factory creates the basic page manager in a headless context, but is overridden by the UI-aware implementation when the UI bundles are installed * the MultiDiagramEditorGefDelegate (which has a GEF 3 dependency) is moved from the org.eclipse.papyrus.infra.core.sasheditor bundle to a new org.eclipse.papyrus.infra.gmfdiag.gef bundle. Its usage for an adapter of ActionRegistry type is extracted out of the CoreMultiDiagramEditor class into a new external adapter-factory in the infra.gmfdiag.gef bundle Tests all still pass (inasmuch as they do in the nightly master builds). Change-Id: I573dee5d9312d6e5746d74575350d0152b591ab3
2015-11-18Bug 463589 - [Navigation] Alt MenuShuai Li7-278/+351
- Add navigation menu on alt+hover over a navigable element (in diagram or model explorer) - Move hyperlinks to this navigation menu - First version of navigation extension framework to contribute navigation menu buttons to the menu. These contributors are handled by the navigation service. - Current contributors are: parents, children, types, views, targets, sources - Add NamedElement navigable element - Add method to chose navigation target provider in navigation service - Add method to get semantic element from navigable element - Change some navigable element labels - Rm DiagramNavigationProvider because views where the element appears are already shown. - Add PopupBarEditPolicyProvider to edit policy extensions Patch set 20: Architecture changes: - oep.views.navigation is deleted and its content moved to oep.infra.gmfdiag.navigation. Several changes were made beforehand: - Remove dependency on - Remove useless import of org.eclipse.uml.uml2 - Remove dependencies on uml and nattable - Move oep.views.navigation.contributor oep.uml.navigation.menuContributor - Remove useless imports of navigation menu button package elsewhere - Delete oep.views.navigation[.feature] and remove from main pom Feature changes: - In oep.infra.gmfdiag.navigation, added OwnedDiagramButton menu contributor, which will show diagrams owned by the hovered element Other changes: - Contribute DiagramOfViewLabelProvider extension in context of "" - Add ViewerSearchService to DefaultNavigationMenu. This replaces getViewsToSelect and getClosedViewsToSelect methods. - Rename oep.uml.navigation.contributor to navigableElement - Remove old navigation contributors from oep.infra.gmfdiag.navigation (not contributed through extensions anyway) Change-Id: I895ea3923b1e5612b3bba4d3296a91176b7c2b94 Signed-off-by: Shuai Li <>
2015-11-05Bug 481434 - [Hyperlink] Selecting an element in the "Recent selections"Shuai Li1-109/+124
list, of the "Specific View" dialog, does not do anything - EncapsulatedProvider::revealElement now handles an encapsulated composite provider - SpecificViewProvider now implements IRevealElement Signed-off-by: Shuai Li <>
2015-10-30Bug 465886 - [Navigation, Hyperlink] Double-click default actionShuai Li2-96/+97
- Double-click now creates hyperlinks if there are no default hyperlinks. This is done with hyperlinkContributor extensions. If there are none, then the hyperlinks menu opens. - Add HyperlinkService and its preferences page for hyperlink contributors. (The navigation service is not used for hyperlink contributors because otherwise there is a cyclic dependency issue.) - Hyperlink contributors for nested/nesting package, target/source of element in a directed relationship, owned behavior and inner class of a class - Specific hyperlinks icon for web and document - For nested and nesting contributors, diagrams must be of type class or composite - Add inner composite structure hyperlink contributor - Remove heuristic tab from hyperlink manager (remove extension from uml.diagram.common) - Open normal hyperlink manager instead of advanced one (with the heuristic tab) Patch set 16: - Remove oep.uml.hyperlink plugin (including feature and pom) - Move hyperlink contributors to oep.uml.diagram.X plugins accordingly - Views search is done with ViewerSearchService and DiagramViewerSearcher extends AbstractViewerSearcher implements IExtendedViewerSearcher; IExtendedViewerSearch is a new interface that extends IViewerSearcher - oep.uml.diagram.X depends on oep.infra.hyperlink and - Remove table hyperlinks since all tables are trees now; will re-integrate in tree table navigation patch Change-Id: I071767591243819205b35f4965383a43ce48cd2a Signed-off-by: Shuai Li <>
2015-08-21[releng] Neon-1.2.0 modification step by stepQuentin Le Menez2-19/+16
Change-Id: I9126d707fecad85c9b5384b35074deba995b6527 Signed-off-by: Quentin Le Menez <>
2015-06-11469953: [Releng] Update the build to support a global POMCamille Letavernier1-2/+2 Change-Id: I050cf9dbbdd5705aaf8d45f2db3458226d148002 Signed-off-by: Camille Letavernier <>
2015-06-08Bug 468335 - [All Diagrams] Cannot remove diagram hyperlinksShuai Li1-253/+253
- Remove heuristic tab: - Remove extension from uml.diagram.common - Instantiate (basic) HyperLinkManagerShell in the edit policy Signed-off-by: Shuai Li <> Change-Id: I0bad73d302a306147198b379d7efaa06b1275959 Reviewed-on: Reviewed-by: Camille Letavernier <> Tested-by: Camille Letavernier <>
2015-02-23Bug 460583: Selecting a dependency in a diagram results in errorChristian W. Damus1-10/+14 Fix ClassCastException on unnecessary assumption that the host edit-part is a GraphicalEditPart.
2015-02-08451230: Modeling assistants customization for profilesChristian W. Damus2-603/+126 Infrastructure for dynamically provisionable modeled Diagram Assistants in Papyrus diagrams, based on the element types described by Element Type Configuration models. Includes: - common model for filters - UML-specific filters - Modeling Assistant Providers model - dynamic registry of modeled assistant providers, with extension point for static registrations - GMF modeling assistant provider extension that delegates to modeled providers - Element Type Configurations and Diagram Assistants model generators with wizards, generating models based on UML Profiles targeting specific element-type config models (for a diagram or for UML generally) - Assistants model generation from a GMFGen model for a particular UML diagram - refactoring of JUnit test suite framework for better partitioning of the All-Tests suite-of-suites - automated tests for the filters model, assistants model, assistant provider extension, and model transformations
2014-12-15Bug 454386 - [All Diagrams] Drag & drop Diagram on diagram borkenBenoit Maggi1-379/+452
- redirect faling navigation to the shortcutEditPolicy - deprecate ShortcutDiagramEditPolicy since it should be unified in one editPolicy using OPEN_ROLE Change-Id: Iaa5e1d811b2b0e22995d31566492974c3415736e Signed-off-by: Benoit Maggi <>
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-12/+12
2014-08-26[Code Style] Configure code style in the projectsChristian W. Damus2-0/+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 Letavernier2-3/+2
2014-08-21[Code style] Apply clean-up and formatter on Main plug-insCamille Letavernier11-260/+264
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-12/+12
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/ Signed-off-by: Laurent Wouters <>
2014-03-25421411: [Diagram] Navigating a hyperlink marks the model as dirty.Christian W. Damus1-27/+51 Ensure that the operation history knows that hyperlink navigation commands are non-dirtying.
2014-03-21Merge branch 'bugs/330199-layers'Cedric Dumoulin1-4/+4
Conflicts: plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.common/src/org/eclipse/papyrus/infra/gmfdiag/common/model/ Solved by adding the extra methods getByName() in the Master plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.hyperlink/META-INF/MANIFEST.MF Solved by getting the master copy plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/META-INF/MANIFEST.MF Solved by getting the master copy
2014-03-19430726: [Class Diagram] Drag-n-drop from Model Explorer to Diagram is broken ↵Christian W. Damus1-4/+5
post M6 Update the DiagramNavigationProvider for the change in the Model Explorer content no longer being IAdaptables (the EMF Facet 0.2 refactoring).
2014-03-14[Releng] Fix dependency versionsCamille Letavernier1-4/+4
2014-03-05429239: [Resource Management] Refactoring of the 3-files model andCamille Letavernier1-14/+2
PageManager - Make the PageManager/DiContentProvider transactional - Don't use Commands for manipulating the PageManager/DiContentProvider
2014-02-17Bug 421410 - [Diagram] Hyperlink menu should pop up close to where theCamille Letavernier1-149/+115
mouse is placed. - Fix NPE
2014-01-27Bug 418132 - add missing files - refresh okCedric Dumoulin1-0/+1
2013-12-11Bug 421410 - [Diagram] Hyperlink menu should pop up close to where theCamille Letavernier1-17/+1
mouse is placed.
2013-12-11Bug 421410 - [Diagram] Hyperlink menu should pop up close to where theCamille Letavernier1-93/+167
mouse is placed.
2013-11-13263430: [General] Add relengCamille Letavernier1-12/+12 Luna: Update plug-in version numbers to 1.0.0
2013-10-28417673: [Hyperlinks] Cannot easily navigate to nested diagrams.Camille Letavernier2-2/+19
2013-10-28417673: [Hyperlinks] Cannot easily navigate to nested diagrams.Camille Letavernier4-1/+167
2013-10-24420201: [All diagrams - Hyperlinks] The Hyperlinks button (green +) popsCamille Letavernier1-0/+8
up too early
2013-10-24420177: Double click on Hyperlink open diagram AND HyperLink windowCamille Letavernier1-18/+19
2013-09-24415373: [CDO] Drag-and-drop to create hyperlinksChristian W. Damus1-29/+36 Implement an optional extension interface for pluggable hyperlink helpers to support creation of hyperlinks by drag-and-drop. Update the drop edit-policy strategy for hyperlinks to delegate creation of hyperlinks to helpers that implement the new extension API.
2013-07-04[Releng] Update Papyrus version to 0.10.1cletavernie1-28/+31
2013-04-30399857: [Hyperlinks] Papyrus shall enable to navigate between model elements ↵cletavernie1-15/+7
shown in views Fix the diagram content provider to rely on the IPageManager instead of the Notation resource
2013-04-12399857: [Hyperlinks] Papyrus shall enable to navigate between model elements ↵cletavernie4-13/+140
shown in views
2013-03-28399852: [Hyperlinks] Papyrus shall allow the creation of hyperlinks via Drag ↵cletavernie1-2/+1
and Drop 404564: [Resource] Papyrus shall support optional ecore models Fix a too strict cast to avoid errors with unresolved elements
2013-03-25[Trivial][GMF Hyperlinks] Reduce the scope of the HyperLink EditPolicy, so ↵cletavernie1-1/+16
that it is not installed on non-Papyrus GMF Diagrams
2013-02-18398712: [Core] Multiple issues with the PageManagercletavernie3-16/+140 360243: [ModelExplorer] Undo/Redo on delete for Diagrams and Tables
2013-02-04367938: [Refactoring][Diagram Common] the package ↵cletavernie15-0/+1820
oep.uml.diagram.common.ui.hyperlink should be moved in a new plugin 391945: [Refactoring] Part 2: Refactoring on Kepler (0.10) Move oep.infra.gmfdiag.hyperlink to its final SVN location

    Back to the top