Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Felicien IHIRWE
chess
Commits
66714ba6
Commit
66714ba6
authored
Jul 16, 2015
by
Nicholas Pacini
Browse files
initial update of plugind for Eclipse Mars release
parent
00a83867
Changes
29
Hide whitespace changes
Inline
Side-by-side
plugins/org.polarsys.chess.chessmlprofile/.classpath
View file @
66714ba6
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
exported=
"true"
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.
6
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.
7
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"output"
path=
"bin"
/>
</classpath>
plugins/org.polarsys.chess.chessmlprofile/.settings/org.eclipse.jdt.core.prefs
View file @
66714ba6
#Wed Apr 27 11:46:59 CEST 2011
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
6
org.eclipse.jdt.core.compiler.compliance=1.
6
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
7
org.eclipse.jdt.core.compiler.compliance=1.
7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.
6
org.eclipse.jdt.core.compiler.source=1.
7
plugins/org.polarsys.chess.chessmlprofile/META-INF/MANIFEST.MF
View file @
66714ba6
...
...
@@ -6,7 +6,7 @@ Bundle-Version: 0.9.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: Polarsys CHESS Project
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.
6
Bundle-RequiredExecutionEnvironment: JavaSE-1.
7
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.ui.workbench,
org.eclipse.emf.common,
...
...
plugins/org.polarsys.chess.chessmlprofile/build.properties
View file @
66714ba6
...
...
@@ -17,16 +17,12 @@ bin.includes = .,\
plugin.xml,
\
plugin.properties,
\
icons/,
\
library/,
\
readme.txt,
\
build.properties,
\
palettes/,
\
doc/,
\
.classpath
jars.compile.order
=
.
source..
=
src/
output..
=
bin/
src.includes
=
icons/,
\
library/,
\
model/,
\
readme.txt
model/
plugins/org.polarsys.chess.codegen.ada/src/org/polarsys/chess/codegen/ada/main/GenerateInfrastructure.java
View file @
66714ba6
...
...
@@ -341,9 +341,6 @@ public class GenerateInfrastructure extends AbstractAcceleoGenerator {
@Override
public
void
registerPackages
(
ResourceSet
resourceSet
)
{
super
.
registerPackages
(
resourceSet
);
if
(!
isInWorkspace
(
org
.
eclipse
.
uml2
.
uml
.
UMLPackage
.
class
))
{
resourceSet
.
getPackageRegistry
().
put
(
org
.
eclipse
.
uml2
.
uml
.
UMLPackage
.
eINSTANCE
.
getNsURI
(),
org
.
eclipse
.
uml2
.
uml
.
UMLPackage
.
eINSTANCE
);
}
/*
* If you want to change the content of this method, do NOT forget to change the "@generated"
...
...
plugins/org.polarsys.chess.codegen.ada/tasks/generateInfrastructure.xml
View file @
66714ba6
<?xml version="1.0" encoding="UTF-8"?>
<project
default=
"generateInfrastructure"
name=
"org.polarsys.chess.codegen.ada"
>
<property
name=
"ECLIPSE_HOME"
value=
"../../../../../../../Programs/eclipse-modeling-
luna-SR2
-win32-x86_64/eclipse"
/>
<property
name=
"ECLIPSE_WORKSPACE"
value=
"../../../../../../01_Concerto/
LavoroDiMerge
"
/>
<property
name=
"ECLIPSE_HOME"
value=
"../../../../../../../Programs/eclipse-modeling-
mars-R
-win32-x86_64/eclipse"
/>
<property
name=
"ECLIPSE_WORKSPACE"
value=
"../../../../../../01_Concerto/
Concerto_workspace_mars
"
/>
<!-- The classpath with only the dependencies used by the project -->
<path
id=
"org.polarsys.chess.codegen.ada.libraryclasspath"
>
<pathelement
location=
"${ECLIPSE_WORKSPACE}/org.polarsys.chess.codegen.ada/bin"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.1
0
.0.v201
40318-2214
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime_3.1
1
.0.v201
50405-1723
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/javax.annotation_1.2.0.v201401042248.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/javax.inject_1.0.0.v20091030.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.10.
2
.v20150
203-1939
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.1.v201
40709-1414
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.
6.20
0.v201
3
0402-1
505
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.
6.1
.v201
41014-1248
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime.compatibility.registry_3.
5.30
0.v201
40128-0851
/runtime_registry_compatibility.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.
5.40
0.v201
4042
8-150
7
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.5.
2
00.v201
40224-152
7.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.
4.20
0.v201
40207-1251
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.
2
00.v201
30910-1609
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.
0.2
.v20150
202-0947
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.1
0.2
.v2015012
3
-0
348
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.1
0.1
.v2015012
3
-0
348
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.1
0.2
.v2015012
3
-0
348
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.
0.1
.v20150
202-0947
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20150
202-0947
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.
8
.0.v20150
123
-04
5
2.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.
4.2
.v201
40725-2242
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.osgi_3.10.
100
.v20150
529-1857
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.osgi.compatibility.state_1.0.1
00
.v201
50402-1551
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.equinox.common_3.
7.
0.v201
5
0402-1
709
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.jobs_3.
7.0
.v201
50330-2103
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.runtime.compatibility.registry_3.
6.
0.v201
50318-1505
/runtime_registry_compatibility.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.equinox.registry_3.
6.
0.v201
5031
8-150
3
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.equinox.preferences_3.5.
3
00.v201
50408-143
7.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.contenttype_3.
5.
0.v201
50421-2214
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.equinox.app_1.3.
3
00.v201
50423-1356
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml_5.
1.0
.v20150
601-0733
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore_2.1
1.0
.v20150
5
12-0
501
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.common_2.1
1.0
.v20150
5
12-0
501
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.ecore.xmi_2.1
1.0
.v20150
5
12-0
501
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.uml2.common_2.
1.0
.v20150
601-0733
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.uml2.types_2.0.0.v20150
601-0733
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.mapping.ecore2xml_2.
9
.0.v20150
601
-04
0
2.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ocl_3.
5.0
.v201
50521-1211
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/lpg.runtime.java_2.0.17.v201004271640.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.
2
.0.v201
40610-0641
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.
3.10
0.v201
40610-0641
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.
5.1
.201
409021433
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.
5.1
.201
409021433
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.
5.1
.201
409021433
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.
5.1
.201
409021433
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.
5.1
.201
409021433
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.1
0.2
.v20150
123
-04
5
2.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.1
0
.0.v20150
123
-04
5
2.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.0.2
.v2
0150
403122
3.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.
6.10
0.v201
40528-1422
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.
9.1
.v201
40825-1431
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_1.0.2
.v2
0150
4030953
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_1.0.2
.v2
0150
4030953
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_1.0.2
.v2
0150
4030953
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.0.2
.v2
0150
4030953
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.
4
.0.v201
40306-0649
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.emf.util_3.
4
.0.v201
40306-0718
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.10
6.1
.v201
41002-1150
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.10
3.2
.v20150
203-1313
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.10
3.2
.v20150
203-135
1.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.1
0.2
.v201
41
02
1
-1
035
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.10
6.2
.v20150
204-1030
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.1
2
.0.v201
40227-2118
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.1
0.2
.v201
41118-1227
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.sysml_1.0.2
.v2
0150
4030953
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml.profile.standard_1.0.0.v20150
202-0947
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.
7
.0.v201
4
04
08
-07
03
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ocl.common_1.
3
.0.v201
50519-0914
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ocl.ecore_3.
5.
0.v201
50525-1635
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.common_3.
6.0
.201
506080954
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.parser_3.
6.0
.201
506080954
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.model_3.
6.0
.201
506080954
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.profiler_3.
6.0
.201
506080954
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.acceleo.engine_3.
6.0
.201
506080954
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen.ecore_2.1
1.0
.v20150
601
-04
0
2.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.emf.codegen_2.1
1
.0.v20150
601
-04
0
2.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.marte.static.profile_1.
1.
0.20150
610181
3.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.commands_3.
7.
0.v201
50422-0725
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.core.resources_3.
10.0
.v201
50423-0755
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core_1.
1.
0.20150
6191540
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor_1.
1.
0.20150
6191540
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.infra.core.sasheditor.di_1.
1.
0.20150
6191540
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.editor_1.
1.
0.20150
6191540
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.common_3.
5
.0.v201
50519-0825
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.m2m.qvt.oml.emf.util_3.
5
.0.v201
50419-1233
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ui_3.10
7.0
.v201
50507-1945
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.swt_3.10
4.0
.v20150
528-0211
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.swt.win32.win32.x86_64_3.10
4.0
.v20150
528-021
1.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.jface_3.1
1.0
.v201
506
02-1
400
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ui.workbench_3.10
7.0
.v20150
510-1732
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.e4.ui.workbench3_0.1
3
.0.v201
50422-0725
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ui.ide_3.1
1.0
.v201
50510-1749
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.papyrus.sysml_1.
1.
0.20150
6191540
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.uml2.uml.profile.standard_1.0.
10
0.v20150
601-0733
.jar"
/>
<pathelement
location=
"${ECLIPSE_HOME}/plugins/org.eclipse.ui.views_3.
8
.0.v201
5
04
22
-07
25
.jar"
/>
</path>
<path
id=
"org.polarsys.chess.codegen.ada.classpath"
>
...
...
plugins/org.polarsys.chess.commands/.classpath
View file @
66714ba6
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.
6
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.
7
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"output"
path=
"bin"
/>
...
...
plugins/org.polarsys.chess.commands/.settings/org.eclipse.jdt.core.prefs
View file @
66714ba6
#Tue Oct 05 10:28:34 CEST 2010
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
6
org.eclipse.jdt.core.compiler.compliance=1.
6
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
7
org.eclipse.jdt.core.compiler.compliance=1.
7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.
6
org.eclipse.jdt.core.compiler.source=1.
7
plugins/org.polarsys.chess.commands/META-INF/MANIFEST.MF
View file @
66714ba6
...
...
@@ -35,6 +35,6 @@ Require-Bundle: org.eclipse.ui.ide;bundle-version="3.10.0",
org.eclipse.papyrus.uml.tools,
org.eclipse.papyrus.infra.emf;bundle-version="1.0.0",
org.polarsys.chess.m2m
Bundle-RequiredExecutionEnvironment: JavaSE-1.
6
Bundle-RequiredExecutionEnvironment: JavaSE-1.
7
Bundle-ActivationPolicy: lazy
Export-Package: org.polarsys.chess.commands
plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/BuildInstanceCommand.java
View file @
66714ba6
...
...
@@ -285,7 +285,9 @@ public class BuildInstanceCommand extends AbstractHandler {
//create port instances for root instance
if
(
rootcomponent
instanceof
org
.
eclipse
.
uml2
.
uml
.
Class
)
buildPortInstances
((
org
.
eclipse
.
uml2
.
uml
.
Class
)
rootcomponent
,
instanceRoot
,
(
ShapeImpl
)
compositeEP
.
getModel
()
);
// LB 20150701: porting to MARS casting to compositeEP (following eclipse's suggestion)
//buildPortInstances((org.eclipse.uml2.uml.Class) rootcomponent, instanceRoot, (ShapeImpl) compositeEP.getModel() );
buildPortInstances
((
org
.
eclipse
.
uml2
.
uml
.
Class
)
rootcomponent
,
instanceRoot
,
(
ShapeImpl
)
((
EditPart
)
compositeEP
).
getModel
()
);
}
...
...
@@ -541,7 +543,9 @@ public class BuildInstanceCommand extends AbstractHandler {
@SuppressWarnings
(
"rawtypes"
)
@Deprecated
public
static
PortEditPart
getPortEditPart
(
NamedElementEditPart
propertyEP
,
Port
port
){
List
listEP
=
propertyEP
.
getChildren
();
// LB 20150701: porting MARS casting to propertyEP (following eclipse's suggestion)
//List listEP = propertyEP.getChildren();
List
listEP
=
((
EditPart
)
propertyEP
).
getChildren
();
Object
temp
=
null
;
for
(
int
i
=
0
;
i
<
listEP
.
size
();
i
++){
temp
=
listEP
.
get
(
i
);
...
...
plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/HideRTInformationCommand.java
View file @
66714ba6
...
...
@@ -73,7 +73,9 @@ public class HideRTInformationCommand extends AbstractHandler{
}
if
(
ShowRTInformationCommand
.
showHideRT
((
Shape
)
compositeEP
.
getModel
(),
false
)){
// LB 20150701 porting to MARS added cast to compositeEp (following Eclipse's suggestion)
//if (ShowRTInformationCommand.showHideRT((Shape)compositeEP.getModel(), false)){
if
(
ShowRTInformationCommand
.
showHideRT
((
Shape
)((
EditPart
)
compositeEP
).
getModel
(),
false
)){
ds
.
setUserAction
(
false
);
}
}
...
...
plugins/org.polarsys.chess.commands/src/org/polarsys/chess/commands/ShowRTInformationCommand.java
View file @
66714ba6
...
...
@@ -77,11 +77,15 @@ public class ShowRTInformationCommand extends AbstractHandler{
}
if
(
showHideRT
((
Shape
)
compositeEP
.
getModel
(),
true
)){
// LB 20150701 porting to MARTE added casting to compositeEP (following Eclipse's suggestion)
//if (showHideRT((Shape)compositeEP.getModel(), true)){
if
(
showHideRT
((
Shape
)((
EditPart
)
compositeEP
).
getModel
(),
true
)){
ds
.
setUserAction
(
false
);
}
EditPart
mainEditPart
=
(
EditPart
)(
compositeEP
.
getRoot
().
getChildren
().
get
(
0
));
// LB 20150701 porting to MARTE added parenthesis around cast and casting to EditPart (following Eclipse's suggestion)
//EditPart mainEditPart = (EditPart)(compositeEP.getRoot().getChildren().get(0));
EditPart
mainEditPart
=
(
EditPart
)
(((
EditPart
)
compositeEP
).
getRoot
().
getChildren
().
get
(
0
));
CanonicalEditPolicy
cep
=
(
CanonicalEditPolicy
)
mainEditPart
.
getEditPolicy
(
EditPolicyRoles
.
CANONICAL_ROLE
);
if
(
cep
!=
null
)
cep
.
refresh
();
...
...
plugins/org.polarsys.chess.core/.classpath
View file @
66714ba6
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.
6
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.
7
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
excluding=
"it/unipd/chess/constraint/ExampleConstraintsLib.java"
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"output"
path=
"bin"
/>
...
...
plugins/org.polarsys.chess.core/.settings/org.eclipse.jdt.core.prefs
View file @
66714ba6
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
6
org.eclipse.jdt.core.compiler.compliance=1.
6
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
7
org.eclipse.jdt.core.compiler.compliance=1.
7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.
6
org.eclipse.jdt.core.compiler.source=1.
7
plugins/org.polarsys.chess.core/META-INF/MANIFEST.MF
View file @
66714ba6
...
...
@@ -5,7 +5,7 @@ Bundle-SymbolicName: org.polarsys.chess.core;singleton:=true
Bundle-Version: 0.9.0.qualifier
Bundle-Activator: org.polarsys.chess.core.Activator
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.
6
Bundle-RequiredExecutionEnvironment: JavaSE-1.
7
Export-Package: org.polarsys.chess.core,
org.polarsys.chess.core.constraint;uses:="org.eclipse.core.runtime,org.eclipse.emf.common.notify",
org.polarsys.chess.core.extensionpoint,
...
...
@@ -66,5 +66,5 @@ Require-Bundle: org.eclipse.papyrus.editor;bundle-version="0.8.1",
org.polarsys.chess.chessmlprofile,
org.eclipse.core.expressions,
org.eclipse.core.filesystem,
org.eclipse.papyrus.emf.facet.custom.metamodel
org.eclipse.papyrus.emf.facet.custom.metamodel
,
org.eclipse.gmf.tooling.runtime;bundle-version="3.3.0"
plugins/org.polarsys.chess.discovery/.classpath
View file @
66714ba6
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J
2
SE-1.
5
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J
ava
SE-1.
7
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"output"
path=
"bin"
/>
...
...
plugins/org.polarsys.chess.discovery/.settings/org.eclipse.jdt.core.prefs
View file @
66714ba6
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
5
org.eclipse.jdt.core.compiler.compliance=1.
5
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
7
org.eclipse.jdt.core.compiler.compliance=1.
7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.
5
org.eclipse.jdt.core.compiler.source=1.
7
plugins/org.polarsys.chess.discovery/META-INF/MANIFEST.MF
View file @
66714ba6
...
...
@@ -13,5 +13,5 @@ Bundle-Name: %pluginName
Bundle-Activator: org.polarsys.chess.discovery.Activator
Bundle-ManifestVersion: 2
Bundle-SymbolicName: org.polarsys.chess.discovery;singleton:=true
Bundle-RequiredExecutionEnvironment: J
2
SE-1.
5
Bundle-RequiredExecutionEnvironment: J
ava
SE-1.
7
plugins/org.polarsys.chess.m2m/.classpath
View file @
66714ba6
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.
6
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.
7
"
/>
<classpathentry
kind=
"con"
path=
"org.eclipse.pde.core.requiredPlugins"
/>
<classpathentry
kind=
"src"
path=
"src"
/>
<classpathentry
kind=
"output"
path=
"bin"
/>
...
...
plugins/org.polarsys.chess.m2m/.settings/org.eclipse.jdt.core.prefs
View file @
66714ba6
#Wed Aug 24 14:45:58 CEST 2011
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
6
org.eclipse.jdt.core.compiler.compliance=1.
6
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.
7
org.eclipse.jdt.core.compiler.compliance=1.
7
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.
6
org.eclipse.jdt.core.compiler.source=1.
7
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment