Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-05-28Bug 535185 - Add Automatic-Module-Name header for Java 9 compatibilityBenoit Maggi44-35/+46
- 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-05-25Bug 535098 - [AFViewpoints] Validation not working with junit.Maged Elaasar1-10/+23
Fix the case of validating class names specified in architecture models that are deployed in the platform as opposed to loaded in the workspace. Change-Id: I644c6d2141d9424372014c3c05f84640fbbe47c3 Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2018-05-22Bug 533701: [Sequence Diagram] Stereotype or Shape Compartments shouldCamille Letavernier24-64/+611
not be displayed in CombinedFragments https://bugs.eclipse.org/bugs/show_bug.cgi?id=533701 Add 2 services, to support filtering generic Papyrus IViewProviders and IEditPolicyProviders. Also add a simple contribution for the Sequence Diagram, to disable Symbols compartments. Change-Id: I0d6e1af0ad4395daf3170409b5735df36dd02d46 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-05-04Bug 528441 [AFViewpoints][Palettes] Setting diagram prototypeMaged Elaasar1-7/+10
programmatically does not refresh palettes of open diagrams - Added a listener in the diagram editor to the diagram's representationkind changes to refresh the editor. - The DiagramUtils.setPrototype() API now checks that the new prototype applies to the type of diagram, and throws an exception otherwise Change-Id: I9b4d34a7e051aaec77170c061f4ac932a04b14ba Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2018-04-25Bug 534016: Diagram should be cast to CSSDiagram, not CSSDiagramImplEike Stepper28-54/+58
- cast should always use interface Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=534016 Change-Id: I2ccb34d25733d983d521cd5019449b9fe6bd70a7 Signed-off-by: Eike Stepper <stepper@esc-net.de>
2018-04-25Bug 534023 - [Css] Move non-generated code outside src-genBenoit Maggi99-109/+6
- move java classes from src-gen to src directory - add Automatic-Module-Name for Java 9 compatibility - remove some commented code Change-Id: I562b269ec9ed597969f5c214474ce271e75fb64d Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2018-04-24Bug 533939 - [Expansion] Drag&drop of n properties creates n graphicalBenoit Maggi9-20/+19
representations of the 1st property - use the source element instead of .get(0) - quality fixes in other java classes - add Automatic-Module-Name Change-Id: I55ed0e5edf531cb85f923e3c7f791e09e4949cbb Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
2018-04-22Bug 533804 - [Diagram] Update batik dependencies for 1.9.1Quentin Le Menez2-49/+55
- Update the targetplatforms to set the required dependency to 1.9.1 from the latest M6 Orbit repository - Rebase the platforms on the latest integration builds Change-Id: Ib57fb5c3b322fcd880ec4f7a7d1ba06b9bfea2a2 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-04-21Revert "Bug 533804 - [Diagram] Update batik dependencies for 1.9.1"Quentin Le Menez2-55/+49
- a compilation error was introduced by this change, this needs to be reverted until resolved. This reverts commit 0bdf62f7a9968d362c762f84a5a3e6da34f9f7a9. Change-Id: Idfb6e8ebd7f04654e22bb017e61d3cd6ea36b65d
2018-04-20Bug 533804 - [Diagram] Update batik dependencies for 1.9.1Quentin Le Menez2-49/+55
- Update tests and dependencies to the new architecture and version - Update the targetplatforms to set the required dependency to 1.9.1 from the latest M6 Orbit repository Change-Id: I07824370934a51062038d382597330833e5ee801 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-04-19Bug 527664 - [AFViewpoints] Architecture Model Editor removeMaged Elaasar28-76/+491
CreationCommandClass property value Converted the Creation/ConversionCommandClass properties in the architecture editor to be of type string instead of Class. They can now reference class names from the workspace (on their project's class path). Also added validation rules for that. Finally, I added a Browse... button in the property sheet to help put values for them. remove some reexport increase version to take in account API tool Change-Id: I6792449fbee70b089f83780c4935242fff72d50b Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2018-04-18[API] Fix some API Tools issuesCamille Letavernier2-1/+2
Change-Id: I71ebd381e1347cb4eddfac967acd9321b05b6f01 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-04-16Bug 528199 - [Xtext, Constraints] The edition of constraints does not choose ↵Ansgar Radermacher6-188/+146
a suitable editor - Cleanup implementation in DirectEditorsUtil: * Assure that method implementations are consistent and based on each other (before, implementations were duplicated, some respected priorities while others did not), fix comments * Rename getDirectEditorConfiguration (name was misleading, keep old method as deprecated) - Set version of oep.extensionpoints.editors plugin to 3.0.0, adapt all references (other MANIFEST files) accordingly - If no editor with for a given language is found, search all editors without taking language tag into account (implementations must still be compatible with semantic element). This assures that other editors are used, if the default editor is not compatible (e.g. OCL is default editor for opaque expression, but not compatible with non-OCL bodies) - Add an EmbeddedEditor.usecases txt file in plugin oep.extensionpoints.editors - Replace calls to old methods (in diagram.common, property.sheet, uml.diagram.sequence, diagram.stereotype.edition, service.types.ui and natable.xtext.valuespecification/integration) - Move OCL editor registration from generic plugin oep.uml.properties.xtext to OCL plugin. - Add a test to the existing oep.uml.textedit.tests plugin that checks whether a suitable editor is opened on an opaque expression with (1) a C++ body and (2) OCL body (the plugin registers a dummy C++ editor) Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: I4cee823b91e13f9601ecb7a9655409a74e3d7579
2018-04-10Bug 531729: [Diagram] Explicit the preference used to draw common bendpoints ↵Vincent Lorenzo4-4/+58
on connectors Change-Id: I2fec207b58a7098419b0ad86d7b6044f73d65aee Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-04-04Bug 532299 - Add tooltips on properties in architecture frameworkMaged Elaasar21-87/+265
editor. Added descriptions on all properties that show in the architecture editor. Those descriptions appear in the status bar of the Eclipse window when the property is selected (not as toolips when hovering over properties). Also, some properties are categorized in the property sheet into sub categories to ease understanding. I also added the same descriptions as documentation of the AF model API. Change-Id: I2a4e928b177ae5434c6f38255ea1bba41c822416 Signed-off-by: Maged Elaasar <melaasar@gmail.com>
2018-03-28Bug 531596: [SequenceDiagram] When a message is moved bottom theNicolas FAUVERGUE1-0/+10
lifeline must be resized When a message moved, move its weak references and resize the life lines if needed. Requirements are specified in the 'RequirementsSequenceDiagram.usecases'. Change-Id: Ia120d71ac0b6ff49a74f9c8f5a4544e9c7c2504d Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
2018-03-28Bug 532952 - Requirements and their implementations shall be listedptessier1-0/+12
Change-Id: I013b27345b2d97950b998b74f64228eda2b2f299
2018-03-23Bug 532823: [AllDiagrams] Update all diagram reconciler to target 1.4.0 ↵Vincent Lorenzo1-1/+1
diagram version Change-Id: I2ca004d14a3367582095e3e517dabffbcd04fcdb Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-03-23Bug 532639: [Table][Matrix] System shall enable to specify the creation ↵Vincent Lorenzo2-3/+3
location of relationships created using a matrix editor. Change-Id: I4ffde565f069e65c85c838bd14aebb4b809c61b7 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-03-19Bug 531520: [SequenceDiagram] Messages connected on ↵Vincent Lorenzo1-3/+3
ActionExecutionSpecificationEditPart and BehaviorExecutionSpecificationEditPart must be connected to the LifelineEditPart - suppress the @deprecated on LifelineChildGraphicalNodeEditPolicy - the message creation is now delegated to the LifeLineEditPart - create a reconciler - change the calculus of the LifelineFigure#getPolygonPoints(), to integration the shape of the ExecutionSpecification - add a mediawiki describing the specification Change-Id: I0b6defef02519524c560d7b78fa06d5a25ab305b Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-03-12Bug 518452 - [Releng] [Photon] Amend the new Toolsmith releng processQuentin Le Menez5-6/+15
- Add a new buildafter script for the next toolsmiths release - Correct missed dev references - Wire the toolsmith plugins to the toolsmith build Change-Id: Ie4fc56fd9526ecd24597733b7ab5bc6a7a9b9d42 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
2018-03-09Bug 527181 - [Composite structure diagram] Initial port location on aAsma Smaoui3-9/+34
part is top-left corner - Add possibility to override the initial port poisition in ShowHidecontentsAction - Create a custom port position for the composite-structure diagram that locates the diagram for the defining type (if any) and copies port positions from there. Based on similar code in PapyrusRT - Add a new edit policy "CompositeSideAffixedNodesCreation". Change-Id: If3c62f78ea1f2373a610f78260d317174ca4ca12 Signed-off-by: Asma Smaoui <asma.smaoui@cea.fr>
2018-02-16Bug 529966: Papyrus fails to export diagrams as imagesCamille Letavernier2-1/+8
https://bugs.eclipse.org/bugs/show_bug.cgi?id=529966 - When exporting diagrams from the Project Explorer, make sure that the services registry is started before doing the actual export - Fix some service usages/declarations to avoid errors in the log Change-Id: Ie9a2e550dbd78f98cb055bf7d7303300305a32e3 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-02-12Bug 531055: [Diagram] The preference to draw bendpoints doesn't workVincent Lorenzo1-3/+7
Change-Id: I47e1517e71f3db641b311e3a7d15fa9bc3b263ff Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2018-01-18Bug 484648: [Model Explorer] Link with Editor does not work with MECamille Letavernier2-4/+68
customized through EMF Facets https://bugs.eclipse.org/bugs/show_bug.cgi?id=484648 Change-Id: I9ac56413a58ce987acf973a87fedba4f1840d632 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-01-18Bug 528421: [API Tools] Change default settings for Papyrus projectsCamille Letavernier24-7/+2452
https://bugs.eclipse.org/bugs/show_bug.cgi?id=528421 - Add missing API Tools natures to all projects - Propagate project preferences to all projects using Oomph (Includes missing JDT.Core and JDT.UI preferences) Change-Id: I6c8de65bffd9b1c2cbf4976b86aeaccd6b8f87f0 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-01-18Bug 528421: [API Tools] Change default settings for Papyrus projectsCamille Letavernier35-204/+512
https://bugs.eclipse.org/bugs/show_bug.cgi?id=528421 - Use more flexible options wrt. Constant values and Reexported APIs - Display errors directly in the code rather than Manifest, when relevant Change-Id: I7a48bca8a9a84487957a3d97a8dddfb145cdfd78 Signed-off-by: Camille Letavernier <cletavernier@eclipsesource.com>
2018-01-09Bug 515367 - [releng] Uniformization of the end of lines to Unix standardQuentin Le Menez741-99170/+99170
- 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-22Bug 527800 - [CSS] UML update for the CSS modelQuentin Le Menez52-1460/+4056
- create the UML model - generate the model and edit code Change-Id: I018de7ae3fd500eda066bbac4f16829862d32a07 Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr> Conflicts: features/papyrus-main-features/org.eclipse.papyrus.infra.gmfdiag.css.feature/feature.xml
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-18Bug 528881 - [Quality] Method modifier should follow convention orderBenoit Maggi1-2/+2
- 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 528776 - [Quality] Remove auto-generated TODOBenoit Maggi7-7/+7
- 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-12Bug 528490 - [Quality] Remove plugin and feature string from nameBenoit Maggi2-2/+2
- 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. Damus4-59/+50
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 Maggi7-7/+7
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 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-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 516459 - [Diagram] Navigation mechanism with Alt+hover does not work on ↵Ansgar Radermacher3-71/+58
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-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-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-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 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-25Bug 516459 - [Diagram] Navigation mechanism with Alt+hover does not work on ↵Ansgar Radermacher1-38/+61
Linux - Change way in which menu is brought up: instead of requiring that ALT remains pressed, it is sufficient to press ALT once and select the menu item afterwards. This is motivated by the issue that many Linux environments use ALT+mouse actions already for other actions. - Fix original issue: selection listener removed the menu immediately after creation. Do not make an initial selection. - Reset shell reference to null after disposal (otherwise it could lead to "already-disposed" exceptions) - While the menu works quite nicely for the model explorer, it is required to move the mouse a bit while pressing ALT in the graphical editor, since the ALT key alone does not trigger an event. Signed-off-by: Ansgar Radermacher <ansgar.radermacher@cea.fr> Change-Id: I4c265bfc14b3f884662e1275a5e5e9643daf7fca
2017-09-21Bug 521754 - [Diagram] displayed label for custom connection decorationMickael ADAM5-123/+245
should be different that its name. https://bugs.eclipse.org/bugs/show_bug.cgi?id=521754 Change-Id: I9dc52e104a79f197e5407e79871858453e04cff4 Signed-off-by: Mickael ADAM <mickael.adam@all4tec.net>

Back to the top