Created
March 16, 2012 15:01
-
-
Save jacques-bessette/2050443 to your computer and use it in GitHub Desktop.
uibinder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE ui:UiBinder SYSTEM "http://dl.google.com/gwt/DTD/xhtml.ent"> | |
<ui:UiBinder xmlns:ui="urn:ui:com.google.gwt.uibinder" | |
xmlns:g="urn:import:com.google.gwt.user.client.ui" | |
xmlns:e="urn:import:com.engonyx.applications.guisuite.client.widgets"> | |
<ui:style> | |
.important { | |
font-weight: bold; | |
} | |
.red { | |
color: red; | |
} | |
</ui:style> | |
<e:Context ui:field="context"> | |
<g:ScrollPanel height="100%" width="100%"> | |
<g:HTMLPanel> | |
<table class="formLayout"> | |
<tr> | |
<td> | |
<g:Label>Name</g:Label> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:TextBox ui:field="name"></g:TextBox> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:Label>Serial</g:Label> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:TextBox ui:field="serial"></g:TextBox> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:Label text="Position" ui:field="positionLabel"/> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:TextBox ui:field="position" readOnly="true"></g:TextBox> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:Label text="X position" ui:field="xValueLabel"/> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:HorizontalPanel width="168px"> | |
<g:TextBox width="88px" ui:field="xValue" readOnly="true"></g:TextBox> | |
<g:Cell horizontalAlignment="ALIGN_RIGHT"> | |
<g:ListBox width="70px" ui:field="xValueUnit"></g:ListBox> | |
</g:Cell> | |
</g:HorizontalPanel> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:Label text="X angle" ui:field="xAngleLabel"/> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:HorizontalPanel width="168px"> | |
<g:TextBox width="88px" ui:field="xAngle" readOnly="true"></g:TextBox> | |
<g:Cell horizontalAlignment="ALIGN_RIGHT"> | |
<g:ListBox width="70px" ui:field="xAngleUnit"></g:ListBox> | |
</g:Cell> | |
</g:HorizontalPanel> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:Label text="Y position" ui:field="yValueLabel"/> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:HorizontalPanel width="168px"> | |
<g:TextBox width="88px" ui:field="yValue" readOnly="true"></g:TextBox> | |
<g:Cell horizontalAlignment="ALIGN_RIGHT"> | |
<g:ListBox width="70px" ui:field="yValueUnit"></g:ListBox> | |
</g:Cell> | |
</g:HorizontalPanel> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:Label text="Y angle" ui:field="yAngleLabel"/> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:HorizontalPanel width="168px"> | |
<g:TextBox width="88px" ui:field="yAngle" readOnly="true"></g:TextBox> | |
<g:Cell horizontalAlignment="ALIGN_RIGHT"> | |
<g:ListBox width="70px" ui:field="yAngleUnit"></g:ListBox> | |
</g:Cell> | |
</g:HorizontalPanel> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:Label text="Z position" ui:field="zValueLabel"/> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:HorizontalPanel width="168px"> | |
<g:TextBox width="88px" ui:field="zValue" readOnly="true"></g:TextBox> | |
<g:Cell horizontalAlignment="ALIGN_RIGHT"> | |
<g:ListBox width="70px" ui:field="zValueUnit"></g:ListBox> | |
</g:Cell> | |
</g:HorizontalPanel> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:Label text="Z angle" ui:field="zAngleLabel"/> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:HorizontalPanel width="168px"> | |
<g:TextBox width="88px" ui:field="zAngle" readOnly="true"></g:TextBox> | |
<g:Cell horizontalAlignment="ALIGN_RIGHT"> | |
<g:ListBox width="70px" ui:field="zAngleUnit"></g:ListBox> | |
</g:Cell> | |
</g:HorizontalPanel> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:Button text="test" ui:field="testButton" title="Hard coded data for device defined in DevicePropertiesContextPresenter.java. Please configure data to match inofrmation in your database."></g:Button> | |
</td> | |
</tr> | |
<tr> | |
<td> | |
<g:Label ui:field="message" styleName="{style.red}" > | |
</g:Label> | |
</td> | |
</tr> | |
</table> | |
</g:HTMLPanel> | |
</g:ScrollPanel> | |
</e:Context> | |
</ui:UiBinder> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment