Skip to content

Commit 8f2154d

Browse files
author
scytacki
committed
A new folder to store examples of the basic UIWidgets like choice, checkbox, text label, text edit, image.
git-svn-id: https://svn.concord.org/svn/projects/trunk/common/java/otrunk/otrunk-examples@15462 6e01202a-0783-4428-890a-84243c50cc2b
1 parent df84f56 commit 8f2154d

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

UIWidgets/ui-widgets.otml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<otrunk id="33754150-b594-11d9-9669-0800200c9a66" >
3+
<imports>
4+
<import class="org.concord.otrunk.OTSystem"/>
5+
<import class="org.concord.otrunk.view.OTViewEntry"/>
6+
<import class="org.concord.otrunk.view.OTViewBundle"/>
7+
<import class="org.concord.otrunk.view.document.OTCompoundDoc"/>
8+
<import class="org.concord.otrunk.ui.OTCheckBox"/>
9+
</imports>
10+
<objects>
11+
<OTSystem>
12+
<bundles>
13+
<OTViewBundle>
14+
<viewEntries>
15+
<OTViewEntry
16+
objectClass="org.concord.otrunk.view.document.OTDocument"
17+
viewClass="org.concord.otrunk.view.document.OTDocumentView"/>
18+
<OTViewEntry
19+
objectClass="org.concord.otrunk.ui.OTCheckBox"
20+
viewClass="org.concord.otrunk.ui.swing.OTCheckBoxView"/>
21+
</viewEntries>
22+
</OTViewBundle>
23+
</bundles>
24+
<root>
25+
<OTCompoundDoc name="Basic Document">
26+
<bodyText>
27+
This is an example of the widgets or simple components that can be added.
28+
Currently some widgets need to put into html tables inorder for them be sized correctly.
29+
<hr/>
30+
<table>
31+
<tr><td>OTCheckBox</td><td><object refid="${check_box}"/></td></tr>
32+
</table>
33+
</bodyText>
34+
<documentRefs>
35+
<OTCheckBox local_id="check_box" text="check me"/>
36+
<OTCheckBox local_id="check_box_no_text"/>
37+
</documentRefs>
38+
</OTCompoundDoc>
39+
</root>
40+
</OTSystem>
41+
</objects>
42+
</otrunk>

0 commit comments

Comments
 (0)