Home
Categories
Dictionnary
Download
Project Details
Changes Log
Who We Are
FAQ
License

Server widgets implementation configuration file


    1  Grammar
    2  Structure
       2.1  ARINC Extension implementation
       2.2  MapItem implementation
       2.3  Widget implementation
          2.3.1  Examples
    3  See also

This Server widgets rendering pipeline XML configuration file specifies the Java classes which implements the ARINC 661 widgets and MapItems defined in the meta−definition.

Grammar

See the Widgets implementation configuration Schema.

Structure

The XML file contains the following elements:

ARINC Extension implementation

The "extension" element has one "arincID" attribute which specifies the extension ARINC ID. It contains a child "path" element which allow to specify the classpath of the Java class implementing the extension.
For example:

      <extension arincID="A661_CHILD_INDEX_EXTENSION">
         <path path="arinc661.server.model.arinc.ChildIndexExtension"/>
      </extension>

MapItem implementation

The "mapItem" element has one "arincID" attribute which specifies the MapItem ARINC ID. It contains a child "applyTo" element which allow to specify the classpath of the Java class implementing the MapItem.
For example:

      <mapItem arincID="A661_SYMBOL_RECTANGLE">
         <applyTo path="arinc661.server.model.maps2d.items.SymbolRectangle"/>
      </mapItem>

Widget implementation

The "widget" element has the following attributes: Note that the "sizeType" and "positionType" attributes are only used in Swing.
The widget contains a child "path" element which allow to specify the classpath of the Java class implementing the widget.

Examples

      <widget arincID="A661_PUSH_BUTTON">
         <path path="arinc661.server.model.arinc.ARINCPushButton"/>
      </widget>

An unsized widget which takes its own position:

      <widget arincID="A661_GP_LINE" isSized="false" positionType="widget" sizeType="parent">
         <path path="arinc661.server.model.arinc.ARINCGPLine"/>
      </widget>

An unsized widget which takes the position of its parent:

      <widget arincID="A661_MENU_BAR" isSized="false" positionType="parent" sizeType="parent">
         <path path="arinc661.server.model.arinc.ARINCMenuBar"/>
      </widget>

See Also


Category: server Category: dev

Copyright 2016 Dassault Aviation. All Rights Reserved. Documentation and source under the GPL v2 licence

Project Web Hosted by SourceForge.net Copyright 1999-2010 - Geeknet, Inc., All Rights Reserved About - Legal - Help