use of com.twinsoft.convertigo.beans.mobile.components.UIFormCustomValidator in project convertigo by convertigo.
the class MobileUIComponentTreeObject method launchEditor.
@Override
public void launchEditor(String editorType) {
UIComponent uic = getObject();
if (uic instanceof UICustom) {
openHtmlFileEditor();
} else if (uic instanceof UIStyle) {
openCssFileEditor();
} else if (uic instanceof UICustomAction) {
String functionMarker = "function:" + ((UICustomAction) uic).getActionName();
editFunction(uic, functionMarker, "actionValue");
} else if (uic instanceof UIFormCustomValidator) {
String functionMarker = "function:" + ((UIFormCustomValidator) uic).getValidatorName();
editFunction(uic, functionMarker, "validatorValue");
} else {
super.launchEditor(editorType);
}
}
Aggregations