ArchStudio xADL Tools:
xArch/xADL Data Binding Library

xArch/xADL Data Binding Library

xADL data binding libraries are stored within the plug-ins that contain their respective xADL schema. (To see how this is done, see the Apigen tool.) The advantage to this approach is that new schema can be automatically incorporated into ArchStudio's ArchEdit tool when it is compiled with those plugins.

Using the Data Binding Library

The data binding library is built upon the Eclipse Modeling Framework (EMF). There are three ways that the data binding library can be used:

  • Automatically (in ArchEdit), by ArchStudio
  • Through an ArchStudio extension
  • Directly, by an application

ArchStudio automatically initializes all data binding libraries. However, in the latter case when using a library outside of ArchStudio, you must initialize the data binding libraries manually. This is done by simply referring to the eINSTANCE variable of the generated EPackage . For instance, the following line of code initializes the structure data binding library.

org.archstudio.xadl3.structure_3_0.Structure_3_0Package.eINSTANCE;

For a complete example, take a look at Test.java.

Contact Us

If you have questions not answered by this website, please feel free to contact the software architectures group at UC Irvine through the ArchStudio developer's (mailman protected) email list at: archstudio-dev [@] uci [.] edu.

Portions of this site Copyright © The Regents of the University of California. All Rights Reserved Worldwide. The development of ArchStudio was initially funded by the DARPA DASADA (Dynamic Assembly for Systems Adaptability, Dependability, and Assurance) program. The site now includes results from projects supported in part by National Science Foundation grants IIS-0205724 and CCF-0430066, The Boeing Company, and IBM.