Source:
<code>private void updateLayout() { if (PluginParameterType.BOOLEAN.equals(parameter.getType())) { createBooleanLayout(); } else if (PluginParameterType.STRING.equals(parameter.getType())) { createStringLayout(); } else if (PluginParameterType.PLUGIN_SIP_TO_AIP.equals(parameter.getType())) { createPluginSipToAipLayout(); } else if (PluginParameterType.AIP_ID.equals(parameter.getType())) { createSelectAipLayout(); <START> }else if (PluginParameterType.DISPOSAL.equals(parameter.getType())) { <END> createDisposalLayout(); } else if (PluginParameterType.RISK_ID.equals(parameter.getType())) { createSelectRiskLayout(); } else if (PluginParameterType.SEVERITY.equals(parameter.getType())) { createSelectSeverityLayout(); } else if (PluginParameterType.REPRESENTATION_TYPE.equals(parameter.getType())) { createRepresentationTypeLayout(); } else if (PluginParameterType.RODA_OBJECT.equals(parameter.getType())) { createSelectRodaObjectLayout(); } else if (PluginParameterType.INTEGER.equals(parameter.getType())) { createIntegerLayout(); } else if (PluginParameterType.AIP_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(AIP.class.getSimpleName()); } else if (PluginParameterType.REPRESENTATION_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(Representation.class.getSimpleName()); } else if (PluginParameterType.FILE_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(File.class.getSimpleName()); } else if (PluginParameterType.PERMISSION_TYPES.equals(parameter.getType())) { createPermissionTypesLayout(); } else { LOGGER .warn("Unsupported plugin parameter type: " + parameter.getType() + ". Reverting to default parameter editor."); createStringLayout(); } }</code><technical_language>a plugin parameter of type DISPOSAL sense. want is select AIPs follow a filter. This filter configurable</technical_language>

Target:
private void updateLayout() { if (PluginParameterType.BOOLEAN.equals(parameter.getType())) { createBooleanLayout(); } else if (PluginParameterType.STRING.equals(parameter.getType())) { createStringLayout(); } else if (PluginParameterType.PLUGIN_SIP_TO_AIP.equals(parameter.getType())) { createPluginSipToAipLayout(); } else if (PluginParameterType.AIP_ID.equals(parameter.getType())) { createSelectAipLayout(); } else if (PluginParameterType.RISK_ID.equals(parameter.getType())) { createSelectRiskLayout(); } else if (PluginParameterType.SEVERITY.equals(parameter.getType())) { createSelectSeverityLayout(); } else if (PluginParameterType.REPRESENTATION_TYPE.equals(parameter.getType())) { createRepresentationTypeLayout(); } else if (PluginParameterType.RODA_OBJECT.equals(parameter.getType())) { createSelectRodaObjectLayout(); } else if (PluginParameterType.INTEGER.equals(parameter.getType())) { createIntegerLayout(); } else if (PluginParameterType.AIP_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(AIP.class.getSimpleName()); } else if (PluginParameterType.REPRESENTATION_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(Representation.class.getSimpleName()); } else if (PluginParameterType.FILE_FIELDS.equals(parameter.getType())) { createPluginObjectFieldsLayout(File.class.getSimpleName()); } else if (PluginParameterType.PERMISSION_TYPES.equals(parameter.getType())) { createPermissionTypesLayout(); } else { LOGGER .warn("Unsupported plugin parameter type: " + parameter.getType() + ". Reverting to default parameter editor."); createStringLayout(); } }