1 | package de.uka.ipd.sdq.cip; |
2 | |
3 | import org.eclipse.emf.ecore.EPackage; |
4 | import org.eclipse.emf.ecore.EcorePackage; |
5 | import org.eclipse.ocl.expressions.ExpressionsPackage; |
6 | import org.eclipse.ocl.types.TypesPackage; |
7 | import org.eclipse.ocl.utilities.UtilitiesPackage; |
8 | |
9 | import QVTBase.QVTBasePackage; |
10 | import QVTRelation.QVTRelationPackage; |
11 | import QVTTemplate.QVTTemplatePackage; |
12 | import de.uka.ipd.sdq.featureconfig.featureconfigPackage; |
13 | import edu.kit.ipd.sdq.completionfeaturemodel.completionfeaturemodelPackage; |
14 | |
15 | /** |
16 | * @author Thomas Schuischel |
17 | * |
18 | */ |
19 | public class ConstantsContainer { |
20 | |
21 | // Completion Constants |
22 | public static final String COMPLETION_DEFAULT_PROJECT_ID = "de.uka.ipd.sdq.cip.generated"; |
23 | |
24 | public static final String MODELFOLDER = "model"; |
25 | public static final String TRACESFOLDER = "traces"; |
26 | public static final String HOTTRACESFOLDER = "traces-hot"; |
27 | public static final String LOGFOLDER = "logs"; |
28 | |
29 | // Standard QVT catagories |
30 | public static final String QVTO_Category = "QVTO"; |
31 | public static final String QVTR_Category = "QVTR"; |
32 | public static final String MARK_COMPLETION = "MarkCompletion"; |
33 | public static final String PLAIN_COMPLETION = "PlainCompletion"; |
34 | public static final String HOT_COMPLETION = "HOTCompletion"; |
35 | |
36 | // CipConfigTab |
37 | public static final String COMPLETION_PROJECT_ID = "completion.plugin.id"; |
38 | public static final String COMPLETION_DELETE_PLUGIN = "completion.plugin.delete"; |
39 | public static final String COMPLETION_QVT_VERBOSE_LOGGING = "completion.qvt.verbose.logging"; |
40 | |
41 | //CipCompletionTab |
42 | public static final String COMPLETION_CONFIG = "completion.config"; |
43 | |
44 | |
45 | //Extension Point |
46 | public static final String COMPLETION_EXTENSION_POINT_ID = "Completion"; |
47 | |
48 | public static final Object NODE_COMPLETION = "Completion"; |
49 | public static final String ATT_COMPLETION_ID = "id"; |
50 | public static final String ATT_COMPLETION_NAME = "name"; |
51 | public static final String ATT_COMPLETION_IMAGE = "image"; |
52 | public static final String ATT_COMPLETION_FEATUREMODEL = "featuremodel"; |
53 | public static final String ATT_COMPLETION_METAMODEL = "metamodel"; |
54 | public static final String ATT_COMPLETION_QVTSCRIPT = "qvtscript"; |
55 | |
56 | |
57 | public static final String NODE_DESCRIPTION = "Description"; |
58 | |
59 | public static final String NODE_CATEGORY = "Category"; |
60 | |
61 | public static final String HOT_PARTITION_ID = "de.uka.ipd.sdq.cip.hotpartition"; |
62 | public static final String FEATURECONFIG2QVT_FILE = "platform:/plugin/de.uka.ipd.sdq.cip/completion/FeatureConfig2QVT.qvt"; |
63 | public static final EPackage[] HOT_METAMODELS = { |
64 | QVTBasePackage.eINSTANCE, // "http://schema.omg.org/spec/QVT/1.0/qvtbase.xml", |
65 | QVTRelationPackage.eINSTANCE, // "http://schema.omg.org/spec/QVT/1.0/qvtrelation.xml", |
66 | QVTTemplatePackage.eINSTANCE, // "http://schema.omg.org/spec/QVT/1.0/qvttemplate.xml", |
67 | EcorePackage.eINSTANCE, // "http://www.eclipse.org/emf/2002/Ecore", |
68 | //OCL, // "http://www.eclipse.org/ocl/1.1.0/OCL", |
69 | TypesPackage.eINSTANCE, //"http://www.eclipse.org/ocl/1.1.0/OCL/Types", |
70 | UtilitiesPackage.eINSTANCE, // "http://www.eclipse.org/ocl/1.1.0/OCL/Utilities", |
71 | ExpressionsPackage.eINSTANCE, // "http://www.eclipse.org/ocl/1.1.0/OCL/Expressions", |
72 | //"http://www.eclipse.org/ocl/1.1.0/OCLEcore", |
73 | EcorePackage.eINSTANCE, // "http://www.eclipse.org/ocl/1.1.0/Ecore", |
74 | featureconfigPackage.eINSTANCE, // "http://sdq.ipd.uka.de/FeatureConfig/2.0" |
75 | completionfeaturemodelPackage.eINSTANCE, // "http://sdq.ipd.kit.edu/CompletionFeatureModel/1.0" |
76 | }; |
77 | |
78 | |
79 | } |