/** * Creates a remote duration field. * * @param viewDescriptor * the component view descriptor. * @return the created remote component. */ protected RDurationField createRDurationField(IPropertyViewDescriptor viewDescriptor) { RDurationField component = new RDurationField(getGuidGenerator().generateGUID()); return component; }
((RDurationField) viewComponent).setMaxMillis(propertyDescriptor.getMaxMillis()); } else { ((RDurationField) viewComponent).setMaxMillis(-1);