|
|
@ -51,19 +51,19 @@ public class XPassword extends XWrapperedFieldEditor { |
|
|
|
CRPropertyDescriptor[] sup = (CRPropertyDescriptor[]) ArrayUtils.addAll( |
|
|
|
CRPropertyDescriptor[] sup = (CRPropertyDescriptor[]) ArrayUtils.addAll( |
|
|
|
new CRPropertyDescriptor[]{ |
|
|
|
new CRPropertyDescriptor[]{ |
|
|
|
new CRPropertyDescriptor("widgetValue", this.data.getClass()).setI18NName( |
|
|
|
new CRPropertyDescriptor("widgetValue", this.data.getClass()).setI18NName( |
|
|
|
Inter.getLocText(new String[]{"Widget", "Value"})).setEditorClass( |
|
|
|
Inter.getLocText("FR-Designer-Estate_Widget_Value")).setEditorClass( |
|
|
|
WidgetValueEditor.class).putKeyValue(XCreatorConstants.PROPERTY_CATEGORY, "Advanced")} |
|
|
|
WidgetValueEditor.class).putKeyValue(XCreatorConstants.PROPERTY_CATEGORY, "FR-Designer_Advanced")} |
|
|
|
, super.supportedDescriptor()); |
|
|
|
, super.supportedDescriptor()); |
|
|
|
|
|
|
|
CRPropertyDescriptor regErrorMessage = new CRPropertyDescriptor("regErrorMessage", this.data.getClass()).setI18NName( |
|
|
|
|
|
|
|
Inter.getLocText("FR-Engine_Verify-Message")).putKeyValue(XCreatorConstants.PROPERTY_VALIDATE, "FR-Designer_Validate"); |
|
|
|
CRPropertyDescriptor regex = new CRPropertyDescriptor("regex", this.data.getClass()) |
|
|
|
CRPropertyDescriptor regex = new CRPropertyDescriptor("regex", this.data.getClass()) |
|
|
|
.setI18NName(Inter.getLocText("FR-Designer_Input_Rule")) |
|
|
|
.setI18NName(Inter.getLocText("FR-Designer_Input_Rule")) |
|
|
|
.setEditorClass(RegexEditor.RegexEditor4TextArea.class) |
|
|
|
.setEditorClass(RegexEditor.RegexEditor4TextArea.class) |
|
|
|
.putKeyValue("renderer", RegexCellRencerer.class) |
|
|
|
.putKeyValue("renderer", RegexCellRencerer.class) |
|
|
|
.putKeyValue(XCreatorConstants.PROPERTY_VALIDATE, "FR-Designer_Validate"); |
|
|
|
.putKeyValue(XCreatorConstants.PROPERTY_VALIDATE, "FR-Designer_Validate"); |
|
|
|
CRPropertyDescriptor regErrorMessage = new CRPropertyDescriptor("regErrorMessage", this.data.getClass()).setI18NName( |
|
|
|
|
|
|
|
Inter.getLocText("Verify-Message")).putKeyValue(XCreatorConstants.PROPERTY_VALIDATE, "FR-Designer_Validate"); |
|
|
|
|
|
|
|
CRPropertyDescriptor waterMark = new CRPropertyDescriptor("waterMark", this.data.getClass()) |
|
|
|
CRPropertyDescriptor waterMark = new CRPropertyDescriptor("waterMark", this.data.getClass()) |
|
|
|
.setI18NName(Inter.getLocText("FR-Designer_WaterMark")) |
|
|
|
.setI18NName(Inter.getLocText("FR-Designer_WaterMark")) |
|
|
|
.putKeyValue(XCreatorConstants.PROPERTY_CATEGORY, "Advanced"); |
|
|
|
.putKeyValue(XCreatorConstants.PROPERTY_CATEGORY, "FR-Designer_Advanced"); |
|
|
|
boolean displayRegField = true; |
|
|
|
boolean displayRegField = true; |
|
|
|
displayRegField = isDisplayRegField(displayRegField); |
|
|
|
displayRegField = isDisplayRegField(displayRegField); |
|
|
|
return displayRegField ? (CRPropertyDescriptor[]) ArrayUtils.addAll(sup, new CRPropertyDescriptor[]{regex, regErrorMessage, waterMark}) : |
|
|
|
return displayRegField ? (CRPropertyDescriptor[]) ArrayUtils.addAll(sup, new CRPropertyDescriptor[]{regex, regErrorMessage, waterMark}) : |
|
|
|