@Override
    protected void setIndependentActions(CmsListMetadata metadata) {

        super.setIndependentActions(metadata);
        // add excerpt details
        CmsListItemDetails excerptDetails = new CmsListItemDetails(LIST_DETAIL_EXCERPT);
        excerptDetails.setAtColumn(LIST_COLUMN_NAME);
        excerptDetails.setVisible(true);
        excerptDetails.setShowActionName(Messages.get().container(Messages.GUI_SEARCH_DETAIL_SHOW_EXCERPT_NAME_0));
        excerptDetails.setShowActionHelpText(Messages.get().container(Messages.GUI_SEARCH_DETAIL_SHOW_EXCERPT_HELP_0));
        excerptDetails.setHideActionName(Messages.get().container(Messages.GUI_SEARCH_DETAIL_HIDE_EXCERPT_NAME_0));
        excerptDetails.setHideActionHelpText(Messages.get().container(Messages.GUI_SEARCH_DETAIL_HIDE_EXCERPT_HELP_0));
        excerptDetails.setName(Messages.get().container(Messages.GUI_SEARCH_DETAIL_EXCERPT_NAME_0));
        excerptDetails.setFormatter(new I_CmsListFormatter() {

            /**
             * @see org.opencms.workplace.list.I_CmsListFormatter#format(java.lang.Object, java.util.Locale)
             */
            @Override
            public String format(Object data, Locale locale) {

                return (String)data;
            }
        });
        metadata.addItemDetails(excerptDetails);
    }
@ Override protected void setIndependentActions ( CmsListMetadata metadata ) { super . setIndependentActions ( metadata ) ; CmsListItemDetails excerptDetails = new CmsListItemDetails ( LIST_DETAIL_EXCERPT ) ; excerptDetails . setAtColumn ( LIST_COLUMN_NAME ) ; excerptDetails . setVisible ( true ) ; excerptDetails . setShowActionName ( Messages . get ( ) . container ( Messages . GUI_SEARCH_DETAIL_SHOW_EXCERPT_NAME_0 ) ) ; excerptDetails . setShowActionHelpText ( Messages . get ( ) . container ( Messages . GUI_SEARCH_DETAIL_SHOW_EXCERPT_HELP_0 ) ) ; excerptDetails . setHideActionName ( Messages . get ( ) . container ( Messages . GUI_SEARCH_DETAIL_HIDE_EXCERPT_NAME_0 ) ) ; excerptDetails . setHideActionHelpText ( Messages . get ( ) . container ( Messages . GUI_SEARCH_DETAIL_HIDE_EXCERPT_HELP_0 ) ) ; excerptDetails . setName ( Messages . get ( ) . container ( Messages . GUI_SEARCH_DETAIL_EXCERPT_NAME_0 ) ) ; excerptDetails . setFormatter ( new I_CmsListFormatter ( ) { @ Override public String format ( Object data , Locale locale ) { return ( String ) data ; } } ) ; metadata . addItemDetails ( excerptDetails ) ; }
@see org.opencms.workplace.list.A_CmsListDialog#setIndependentActions(org.opencms.workplace.list.CmsListMetadata)