public class DateTimeConfigurator extends ParameterConfiguratorImpl<DateTimeParameterDefinitionDto,DateTimeParameterInstanceDto>
ParameterConfigurator.ParameterType
Constructor and Description |
---|
DateTimeConfigurator(FormatUiHelper formatUiHelper) |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(ParameterProposalDto proposal) |
boolean |
consumes(java.lang.Class<? extends ParameterDefinitionDto> type) |
Widget |
doGetEditComponentForInstance(DateTimeParameterInstanceDto instance,
java.util.Collection<ParameterInstanceDto> relevantInstances,
DateTimeParameterDefinitionDto definition,
boolean initial,
int labelWidth,
java.lang.String executeReportToken,
ReportDto report) |
Widget |
getEditComponentForDefinition(DateTimeParameterDefinitionDto definition,
ReportDto report) |
ImageResource |
getIcon() |
java.lang.String |
getName() |
java.util.List<java.lang.String> |
validateParameter(DateTimeParameterDefinitionDto definition,
DateTimeParameterInstanceDto instance,
Widget widget) |
canDependOnParameters, dependeeInstanceChanged, getEditComponentForInstance, getNewDto, getNewDto, getType, isAvailable, updateDefinitionOnSubmit
public DateTimeConfigurator(FormatUiHelper formatUiHelper)
public java.lang.String getName()
public boolean consumes(java.lang.Class<? extends ParameterDefinitionDto> type)
public ImageResource getIcon()
public Widget getEditComponentForDefinition(DateTimeParameterDefinitionDto definition, ReportDto report)
public Widget doGetEditComponentForInstance(DateTimeParameterInstanceDto instance, java.util.Collection<ParameterInstanceDto> relevantInstances, DateTimeParameterDefinitionDto definition, boolean initial, int labelWidth, java.lang.String executeReportToken, ReportDto report)
public boolean canHandle(ParameterProposalDto proposal)
canHandle
in interface ParameterConfigurator<DateTimeParameterDefinitionDto,DateTimeParameterInstanceDto>
canHandle
in class ParameterConfiguratorImpl<DateTimeParameterDefinitionDto,DateTimeParameterInstanceDto>
public java.util.List<java.lang.String> validateParameter(DateTimeParameterDefinitionDto definition, DateTimeParameterInstanceDto instance, Widget widget)
validateParameter
in interface ParameterConfigurator<DateTimeParameterDefinitionDto,DateTimeParameterInstanceDto>
validateParameter
in class ParameterConfiguratorImpl<DateTimeParameterDefinitionDto,DateTimeParameterInstanceDto>