@@ -0,0 +1,1284 @@
+package org.lbchild.controller;%0A%0Aimport java.util.ArrayList;%0A%0Aimport org.eclipse.swt.events.SelectionAdapter;%0Aimport org.eclipse.swt.events.SelectionEvent;%0Aimport org.eclipse.swt.events.SelectionListener;%0Aimport org.eclipse.swt.widgets.Button;%0Aimport org.eclipse.swt.widgets.List;%0Aimport org.lbchild.model.NewsSummaryList;%0A%0Apublic class AddMarksListener implements SelectionListener %7B%0A%0A    private static List newsSummaryList;%0A    private static ArrayList%3CArrayList%3CButton%3E%3E btnMarks;%0A%0A    public AddMarksListener(List newsSummaryList, ArrayList%3CArrayList%3CButton%3E%3E btnMarks) %7B%0A        this.newsSummaryList = newsSummaryList;%0A        this.btnMarks = btnMarks;%0A    %7D%0A%0A    @Override%0A    public void widgetDefaultSelected(SelectionEvent arg0) %7B%0A%0A    %7D%0A%0A    @Override%0A    public void widgetSelected(SelectionEvent e) %7B%0A        for (ArrayList%3CButton%3E markGroupType : btnMarks) %7B%0A            for (Button btn : markGroupType) %7B%0A                if (btn.getSelection()) %7B%0A                    System.out.println(%22select is: %22 + btn.getText());%0A                    btn.setSelection(false);%0A                    markGroupType.get(0).setSelection(true);%0A                %7D%0A            %7D%0A        %7D%0A        int i = newsSummaryList.getFocusIndex();%0A        newsSummaryList.setSelection(i + 1);%0A    %7D%0A%0A%7D%0A

add marks controller