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

Last change on this file since 849 was 849, checked in by wschamai, 13 years ago
  • Doc. header update
  • Profile update: <<Import>> stereotype
  • Template model update
File size: 5.6 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_includeModelComments = true
11c_includeAsserts = true
12    #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.
13c_debugMode = true
14
15    ### ModelicaML specific
16p_path_ModelicaClassConstructs = ModelicaML::ModelicaClassConstructs
17p_path_ModelicaPredefinedTypes = ModelicaML::ModelicaPredefinedTypes
18p_path_ModelicaCompositeConstructs = ModelicaML::ModelicaCompositeConstructs
19p_path_ModelicaBehaviorConstructs = ModelicaML::ModelicaBehaviorConstructs
20p_path_ModelicaPredefinedEnumerations = ModelicaML::ModelicaPredefinedEnumerations
21p_path_ModelicaRelationsConstructs = ModelicaML::ModelicaRelationsConstructs
22p_path_ModelicaRequirementConstructs = ModelicaML::ModelicaRequirementConstructs
23p_path_ModelicaSimulationConstructs = ModelicaML::ModelicaSimulationConstructs
24p_path_ModelicaAnnotationConstructs = ModelicaML::ModelicaAnnotationConstructs
25    #### ModelicaML specific END
26
27# Stereotypes: Modelica Classes
28s_class = ModelicaClass
29s_package = ModelicaPackage
30s_operator = Operator
31s_model = Model
32s_block = Block
33s_connector = Connector
34s_record = Record
35s_type = Type
36s_enumeration = ModelicaEnumeration
37s_function = Function
38    ### ModelicaML specific
39s_calculationModel = CalculationModel
40s_requirement = Requirement
41s_requirementRepresentative = RequirementRepresentative
42s_measureOfEffectiveness = MeasureOfEffectiveness
43s_ModelicaModelReference = ModelicaModelReference
44s_p_modelPath = modelPath
45    #### ModelicaML specific END
46
47
48# Stereotypes: Modelica Classes Properties
49s_p_final = final
50s_p_partial = partial
51s_p_encapsulated = encapsulated
52s_p_expandable = expandable
53    ### ModelicaML specific
54s_p_iconImagePath = iconImagePath
55    #### ModelicaML specific END
56
57# Stereotypes: Modelica Relations
58s_extends = ExtendsRelation
59s_typeExtend = TypeRelation
60s_redeclare = RedeclareRelation
61s_partialDerivativeFunction = PartialDerivativeOfFunctionRelation
62s_constrainedby = ConstrainedByRelation
63s_import = Import
64
65
66# Stereotypes: Modelica Function Properties
67    #### NOTE: in ModelicaML 'external' keyword is set if s_p_externalLanguageSpecification != null
68s_p_external = external
69s_p_externalLanguageSpecification = externalLanguageSpecification
70s_p_externalFunctionCall = externalFunctionCall
71s_p_externalAnnotation = externalAnnotation
72
73
74# Stereotypes: Modelica Components
75s_component = Component
76s_variable = Variable
77s_port = ConnectionPort
78s_functionArgument = FunctionArgument
79    #### ModelicaML specific
80s_requirementInstance = RequirementInstance
81s_calculatedProperty = CalculatedProperty
82    #### ModelicaML specific END
83
84
85# Stereotypes: Modelica Components Properties
86s_p_innerouter = scope
87s_p_replaceable = replaceable
88s_p_causality = causality
89s_p_conditionalAttribute = conditionalExpression
90s_p_modification = modification
91s_p_declarationEquation = declarationEquationOrAssignment
92    #### ModelicaML specific
93s_p_declarationAssignment = declarationAssignment
94    #### ModelicaML specific END
95s_p_arraySubscripts = arraySize
96s_p_variability = variability
97    ### ISSUE: TODO: For components we use use UML "public" and "protected" and exclude "private" and "package". We should do the same for classes.
98s_p_visibility = visibility
99    ### ISSUE : TODO: END
100s_p_flowFlag = flowFlag
101    ## s_partialDerivativeFunction
102s_p_partialDerivativeFunctionArguments = arguments
103
104# Stereotypes: Modelica Behavior
105s_equation = Equations(Code)
106s_algorithm = Algorithm(Code)
107s_assert = Assert
108s_connect = Connection
109s_if = If
110s_when = When
111    ### ModelicaML specific
112s_modelicaStateMachine = ModelicaMLStateMachine
113    ## ModelicaML specific: ModelicaMLStateMachine
114s_p_samplingExpression = samplingExpression
115    ### ModelicaML specific END
116s_stateDependency = StateDependency
117s_conditionalEquation = ConditionalEquations(Diagram)
118s_conditionalEquationEquations = Equations(CodeInDiagram)
119s_conditionalAlgorithm = ConditionalAlgorithm(Diagram)
120s_conditionalAlgorithmStatements = AlgorithmStatements(CodeInDiagram)
121s_executionOrderPriority = ExecutionOrderPriority
122s_p_isSubActivity = isSubActivity
123s_p_forIndices = forIndices
124s_p_loopKind = loopKind
125s_p_whileExpression = whileExpression
126    ## ModelicaML specific: StateTransitionSpecification
127s_StateTransitionSpecification = StateTransitionSpecification
128s_p_suppressExitActions = suppressExitActions
129s_p_suppressEntryActions = suppressEntryActions
130    ## ModelicaML specific: StateSpecification
131s_StateSpecification = StateSpecification
132s_p_freezeExpression = freezeExpression
133    ## ModelicaML specific: AdditionalIncludes
134s_AdditionalIncludes = AdditionalIncludes
135s_p_additionalActionCode = additionalActionCode
136    ## ModelicaML specific END
137    ## ModelicaML specific: ControlFlowSpecification
138s_p_priority = priority
139    ## ModelicaML specific: StateDependency
140s_p_isInState = isInState
141s_p_logicalOperator = logicalOperator
142    ### ModelicaML specific END
143   
144    ## ModelicaML specific: s_connect
145s_p_connectionEnds = explicitConnectionEnds
146    ### ModelicaML specific END
147   
148# Stereotypes: Modelica Behavior Properties
149s_p_initial = initial
150    ## Assert (NOTE: not supported by SysML4Modelica)
151s_p_condition = condition
152s_p_level = level
153s_p_message = message
154
155
156# Stereotypes: Modelica Annotation
157s_annotation = Annotation
158
159s_annotation_icon = Annotation(Icon)
160s_p_iconAnnotationString = iconAnnotationString
161
Note: See TracBrowser for help on using the repository browser.