form.addElement("basic.strigger", tg);
form.addElement("basic.switch", FormHelper.setEnabeldWhenNotRightElementSelect(tg,
new FormSwitchVarSelector(project, I18N.t("Switch"), act, "@switch_id", Type.SWITCH), "0"));
// add commands
form.setCenter(new YEventCommandList(act.getInstanceVariable("@list"), getProject(), null));
// set en/disabeld
tg.informListeners();
}