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