@Override
    public void executeListSingleActions() {

        CmsSearchManager searchManager = OpenCms.getSearchManager();
        String action = getParamListAction();
        if (action.equals(LIST_ACTION_REMOVE_DOCTYPE) || action.equals(LIST_ACTION_REMOVE_DOCTYPE2)) {
            CmsSearchIndexSource idxsrc = searchManager.getIndexSource(getParamIndexsource());
            CmsListItem item = getSelectedItem();
            String doctypeName = (String)item.get(LIST_COLUMN_NAME);
            idxsrc.removeDocumentType(doctypeName);
            refreshList();
            writeConfiguration(false);
        }
    }
@ Override public void executeListSingleActions ( ) { CmsSearchManager searchManager = OpenCms . getSearchManager ( ) ; String action = getParamListAction ( ) ; if ( action . equals ( LIST_ACTION_REMOVE_DOCTYPE ) || action . equals ( LIST_ACTION_REMOVE_DOCTYPE2 ) ) { CmsSearchIndexSource idxsrc = searchManager . getIndexSource ( getParamIndexsource ( ) ) ; CmsListItem item = getSelectedItem ( ) ; String doctypeName = ( String ) item . get ( LIST_COLUMN_NAME ) ; idxsrc . removeDocumentType ( doctypeName ) ; refreshList ( ) ; writeConfiguration ( false ) ; } }
@see org.opencms.workplace.list.A_CmsListDialog#executeListSingleActions()