Skip to main content
aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-12-19[doc] Update the release notes for EEF 1.9.2v1.9.2v1.9.xStéphane Bégaudeau2-10/+32
Change-Id: Iaee79ed5828b1f478feae3aa18ef990fb9fd7105 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-12-19[528134] Make the reaction in case of conflict configurablePierre-Charles David4-47/+228
The implementation in EEFTextLifecycleManager uses a new preference TEXT_CONFLICT_RESOLUTION_MODE, which is not exposed in the UI but can be configured programmatically using EEFPreferences.setTextConflictResolutionMode(). The default preference value can also be overridden by configuration, using the -pluginCustomization startup flag to point to a plugin_customization.ini file with, for example: org.eclipse.eef.ide.ui/TEXT_CONFLICT_RESOLUTION_MODE=USE_LOCAL_VERSION EEFTextLifecycleManager supports three modes: * USE_MODEL_VERSION: overwrite the widget's content with the value computed from the new version of the model (no user feedback). This is the default. * USE_LOCAL_VERSION: keep the current value begin edited by the end-user in the widget (no user feedback); * ASK_USER: open a simple dialog box to ask the user which version to keep. Note that the simple dialog provided is only suitable for short (single-line) text fields. Conflict resolution can further be customized by providing a custom LifecycleManager which extends the default EEFTextLifecycleManager and overrides either: * askUserToResolveConflict() to take the preference in consideration, but implement ASK_USER differently, for example with a more sophisticated dialog. * resolveEditionConflict() to provide a completely different strategy (possibly ignoring the preference). Bug: 528134 Change-Id: I55527d2ceb31b691c4c3d5a63f72f21a6bc5643c Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-12-07[525990] Complete I18N of org.eclipse.eef.properties.ui plug-inPierre-Charles David5-9/+31
Add missing strings and fix the Messages class initialization. Bug: 525990 Change-Id: I93fa48fca6e9b2b039a696dbd3a34be82e1832d7 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-12-07[version] Bump version to 1.9.2Pierre-Charles David46-119/+119
Change-Id: Ief7fd065582f56f6839c458548b855652d22bc9e Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-10-16[DRAFT] Reduce the risk of losing non-commited user input in text widgetPierre-Charles David1-8/+183
Experimental workaround for some situations which could cause the loss of user input inside a text field. The workaround is disabled by default. To enable it, set the system property "org.eclipse.eef.experimental.recoverLostTextInput" to "true". - If the user has started editing a text field when a concurrent refresh occurs and produces a different reference value that the one he started from, detect the potential conflict and ask which version to keep. If the new reference value is the same, keep the user input without interupting him. - Don't try to update the model with the current value when we're notified the element has been locked by another user. Change-Id: I09bd2415567acc2df3890634ddab7e03d0dd05b1 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-10-11[releng] Fix target platforms for EEF 1.9.xPierre-Charles David4-10/+10
Change-Id: I6008b61441676aeaac071154ef81cec03b9713e1 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-04-14[515282] Reset Widget Label to default valuesv1.9.1Mélanie Bats1-3/+9
Bug: 515282 Change-Id: I4e6a69a74772ea5ba36322977ec14f509a3dd6fd Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-04-07[documentation] Improved the release notes for EEF 1.9.1Stéphane Bégaudeau2-7/+50
Change-Id: Iee11fdb095235d7aaa3e2c6effddaabcdf1ca81a Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-04-06[511205] Quick fixes are not executed using the EditingContextAdapterStéphane Bégaudeau23-63/+298
All the controller are now requiring an editing context adapter in order to use it to execute quick fixes. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=511205 Change-Id: Ib1c7db0eb4321a9010a90f972521249f8d50bfa3 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-04-06[513970] Fix the reference widget for badly configured metamodelsStéphane Bégaudeau1-3/+17
Provide a LabelProvider which explicitly calls the plain getText() to avoid automatic redirection to ITableItemLabelProvider.getColumnText(), which is often blank in practice. Bug: 513970 Change-Id: I099d9c7372d70c8df31c300afef20383b3c6c3ec Cherry-picks: c952e41e21e65730f58aa5c79fe42836a0e913fd Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr> Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-03-21[513249] Add support for read-only status decoratorPierre-Charles David7-0/+33
Bug: 513249 Change-Id: I5a73bfc6387ce0683088fbf20a6ff6b04801a1e1 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-03-21[513967] Do not scroll-to-top when gaining focusPierre-Charles David2-1/+3
Bug: 513967 Change-Id: Ia5f775ead481499809d2786ee097908b6587cc18 Cherry-picks: 2ce7f1b6c7a4a4f8e98ba7c62c8097f98e0b54a4 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-03-21[version] Bump version to 1.9.1Pierre-Charles David46-118/+118
Change-Id: I30c3452fd94a0a29cc9a1e0cc06402991e97cfc0 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2017-01-27[510279] Fix potential NPE in AbstractEEFWidgetLifecycleManagerv1.9.0_RC5v1.9.0Stéphane Bégaudeau1-12/+18
AbstractEEFWidgetLifecycleManager.lockedBy* are called asynchronously and sometimes this can occur at a time when the ControlDecoration has been disposed, causing NPEs in ControlDecoration.setImage() when it accesses control.getShell(). ControlDecoration does not have an isDisposed() method, but testing for getControl() != null is equivalent. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510279 Change-Id: Icf155151eacbdbf50db4161955222f566dadf70e Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-19[510687] Ensure the verification of the lock status during the refreshv1.9.0_RC4Stéphane Bégaudeau1-12/+8
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510687 Change-Id: I64370617f1fd40f069d92e4b9f55e75c31fe9fba Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-19[510686] Fix the creation of a new value in the reference widgetStéphane Bégaudeau1-8/+11
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510686 Change-Id: I3b6e98b8c32cba1bfbd34ccb3fbf5426707dfe83 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-16[releng] Upgrade the jar signerv1.9.0_RC3Stéphane Bégaudeau1-1/+1
Change-Id: I9a662ca71cb130313368c397a5d5b63035cd0956 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-16[releng] Fix an issue with the version of the repositoryStéphane Bégaudeau1-2/+2
Change-Id: I2354b8607964a149e4be6bbdce00d25189073745 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-16[509815] Use SWT.VIRTUAL to improve widget performancesv1.9.0_RC2Stéphane Bégaudeau2-4/+12
The option SWT.VIRTUAL has been added for the list lifecycle manager and the multiple reference lifecycle manager. Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=509815 Change-Id: Ibf6c59a2f34ab7a0228ef11b19083b3bd60053d8 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-11[510279] Remove "smart" lock/unlock from text and reference widgetsv1.9.0_RC1Stéphane Bégaudeau4-100/+23
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510279 Change-Id: I8d87edf35a0098114368cbc990b969ee5c75b628 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-11[510278] Keep the exception when logging a statusStéphane Bégaudeau1-3/+3
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510278 Change-Id: I7516bb5d52c1beb9281c68d4311718efeac67c6d Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-11[510277] Add setEditable(true/false) on text widgetsStéphane Bégaudeau1-0/+1
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510277 Change-Id: Icebb2fc2abd8136d2e3d9fa44361840ab45d5eaa Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-09[510117] Fix an issue with the use of unlock for text widgetsStéphane Bégaudeau1-9/+9
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510117 Change-Id: I73c47f90210ac6abec24defd54c04fc01b32e497 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-09[510116] Fix a potential widget is disposed exceptionStéphane Bégaudeau8-17/+36
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510116 Change-Id: I97dc4ec2388018bbf847d08e3e4e5f9479dbb02d Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-06[510025] Improve the release of the locksStéphane Bégaudeau3-12/+23
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=510025 Change-Id: I1e8d1474901dd002d186d06192e8ba6ac212a842 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2017-01-05Add missing permission iconsStéphane Bégaudeau2-0/+0
Change-Id: Ieb8c2f7c85d87d9b479f4ae8144f6c1ee7e7fcc9 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2016-12-29[496006] Fix typo in method namePierre-Charles David2-2/+2
Bug: 496006 Change-Id: I88c597ddf7e60a0c86ea28c7461cd76f9fccfe25 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2016-12-14[version] Bump version to 1.9.0Stéphane Bégaudeau46-118/+118
Change-Id: Ic9ac1abcdc46d16b08f903304680e98a76d576c0 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2016-12-14Make the user interface lock-awareStéphane Bégaudeau17-68/+326
Change-Id: I20357960dc37da11cf3fa7ca9e8d0267200c0939 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2016-12-13[496006] Make EditingContextAdapter lock-awarePierre-Charles David3-10/+154
Bug: 496006 Change-Id: I736f1e236fafb70f75af7f6ae57d50f4895e109e Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2016-12-06Use Import-Package everywhere for the Sirius interpreter dependencyPierre-Charles David3-5/+5
Change-Id: I35e403a31f9755f00fad94f1babda05a771a7197 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2016-12-06Use Import-Package for the Sirius interpreter dependencyPierre-Charles David1-1/+1
Change-Id: I8af1bf40af2067961d9c17a9ced82726706de95a Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2016-12-02[508246] Defer image creation to workaround #265265v1.8.0_RC4v1.8.0v1.8.xPierre-Charles David4-10/+43
Legacy properties tabs are discovered at plug-in startup, but if this happens in a non-UI thread we should avoid allocating SWT images at that time, as under Linux it can cause deadlocks (see #265265). Bug: 508246 Change-Id: I4de08f25d6246322d0fec240db48bf2d747b52d1 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2016-12-02[507180] Trimmed tab disappearedMélanie Bats1-1/+1
When two tabs when trimmed have the same label, only one tab is visible. Instead of filtering the tabs by using their labels we use the id. Bug: 507180 Change-Id: Icbd83e334fbf2c87f2885d2bce454b41732f35a7 Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2016-12-02Improve the release notesStéphane Bégaudeau2-7/+30
Change-Id: Ib4426d3da3a756cc926e005f01275c0d3a078d7a Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2016-12-01[508435] Accept null (displayed as empty string) as a valid text valuePierre-Charles David1-2/+6
If the callback was called with null as the new text value, we did not refresh the UI at all, leaving the previous text visible. It is perfectly valid for a text value to be null in a model, for example if it represents an unset string attribute. Bug: 508435 Change-Id: I6ec17a36028e2d39debf4d0a6e82e40d4a6a9f42 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2016-11-30[version] Bump version to 1.8.0v1.8.0_RC3Pierre-Charles David46-120/+120
Change-Id: I8241644bdd1e1e9723a53db96a21a95c0baa7a4e Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr> Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2016-11-29[507731] Always refresh conditional style, even if the label is emptyPierre-Charles David1-1/+1
Bug: 507731 Change-Id: Ic6554c60980e7fe413744efe6308a6cb7639fe9c Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2016-11-28[498748] Fix potential NPE when switching back to an existing tabStéphane Bégaudeau1-19/+28
Tabs are cached according to their descriptors' getId(), which itself relies (among other things) on the URI of the semantic EObject. That URI can change when the object is edited (for example: renaming an EClass in a .ecore). When switching back to a tab previously created (and cached) with the now-obsolete URI, descriptorToTab.get(descriptor) will return null, but the code was not ready to handle that case. Change-Id: I819a0eef62ae6d8e17dbd262c7bccf37a3080c3b Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr> Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2016-11-28[498748] Make sure text field changes are applied when switching toPierre-Charles David1-6/+10
another tab Bug: 498748 Change-Id: Ied241acb976f8af5461e4aee8ea3abb61ff761f1 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2016-11-28[495604] Refresh problem on unset hyperlinkMélanie Bats1-5/+2
The problem was that we ignore the null value in case of an hyperlink. No when the hyperlink value equals null an empty string is shown in the UI. Bug: 495604 Change-Id: I77c0e9fd8ffb6a60deee9f71ec38e617e4da4aeb Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2016-11-25Fix a widget is disposed exception with the color picker.Stéphane Bégaudeau1-1/+3
Change-Id: Idc9ef4fbdde6071d3eb43fa98950fcd90c908c85 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2016-11-25[508126] Use type name as label for anonymous EObjectsPierre-Charles David1-1/+13
Bug: 508126 Change-Id: I2875754ac496c0619590e973b133c2b782a30e52 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr> Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2016-11-24[498259] Action buttons broken after switching tabMélanie Bats3-3/+33
The action buttons list was cleared when the aboutToBeHidden method was called which means that when we switched to another tab the action buttons references where cleared. To fix the issue, the clear action is just moved to the dispose method. The issue is fixed for all the widgets able to define action buttons : list, hyperlink and label. Bug: 498259 Change-Id: Id6ffc47e392a969747d2561d849bebc10a00333d Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2016-11-24[506621] Always synchronize widgets' UI state after callback executionPierre-Charles David17-39/+117
Bug: 506621 Change-Id: I4aaf82fff88fbf2e8f00d76557a9fba3ea8fa164 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr> Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2016-11-02[501903] The selection variable refers to the hyperlink elementMélanie Bats3-12/+33
Bug: 501903 Change-Id: I1d72d0762cf1142d3ff38cd745f4b6af3e0a1ad8 Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
2016-10-20[506280] Fix an issue with the documentation of the radio widgetv1.7.2v1.7.xStéphane Bégaudeau2-2/+2
Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=506280 Change-Id: I5bf3d5d6a25a3edf7620f23c6ee166cf979ccf50 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2016-10-19[500894] Always update tabs content, even when there nonePierre-Charles David1-6/+1
Bug: 500894 Change-Id: Id37502002f27bc34fb8af874da9742a56c954649 Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
2016-10-19[497583] Improve the documentation of the projectStéphane Bégaudeau54-611/+1144
1) Remove entries regarding the old reference widget 2) Add the documentation of the new reference widget and its extension points 3) Remove the classpath configuration from the documentation bundle 4) Improve the documentation of the label and hyperlink for the widget actions 5) Improve the structure of the documentation of the extension points to help contributors of external widgets Bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=497583 Change-Id: I8555e0c6d1e303e029c19cf3331ea74b86c4f68f Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>
2016-10-17Switch to EEF 1.7.2Stéphane Bégaudeau43-45/+45
1) Update the releng for EEF 1.7.2 2) Fix an issue with the new AQL 6.0.x nightly Change-Id: I0b388ce006c4a235335f9498ceaba7b830bf1989 Signed-off-by: Stéphane Bégaudeau <stephane.begaudeau@obeo.fr>

Back to the top