<
From version < 4.1 >
edited by ssm
on 2013/05/03 18:28
To version < 6.1 >
edited by ssm
on 2013/05/03 19:31
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,7 @@
1 +
1 1  
2 2  
4 +
3 3  {{toc/}}
4 4  
5 5  There are several extensions implemented to ease the work with a scl model. (de.cau.cs.kieler.scl.extensions)
... ... @@ -81,8 +81,26 @@
81 81  
82 82  = SCL Naming Extensions =
83 83  
84 -//coming soon...//
86 +SCL Naming Extensions provide helper functions for ID & naming services.
85 85  
88 +|=(((
89 +Method
90 +)))|=(((
91 +Description
92 +)))
93 +|(((
94 +def void distributeStateIDs(Statechart)
95 +)))|(((
96 +Since yakindu does not make use of the ID field, one can use this method to make every ID in a statechart unique.
97 +)))
98 +|(% colspan="1" %)(% colspan="1" %)
99 +(((
100 +def String getHierarchicalName(SyncState, String)
101 +)))|(% colspan="1" %)(% colspan="1" %)
102 +(((
103 +Generates a (most likely unique) name for a state. The name is generated from all parent states and regions, which are separated by an underscore. If a region or state has no name, the element's hash code is used instead.
104 +)))
105 +
86 86  = SCL Ordering Extensions =
87 87  
88 88  The Ordering Extensions provide functions, which can be used in the //xtend sort// context.
... ... @@ -170,7 +170,7 @@
170 170  def dropPrevious(List<Statement>, Statement)(% style="font-size: small;" %)
171 171  )))|(% colspan="1" %)(% colspan="1" %)
172 172  (((
173 -Drops all preceeding statements in a thread or a list of statements until the given statement is reached.
193 +Drops all preceeding statements in a thread or a list of statements before the given statement.
174 174  )))
175 175  
176 176  = SCL Goto Extensions =
... ... @@ -217,8 +217,33 @@
217 217  
218 218  = SCL Expression Extensions =
219 219  
220 -//coming soon...//
240 +The SCL Expression Extension holds methods to help with the manipulation and constructions of the SText (and extended) expressions.
221 221  
242 +|=(((
243 +Method
244 +)))|=(((
245 +Description
246 +)))
247 +|(((
248 +def Expression toExpression(RegularEventSpec)
249 +)))|(((
250 +Transforms a SGraph RegularEventSpec to a SText Expression. The resulting expression will be an ElementReferenceExpression.
251 +)))
252 +|(% colspan="1" %)(% colspan="1" %)
253 +(((
254 +def Expression negate(Expression)
255 +)))|(% colspan="1" %)(% colspan="1" %)
256 +(((
257 +Negates the given expression. If the Expression is an ElementReferenceExpression the result will be a LogicalNotExpression containing the expression. Otherwise the result will be a LogicalNotExpression containing a ParenthesizedExpression, which then holds the original expression.
258 +)))
259 +|(% colspan="1" %)(% colspan="1" %)
260 +(((
261 +def String correctSerialization(String)
262 +)))|(% colspan="1" %)(% colspan="1" %)
263 +(((
264 +Since the actual implementation of the SText parser may parse artefacts (like linebreaks) until matching a preceding delimeter, correctSerialization removes these artifacts, when serializing an expression.
265 +)))
266 +
222 222  = SCL Dependency Extensions =
223 223  
224 224  //coming soon...//
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -6750231
1 +7110868
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/6750231/SCL Extensions
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/KIELER/pages/7110868/SCL Extensions