From RTSC-Pedia
revision tip
LANDSCAPE orientation[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
XDCscript - xdc.om.$modules
Array of all modules in the current model
Synopsis
| var mods = xdc.om.$modules; |
Description
xdc.om.$modules is an array of all modules present in the current model.
Example
The following script prints the names of all modules in the current model.
| var mods = xdc.om.$modules; for (var i = 0; i < mods.length; i++) { print(mods[i].$name); } |
[printable version] [offline version] | offline version generated on 02-Oct-2009 22:10 UTC |
Copyright © 2008 The Eclipse Foundation. All Rights Reserved