From RTSC-Pedia
revision tip
LANDSCAPE orientation[printable version] [offline version] | offline version generated on 04-Aug-2010 21:08 UTC |
XDCscript - xdc.om.$modules
Array of all modules in the current model
Contents |
Synopsis
| var mods = xdc.om.$modules; |
Description
xdc.om.$modules is an array of all modules present in the current model. This list includes any proxy modules declared by these other modules.
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); } |
See Also
XDCscript - xdc.om | Top-Level object of current domain model |
XDCscript - Package-Object.$modules | Array of modules contained in this package |
XDCscript - Proxy-Object | Module object for a proxy |
[printable version] [offline version] | offline version generated on 04-Aug-2010 21:08 UTC |
Copyright © 2008 The Eclipse Foundation. All Rights Reserved