[test] Clean data to avoid unnecessary errors in log.

* Fix wrong reused mappings.
* Fix wrong precondition expressions
* Remove all unnecessary mappings "EC External EClass", "Bi-directional
EC_EReference ", ... copied from
ecore.odesign but without corresponding services (allRoots,
getEOppositeEReferences, ...).

Change-Id: Ic0201e24f0b686af838c8328eae0f4fa4e6e2048
Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
[test] Fix perf problem since add of test about "Link with Editor"

Since commit f6356a7, all tests executed after [1] are executed with the
option "Link with Editor" enabled. This may explain the longer time
tests execution.

[1]
org.eclipse.sirius.tests.swtbot.modelexplorer.LinkWithEditorFeatureWithModelExplorerViewTest.testLinkWithEditorFeatureWithModelExplorerView()

Change-Id: I6c9f21085e278150d04da51d77dadc8962f5b7be
Signed-off-by: Laurent Redor <laurent.redor@obeo.fr>
[test] fix CreateRepresentationFromSessionTest

Fix the test CreateRepresentationFromSessionTest, remove it from
disabled test suite and add it to all test suite.

Change-Id: Ibdec0d64288fb0317aee2372ff035af6a0bd2f47
Signed-off-by: Mickael LANOE <mickael.lanoe@obeo.fr>
[452508] Handle read only files in tests for Mac OS X

Improve workspace cleaning methods
Explicitely remove the read only status when explicitely set in test and
remove useless methods but do not reactivate the commented test yet. 
Change section order and names in Sirius 3.0.0 changes

Bug: 452508
Change-Id: I62c601bbe6c33dcedb66e4b8366c284c44f8d0fe
Signed-off-by: Maxime Porhel <maxime.porhel@obeo.fr>
[428757] tool variables are not displayed in autocompletion

variables are hard coded for the feature
ToolPackage.Literals.ABSTRACT_TOOL_DESCRIPTION__PRECONDITION in the
context of a Diagram.
This hard-coding is a temporary solution. The good way could be to put
that metadata on the diagram.ecore metamodeler as additional feature
annotations avoiding a specific code.

Note that the displayed order of the variables is not consistent between
connection start and complete Precondition. A specification should be
created to define the annotation display order according for example to
where it is in the metamodel hierarchy.

Bug 428757
Change-Id: I92aa16fdac3f5e18749e717456d66e12c37f7810
Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
[435752] Fix SemanticBasedDecorator domainClass property section

In viewpoint.ecore meta-model, the EAttribute type of the
SemanticBasedDecoration.domainClass attribute was replaced by the
TypeName data type.

Bug: 435752
Change-Id: I6571e212f45327e809dae9a713caf6216a2ef460
Signed-off-by: Belqassim Djafer <belqassim.djafer@obeo.fr>
[452286] Fix VSM validation to check the Domain class name

Validation should fails when the domain class name is invalid.

Bug: 452286
Change-Id: I0268464a82676f96088d7c6dd42780d3ba6c6478
Signed-off-by: Belqassim Djafer <belqassim.djafer@obeo.fr>
[452287] Validation whith whitespaces after/before the Domain class name

Bug: 452287
Change-Id: I107f80cf7b8ef205d33ef63c7ebffb66f9073d8b
Signed-off-by: Belqassim Djafer <belqassim.djafer@obeo.fr>
[449349] Tests for validation Domain class name in VSM

Two cases are checked :
1- Test VSM validation when the domain class name contains white spaces
after, before or both.
2- Ensure that VSM validation checks the Domain class name and fails
when the domain class name is invalid.

Bug: 449349
Bug: 452286 
Bug: 452287
Change-Id: I868c3d2c80f5213710ec685f2db903c738dbf5c4
Signed-off-by: Belqassim Djafer <belqassim.djafer@obeo.fr>
[450067] Use the default ResizableEditPolicy for lifeLineEditPart.

* This commit fixes regressions on swtbot-sequence[1]:
** SyncCallTest.test_SyncCall_Move_Multiple_Selection
**
NoteAttachmentTest.testAttachmentTargetStaysInRangeWhenLifelineIsReduced
** NoteAttachmentTest.testAttachmentTargetIsStableWhenLifelineIsExtended
** NoteAttachmentTest.testAttachmentSourceIsStableWhenLifelineIsExtended 

* Since we make specific operations within
SpecificBorderItemSelectionEditPolicy.getResizeCommand [2], the resize
command for lifeline is modified too (by inheritance). We just need of
org.eclipse.gef.editpolicies.ResizableEditPolicy.getResizeCommand(ChangeBoundsRequest)
* The commit [3] had also introduced lifeLines behavior changes by
mistake.

[1]
https://hudson.eclipse.org/sirius/job/sirius.tests-master/PLATFORM=luna,SUITE=swtbot-sequence/69/testReport/
[2]
http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=e75b77da0181d4b6f94347f1278c4417b935dac0
[3]
http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=3910843471c5b323dcb7410a5b109e11d63c6888

Bug: 450067
Change-Id: I96f2d0a3a0809e6e76815a55981a4779ff6992c8
Signed-off-by: Florian Barbin <florian.barbin@obeo.fr>
[452508] Open project before calling IProject.members()

Open project before calling IProject.members() to avoid exception and
open project to have it effectively deleted.

Bug: 452508
Change-Id: I7f9f97fd117313a07cdd9f080f44fe420f0a4265
Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>