Luxor Standard Widget Toolkit (SWT) a.k.a Eclipse UI Example App Online
Gerald Bauer <[email protected]> Thu, 16 Oct 2003 13:23:34 -0700 (PDT)
| Newsgroups | gmane.comp.java.luxor-xul.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I've uploaded the Lopica Web Start XML Startup
Script Browser Beta 2 that lets you explore - suprise,
suprise - Web Start XML startup scripts.
Now what's the Luxor XUL connection here? The Lopica
browser use the upcoming Luxor XUL toolkit for the
Standard Widget Toolkit (SWT) also known as Eclipse
UI.
So if you're interested in a sneak preview grab a
copy @
http://sourceforge.net/project/showfiles.php?group_id=64065
(look for the jnlp-browser package) and browse the
source or kick off the browser for some live XUL
action.
For your convenience you can find a real-world XUL
snippet that I cut-and-pasted from the Lopica browser
in the appendix.
Enjoy.
- Gerald
=========================================================
Appendix:
=========================================================
plugin.xml
---------------------------------------------------------
<config>
<beandef name="mystatuspanel"
class="houston.swt.StatusPanel" />
<beandef name="mystatusbarpanel"
class="houston.swt.StatusBarPanel" />
<beandef name="mypackagepanel"
class="lopica.jnlp.browser.PackageControlPanel" />
</config>
content.xul
---------------------------------------------------------
<xul>
<table id="CONTENT">
<tr>
<td>
<tabbox >
<tabs>
<tab label="Browser" />
<tab label="Messages" />
</tabs>
<tabpanels>
<tabpanel>
<groupbox orient="horizontal">
<label value="Address:" />
<textbox id="location" />
<button label="Go" command="go" />
</groupbox>
<table>
<tr>
<td horz="MAX" vert="MAX">
<mypackagepanel id="packagepanel" />
</td>
</tr>
</table>
</tabpanel>
<tabpanel>
<mystatuspanel />
</tabpanel>
</tabpanels>
</tabbox>
</td>
</tr>
<tr>
<td horz="MAX" vert="TOP">
<mystatusbarpanel />
</td>
</tr>
</table>
</xul>
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php