[389-commits] console/src/com/netscape/management/client/components TimeDayPanel.java, 1.1.1.1, 1.2

Richard Allen Megginson rmeggins at fedoraproject.org
Mon May 3 20:56:34 UTC 2010


Author: rmeggins

Update of /cvs/dirsec/console/src/com/netscape/management/client/components
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv9993/src/com/netscape/management/client/components

Modified Files:
	TimeDayPanel.java 
Log Message:
bump version to 1.1.5


Index: TimeDayPanel.java
===================================================================
RCS file: /cvs/dirsec/console/src/com/netscape/management/client/components/TimeDayPanel.java,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- TimeDayPanel.java	18 Jul 2005 00:34:14 -0000	1.1.1.1
+++ TimeDayPanel.java	3 May 2010 20:56:32 -0000	1.2
@@ -203,7 +203,7 @@
     {
         JTable t = new JTable(new TimeTableModel());
         timeTable = t;
-        t.setRowSelectionAllowed(false);
+        t.setRowSelectionAllowed(true);
         t.setColumnSelectionAllowed(true);
         t.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);
         t.setCellSelectionEnabled(true);
@@ -438,6 +438,10 @@
             timeTable.setColumnSelectionInterval(startHour+1, endHour+1);
     }
     
+    public void setDayHourSelection(int day, int hour) {
+        timeTable.changeSelection(day, hour+1, true, true);
+    }
+    
     /**
      * @return selected days.
      */



More information about the 389-commits mailing list