Skip to main content
summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-06-06[517613] Make sure images are exported in the right formatPierre-Charles David1-0/+1
bug: 517613 Change-Id: I188170f426957bffa58da98bdc658a4e41315415 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-06-06[517207] Fix aird editor model elements wrong orderpguilet1-10/+8
Now representations children of models element of models block of aird editor are now always before Ecore model elements Bug: 517207 Change-Id: Id03dbaf92b832614a0485f5e0582ae98eb839224 Signed-off-by: pguilet <pierre.guilet@obeo.fr> Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-06-02[496060] Mention the modelOperationManager extension point in release notesPierre-Charles David2-0/+6
Bug: 496060 Change-Id: I037a6a01baf54ffff63cd3c4b44b556cd487045a Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-06-02[517548] Fix vertical scrollbar missing after editor splitpguilet1-0/+4
Fix scrollbar missing when splitting the aird editor with scrollbar on models block with another editor. Bug: 517548 Change-Id: I28109e00d09827d533a04c3fe34d2e3989eb47f5 Signed-off-by: pguilet <pierre.guilet@obeo.fr>
2017-06-02[517509] Fix aird editor's representations block refresh missingpguilet1-0/+13
Fix representations block of the aird editor not triggered when a project containing a design is closed/opened. Bug: 517509 Change-Id: Ib03a63fcc2dc88980f8eb27672d5baebff882a57 Signed-off-by: pguilet <pierre.guilet@obeo.fr>
2017-05-31[517526] Fix NPE when closing projects containing aird opened in editorpguilet1-17/+27
Bug: 517526 Change-Id: I7a9387dea0fb3820c794270a97617326043f356c Signed-off-by: pguilet <pierre.guilet@obeo.fr>
2017-05-31[cleanup] Add missing copyright headerv5.0.0rc2aPierre-Charles David1-0/+10
Change-Id: Ic4093113bad4611173c644864e49a3851abe2f0e Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-31[documentation] Improve the documentation for the Properties DSLStéphane Bégaudeau7-27/+254
Change-Id: I7758e4a4b03fc9f9e4f6bff0da6f138f815068b7 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-05-31[documentation] Improve properties view documentationMélanie Bats11-61/+470
* Add the category section * Update the extends section * Add the overrides section * Add the extends/overrides extension point section Change-Id: I57085f4324903116b1c9b25a67cd565252e71322 Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2017-05-31[514682] Avoid exception when Browser can't be createdv5.0.0rc2Pierre-Charles David1-6/+18
Under some systems (Linux, depending on various parameters), it may be impossible to create an SWT Browser, which results in an SWTException. In this cases, do not display the "Documentation" section on the wizard's first page. Bug: 514682 Change-Id: Ie7f8bf89e8e67bada20cbeaf8ef633653a413f7e Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-31[510040] Do not open the aird editor automaticallyPierre-Charles David1-1/+1
Depending on the level of stability we reach by rc3/rc4 for the editor, we may decide to re-enable it by default in 5.0.0. For now, there are still enough glitches and issues that it's safer to make it opt-in. Bug: 510040 Change-Id: I6966d408187d6b2d28af0ec0de526b5951f75d4b Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-30[517206] Do not share content provider in different viewsPierre-Charles David5-24/+14
The content provider (and most importantly, the underlying AdapterFactoryContentProvider) used by all instances of SiriusCommonContentProvider was a single, shared instance. This caused UI refresh issues when different views tried to use such providers, as the underlying AFCP only remembers the last view it was attached to when forwarding ViewerRefresh requests to the UI layer. Bug: 517206 Change-Id: I422b9fed91e33d83c853c86943d66e0c02cbfc3b Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-30[510040] Make sure RepresentationSelectionWizardPage is always fully initializedPierre-Charles David1-8/+4
Bug: 510040 Change-Id: Idebfa8ec165067379ba0888bc039e921d9b75ce2 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-30[510040] Fix potential NPEsPierre-Charles David1-2/+2
Async blocks can be called later than expected, at a time when the editor has already been disposed and some fields set to null. Bug: 510040 Change-Id: Ib871c29de4c734861d0e9b215e0c8733659f7864 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-30[cleanup] Fix task name when opening a single representationPierre-Charles David2-3/+3
Change-Id: If541fbec7ef1b9785bc4e13e751165f6a77f1c8f Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-23[510040] Fix potential IllegalStateExceptionPierre-Charles David1-1/+3
The callback is called in async, so it may be executed at a time the widgets have been disposed. Bug: 510040 Change-Id: I405970ae6bd36a5f14a944396ba760d783bfb1a2 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-23[514641] Add list of translation keys changes to the release notesPierre-Charles David4-0/+609
Bug: 514641 Change-Id: Ibac2188a2fb88e4619c4168ae70bbb6bc0f04cc0 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-23[doc] Reorganize release notesPierre-Charles David2-351/+240
* Merge sections for M6 & M7 into a single "Sirius 5.0" section. * Reorder plug-in specfic sections in a more logical ordering. * Reorder items in the standard ADDED/MODIFIED/MOVED/REMOVED order. Change-Id: Ibdc29ecaa4740b6af0eb91937b8c0a60973f1c85 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-23[517060] Fix regression in XtextSavingPolicyv5.0.0rc1Pierre-Charles David1-2/+10
Commit b57cf3a40deb5d33 was made a little too fast and caused a regression. Use simpler and more transparent code to filter out TypeResources. Bug: 517060 Change-Id: I947e00c7605e91c00e31a56b0aa6b6aa57647b9e Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-23[480891] Re-introduce the "..." button for all but interpreted expressionsPierre-Charles David1-1/+24
Commit ca0caa99753116848bd0deb387dd15982c6d9999 was too heavy-handed, and removed the "..." button for *all* VSM fields which had one, not just the problematic ones which concern interpreted expressions. Make the AbstractTextWithButtonPropertySection a little smarter and show the button or not depending on the type of the attribute. Among others, this re-introduces the button for icon paths. Bug: 480891 Change-Id: I3eaea1de4838aa4a9472a89e76718f1630da8f70 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-23[refactoring] Improve the preprocessing of the actionsStéphane Bégaudeau3-77/+10
The toolbar actions and the widget actions were not handled in a similar fashion since toolbar actions were using the regular preprocessing mechanism while the widget actions were marked as being copied and later in PreconfiguredProcessor, the regular mechanism was executed in a specific way for widget actions. This behavior was also partially executed for most multi-valued features. Change-Id: Ifce83e31955e7f4944bae9531030b54b294b8fff Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-05-23[cleanup] Add some documentation for a warningStéphane Bégaudeau1-0/+1
Change-Id: Ifba41c506c99c0e29235b8fc8c004610ec330f76 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-05-19[479049] Adds Specifier documentation for the feature name field.Florian Barbin3-0/+26
Bug: 479049 Change-Id: I9393cc9568eb55735d84686412eac9a12a7ae90b Signed-off-by: Florian Barbin <florian.barbin@obeo.fr>
2017-05-19[493353] Fixes SpecifcClosedOrNotClosedEditorTestFlorian Barbin2-2/+2
Bug: 493353 Change-Id: I28679faa6391f93fef173f0bb9be7d0aacd0bc5b Signed-off-by: Florian Barbin <florian.barbin@obeo.fr>
2017-05-19[479049] Fix self variable for NodeCreation and ContainerCreation toolsFlorian Barbin2-58/+50
The VSM context was inconsistent with the runtime context in NodeCreation and ContainerCreation tools. The self variable was typed according to the element created by the tool and not the container in which the tool is applied. Bug: 479049 Change-Id: I1e5ba43eacc935a7c60060af260c8ba9d8f5fab2 Signed-off-by: Florian Barbin <florian.barbin@obeo.fr>
2017-05-19[470599] Apply to Sirius the same fix as in EMF's ECrossReferenceAdapterPierre-Charles David3-3/+4
Some history for context: * In the context of bug #470599 for Sirius 3.1, which was about improving session loading performances, we noticed a performance issue in EMF's own ECrossReferenceAdapter. * This was reported to EMF via bug #471106, with a proposal for a fix. After analysis, Ed Merks found a less disruptive way of getting the same performance benefits, and merged that. We applied the equivalent patch to our own ECrossReferenceAdapter implementations (we have several, for historical reasons). * It turns out that the "clever hack" that was merged in EMF caused a regression with duplicate entires for some inverse cross-references in some cases, see [1]. * For EMF 2.13 (Oxygen version), Ed fixed the regression with [2]. This commit is about applying the same fix as in [2] to our own ECrossReferenceAdapters. There was a risk that it would undo the performance benefits of the initial change. Here are the session load times reported by Session1MillionTests: * With EMF 2.13M6 (before [2]) and Sirius 5.0M7: - 11s / 10s / 9s / 10s / 9s / 9s * With EMF 2.13M7 (with [2]) and Sirius 5.0M7: - 13s / 10s / 11s / 11s / 11s / 11s * With EMF 2.13M7 (with [2]) and Sirius 5.0M7 with this patch: - 11s / 10s / 12s / 11s / 10s / 10s There may be a small slowdown (around 10%), which, if real, is relatively significant, but it's better to be *correct* and a little slower than fast and broken. [1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=471106#c8 [2] http://git.eclipse.org/c/emf/org.eclipse.emf.git/commit/?id=6c2c150329c2eaf653c56f99f9b6187a9dd03b78 Bug: 470599 Change-Id: I076945474d847ee612c4063ac1f3a047aca39875 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-18[510040] Fix session editor refresh not working all the timepguilet3-106/+164
The models and representations block of session editor were not refreshed after some undo/redo and models loading/unloading in session. Bug: 510040 Change-Id: Ie195036ab04bc089aaeee7028513d5db8d3a1c55 Signed-off-by: pguilet <pierre.guilet@obeo.fr>
2017-05-18[510040] Fix create representation wizard permission not workingpguilet1-11/+37
Now the user is warned if he cannot create a new representation because he has no write access on any DView containing the representation description from which a representation instance must be created. If no DView contains a representation descriptor pointing at the representation description used to create the representation instance, then creation is allowed (this situation happens when the viewpoint containing the description has never been activated yet in the session). Bug: 510040 Change-Id: Ifdfd025ad497aade46afb14ecabc066fe7872e9e Signed-off-by: pguilet <pierre.guilet@obeo.fr>
2017-05-18[516787] Fix exception when activating viewpoint in session editorpguilet1-3/+20
When computing viewpoint dependencies, two viewpoints with same URI can be present (They belongs to a same project name at the same position. One in plugin registry and one in workspace). In this situation we now use the workspace one instead of throwing an exception. Bug: 516787 Change-Id: I1ccfa7df036c597fc54cf5fa3c6aacbb72915d66 Signed-off-by: pguilet <pierre.guilet@obeo.fr>
2017-05-17[510126] Consider extra mappings for Node&ContainerCreation Toolsv5.0.0M7cbrun1-0/+15
Bug: 510126 Change-Id: I1018876eb046a4ea28b8adb87e45a3088d08d09e Signed-off-by: Cedric Brun <cedric.brun@obeo.fr>
2017-05-17[510126] Use PropertiesExpressionQueryProvider for Dialogs & Wizardscbrun1-1/+2
The previous enablement condition was only looking at the ancestors hierarchy but now it is possible to have Dialog or Wizard descriptions directly as part of a Diagram tool for instance. This commit check the originating EPackage to cover those cases. Bug: 510126 Change-Id: I0df567f27b228bff71aff87ea4bd10931863bd2c Signed-off-by: Cedric Brun <cedric.brun@obeo.fr>
2017-05-17[510126] use the actual Java type to initialize VariableTypecbrun1-2/+2
By initializing with a String instead of using the type we are unable later on to pass the actual type to AQL hence falling back to EObject which is wrong in this case. Bug: 510126 Change-Id: I5a126faf0a22328882bd37755e769008f9502f06 Signed-off-by: Cedric Brun <cedric.brun@obeo.fr>
2017-05-17[510126] declare the 'newValue' variable in the context of a TextAreacbrun1-1/+1
Bug: 510126 Change-Id: I74e256fc11cde819540b6eedf84acd6e6ade5dbf Signed-off-by: Cedric Brun <cedric.brun@obeo.fr>
2017-05-17[496076] Contribute actions on the groups and pagesMélanie Bats127-383/+1982
Bug: 496076 Change-Id: I639c0e3f95dcd8623fb259fd19fa1bdbd386b425 Signed-off-by: Axel Richard <axel.richard@obeo.fr> Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2017-05-17[496069] Add support for images in the buttons and widget actionsMélanie Bats103-268/+903
Bug: 496069 Change-Id: Ib384b1bc226e0253e703874a41c2acfa5bbf91ed Signed-off-by: Axel Richard <axel.richard@obeo.fr> Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2017-05-17[496080] Add support for indented pagesMélanie Bats125-344/+638
Bug: 496080 Change-Id: Ide0f6a59d2608ebe89ebfec63503f196586205b6 Signed-off-by: Axel Richard <axel.richard@obeo.fr> Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2017-05-17[515701] Add an onClick operation on the reference widgetMélanie Bats25-203/+443
When the reference is: * a single valued reference: if the on click operation is set, the reference is represented as an hyperlink else the reference is represented as a label * a multi valued reference: if the on click operation is set, the reference is represented as a table with clickable lines Bug: 515701 Change-Id: I334d22573d27624b2a34685f9332bff0242761eb Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2017-05-16[479049] Add completion and validation for feature names in VSM editorpguilet29-232/+927
Bug: 479049 Change-Id: I4370b223907686685614cbbebe848d0b2b528ec2 Signed-off-by: pguilet <pierre.guilet@obeo.fr>
2017-05-16[516734] Remove unused importsPierre-Charles David1-1/+0
Change-Id: I99cb2674759c9d5ef6018d58d8ee9964708feeac Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-16[510040] Integrate the new model creation wizard in the aird editorPierre-Charles David1-2/+42
Bug: 510040 Change-Id: I99455ca98f4f0daa7d4058bac71f9bf0ed1017e4 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-16[514682] Add generic wizard for creating new modelsPierre-Charles David8-0/+1133
Bug: 514682 Change-Id: Ib10a7220d8e10a28a25b88ebe1c371583cbb8e12 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-16[510040] Fix testpguilet1-1/+1
Fix test not fitting anymore to the new CreateRepresentationWizard behavior Bug: 510040 Change-Id: I33cc6bf336cafb9fed005c5dd71f45fa0822ef7e Signed-off-by: pguilet <pierre.guilet@obeo.fr>
2017-05-16[516734] Adapt SiriusToolServices to use Set<> and List<>cbrun3-9/+12
Changing SiriusToolServices and SiriusContext to expose the actual type of the collection being either Set or List. Note that getAllSemanticElements() returns a Set and allSemanticElements() returns a List which is unexpected but matches the actual implementation in order to avoid any change at runtime so late in the release cycle. Bug: 516734 Change-Id: I26036819255c103bcc6b225534589d8b015d419f Signed-off-by: Cedric Brun <cedric.brun@obeo.fr>
2017-05-16[515884] Use "EObject" as the target type when domainClass is not setcbrun1-1/+2
Bug: 515884 Change-Id: I8bb8a2bc1c2be25a28a999aa2006067991252f85 Signed-off-by: Cedric Brun <cedric.brun@obeo.fr>
2017-05-16[510040] Fix tests not working after create rep wizard updatepguilet4-12/+40
- Updated representation creation wizard so viewer always shows viewpoint items in the same order. - Fix NPE in some closing situation. Bug: 510040 Change-Id: I1569028bca97cbf1a421baf92417ac26fdac1459 Signed-off-by: pguilet <pierre.guilet@obeo.fr>
2017-05-16[509866] Remove unused importsPierre-Charles David2-43/+20
Bug: 509866 Change-Id: Ia4ec979d3306792db39c954751123e2f4764243b Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-05-16[510040] Update representation description label in wizardpguilet2-14/+6
Remove the representation number present in the label of representation description of the wizard used to create new representation. Bug: 510040 Change-Id: Ib94affd079121b8adf48cfac27f666dc52845c24 Signed-off-by: pguilet <pierre.guilet@obeo.fr>
2017-05-16[510126] Fix NPE when EPackages have poor registrationcbrun1-1/+4
Some situations can arise where contributions are declaring a key in the registry with no value, this commit ignore those packages instead of failing as any failure will deactivate the validation rule until Eclipse is restarted. In my case the offending declaration has nsURI:'xcore.lang'and seems dynamically registered. Bug: 510126 Change-Id: Ia7d9b8f5ab6fca8a072aea57cb5e590e61c28386 Signed-off-by: Cedric Brun <cedric.brun@obeo.fr>
2017-05-16[509866] Moving the initalization in the core plugincbrun2-2/+10
Now that we have a core plugin separated from the UI we better use it to initialize the bridge to trigger the EMF.Validation audits when a "plain EMF Core" validation is launched, or the validation result will depend on the activation of the UI plugin which is no longer mandatory to edit VSM's. Bug: 509866 Change-Id: I175b7cf4328fcf4ec7738823a49f7ba5a3515a22 Signed-off-by: Cedric Brun <cedric.brun@obeo.fr>
2017-05-16[514546] Remove dependencies to guava from properties pluginsStéphane Bégaudeau10-185/+138
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=514546 Change-Id: I96be1a4ab5fe55ae59d54f7abf31ed1547b34d5d Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>

Back to the top