public void removeParameter(ParamType type) {

        switch (type) {
            case language:
                m_localeSelection.reset();
                break;
            case text:
                m_searchInput.setFormValueAsString("");
                break;
            case expired:
                m_includeExpiredCheckBox.setChecked(false);
                break;
            case creation:
                m_dateCreatedStartDateBox.setValue(null, true);
                m_dateCreatedEndDateBox.setValue(null, true);
                break;
            case modification:
                m_dateModifiedStartDateBox.setValue(null, true);
                m_dateModifiedEndDateBox.setValue(null, true);
                break;
            case scope:
                m_scopeSelection.setFormValueAsString(m_defaultScope.name());
                break;
            default:
        }
    }
public void removeParameter ( ParamType type ) { switch ( type ) { case language : m_localeSelection . reset ( ) ; break ; case text : m_searchInput . setFormValueAsString ( "" ) ; break ; case expired : m_includeExpiredCheckBox . setChecked ( false ) ; break ; case creation : m_dateCreatedStartDateBox . setValue ( null , true ) ; m_dateCreatedEndDateBox . setValue ( null , true ) ; break ; case modification : m_dateModifiedStartDateBox . setValue ( null , true ) ; m_dateModifiedEndDateBox . setValue ( null , true ) ; break ; case scope : m_scopeSelection . setFormValueAsString ( m_defaultScope . name ( ) ) ; break ; default : } }
Removes the given parameter type.<p>

@param type the parameter type