From RTSC-Pedia
revision tip
LANDSCAPE orientation![]() | [printable version] [offline version] | offline version generated on 11-Jun-2009 18:06 UTC | ![]() |
XDCscript - xdc.om.$packages
Array of all packages within the current model
Synopsis
| var pkgs = xdc.om.$packages; |
Description
An array of all packages within the current model.
Example
The following script prints the names of all packages in the current model.
| var pkgs = xdc.om.$packages; for (var i = 0; i < pkgs.length; i++) { print(pkgs[i].$name); } |
![]() | [printable version] [offline version] | offline version generated on 11-Jun-2009 18:06 UTC | ![]() |
Copyright © 2008 The Eclipse Foundation. All Rights Reserved