[442478] Use MappedResourceLocator to speed up resource lookup

Use MappedResourceLocator to speed up resource lookup.
MappedResourceLocator has advantage of managing resource rename/move in
opposite to ResourceSetImpl.uriResourcesMap.

Bug: 442478
Change-Id: I3295f393f590893176b93757975fcf6975a236e4
Signed-off-by: Pierre-Charles David <pierre-charles.david@obeo.fr>
Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>
[test] add test double click on a file handled by a transient session

Ensure that double click on a file handled by a transient session does
not opens a second session.

Change-Id: I05d2c8bfdbf1b730acd8102fe25d5c4e6f0106b3
Signed-off-by: Belqassim Djafer <belqassim.djafer@obeo.fr>
[test] Test closing many editors without saving

Add missing test to ensure that when the user closes many modified
representations (dirty session), nothing happens (session still dirty
and editor still opened).

Change-Id: I9e747507d9fcbdcef8130896e4ca8317a1ed4ad3
Signed-off-by: Belqassim Djafer <belqassim.djafer@obeo.fr>
[test] Add test for specification nodes/containers with empty labels

Change-Id: Ifd80d3e4045f1c68e21aa3c1ecad6963df4d1590
Signed-off-by: Belqassim Djafer <belqassim.djafer@obeo.fr>
[test] Test "Link with Editor" feature in model explorer view

Ensure that the "link with editor" feature works correctly in model
explorer view.

Change-Id: Id7cbab27a00365be021ff5d2d3abb4c42a8b47c5
Signed-off-by: Belqassim Djafer <belqassim.djafer@obeo.fr>
[447729] Test to detect invalid variable in interpreted expression

The test checks the variables defined in our metamodels eannotations
("http://www.eclipse.org/sirius/interpreted/expression/variables").

It allows to reveal the issue of Bug 447729 with DiagramVariablesTest

Bug: 447729
Change-Id: I05cd0aca52cfdf24023dc7c55cb2894dbb025d4a
Signed-off-by: Maxime Porhel <maxime.porhel@obeo.fr>
[447729] Correct the containerView variable definition in
DiagramElementMapping.precondition

Also correct some javadoc: replace viewpoint.DragAndDropTarget by
diagram.DragAndDropTarget.

Bug: 447729
Change-Id: Iba6f038077f7bf2e792f965e113bde0dda2979ec
Signed-off-by: Maxime Porhel <maxime.porhel@obeo.fr>
[442761] fix LockedTabBarTest.checkEnabledWithSelectedElement()

Fix a bug in the method
LockedTabBarTest.checkEnabledWithSelectedElement() that checks the
activation state of the "Arrange Selection" action.

Bug: 442761
Change-Id: Idaa88ce958935e3eec13fa611a0e252f6ad3410b
Signed-off-by: Mickael LANOE <mickael.lanoe@obeo.fr>
[446781] DAnalysisSessionHelper.getRemoteDAnalyses() is useless

DAnalysisSessionHelper.getRemoteDAnalyses() call is useless in
DAnalysisSessionHelper.findContainerForAddedRepresentation() because we
have already all DAnalysis in parameter.

Bug: 446781
Change-Id: I113ca5b0fb2b646ff545e002aa3ad7076569cd60
Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>
[442231] Have LockedInstanceException display correctly lockedElements

Since LockedInstanceException can take several EObject in constructor,
the display must be adapted to display EObject array correctly.

Bug: 442231
Change-Id: I0096d0a129fce103044f5bb94a6bfdf21b2c690d
Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>
[448739] Fix the test failure because of auto-size.

Bug: 448739
Change-Id: Icd73b4e98cf40cc01eabbe815e15863c6903cec7
Signed-off-by: Florian Barbin <florian.barbin@obeo.fr>
[450067] Fix wrong border node location after resizing.

* This patch fixes the wrong GMF location when resizing a border node
toward the parent shape center.
* This patch fixes also the wrong feedback when resizing toward the
bordered node center.
* Add tests.

Bug: 450067
Change-Id: I2208c899aad8b996995fa2576357dec44dd4f2dc
Signed-off-by: Florian Barbin <florian.barbin@obeo.fr>