-
Notifications
You must be signed in to change notification settings - Fork 5
SICS Synoptics Widget_137200419
nxi edited this page Apr 9, 2015
·
1 revision
Created by Tony Lam, last modified on Jan 11, 2010
SICS synoptics widget is a generic SWT widget to display status of various devices on a still image.
Image:attachments/137200419/137396243.png
The following is an example of the synoptics widget when it is used under the dashboard:
<widget classname="org.gumtree.gumnix.sics.ui.widgets.SynopticsStatusWidget"> <parameters> <imageURI>bundle://au.gov.ansto.bragg.wombat/images/wombat_dash.jpg</imageURI> <deviceURIs> sics://hdb/sample/translate_x, sics://hdb/sample/rotate </deviceURIs> <xCoordinates> 40, 20 </xCoordinates> <yCoordinates> 30, 15 </yCoordinates> <labels> Translate, Rotate </labels> </parameters> </widget>
Property
Note
imageURI
The URI of the still image (required).
deviceURIs
A list of device URIs for status display (required).
xCoordinates
A list of x coordinates (relative to the left upper corner of the image) for the device status display (optional).
yCoordinates
A list of y coordinates (relative to the left upper corner of the image) for the device status display (optional).
labels
A list of alternate labels for device (optional).
The order of elements for each list (xCoordinates, yCoordinates and labels) follows the order of the master list (deviceURIs). In above example, element can be left as blank to use the default value. For example, labels can be set to "Translate," such that the default device name will be used for device sics://hdb/sample/rotate.
Image:images/icons/bullet_blue.gif (image/png)
Document generated by Confluence on Apr 01, 2015 00:11
Home | Developer Guide | Copyright © 2013 ANSTO