Removing borders from input fields

To remove borders from input fields rendered by ZIETrans widgets, you can override the getControlStyleClass(Class) method of your template and return 0 when the specific class is the SWT Text widget class (org.eclipse.swt.widgets.Text).

To override the getControlClassStyle() method, do the following:
  1. Click in the Source editor pane.
  2. Click Select Source > Override/Implement Methods.
  3. Under RcpTemplate, select the getControlClassStyle checkbox.
  4. Click Ok.
Add the following code to the getControlClassStyle() method:
if (controlClass.equals(org.eclipse.swt.widgets.Text.class)) {
		return 0;
	} else {
		return super.getControlClassStyle(controlClass);
	}