<
From version < 74.1 >
edited by Richard Kreissig
on 2023/09/14 10:03
To version < 75.1
edited by Richard Kreissig
on 2023/09/14 10:04
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -339,9 +339,9 @@
339 339  
340 340  There are several Extensions classes within the KIELER project that extend the functionality of various classes. Basically, there are one or more for each metamodel (e.g. SCCharts, SCG, KExpressions, etc). You don't want to invent the wheel again. Use these methods. For example: there is a method that gives you all contained states of a state in a list: {{code language="none"}}getAllContainedStatesList{{/code}}. You can use it on your {{code language="none"}}rootState{{/code}}: {{code language="none"}}rootState.allContainedStatesList{{/code}}. There are also several convenient methods for creating model elements so that you don't have to use the factories directly.
341 341  
342 -{{note title="Extensions Naming Scheme"}}
342 +{{info title="Extensions Naming Scheme"}}
343 343  Extensions are also just classes. You can add your own to improve the structure of your own projects. In KIELER all extensions end with "Extensions"; except SCChartsExtension for legacy reasons. This will be renamed in after the next snapshot to SCChartsExtensions. So, if you're going to add new extensions to the project, please name them accordingly.
344 -{{/note}}
344 +{{/info}}
345 345  )))
346 346  
347 347  [[image:attach:KielerSCTEditorOwnTransformationOlolo.png]]