<Shell xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt" | |
text="CoolBar Styles Test"> | |
<Shell.layout> | |
<FillLayout /> | |
</Shell.layout> | |
<CoolBar x:style="HORIZONTAL"> | |
<CoolItem x:style="DROP_DOWN" size="100, 25"> | |
<!-- | |
height of toolBar must equal than 24 | |
--> | |
<CoolItem.control> | |
<ToolBar x:style="HORIZONTAL |SHADOW_OUT"> | |
<ToolItem x:style="PUSH" Image="openFolder.gif" | |
tooltipText="SWT.PUSH" /> | |
<ToolItem x:style="RADIO" selection="true" Image="closedFolder.gif" | |
tooltipText="SWT.RADIO" /> | |
<ToolItem x:style="CHECK" selection="true" Image="target.gif" | |
tooltipText="SWT.CHECK" /> | |
<ToolItem x:style="RADIO" selection="true" Image="closedFolder.gif" | |
tooltipText="SWT.RADIO" /> | |
<ToolItem x:style="SEPARATOR" tooltipText="SWT.SEPARATOR" /> | |
</ToolBar> | |
</CoolItem.control> | |
</CoolItem> | |
</CoolBar> | |
</Shell> |