Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-11-18Bug 507610 - [Documentation View] html balise is add at text at simpleMickael ADAM2-6/+9
text mode https://bugs.eclipse.org/bugs/show_bug.cgi?id=507610 - fix the issue - set the synchronized button to enable by default. Change-Id: Ic22d6de67cca6ab047c4ae0294d4545138819c78 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-11-09Bug 500869 - [Widget] Select Element Dialog should be improvedMickael ADAM1-1/+1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=500869 Change-Id: I29e26992c5bf99aaf145d9046254f93964206309 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-11-09Bug 501511 - [Documentation] A new documentation View for UML ElementMickael ADAM24-0/+2418
shall be available. https://bugs.eclipse.org/bugs/show_bug.cgi?id=501511 - Add new Documentation View. Change-Id: Iac879a5eb1e188dd59cd9bcd38d90bf0e756b83f Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-11-03Bug 506506 - [Model Explorer] Filter shall be compliant with RegexMickael ADAM6-1/+65
https://bugs.eclipse.org/bugs/show_bug.cgi?id=506506 - replacement of << and >> by « and » at search field. - Preference available at 'Papyrus > Model Explorer' Change-Id: If73d19941fa4cdef2b8aa2ab937ebe378c30baa0 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-10-24Bug 505907 - [Model Explorer] Expand is failing with Package ImportMickael ADAM9-8/+163
https://bugs.eclipse.org/bugs/show_bug.cgi?id=505907 - Add max expand level preference, set to 15 by default. Change-Id: Ib0068d7176451f9b71bbff05ba47d8d8ec055b70 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-10-06Bug 503038 - [Model Explorer] The validation of search field should beMickael ADAM11-85/+295
improved. https://bugs.eclipse.org/bugs/show_bug.cgi?id=503038 - Add new Model explorer preference for filter field validation: -Live validataion -delay field(ms) -Some refactor to clean Model explorer Preferences. Change-Id: Icead28b694eaed6b5d7c7cad7caac94e9e6e9170 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-10-04Remove not necessary label from message.Mickael ADAM1-1/+0
Change-Id: I47e5207f3abb08bbc3a06945085e637491516880 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-09-30Bug 502003 - [Model Explorer] Expand/Collapse buttons should be work atMickael ADAM6-1/+207
selected element https://bugs.eclipse.org/bugs/show_bug.cgi?id=502003 Change-Id: Ife74540571623e4eacadaca18ba72e6daab63dc6 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-09-28Bug 455241: [Undo/Redo] Deleting an element is not always undo/redo-ableFanch BONNABESSE1-13/+66
via edit menu https://bugs.eclipse.org/bugs/show_bug.cgi?id=455241 Selection of the root element only when the command delete an element. Check if the command is a delete command. Change-Id: Ide547602825d29c7147fa0b0d0b6a9be6946bf16 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-09-09Bug 455241: [Undo/Redo] Deleting an element is not always undo/redo-ableFanch BONNABESSE1-1/+18
via edit menu https://bugs.eclipse.org/bugs/show_bug.cgi?id=455241 Changing the selection when the CommandStack is modified to refresh actions. Change-Id: Ie6057ab600f838d49a0284e4a1e9cdeffdf07a93 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-09-09Bug 499235: [Cleanup] Remove @deprecated handlers on theFanch BONNABESSE7-609/+292
views.modelexplorer plug-in https://bugs.eclipse.org/bugs/show_bug.cgi?id=499235 Remove two handlers. Increase plug-in version 2.0.0 to 3.0.0 (org.eclipse.papyrus.views.modelexplorer) + Rebase (PatchSet8) Change-Id: Ia4b828145118d71524de9c68c3abc418e29342d9 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-09-09Bug 500290 - [Model Explorer] It should be possible to filter elementMickael ADAM5-12/+111
from model https://bugs.eclipse.org/bugs/show_bug.cgi?id=500290 Change-Id: Id15819484b62b69a0f0b686f257d9acfee31e870 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-08-28Bug 443799 - Fix potential bugs identified by FindBugs in oep.infra.*Florian Noyrit14-73/+73
Bug 499554 - Oxygen release version number moved to 3.0.0. Change-Id: I8e112db7175a5b89eb9b37973639627a6c29e007
2016-08-11Bug 497289: [Model Explorer] Renaming an element in the model explorerFanch BONNABESSE9-38/+288
should not open a modal editor https://bugs.eclipse.org/bugs/show_bug.cgi?id=497289 Activation of the DirectEditor configuration on the ModelExplorer view for: - NamedElement - Diagram - Table Add a Preference on "Papyrus > Papyrus Model Explorer > New Child Menu" Change-Id: I760b84ee4b30f8f05ccb6c2f001a4e0f1e82d150 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-08-04Bug 492891: [Table] Link with editor: different behavior of diagrams andNicolas FAUVERGUE1-1/+1
tables https://bugs.eclipse.org/bugs/show_bug.cgi?id=492891 - The owner of table can be modified and the context can't be modified - Add the 'Table', 'Appearance' and 'Paste' tab in properties view when an the table is the current editor This looks to correct other bugs: - Bug 492605 - [Table][Properties][usability] error message "Properties are not available" - Bug 492615 - [Table][usability] inconsistency of properties view N.B: The 'invert axis' button doesn't work correctly, but another gerrit manage it Change-Id: I9d22713e81bf865bc59fbd10a34b270e75aa5037 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@all4tec.net>
2016-08-02Bug 422927: [Model Explorer] Rename does not work on model explorer, ifFanch BONNABESSE6-355/+346
the diagram have not the focus previously https://bugs.eclipse.org/bugs/show_bug.cgi?id=422927 org.eclipse.papyrus.views.modelexplorer.handler.AbstractCommandHandler is deprecated, modify to org.eclipse.papyrus.infra.ui.command.AbstractCommandHandler on many handlers : - CopyHandler - CutHandler - PasteHandler - DeleteCommandHandler - LoadResourceHandler - UnloadResourceHandler - AbstractImportHandler Change-Id: I655ba0af47051dfef16b92e73b423d7745ba487c Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-05-09[Releng] Fix project configuration problemsChristian W. Damus1-3/+3
Automatic update of project misconfigurations in new and existing projects via Oomph. Change-Id: I42e1b4178017a054ef4741be48c9fe3bf9e7ef31
2016-05-03Bug 492194 - [NewChild] it should be possible to hide NewChildMickael ADAM1-1/+1
contribution https://bugs.eclipse.org/bugs/show_bug.cgi?id=492194 Conflicts: features/papyrus-main-features/org.eclipse.papyrus.infra.ui.feature/feature.xml Change-Id: I8ff8a6324a1d3cd92b774e0cca3c3d21f52591fb Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-05-03Bug 489141: It should be possible to know all references of an elementFanch BONNABESSE1-1/+3
https://bugs.eclipse.org/bugs/show_bug.cgi?id=489141 Adding of the about.html file on the build.properties Change-Id: Ibd924f9d71fd2e6db8c0dd878508393d6602c756 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-05-02Bug 489141: It should be possible to know all references of an elementFanch BONNABESSE3-1/+32
https://bugs.eclipse.org/bugs/show_bug.cgi?id=489141 Adding correction on the manifest.mf file: - Bundle-Vendor - Bundle-Description Adding the about.html file. Change-Id: I589fc59a6b52696c87f95a87562a94e53d559400 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-05-02Bug 489141: It should be possible to know all references of an elementFanch BONNABESSE25-0/+2274
https://bugs.eclipse.org/bugs/show_bug.cgi?id=489141 Adding the view "References" to display elements making references to a selected item. Change-Id: I80d10991f46d6e05a6203ddc2c2cdde05f67418a Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2016-04-15Bug 463687 - Not possible to see and click-to-navigate to oppositeShuai Li1-28/+1
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 <shuai.li@cea.fr>
2016-04-07Bug 487199 - [NewChild] A action shall be available to deployMickael ADAM1-2/+2
creationMenuModel from project explorer https://bugs.eclipse.org/bugs/show_bug.cgi?id=487199 - Adds deploy/undeploy action on creationmenumodel files. - Adds methods to load/unload folders programmatically. - Tests of deploy/undeploy + test of extension point - update plugin requirement model and update - adds generated images Change-Id: I79ab475a3933f281037754b69fe7b1e3ef56d6c5 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
2016-03-03Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus24-20/+748
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 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. Damus14-322/+364
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 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 * org.eclipse.papyrus.releng.dev.release 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. Damus11-15/+0
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220" This reverts commit f050d4119a2316b27588076d4fc90152773fc019.
2016-02-13Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus11-0/+15
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 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. Damus129-15215/+1949
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 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 org.eclipse.papyrus.views.properties bundle to a new org.eclipse.papyrus.infra.properties.ui 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 architecture (& builds) ↵Christian W. Damus313-39503/+216
for Papyrus https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Refactor the Properties Model bundles into the Infra Layer. The *.views.properties.model[.edit,.editor] bundles are renamed as *.infra.properties[.edit,.editor]. The packages within are correspondingly renamed. To support upgrade installation, special p2 update metadata tells the p2 engine how these bundles have been renamed, ensuring proper replacement of the old *.views.properties.model* bundles, because otherwise the clash of EMF model registrations would cause run-time errors. The *.views.properties.environment extension point is moved to *.infra.properties.environments. The *.views.properties.context extension point has the <context> element moved to a new *.infra.properties.contexts point. The <preferencePageBinding> element remains. JUnit tests pass, at least inasmuch as they pass in the nightly builds. Change-Id: I6445808f8eb1144b08c0cd5f0a487d1bad229a4c
2016-01-22Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus2-5/+14
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Move UI-dependent APIs from the org.eclipse.papyrus.infra.constraints bundle to a new org.eclipse.papyrus.infra.constraints.ui bundle. Replace usage of ISelection and IStructuredSelection in Constraint and ConstraintEngine API methods with Object and Collection<?>, respectively. Move the ElementTypesPreferences class from the infra.elementtypesconfigurations bundle to a new infra.elementtypesconfigurations.ui bundle. For compatibility, it still persists its data via an `IMemento` in the preferences of the core `infra.elementtypesconfigurations` bundle. It implements a new provider extension interface that allows the core bundle's element-type registry to call out to it to get user-defined element types from the workspace. Move the RuntimeValuesEditionAdviceEditHelperAdvice class and some of its attendants from the infra.elementtypesconfigurations.emf bundle to the new infra.elementtypesconfigurations.ui bundle because it needs to open the EditionDialog to let the user edit objects. Likewise the similar APIs in the infra.extendedtypes bundle, including also the entire providers package for action-providers, with the ExtendedElementTypeActionService class, the IExtendedElementTypeActionProvider interface, and the corresponding extension point namespace. Move the ElementTypeValidator class from the infra.services.edit bundle to a new infra.services.edit.ui bundle. Other fixes for simple inessential UI dependencies and also conflicts in bundle classpaths (such as in the Sequence Diagram particularly) that cause deadlocks in class loading in a complete Papyrus environment, such as the AllTests suite. Factor the UI dependencies out of the infra.onefile bundle into a new infra.onefile.ui bundle. Tests all still pass (inasmuch as they do in the nightly master builds). Change-Id: I43510c84f54c3e0e52cd7d2aa3ca6aca95b894a7
2016-01-22Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus14-129/+27
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Move UI-dependent APIs from the org.eclipse.papyrus.infra.emf bundle to a new org.eclipse.papyrus.infra.ui.emf bundle. Accordingly move tests into a new org.eclipse.papyrus.infra.ui.emf.tests bundle. Now that we have an UI EMF bundle, move the editor-page advices from the infra.ui bundle into it, which is a more appropriate home for them. One UI dependency is removed by reordering of code in the EMFHelper::getEObject(Object) API: * the EMF Facet tree elements are once again IAdaptables, providing their encapsulated EObjects or EReferences as adapters. So, the case handling IAdaptable is moved ahead of the test for is-an-EObject because these tree elements are also EObjects but are not interesting in themselves Also, the dialog-settings for the EMF Facet customization manager are moved into the infra.ui.emf bundle, as is the lazy initialization of the manager from those settings. Clients are refactored to get the customization manager from this new bundle (via a new ProviderHelper API) to ensure this lazy initialization. Various UI-dependent ServiceUtilsForXyz classes that were in the infra.emf bundle but had nothing to do with EMF are moved into the infra.ui bundle. UI-dependent classes from the org.eclipse.papyrus.infra.emf.readonly bundle are moved into the org.eclipse.papyrus.infra.ui.emf, also. These include extraction of the editor reload listener from the ReadOnlyManager class by means of a new general-purpose IReadOnlyManagerProcessor OSGi service interface. Tests all still pass (inasmuch as they do in the nightly master builds). Change-Id: Ieb0993b2ed1a7a49890d3471c7b42bc4f218fec6
2016-01-22Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus22-69/+113
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220 Move UI-dependent APIs from the org.eclipse.papyrus.infra.tools 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 infra.tools 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
2016-01-18485539: [Performances - Facet Manager] FacetManager recomputes theCamille Letavernier2-12/+72
Facets for a given element too many times https://bugs.eclipse.org/bugs/show_bug.cgi?id=485539 - Replace the custom property isVisible(EObject, EStructuralFeature) with getVisibleReferences(EObject) and getVisibleAttributes(EObject). This improves performances a lot, especially for complex metamodels such as UML Change-Id: I170b70774b8f6f19ded7fe1e824097b0c5cf7300 Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-12-14Bug 469188: [Editor] Page management improvements in the Papyrus multi-editorChristian W. Damus2-4/+31
https://bugs.eclipse.org/bugs/show_bug.cgi?id=469188 Support for saving the active Welcome Page layout as the default for all other (non-customized) welcome pages. This includes: * saving the user-defined layout in the workspace metadata area as the default Welcome Page model * notifying all other open editors that are using the default welcome model to refresh their layouts * a new button in the Welcome Page preferences to reset the default layout to factory defaults. This deletes the default welcome model and notifies editors to recompute the layout
2015-12-08Bug 469188: [Editor] Page management improvements in the Papyrus multi-editorChristian W. Damus5-166/+330
https://bugs.eclipse.org/bugs/show_bug.cgi?id=469188 This is a squashed commit comprising all of the changes on the committers/cdamus/469188-editor-welcome branch for the introduction of a Welcome Page in the Papyrus Editor. commit 51d64a198c2069b208b5231212a5514441514c54 Implement drag-and-drop rearrangement of the sections in the simple grid-wise layout of the Welcome Page. Persist the user's customization in the sash/di resource with the sash model, using new classes in the Welcome package. commit b59f057cf1e08b51942aac1f45226a304c48039e Fix enablement condition for Show Welcome Page action which has been broken since the page was changed from an editor to a plain composite. commit 69cee20b44c699c6a078e66bf9b16a83c1de7315 Remove the databinding properties APIs for Forms widgets that are no longer needed since the NatTable refactoring of the Diagrams table in the welcome page. commit 00cfdd106421c0b1366c2a7deade819b4a3041ef Add table of languages to the General section in the welcome page. Add section of hyperlinks to related views to the welcome page. Implement ordering of the contents of the welcome page according to tab 'afterTab' relationships and priorities. Overall the layout is still two rows with a variable number of columns. commit a7d739b8e03bea5d4cf5e4d0d3663adbc62f5018 Let the SashModel report to listeners when its storage mode changes so that the two different UI presentations of that mode can remain up-to- date at all times. commit 7fc4f8bf1f0fcee31f84b976e29cd7b3848ec47d Ensure that new models initially track the active page of each tab folder because they store their layout privately by default. commit 6d5dbf27a4428645655bcf6ff9a99d4a3c77dcb8 Implement optional tracking of the active page in the private sash model and switching between private and shared storage of the layout. Includes: * enhancement of the Sash DI model to include a currently selected page for each tab folder and a boolean flag whether to restore the last selection in each tab folder * a new editor lifecycle event for "pre display" to provide a hook to set up the page activation before the SWT controls are rendered, so that the editor doesn't open up and then change page selections while the user watches * expose the SaveLayoutBeforeClose behaviour for re-use when changing layout options in the welcome page * update enablement from editable-ness for Properties widgets that force refresh commit 97897b3d0d295a71a7173a584ceda3ac24c5c6ea Factor out some more common bits into core plug-ins (e.g., the IsWelcomeElement constraint in the properties environment). Create the list of tables in the welcome page. This requires some renaming of properties model content in the diagrams list for disambiguation. commit f73fe34e87c915cc603ec12c608c020406ea7d73 Refactor the Diagrams table as a reusable NatTable of hyperlinks. commit a6308f25a8c6e6c129174e9c418cb90e6f025e16 Move the column headers of the diagrams table out into a separate composite that does not scroll vertically with the table of hyperlinks (though it does track the table's horizontal scroll position). commit 0425bf34630e4420db3674fa8d4641820a305478 Add a separate preference page for Welcome Page Content. This depends on a new extension in the context registry for association of contexts with preferences pages (by default, associating legacy contexts with the Properties View preference page). commit 06719c107a3f323be53ca6ada4f820f2d4ef10cb Rework the contribution of welcome-page content to: * eliminate the custom extension point for section providers * use the Properties View framework to obtain welcome-page sections for the Welcome model element Update the Diagrams table provider as a property section for the Welcome model. This involves implementation of a custom table-of- hyperlinks widget. Several reusable data-bindings classes are added to the appropriate Papyrus infra-layer bundles. commit 4069f62cc89413b8739cc6c33211ac5a11942bc4 Welcome page content for diagrams. commit 8599ee6bdf7b2c7423811fee3e2441a618621ce4 The Welcome Page doesn't need to be an editor, just a composite. So, let any page part (including simple composites) be optionally closeable and change the WelcomePage into a simple composite part instead of a nested workbench editor-part. commit 83b581ea9aadb5b852b36b2fa0524ca7df60b255 Initial definition of an extension point for welcome section providers. commit f949eaf6cf131449f4584b71072033b22cd1cea2 Initial implementation of a (so far, empty) Welcome page that is always open when no other Papyrus editor pages are open. Change-Id: I351118dc0b6a0dea505719a8c62ef430c273c7cf
2015-11-26Bug 482927: [Properties] Customization context models should have UI labelsChristian W. Damus12-140/+449
https://bugs.eclipse.org/bugs/show_bug.cgi?id=482927 Add an optional 'label' attribute to the Context class and a derived 'userLabel' that is the 'label' if present, otherwise the 'name'. Use the new derived user label wherever appropriate in the UI: in progress monitors, informational dialogs, and especially the preference pages. In the "Property view" preference page, sort contexts by user label. Update existing context models to provide user-friendly labels.
2015-11-26Bug 482930: [Properties] Conflict dialog in preferences is too informativeChristian W. Damus5-46/+108
https://bugs.eclipse.org/bugs/show_bug.cgi?id=482930 Update the "Property views" preference page to report conflicts only involving those contexts whose enablement state has actually been changed by the user in the page.
2015-11-26480513 - [Property view] Enhance EditionDialogAnsgar Radermacher3-0/+64
2015-11-18Bug 463589 - [Navigation] Alt MenuShuai Li14-2722/+2644
- 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 oep.uml.tools - 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 "oep.infra.services.navigation.menu.labelprovider" - 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 <shuai.li@cea.fr>
2015-11-16bug 481507: [Table] Validation Marker must be displayed in the rows (or columns)Vincent Lorenzo1-49/+11
Change-Id: I6414bc1721e0d827bd8d8d6f4d9b11fd50df0d91 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2015-10-23Bug 479425: [Tooling] Copy and paste of a protocol does not workCéline Janssens1-1/+10
https://bugs.eclipse.org/bugs/show_bug.cgi?id=479425 - Modify The CopyStrategy API - Allow to modify the copied Elements list from the selection list Change-Id: I05f2ffaeb294a0fac9b4baf237ba2c6a588e754d Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=479425 Signed-off-by: Céline Janssens <Celine.Janssens@all4tec.net> (cherry picked from commit 31543f45918e421e6dead5b848024ee171e9481b)
2015-10-13Bug 479275 - [Class diagram] Dropping of theashatilov1-1/+3
RedefinableTemplateSignature causes NPE Change-Id: I444f23b03da093aff0f8b10c6e97db1c79df6fd7 Signed-off-by: ashatilov <shatilov@montages.com>
2015-09-17476625: [GEF4] Implement an "Open with..." action for Papyrus DiagramsCamille Letavernier1-0/+12
https://bugs.eclipse.org/bugs/show_bug.cgi?id=476625 - Add missing header Change-Id: I46d70cd4cbd92e14575ca7bf9d175583fd04b000 Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-09-17476625: [GEF4] Implement an "Open with..." action for Papyrus DiagramsCamille Letavernier5-11/+158
https://bugs.eclipse.org/bugs/show_bug.cgi?id=476625 Change-Id: Ibe9a085bca197c8ef6aae2a37c044ca8429b3fee Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-09-14477334: [Model Explorer] ServiceNotFoundException inCamille Letavernier1-1/+5
ServiceUtilsForResource.getServiceRegistry (63) https://bugs.eclipse.org/bugs/show_bug.cgi?id=477334 Change-Id: If0349b4de7e35f02b4b0dadc7c8cf0ec2f10a128 Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-09-11Bug 475182 - [Search] Remplace EcoreUtil.equals with URI comparison toShuai Li2-2/+2
increase performance - Replace EcoreUtil.equals with EcoreUtil.getURI(...).equals(...) Change-Id: I707d600312b181fae32e32942a80c098f1439c48 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-08-21[releng] Neon-1.2.0 modification step by stepQuentin Le Menez20-203/+181
Change-Id: I9126d707fecad85c9b5384b35074deba995b6527 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2015-07-23443799: [Code Quality] Cleanup code according to FindBugs resultsCamille Letavernier3-18/+5
https://bugs.eclipse.org/bugs/show_bug.cgi?id=443799 - Fix issues in various bundles
2015-06-11469953: [Releng] Update the build to support a global POMCamille Letavernier10-20/+20
https://bugs.eclipse.org/bugs/show_bug.cgi?id=469953 Change-Id: I050cf9dbbdd5705aaf8d45f2db3458226d148002 Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-06-10Some fix and some change on master for advance Appearance property View.Mickael ADAM1-23/+12
-PapyrusRoundedEditPartHelper => to avoid bad display if radius width xor radius height = 0 and some fix -MaskManagedFloatingLabelEditPolicy => fix, the mask label must be defined at the label level -RoundedCompartmentFigure => set shadow color must allow Integer Color from Draw2D -LabelCustomizationMaskProvide r=> add case of FloatingLabel Mask manager -GridData => change some properties from protected to public to acced to the width of the property view: necessary for papyrusRowLayout. Change-Id: I887ebb42abd0bd4332d0f956e8e882a7b7b0d5e7 Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net> Reviewed-on: https://git.eclipse.org/r/49808 Tested-by: Hudson CI Reviewed-by: Camille Letavernier <camille.letavernier@cea.fr>

Back to the top