Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-12-22Bug 528992 - [CSS] There should be a way to remove a styleQuentin Le Menez1-0/+74
- Add a new remove style command Change-Id: I10086c959aee83239bd5198499a060663b6ae269 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr> (cherry picked from commit 4da7dfa2a6d3d35a1e4f52289b669c710d300ebd)
2017-12-20Bug 528343: [I18N] Preference checking overhead for models that don't use i18nChristian W. Damus9-43/+250
Rework the InternationalizationUMLItemProviderAdapterFactory to provide standard UML item-providers for resource sets that don’t enabled i18n support, until such time as it is needed. At that point, dispose the standard item-providers and let the i18n-enabled ones replace them. An new event-listener protocol lets the item-provider detect this change in i18n status. Also improve performance of the i18n utility's tracking of preference stores and fix the hash code calculation of the PapyrusProjectScope (as it matters now that it is used as the key in a map). (cherry-picked from streams/3.0-maintenance) https://bugs.eclipse.org/bugs/show_bug.cgi?id=528343 Change-Id: Ifb415da65d6af26e5bfaac0ea3f1b9718b758227
2017-12-19Bug 517920: [Architecture] please annot your model with high levelFrancois Le Fevre1-2/+22
description Actions -adding a small annotation extracted from video and documentation Change-Id: Id5b215c1fe288eb254b22c5c600f812f18cd208d Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=517920 Signed-off-by: Francois Le Fevre <francois.le-fevre@cea.fr>
2017-12-18Bug 528881 - [Quality] Method modifier should follow convention orderBenoit Maggi17-112/+49
- replace "abstract public" by "public abstract" (see https://docs.oracle.com/javase/specs/jls/se8/html/jls-8.html#jls-8.4.3 ) - also remove some unused import Change-Id: Ie1cf5ae7ae506b0cde5beef8ddfa9d56e4a2bdfd Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-12-14bug 528791: [Table] Set the first value in a single reference in containment ↵Vincent Lorenzo1-2/+3
open a dialog Change-Id: I05cab2f1c08178ae430b0a26102b614d425545dc Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-12-14Bug 528776 - [Quality] Remove auto-generated TODOBenoit Maggi26-43/+43
- 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-12-14Bug 518317 - [UMLPropertiesView] Autocompletion for type of propertiesBenoit Maggi2-4/+16
- new auto-completion editor: - no binding to uml element - available in example for property type - add a predicate filter for INameResolutionHelper - add completion proposal and processor for UML NamedElements - fix a bunch of quality warnings for Java 8 Change-Id: I38722b6782c13fb8de511c8d0e253ba491c27136 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-12-13Bug 527734: [Table] [Properties View] radio button "display icon" inThanh Liem PHAN1-8/+8
column header did not work https://bugs.eclipse.org/bugs/show_bug.cgi?id=527734 - Correct functions of "Display icon" and "Display label" for column and row header style label in the Properties view Change-Id: I9cc5c963b9c1edcee3f53c4de581c598a1096880 Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-12-13Bug 527496 - [Table][TreeTable] Auto Resize cells heights make reappearsThanh Liem PHAN4-29/+43
hidden categories https://bugs.eclipse.org/bugs/show_bug.cgi?id=527496 - Initialize wraptext and auto resize named style to true to enable - Delete wraptext and auto resize NS to disable Change-Id: Idb8cd98806a18829c55f5f8a2dc0ce4d53cf4f2f Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-12-12Bug 528490 - [Quality] Remove plugin and feature string from nameBenoit Maggi4-4/+4
- remove plugin string in plugin name - remove feature string in feature name - fix some duplicated names - extract feature name in feature.properties Change-Id: I23303b5d32390fd01aa903214d430c930618c982 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-11-29Bug 527580: Integration issues with view-type helpersChristian W. Damus12-213/+378
Factor out common partial implementation of view-type helpers for consistency and add - overridable determination of PolicyChecker for the view - priority ordering of view-type helper extensions https://bugs.eclipse.org/bugs/show_bug.cgi?id=527580 (cherry-picked and expanded from Oxygen) Change-Id: I6e276ca639f4ac664206511b24bc2246472a3fa2
2017-11-27[Quality] Replace enterprise id by nameBenoit Maggi224-228/+228
Replace/by VL222926/Vincent Lorenzo PT202707/Patrick Tessier QL238289/Quentin Le Menez RS211865/Remi Schnekenburger AC221913/Arnaud Cuccuru JC236769/Juan Cadavid Change-Id: I2f3311671289d81c93ab12b74b9cb1940618b3ee Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-11-20Bug 515737: [Table] Papyrus Table must be able to display list in cellsThanh Liem PHAN21-587/+1265
with a new line for each object owned by the list and fake line between values https://bugs.eclipse.org/bugs/show_bug.cgi?id=515737 - Add icon for each element of the list - Create a new custom table cell painter - Add menu context and named style for each multiple values column such as multiple [boolean | integer | real | string | reference | enum] - Handle generic table, generic tree table, class tree table, generic stereotype table - Handle also invert table for the invertable one - Support wraptext + autoResizeCellHeight for multi string cell - Add dev doc and user doc for the new feature - JUnit Test Note that EOperationAxis column is not supported yet. Change-Id: If2da613cf6f7c11c31652f6ac4a719faa36e5733 Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-11-20Bug 518305 - Apply a predefined Style directly from a diagramBenoit Maggi3-0/+177
- add apply style menu on right click - also works with multi-selection Change-Id: I445331e15aaf9a1bbdb1f2d229297b75bce8197f Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-11-16Bug 513803: [API] Add an empty implementation of an interface forSebastien Gabel5-59/+90
extended palette entries Prevent Papyrus to destroy palettes entries that it doesn't control, typically palette entries created by another GMF-based tools. In the PapyrusPaletteService class, restore the original creation year figuring inside the copyright. Change-Id: I63648ffeb4b2e3a44b7a4ba60e358f76224e48dd Signed-off-by: Sebastien Gabel <sebastien.gabel@ansys.com>
2017-11-10Bug 527062 - DeadLock in Big model with svg Benoit Maggi1-15/+38
- get colors information from the main parent. Change-Id: I7019ddf377c73d80d4d5861de52ea96c87133384 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr> Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>
2017-11-08Bug 521688 : [Sequence Diagram] DND of LifelineCéline Janssens1-0/+30
- DND of Lifeline should be at the same y position than when created from the palette Change-Id: I42df23d1429f1458a8d56d18f91cbac2b01546f2 Signed-off-by: Céline Janssens <Celine.Janssens@all4tec.net>
2017-11-07Bug 522721: [Table][Matrix] New Matrix Framework must provide JUnitThanh Liem PHAN1-12/+29
Tests https://bugs.eclipse.org/bugs/show_bug.cgi?id=522721 - Correct and complete invalid tests - Handle changes when applying stereotype on semantic elements Change-Id: I71a71d4b6eb92a9156c5114a6508f4ee972ef415 Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-11-06Bug 526304: [PropertyView]Editor for Applied Styles is not the good oneFanch BONNABESSE6-33/+79
https://bugs.eclipse.org/bugs/show_bug.cgi?id=526304 Add a new boolean to handle two direct editors. Remove tree.setLineVisible(true) in MultipleStringEditor Change-Id: I58d83ce500239abace69d4088935577845247bba Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-10-24Bug 521729: [Properties View] Performances issue in OxygenCamille Letavernier1-1/+1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=521729 - Fix the lower bound dependency to XWT Change-Id: I69d49b2cf9e885e9b220c9708ebf2f1520e41908 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2017-10-23Bug 521729: [Properties View] Performances issue in OxygenCamille Letavernier6-14/+247
https://bugs.eclipse.org/bugs/show_bug.cgi?id=521729 Conflicts: plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/META-INF/MANIFEST.MF plugins/infra/properties/org.eclipse.papyrus.infra.properties.ui/pom.xml releng/dev/targetPlatform/eclipse/org.eclipse.papyrus.dev.eclipse.target.target releng/dev/targetPlatform/portable/org.eclipse.papyrus.dev.portable.target.target releng/main-tests/targetPlatform/eclipse/org.eclipse.papyrus.main.tests.eclipse.target.target releng/main-tests/targetPlatform/portable/org.eclipse.papyrus.main.tests.portable.target.target releng/main/targetPlatform/eclipse/org.eclipse.papyrus.main.eclipse.target.target releng/main/targetPlatform/portable/org.eclipse.papyrus.main.portable.target.target releng/rcp/targetPlatform/eclipse/org.eclipse.papyrus.rcp.eclipse.target.target releng/rcp/targetPlatform/portable/org.eclipse.papyrus.rcp.portable.target.target Change-Id: I45cab543970e909db15914e8f36edcd122876d07
2017-10-22Bug 521902: [Property View][Profile] In-line edition for PrimitiveTypesFanch BONNABESSE1-8/+36
https://bugs.eclipse.org/bugs/show_bug.cgi?id=521902 Implementation of F2 action and double click. Change-Id: I110a642f5de7ae610f1f06beba5cbe3cdfcb7e7a Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2017-10-20Bug 526302 - [Property View] MultipleValueSelectionDialog shouldSebastien Gabel1-2/+7
consider the ordered parameter received https://bugs.eclipse.org/bugs/show_bug.cgi?id=526302 Use the parameter received by the constructor instead of a default value. Add some missing javadoc. Change-Id: Idb328ddab215dd0bb5ac70e3cd18616be33d3ada Signed-off-by: Sebastien Gabel <sebastien.gabel@ansys.com>
2017-10-18Bug 526146: [Table] Correct broken tests for bug 516314Thanh Liem PHAN1-3/+6
https://bugs.eclipse.org/bugs/show_bug.cgi?id=526146 - Invert rowSortedList and columnSortedList in NattableModelManager.invertJavaObject method Change-Id: I14a973d93af279bf085d7eadf8ec4e37bd57a0ad Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-10-18Bug 522124 - [Property View] Interaction between Component of theBenoit Maggi1-26/+24
Property View must be easier to do - getter witch return set broke Appearance>Label Customization - removing the getter fix regression (still looks like some fishy introspection is going on) - add FIXME referencing the regression Change-Id: Id148f2edf2eaced4b9e2afdc6537e79df2a79db5 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-10-18Bug 518313 - [ClassDiagram] Nested Element should be treated asBenoit Maggi8-9/+116
referenced - add a preferences to define 3 strategies for external: none, different container and different owner - default strategy remains the same - extract strings for future internationalization Change-Id: I9a23a8d62ca51a09a842972f3b9e4f2c1c6b95e4 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-10-17Bug 525485 - [Hyperlink] Create hyperlinked diagram/table not inBenoit Maggi13-39/+287
right-click navigation menu - create menu entries for hyperlinked diagram and hyperlinked table - use the same icon for Modify hyperlink menus - externalize string Change-Id: I50b56797367703f8bbd3525bf9f3776c3c5e091c Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-10-17Bug 525669 - [Properties view] NPE when selecting a multivalued propertyAsma Smaoui1-1/+1
(expect *) of a stereotype and a non null test to avoid the NPE Change-Id: I9ede5e6ed2b89c05c12c47e40faef11e43ccd430 Signed-off-by: Asma Smaoui <asma.smaoui@cea.fr>
2017-10-17Bug 516459 - [Diagram] Navigation mechanism with Alt+hover does not work on ↵Ansgar Radermacher4-72/+128
Linux - Change key from ALT to CTRL+SHIFT to avoid key-binding conflict on Linux machine. - Restore original behavior that the menu is only visible while the key is pressed - Delay menu appeareance until mouse is mouved in both graphical viewer and model explorer. This avoids key-binding conflichts with CTRL+SHIFT-C/X/V for graphical copy/paste - The menu goes away on the first click outside its area (and does not come back again while CTRL is pressed). - Simplify programming, since activation in graphical editor and model explorer is much more similar. Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: I23667f92ea258c77c2f4cfe0e8902bae44ee5f83
2017-10-16Bug 525981 - [One File] Exception when deleting a directoryBenoit Maggi2-29/+5
- check instanceof before casting - remove commented code - remove unused import Change-Id: Ie26821e4aa64490ff682194ec1afe402708673e2 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2017-10-13Bug 516882: [Table] Undoing the creation of the table doesn't workThanh Liem PHAN2-9/+15
properly, the table continues to be visible in the model explorer https://bugs.eclipse.org/bugs/show_bug.cgi?id=516882 - Fix the bug in Model Explorer and in the Welcome page Change-Id: I92b1b4743cf71946184b3f1d35ef5b3f9d725752 Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net> Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-10-13Bug 514455 - [All diagrams] Label icon does not correspond to element typeAnsgar Radermacher1-5/+26
- Retrieve right label provider for an element instead of always using the EMFLabelProvider (which used to display the right icon until some time ago, but does not do that any more) - Cache label provider for each resource. Use a WeakHashMap to assure that resources are freed if no longer in use. - Deprecate existing labelProvider, replace by new labelProviderMap Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: Id1b7ac566d36915d01ff3912ac6019bd7113ca1d
2017-10-13Bug 516314: [Table] DnD new objects in Generic Table when a booleanThanh Liem PHAN2-23/+45
filter is applied duplicate the display rows when the filter is removed https://bugs.eclipse.org/bugs/show_bug.cgi?id=516314 - Get and clear the sorted list instead of the filter list Change-Id: I7142794fc550a69788270f3b5c28d2f74fa43983 Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-10-13Bug 520602: [Matrix][Table] Columns are not deleted when the semanticThanh Liem PHAN1-27/+126
element is destroyed from the ModelExplorer https://bugs.eclipse.org/bugs/show_bug.cgi?id=520602 - Update column axis when related elements are added, removed or moved - TU to check the update of axis columns Change-Id: Ifd65f809ad6f1d1f72d774e7ca20019802b1ac0f Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-10-09Bug 525204: [Modeling Assistants] Model-based modeling assistants relyCamille Letavernier3-3/+7
on the deprecated Integer VisualIDs https://bugs.eclipse.org/bugs/show_bug.cgi?id=525204 Change-Id: I6aa22613ce5e41b56060fcdd57f4176536589a83 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2017-10-08Bug 521902: [Property View][Profile] In-line edition for PrimitiveTypesFanch BONNABESSE7-31/+508
https://bugs.eclipse.org/bugs/show_bug.cgi?id=521902 Add the "directCreation" to edit value directly in the TreeViewer. Change-Id: I9eea3816304a1f4c886ae2cf92a63f8eb3a5e7b3 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2017-10-06Bug 525367: [Table][Matrix] Method provided by the interfaceThanh Liem PHAN1-3/+42
org.eclipse.papyrus.infra.nattable.manager.table.IMatrixTableWidgetManager must be implemented for columns https://bugs.eclipse.org/bugs/show_bug.cgi?id=525367 - Add required methods for column sources - JUnitTest Change-Id: Ie1102f9034ed18f31e8b7d451eb0ba659e6075c9 Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-10-06Bug 521908: [Property View][DataType] No editor for list of Real or listFanch BONNABESSE6-10/+252
of UnlimitedNatural https://bugs.eclipse.org/bugs/show_bug.cgi?id=521908 Added management of Real and Unlimitednatural. Change-Id: Ie951079e463e17a7d8405450f36d6c9323429843 Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2017-10-05bug 525221 : [Table][Matrix][PropertyView] NPE editing Row SourcesVincent Lorenzo4-159/+351
Change-Id: I8f53b00e34e953da1d7aaff373fbcbff8760895b Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-10-04Bug 525245: [Table][Matrix] the wrapper used for rows sources andThanh Liem PHAN1-2/+5
columns sources are not destroyed when there wrapped element is destroyed https://bugs.eclipse.org/bugs/show_bug.cgi?id=525245 - Remove the EObjectWrapper of the destroyed element - JUnit test Change-Id: I089e95df8d9d90f1b4994df18d4bfd0fbc0e39cf Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-10-04Bug 519383: [Table] Increment action throws a NPE in some caseThanh Liem PHAN3-10/+146
https://bugs.eclipse.org/bugs/show_bug.cgi?id=519383 - Correct the NPE by converting row index to row position when there is any hidden rows - Correct the StringIndexOutOfBoundsException - Unit Tests for prefix and suffix fill action Change-Id: Ie325f20c796e3c7bf513885e16e759c15f1b73e9 Signed-off-by: Thanh Liem PHAN <thanhliem.phan@all4tec.net>
2017-10-02Bug 522704 - [Multiple diagrams] Scrollbar appears although not requiredMickael ADAM1-0/+1
by visible elements https://bugs.eclipse.org/bugs/show_bug.cgi?id=522704 - restore left text alignment like before the change of default value to left to center. Change-Id: I6f97e09d73e3597f6523daa86c367b82300a85b2 Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>
2017-09-28Bug 525129: Transaction Exception in the Palette EditorCamille Letavernier3-15/+37
https://bugs.eclipse.org/bugs/show_bug.cgi?id=525129 Change-Id: Ic3ac65ed913dba090ea36a925ab886ef68907ab9 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com> (cherry picked from commit 40cfa954acc1b003a31c9086ea1e1bf59416078b)
2017-09-28Bug 522730: [CSS] "Reset style" shouldn't reset the description ofCamille Letavernier3-2/+9
notation Views https://bugs.eclipse.org/bugs/show_bug.cgi?id=522730 Change-Id: Ic780bd30c9eac22c870a550ef43a7f577a7e676d Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com> (cherry picked from commit 54b641375dcaefdc8b42df6c55855e4d78bba533)
2017-09-27Bug 522485 - [RichText][Editor] Big gab displayed between paragraphsNicolas FAUVERGUE2-2/+324
https://bugs.eclipse.org/bugs/show_bug.cgi?id=522485 - Add css for CKeditor Change-Id: I762d2a5fc0d0c5f73616a405fc95fcfcbefad894 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2017-09-27bug 517742: [Table][Matrix] The row axis must be updated when the rows ↵Vincent Lorenzo1-1/+20
sources change - fix broken JUnit tests Change-Id: I61fe51c18f9e89656329903ec22895f2b1590aee Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-09-27Bug 522305 - [Sequence Diagram] Arrows of Message are too littleMickael ADAM1-6/+9
https://bugs.eclipse.org/bugs/show_bug.cgi?id=522305 - use CSS instead of hard code Change-Id: Ib6dee53ced31bb83811f2e25340c3eb2a8be9811 Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>
2017-09-26bug 517742: [Table][Matrix] The row axis must be updated when the rows ↵Vincent Lorenzo17-51/+423
sources change Change-Id: I5e3b92093b907a88be4367889923e4e2aed3fd21 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2017-09-26Bug 522124: [Property View] Interaction between Component of theFanch BONNABESSE4-52/+311
Property View must be easier to do https://bugs.eclipse.org/bugs/show_bug.cgi?id=522124 - Modify AbstractPropertyEditor to take create two properties and manage observable listeners. - Add an interface to handle properties listener. - Export new package "org.eclipse.papyrus.infra.properties.ui.listeners". - Add an example "ReadOnlyStringPropertiesListener". - Add of the documentation and an example. Change-Id: Ia93d13ac84219fad09cb53cc68117f8c1077335e Signed-off-by: Fanch BONNABESSE <fanch.bonnabesse@all4tec.net>
2017-09-25Bug 521475 - [userxp] the following plugin logs directly into theBenoit Maggi3-9/+0
console with System.out.println - replace system.out by logs - fix some quality warnings - add missing licenses - export all package at runtime Change-Id: I02879db9ff9ec91cbda577303910420c5a8b0463 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>

Back to the top