23.12.2012 Views

ZK Developer's Guide

ZK Developer's Guide

ZK Developer's Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

First we have to make a file association for the .zul files. For that open the<br />

Preferences dialog with Window|Preferences. After that do the following steps:<br />

1. Type Content Types into the search dialog.<br />

2. Select Content Types in the tree.<br />

3. Select XML in the tree.<br />

4. Click Add and type *.zul.<br />

5. See the result.<br />

The steps are illustrated in the picture below:<br />

[ 45 ]<br />

Chapter 2<br />

With these steps, we have syntax highlighting of our files. However, to have content<br />

assist, we have to take care about the creation of new files. The easiest way is to set<br />

up Eclipse to work with zul.xsd.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!