Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2023-01-16Bug 581217 - [Search] The search view should be more genericPauline DEVILLE11-345/+410
Change-Id: Icec558bf589818500745684cdbe360f835fa8a3c Signed-off-by: Pauline DEVILLE <pauline.deville@cea.fr>
2018-08-21Bug 537653 - [EPL] Update java files headersQuentin Le Menez41-82/+164
- replaced the reference in the java files headers - added the SPDX-License-Identifier Change-Id: Ia376515730e2430e8671c2b5c66f7b510894e5c6 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-06-01Bug 528895 - [Quality] Field modifier should follow convention orderBenoit Maggi2-2/+2
- use correct order for field modifier - add missing header - replace C<>line by Celine Change-Id: I2608484da46215dbd65a1e85d47d0aa7706feb58 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2018-05-28Bug 535209 - [Quality] Remove unused import/variable warningBenoit Maggi1-2/+0
- fix unused import - move example code from src to src-gen - remove unused variable Change-Id: Ic2d49c57277cc08f1b53027876b4ceab1bea515d Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2018-05-28Bug 535185 - Add Automatic-Module-Name header for Java 9 compatibilityBenoit Maggi6-16/+0
- add Automatic-Module-Name with the same value as Bundle-SymbolicName in all Manifest.MF - quality fix : remove unused import Change-Id: Icd3e4376bc9e61e360ac61522b967a088a248480 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2018-01-09Bug 515367 - [releng] Uniformization of the end of lines to Unix standardQuentin Le Menez21-2974/+2974
- Format the EOL of all the files matched by: grep -rIUs . | xargs -Ifile dos2unix -k 'file' Change-Id: I5c41d540a9a67b50de9b912ab35e16cc9a912961 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2017-12-14Bug 528776 - [Quality] Remove auto-generated TODOBenoit Maggi2-5/+5
- remove: // TODO Auto-generated method stub // TODO Auto-generated constructor stub // TODO: Auto-generated Javadoc Change-Id: Ia754c343b5dd76c17b34d041ae938318b6030522 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-05-09[releng] Update plugin version for Oxygen releaseFlorian Noyrit2-1793/+1795
- Update plugin version numbers using Neon.3 as baseline - Add appropriate @since annotations to non-generated code Change-Id: I731bd059466c0caa4b5e0bf0576f0ff5d31f8967
2016-01-22Bug 485220: [Architecture] Provide a more modular architectureChristian W. Damus2-11/+12
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
2015-11-18Bug 473763 - [Search] Clicking on a ModelMatch should navigate to theShuai Li1-7/+23
Model Explorer rather than a View - Use NavigationService to navigate to Model Explorer if selected element's source is a UML element Change-Id: I85b05fb3bcd7f46f429646a1ae8a0e4f113efaf1 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-09-14Bug 473416 - [Search] DiagramViewerSearcher performanceShuai Li3-58/+96
- Do not use crossReferencer of ECoreUtil - getViewsToSelect method in AbstractPapyrusQuery Change-Id: Ic4f8ef9c0fc733d47a1ddf59a766a19643fddf66 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-09-11Bug 475182 - [Search] Remplace EcoreUtil.equals with URI comparison toShuai Li1-4/+4
increase performance - Replace EcoreUtil.equals with EcoreUtil.getURI(...).equals(...) Change-Id: I707d600312b181fae32e32942a80c098f1439c48 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-09-10Bug 473185 - [Search] Performance of displaying elements in PapyrusShuai Li9-682/+355
search result page - In ResultContentProvider#elementsChanged, moved MatchUtils.getMatches our of general loop. This increases performance significantly. - In same method, refresh the viewer at the end of the loop only. - In all other files, remove old solution for performance issue Change-Id: Ib48278aaa713ee5e38a15b90d402ede2c6589f59 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-05-26Bug 468031 - [Search] Remove sleeps when displaying resultsShuai Li2-8/+11
Remove delay when searching and displaying results. Signed-off-by: Shuai Li <shuai.li@cea.fr> Change-Id: I29adea8e27f0f151bf76efbfcc0c70b9859e30ce Reviewed-on: https://git.eclipse.org/r/48470 Tested-by: Hudson CI Reviewed-by: Camille Letavernier <camille.letavernier@cea.fr>
2015-04-22Bug 463472 - [Search] Stereotype icons sizeShuai Li1-1/+27
- Fix stereotype icons being too big - Scale size according to DPI. Default is 16x16 for 96 DPI. Signed-off-by: Shuai Li <shuai.li@cea.fr> Change-Id: I6a9d82ecf1293bc2515a145ddab9aeff021e7acc Reviewed-on: https://git.eclipse.org/r/44899 Tested-by: Hudson CI Reviewed-by: florian noyrit <florian.noyrit@cea.fr> Tested-by: florian noyrit <florian.noyrit@cea.fr>
2015-04-22- Remove unnused importsShuai Li1-5/+0
- Use IAdaptable pattern, and IFile to test if selection is file or container Change-Id: I82f5de56d11497d77dc952e2e3403e14fda8eb55 Signed-off-by: Shuai Li <shuai.li@cea.fr> Reviewed-on: https://git.eclipse.org/r/44258 Tested-by: Hudson CI Reviewed-by: florian noyrit <florian.noyrit@cea.fr> Tested-by: florian noyrit <florian.noyrit@cea.fr>
2015-04-22Bug 462565 - [Search] User should be able to chose which stereotypesShuai Li4-134/+696
from which profiles to display in advanced search mode - Combobox to choose applied profile - Checkbox to choose to show only applied stereotypes or no - Persistent advanced search options in same session This change probably conflicts with Change 43580, which must be cherry picked first so I can rebase on master. Signed-off-by: Shuai Li <shuai.li@cea.fr> Change-Id: I38ecbaeb6368c7ab58b619003d5b4552b9d014e4 Reviewed-on: https://git.eclipse.org/r/44895 Tested-by: Hudson CI Reviewed-by: florian noyrit <florian.noyrit@cea.fr> Tested-by: florian noyrit <florian.noyrit@cea.fr>
2015-04-22Bug 461057 - [Search] Filter shows duplicate stereotypesShuai Li3-165/+192
- Compare stereotypes by URI - Note that this means if folder1/MARTE.profile.uml and folder2/MARTE.profile.uml are both applied, then duplicate stereotypes are shown because stereotypes have different URIs, even if they are the same (e.g. same qualified names). This is the current behavior of stereotypes display in Papyrus so the choice to compare URIs is consistent with the rest. Change-Id: I12cc1b47da2784ca47551b6f1aebe1dab6b93257 Signed-off-by: Shuai Li <shuai.li@cea.fr> Change-Id: I12cc1b47da2784ca47551b6f1aebe1dab6b93257 Reviewed-on: https://git.eclipse.org/r/43580 Tested-by: Hudson CI Reviewed-by: florian noyrit <florian.noyrit@cea.fr> Tested-by: florian noyrit <florian.noyrit@cea.fr>
2015-03-23Bug 461979 - [Search] Unecessary UI refresh when selecting same queryShuai Li1-41/+58
kind - Added a variable to memorize QueryKind - Fix stereotypes participants list not clearing itself each time advanced search mode is reloaded Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-03-20Bug 462692 - [Search] Stereotype collecting also collects in .uml filesShuai Li3-64/+131
without any associated .di file - Added a UMLResourceVisitor that now checks that the .di file exists when a .uml file is found Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-03-17462388: [Model Search] ClassNotFoundError when using the OCL SearchCamille Letavernier1-4/+4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=462388
2015-03-11Bug 461823 - [Search] Performance of stereotype collectingShuai Li3-29/+79
- Optimize performance of stereotype and stereotyped participants collecting: search in resource contents list (sufficient) instead of whole model Change-Id: I90757233dd07976b681c488b7f480fd94ee07b8a Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-03-11Bug 461822 - [Search] Results display performance and monitoringShuai Li10-747/+1105
Bug 432834 - [Performances - Search] The search operation loads models into the active ModelSet - Added progress monitor - Delay search results refresh to avoid UI getting stuck - Also fixes modelset bug Change-Id: I8fa0244225c4cb4f11209a6b2cf14bcf52585242 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-03-11Bug 461819 - [Search] Results should be displayed as flatShuai Li3-62/+82
Bug 461821 - [Search] Attributes matches aren't displayed correctly - Display qualified name for semantic elements in results - Do not display whole hierarchy for an element in results - Fix result text of non-string attribute matches - Fix different attribute matches not showing if they have the same offset, length due to collision in HashSet Change-Id: Ice3909d113537fc8ba1c6d6303652438e3f80dfd Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-03-11Bug 461818 - [Search] Search for elements with at least one stereotypeShuai Li6-110/+187
applied Bug 461938 - [Search] CDO tests to update - Checkbox to search for elements with at least one selected stereotype applied - Use new QueryInfo constructor for advanced search queries Change-Id: Id2bd09f8e6cd24500bb9234ffc3b9100d5927e64 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-03-11Bug 461825 - [Search] Stereotypes list in advanced searchShuai Li6-131/+219
Bug 461826 - [Search] Cannot search for any attribute type - Stereotype icons - Added org.eclipse.papyrus.uml.tools plugin dependency - Fixed not collecting stereotypes of children elements - User can now search for any stereotype attribute type Change-Id: I32ac9f33f09c2efd7c8010fed3480afc23ce51c3 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-03-11Bug 461816 - [Search] Tooltips for buttonsShuai Li5-7/+19
- Added tooltips for refresh lists button Change-Id: Iff50437e068ebd770d476cb75f86e512b6544f65 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-03-11Bug 459425 - [Search] In advanced search, selecting an element shouldShuai Li6-229/+231
select all of its attributes by default - Checking an element checks all of its attributes - Unchecking the last attribute of an element, unchecks the element - The behaviors are also respected in filtered mode. E.g. checking a filtered element, with its attributes hidden, also checks the attributes - Behavior of search is adapted for this change Change-Id: I33a34a51818e5479441f31f857eee983db2df5f1 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-03-11Bug 459429 - [Search] Unecessary UI refresh when selecting same searchShuai Li1-15/+20
kind - Keep the state of the search kind and refresh only if the state changes Change-Id: I6c1badfc8f2a12e3d17358ae159a62d97e288f16 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-03-11Bug 459417 - [Usability] Text above search textboxShuai Li3-6/+7
- Added text to searchQueryExplanatoryLabel Change-Id: Ib102e1ee463780d7d71b0a84751b127cf348ddd3 Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-03-11Bug 461795 - [Search] Stereotypes list should only include appliedShuai Li4-649/+907
stereotypes and should be separated - Added separate stereotypes list in advanced search UI - Added computeAppliedStereotypes method to collect only applied stereotypes in selected models Change-Id: I5451624454ad2f18545f658032cf3aa040c9e02d Signed-off-by: Shuai Li <shuai.li@cea.fr>
2015-02-07Bug 456874 [Search] Error when searching in the models for a specificShuai Li4-789/+791
String https://bugs.eclipse.org/bugs/show_bug.cgi?id=456874 - Fixed how offset and length of match is computed Signed-off-by: Shuai Li <shuai.li88@gmail.com>
2015-02-06Bug 456874 [Search] Error when searching in the models for a specificShuai Li2-416/+414
String https://bugs.eclipse.org/bugs/show_bug.cgi?id=456874 - The endindex for substring (called on the matched value) is now computed correctly as the length of the matched value instead of (offset + length) - The indexes of the matched value in the string is now displayed correctly. E.g. '"clas" in "myclass" [3, 5]' Signed-off-by: Shuai Li <shuai.li88@gmail.com>
2015-02-04Bug 454040 - [OCL for Papyrus] Track migration of Eclipse OCL to OCL 2.51.1.0_M5Ed Willink9-154/+78
candidate support Change-Id: I67c5bf2113b1420cea18707695568313f9637111 Signed-off-by: Ed Willink <ed@willink.me.uk>
2014-08-25[Code style] Apply clean-up profile to Papyrus Main plug-insCamille Letavernier2-3/+3
2014-08-21[Code style] Apply clean-up and formatter on Main plug-insCamille Letavernier42-1272/+1283
2014-05-13434681: [Search] Remove occurrences of @Nullable and @NonNull annotations ↵Christian W. Damus2-19/+12
from JDT https://bugs.eclipse.org/bugs/show_bug.cgi?id=434681
2014-03-10[releng] Fixed compatibility with updated APILaurent Wouters1-4/+0
Signed-off-by: Laurent Wouters <laurent.wouters@cea.fr>
2014-01-08Correct the replace action in search to not depend on the newFlorian Noyrit3-301/+10
refactoring framework. The refactoring framework will be commited later.
2013-12-20Update search to support "AND" semantics on stereotype application ofFlorian Noyrit17-169/+817
selected stereotypes. Replace is now based on refactoring framework.
2013-12-18Fix a class cast bug due to the rmap updateVincent Lorenzo1-1/+1
2013-09-06415371: Fix erroneous uses of Match::getLength() as an end indexChristian W. Damus2-6/+11
https://bugs.eclipse.org/bugs/show_bug.cgi?id=415371
2013-09-06415371: [CDO] Fixes in the composite search queryChristian W. Damus1-6/+85
https://bugs.eclipse.org/bugs/show_bug.cgi?id=415371 Implemented a proper composite search result to support propagation of addition/removal of search results from the component queries. This supports the expiration of search results when a CDO repository connection is closed.
2013-09-06415371: [CDO] Let the composite search query be re-used.Christian W. Damus2-83/+124
https://bugs.eclipse.org/bugs/show_bug.cgi?id=415371
2013-09-06415371: [CDO] Pluggable query providers for simple and advanced text search.Christian W. Damus5-55/+664
Implement a new extension point for pluggable "query providers" that know how to query within the search scope identified by a URI in their "domain" (whether workspace, CDO repository, or other). The search UI partitions the search scope according to registered providers and delegates to them to instantiate the search queries, composing the results of those queries.
2013-09-06415371: [CDO] Refactor search API to prefer URI over IResourceChristian W. Damus4-50/+57
https://bugs.eclipse.org/bugs/show_bug.cgi?id=415371 Refactored various search scope and result APIs to use URIs instead of IResources to support non-workspace search scopes. IResource dependencies naturally remain for workspace scoping options and reporting text files matching search results.
2013-08-30416145: Clean up service registries used by search scopes.Christian W. Damus3-1220/+1278
https://bugs.eclipse.org/bugs/show_bug.cgi?id=416145 Track references to ScopeEntry instances so that the service registries they create can be properly disposed of. This fixes leaking of large numbers of ModelSets and UML Resources in the UML CacheAdapter.
2013-07-30Pb with 1.5 compilation of String.isEmpty()Florian Noyrit1-3/+3
2013-07-30Search model element by types (UML metaclass or stereotype). No pointerFlorian Noyrit12-262/+285
to matching element in results. Update results when models are modified. Update OCL search.
2013-07-16Update to be compliant with Java 1.5Florian Noyrit1-9/+9

Back to the top