Editing templates
Templates in ZIETrans rich projects are Java SWT composites and you can edit them manually using Java Editor or any text editors. You can find the templates in the ZIETrans Projects view under Rich Client Content > Templates.
You can use Window Builder to edit your transformations.
By default, the templates shipped by ZIETrans return the background color, foreground color,
and font of the template class for the methods of RcpTemplate. It is recommended that
you use the Properties view in the Window Builder to update the background color,
foreground color, and font of the template if you implement the
IRcpTemplate interface.
Note: As documented in the Eclipse API reference, you
must dispose of Image, Color, and Font objects that you create. You should not
dispose of a color retrieved using the Display.getSystemColor()
method, since you did not create it. For non-standard colors, it is recommended that
you use the ColorManager class provided by ZIETrans. This class manages the creation,
caching, and disposing of colors. You should not dispose of colors created by the
ColorManager. A FontManager class is also provided, which works similarly to the
ColorManager class, except that it manages fonts.
You can use Window Builder properties view to edit color/image/font or using Java editor you can use ZIETrans provided ColorManager or FontManager classes.