[438603] Update TreeUIUpdater to run a single runnable

Update TreeUIUpdater postcommit to run a single runnable in the UI
thread.
Add a notificationFilter which could be reused by other dialect
postcommit to refresh UI according to notation model changes.
Externalize the VSM change notification in
DescriptionFileChangedNotifier.


Bug: 438603
Change-Id: I83f2233580b6f5212ae4746fd21302bdbd84da82
Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>
[443777] initialization of the VSM name from the project name

Bug: 443777
Change-Id: I205bca1adf8650563e09888c63c81673baef5206
Signed-off-by: Jessy Mallet <jessy.mallet@obeo.fr>
[438603] Update TreeUIUpdater to enhance notifications analysis

Update TreeUIUpdater to enhance notifications analysis
Move "DslCommonPlugin.PROFILER.startWork()" call to the Runnable.
Reduce code size.

Bug: 438603
Change-Id: If31af13caaa2761184771831fd01e0d9b02720f2
Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>
[443279] Display of getLabel() instead of getName()

Usually getName() is displayed while  getLabel() is more userFriendly.
Modifications are necessary.

Bug: 443279
Change-Id: I8b6840be91523781e4110c850138b5c7dde2253e
Signed-off-by: Jessy Mallet <jessy.mallet@obeo.fr>
[cleanup] Remove deprecated keyword in target platform definitions

Change-Id: Ib28258470f882e8fdc0b32c9056628a31cb4d6e4
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
[442176] Log the errors occured during load

Bug: 442176
Change-Id: I00562f2f7900d4d03a5452351eef47c882587ab9
Signed-off-by: Maxime PORHEL <maxime.porhel@obeo.fr>
[442677] Postpone some delete subtasks creation at command execution

As in the "delete with tool" case, several delete sub tasks are now
postponed and done during execution of the delete.

The DeleteWithoutToolTask has been introduced to avoid code duplication
and assure to control and maintain the delete without tool of the
different dialects.

The type of collections used to collect the semantic elements to delete
has been changed from hash set to linked hash set, to avoid a random
delete order and improve the reproducibility.

Bug: 442677
Change-Id: I37499334029ba65c41affbcef4a94aebbae55c6b
Signed-off-by: Maxime PORHEL <maxime.porhel@obeo.fr>
[438359] Selecting an element from the outline should reveal it in the
diagram

Reveal the first EditPart of selection

Bug: 438359
Change-Id: Ie22b7c43719118f5f656bedbdf543431f30ae069
Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>
[cleanup] Do not depend on the ViewpointRegistry singleton for no good reason

Change-Id: I620ad07faa48c81025c2fab2c4ee6b35a3a00b69
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
Merge "[438359] Selecting an element from the outline should reveal it in the diagram"
[437528]  Reduce filtering of edge ends centering property sections.

* The VSM property sections dedicated to the edge ends centering feature
was not displayed under conditional style and edge mapping import.

Bug: 437528
Change-Id: I7c23e50146aaafbfb6f6bace1a2c6a0cc8a92506
Signed-off-by: Florian Barbin <florian.barbin@obeo.fr>
Merge "[437528]  Reduce filtering of edge ends centering property sections."
[442847] The "Arrange All" button does not become invisible anymore

When the user selects "Arrange All" on the tabbar and then puts the
focus to another view (outline view for example), the tabbar item
disappear when he comes back to the diagram.

Clean TabbarArrangeMenuManager class
Update the release notes

Bug: 442847

Change-Id: I2e8edb5e34fce924189801dcdf6cfe4959b55dcf
Signed-off-by: Mickael LANOE <mickael.lanoe@obeo.fr>
[442761] Disable some actions when a DDiagram is locked.

When a DDiagram is locked by using a permission authority some actions
were still available.

Some actions are now disabled:
- "Paste Layout"
- "Arrange Linked Bordered Nodes"
- "Reset style properties to default values"
- "Set style to workspace image"

Add AbstractDiagramAction to factorize the disable/enable behavior.

Bug: 442761

Change-Id: Ibfccb0e361032dad4d0a36a11756fc29b0f51405
Signed-off-by: Mickael LANOE <mickael.lanoe@obeo.fr>
[442761] Fix regression due to commit 1077eea

Fix ArrangeBorderNodesAction#getCommand(). Check that the diagram
graphical viewer is valid to avoid NPE. This check was also done in
SelectHiddenElementsAction and SelectPinnedElementsAction

Bug: 442761
Change-Id: Ibc818ed6258226673cedad17940304c37f4c2737
Signed-off-by: Mickael LANOE <mickael.lanoe@obeo.fr>
[443777] fix regression caused by method extractModelName

Bug: 443777
Change-Id: I7d78a00ed58962caa8a1ed5033a497453b182f5b
Signed-off-by: Jessy Mallet <jessy.mallet@obeo.fr>
[438603] Update TableUIUpdater to run a single runnable

Update TableUIUpdater postcommit to run a single runnable in the UI
thread.
Use the DRepresentationFilter notificationFilter already used by
TreeUIUpdater.
Enhance notifications analysis.
Move "DslCommonPlugin.PROFILER.startWork()" call to the Runnable.
Reduce code size.
This is a first step for TableUIUpdater, next commit will enhance
notifications analysis and will simplify the Runnable.
Enhance SortDColumnsCommand like SortDLinesCommand to use
ECollections.sort() which sorts EList with minimal changes, consequently
update TableUIUpdater to manage DColumn move as remove/add to have
columns sorting works (tested by DTableSortByLineWithEditorTests).

Bug: 438603
Change-Id: I24d2272ac5a2e8c85ebfd5584c8d9245aaca73e7
Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>
[438603] Cleanup DLineExpansionChecker/DTreeItemExpansionChecker

Update DLineExpansionChecker/DTreeItemExpansionChecker to avoid use of
anonymous Runnable and have the new Runnable check the dispose state of
the TreeItem to expand/collapse.

Bug: 438603
Change-Id: I4a4b02a480b830ac1d64c5c38046ad44e636c1bf
Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>
[426687] Handle all Notifiers (not just EObjects) in SessionEventBroker

Bug: 426687
Change-Id: Ia5fd7b04b74f6758bd085e2935963f7001b1af7c
[426687] Handle explicit changes in Resource.isModified

Bug: 426687
Change-Id: I9ef4e61b1376a7aa653fa06963f2b992be36bafe
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>