[Mydm-cvs] MyDM/src/java/org/mydm/ui CollectionPane.java,1.6,1.7
Status: Pre-Alpha
Brought to you by:
vkdasari
From: <vkd...@us...> - 2004-03-15 17:22:19
|
Update of /cvsroot/mydm/MyDM/src/java/org/mydm/ui In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14455/src/java/org/mydm/ui Modified Files: CollectionPane.java Log Message: reverted back the changes Index: CollectionPane.java =================================================================== RCS file: /cvsroot/mydm/MyDM/src/java/org/mydm/ui/CollectionPane.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** CollectionPane.java 14 Mar 2004 18:18:47 -0000 1.6 --- CollectionPane.java 15 Mar 2004 17:13:06 -0000 1.7 *************** *** 35,40 **** import java.util.logging.Logger; - import javax.swing.ImageIcon; - import javax.swing.JButton; import javax.swing.JComboBox; import javax.swing.JDesktopPane; --- 35,38 ---- *************** *** 76,80 **** private TableSorter ctmSorter; ! private JPanel crContainerPane, navigPane; private JSplitPane completePane; private JTable listTable; --- 74,78 ---- private TableSorter ctmSorter; ! private JPanel crContainerPane; private JSplitPane completePane; private JTable listTable; *************** *** 83,90 **** // Navigation Information private JLabel navLabel; ! private final JComboBox sortBy = new JComboBox(EDocSortingOption.VALUES); - private final JButton stopSearch = new JButton(new ImageIcon("graphics/tbicons/general/Stop16.gif")); private final JComboBox ftOption = new JComboBox(new String[] {"All", "Fulltext", "No Fulltext"}); --- 81,87 ---- // Navigation Information private JLabel navLabel; ! private final JComboBox sortBy = new JComboBox(EDocSortingOption.VALUES); private final JComboBox ftOption = new JComboBox(new String[] {"All", "Fulltext", "No Fulltext"}); *************** *** 173,177 **** ftOption.setEnabled(true); sortBy.setEnabled(true); - stopSearch.setEnabled(false); } --- 170,173 ---- *************** *** 195,199 **** // Navigational Panel ! navigPane = new JPanel(); navigPane.add(new JLabel("Sort by")); navigPane.add(sortBy); --- 191,196 ---- // Navigational Panel ! JPanel navigPane = new JPanel(); ! navigPane.add(new JLabel("Sort by")); navigPane.add(sortBy); *************** *** 211,215 **** navigPane.add(new JLabel("Found : ")); navigPane.add(navLabel); - navigPane.add(stopSearch); // Document List Panel --- 208,211 ---- *************** *** 347,352 **** EDocSorter.sort(eDocs, (EDocSortingOption)cb.getSelectedItem()); } ! int cnt = 0; for(int i=0; i<eDocs.size(); i++){ // If the Action is FTOption if(whichAction.equals("ftoption")){ --- 343,349 ---- EDocSorter.sort(eDocs, (EDocSortingOption)cb.getSelectedItem()); } ! for(int i=0; i<eDocs.size(); i++){ + // If the Action is FTOption if(whichAction.equals("ftoption")){ |