source: trunk/modelicaml/org.openmodelica.modelicaml.profile/plugin.properties @ 1023

Last change on this file since 1023 was 1023, checked in by wschamai, 13 years ago
  • profile refactored (renamed, new packages for a better structure)
  • template model updated due to profile update
File size: 6.3 KB
Line 
1#######################
2# The content of this file is a copy of the file located in the plug-in "org.openmodelica.modelicaml.gen.modelica".
3#######################
4
5# Configuration
6c_profileName = ModelicaML
7
8# Configuration: Code generation
9c_outputFolder = code-gen/
10c_incFolder = code-inc/
11c_includeModelComments = true
12c_includeAsserts = true
13    #debugMode is used to include code for, e.g. checking if only one OR state is active at an instance or if states are deactivated if the parent state is not active.
14c_debugMode = true
15
16    ### ModelicaML specific
17p_path_ModelicaClassConstructs = ModelicaML::ModelicaClassConstructs
18p_path_ModelicaPredefinedTypes = ModelicaML::ModelicaPredefinedTypes
19p_path_ModelicaCompositeConstructs = ModelicaML::ModelicaCompositeConstructs
20p_path_ModelicaBehaviorConstructs = ModelicaML::ModelicaBehaviorConstructs
21p_path_ModelicaPredefinedEnumerations = ModelicaML::ModelicaPredefinedEnumerations
22p_path_ModelicaRelationsConstructs = ModelicaML::ModelicaRelationsConstructs
23p_path_ModelicaRequirementConstructs = ModelicaML::ModelicaRequirementConstructs
24p_path_ModelicaSimulationConstructs = ModelicaML::ModelicaSimulationConstructs
25p_path_ModelicaAnnotationConstructs = ModelicaML::ModelicaAnnotationConstructs
26p_path_ModelicaMLTestDefinition = ModelicaML::Verification
27p_path_ModelicaMLValueBinding = ModelicaML::ValueBinding
28p_path_ModelicaMLModelReferences = ModelicaML::ModelReferences
29p_path_ModelicaMLCodeGeneration = ModelicaML::CodeGeneration
30
31    #### ModelicaML specific END
32
33# Stereotypes: Modelica Classes
34s_class = ModelicaClass
35s_package = ModelicaPackage
36s_operator = Operator
37s_model = Model
38s_block = Block
39s_connector = Connector
40s_record = Record
41s_type = Type
42s_enumeration = ModelicaEnumeration
43s_function = Function
44    ### ModelicaML specific
45s_calculationModel = CalculationModel
46s_testScenario = VerificationScenario
47s_test = VerificationModel
48s_requirement = Requirement
49s_requirementRepresentative = RequirementRepresentative
50s_measureOfEffectiveness = MeasureOfEffectiveness
51
52s_ModelicaModelReference = ModelicaModelReference
53s_p_modelPath = modelPath
54
55s_ModelicaModelProxy = ModelicaModelProxy
56
57s_CodeGenerationSpecification = CodeGenerationSpecification
58    #### ModelicaML specific END
59
60    ### ModelicaML specific: Verification Definition Dependencies
61s_requires = Requires
62s_requiredFor = RequiredFor
63s_usedToVerify = UsedToVerify
64    #### ModelicaML specific END: Verification  Definition Dependencies
65   
66   
67# Stereotypes: Modelica Classes Properties
68s_p_final = final
69s_p_partial = partial
70s_p_encapsulated = encapsulated
71s_p_expandable = expandable
72    ### ModelicaML specific
73s_p_iconImagePath = iconImagePath
74    #### ModelicaML specific END
75
76# Stereotypes: Modelica Relations
77s_extends = ExtendsRelation
78s_typeExtend = TypeRelation
79s_redeclare = RedeclareRelation
80s_partialDerivativeFunction = PartialDerivativeOfFunctionRelation
81s_constrainedby = ConstrainedByRelation
82s_import = Import
83
84
85# Stereotypes: Modelica Function Properties
86    #### NOTE: in ModelicaML 'external' keyword is set if s_p_externalLanguageSpecification != null
87s_p_external = external
88s_p_externalLanguageSpecification = externalLanguageSpecification
89s_p_externalFunctionCall = externalFunctionCall
90s_p_externalAnnotation = externalAnnotation
91
92
93# Stereotypes: Modelica Components
94s_component = Component
95s_variable = Variable
96s_port = ConnectionPort
97s_functionArgument = FunctionArgument
98    #### ModelicaML specific
99s_requirementInstance = RequirementInstance
100s_calculatedProperty = CalculatedProperty
101    #### ModelicaML specific END
102
103
104# Stereotypes: Modelica Components Properties
105s_p_innerouter = scope
106s_p_replaceable = replaceable
107s_p_causality = causality
108s_p_conditionalAttribute = conditionalExpression
109s_p_modification = modification
110s_p_declarationEquation = declarationEquationOrAssignment
111    #### ModelicaML specific
112s_p_declarationAssignment = declarationAssignment
113    #### ModelicaML specific END
114s_p_arraySubscripts = arraySize
115s_p_variability = variability
116    ### ISSUE: TODO: For components we use use UML "public" and "protected" and exclude "private" and "package". We should do the same for classes.
117s_p_visibility = visibility
118    ### ISSUE : TODO: END
119s_p_flowFlag = flowFlag
120    ## s_partialDerivativeFunction
121s_p_partialDerivativeFunctionArguments = arguments
122
123# Stereotypes: Modelica Behavior
124s_equation = Equations(Code)
125s_algorithm = Algorithm(Code)
126s_assert = Assert
127s_connect = Connection
128s_if = If
129s_when = When
130    ### ModelicaML specific
131s_modelicaStateMachine = ModelicaMLStateMachine
132    ## ModelicaML specific: ModelicaMLStateMachine
133s_p_samplingExpression = samplingExpression
134    ### ModelicaML specific END
135s_stateDependency = StateDependency
136s_conditionalEquation = ConditionalEquations(Diagram)
137s_conditionalEquationEquations = Equations(CodeInDiagram)
138s_conditionalAlgorithm = ConditionalAlgorithm(Diagram)
139s_conditionalAlgorithmStatements = AlgorithmStatements(CodeInDiagram)
140s_executionOrderPriority = ExecutionOrderPriority
141s_p_isSubActivity = isSubActivity
142s_p_forIndices = forIndices
143s_p_loopKind = loopKind
144s_p_whileExpression = whileExpression
145    ## ModelicaML specific: StateTransitionSpecification
146s_StateTransitionSpecification = StateTransitionSpecification
147s_p_suppressExitActions = suppressExitActions
148s_p_suppressEntryActions = suppressEntryActions
149    ## ModelicaML specific: StateSpecification
150s_StateSpecification = StateSpecification
151s_p_freezeExpression = freezeExpression
152    ## ModelicaML specific: AdditionalIncludes
153s_AdditionalIncludes = AdditionalIncludes
154s_p_additionalActionCode = additionalActionCode
155    ## ModelicaML specific END
156    ## ModelicaML specific: ControlFlowSpecification
157s_p_priority = priority
158    ## ModelicaML specific: StateDependency
159s_p_isInState = isInState
160s_p_logicalOperator = logicalOperator
161    ### ModelicaML specific END
162   
163    ## ModelicaML specific: s_connect
164s_p_connectionEnds = explicitConnectionEnds
165    ### ModelicaML specific END
166   
167# Stereotypes: Modelica Behavior Properties
168s_p_initial = initial
169    ## Assert (NOTE: not supported by SysML4Modelica)
170s_p_condition = condition
171s_p_level = level
172s_p_message = message
173
174
175# Stereotypes: Modelica Annotation
176s_annotation = Annotation
177
178s_annotation_icon = Annotation(Icon)
179s_p_iconAnnotationString = iconAnnotationString
180
Note: See TracBrowser for help on using the repository browser.