@Override
    protected void setColumns(CmsListMetadata metadata) {

        super.setColumns(metadata);

        // create default overview action
        CmsListDefaultAction defOverviewAction = new CmsListDefaultAction(LIST_DEFACTION_OVERVIEW);
        defOverviewAction.setName(Messages.get().container(Messages.GUI_ROLEEDIT_LIST_DEFACTION_OVERVIEW_NAME_0));
        defOverviewAction.setHelpText(Messages.get().container(Messages.GUI_ROLEEDIT_LIST_DEFACTION_OVERVIEW_HELP_0));
        metadata.getColumnDefinition(LIST_COLUMN_NAME).addDefaultAction(defOverviewAction);

        // activate icon action and set a more descriptive help text
        metadata.getColumnDefinition(LIST_COLUMN_ICON).getDirectAction(LIST_ACTION_ICON).setEnabled(true);
        metadata.getColumnDefinition(LIST_COLUMN_ICON).setHelpText(
            Messages.get().container(Messages.GUI_ROLEEDIT_LIST_COLS_EDIT_HELP_0));
    }
@ Override protected void setColumns ( CmsListMetadata metadata ) { super . setColumns ( metadata ) ; CmsListDefaultAction defOverviewAction = new CmsListDefaultAction ( LIST_DEFACTION_OVERVIEW ) ; defOverviewAction . setName ( Messages . get ( ) . container ( Messages . GUI_ROLEEDIT_LIST_DEFACTION_OVERVIEW_NAME_0 ) ) ; defOverviewAction . setHelpText ( Messages . get ( ) . container ( Messages . GUI_ROLEEDIT_LIST_DEFACTION_OVERVIEW_HELP_0 ) ) ; metadata . getColumnDefinition ( LIST_COLUMN_NAME ) . addDefaultAction ( defOverviewAction ) ; metadata . getColumnDefinition ( LIST_COLUMN_ICON ) . getDirectAction ( LIST_ACTION_ICON ) . setEnabled ( true ) ; metadata . getColumnDefinition ( LIST_COLUMN_ICON ) . setHelpText ( Messages . get ( ) . container ( Messages . GUI_ROLEEDIT_LIST_COLS_EDIT_HELP_0 ) ) ; }
@see org.opencms.workplace.list.A_CmsListDialog#setColumns(org.opencms.workplace.list.CmsListMetadata)