xlawrence 2004/12/13 15:45:08 CET
Modified files:
src/java/org/jahia/suite/calendar/test DummyCalServerGUI.java
DummyCalendarServer.java
SyncEventDialog.java
Log:
Dummy Calendar server 1.0beta
Revision Changes Path
1.4 +1 -0
uwcal_JSR168/src/java/org/jahia/suite/calendar/test/DummyCalServerGUI.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/uwcal_JSR168/src/java/org/jahia/suite/calendar/test/DummyCalServerGUI.java.diff?r1=1.3&r2=1.4&f=h
1.7 +1 -0
uwcal_JSR168/src/java/org/jahia/suite/calendar/test/DummyCalendarServer.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/uwcal_JSR168/src/java/org/jahia/suite/calendar/test/DummyCalendarServer.java.diff?r1=1.6&r2=1.7&f=h
1.2 +33 -2
uwcal_JSR168/src/java/org/jahia/suite/calendar/test/SyncEventDialog.java
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/uwcal_JSR168/src/java/org/jahia/suite/calendar/test/SyncEventDialog.java.diff?r1=1.1&r2=1.2&f=h
Index: DummyCalServerGUI.java
===================================================================
RCS file:
/home/cvs/repository/uwcal_JSR168/src/java/org/jahia/suite/calendar/test/DummyCalServerGUI.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- DummyCalServerGUI.java 13 Dec 2004 09:56:46 -0000 1.3
+++ DummyCalServerGUI.java 13 Dec 2004 14:45:08 -0000 1.4
@@ -468,6 +468,7 @@
*
*/
public void removeItem(String key) {
+ keyList.setSelectedIndex(-1);
listContent.removeElement(key);
}
Index: DummyCalendarServer.java
===================================================================
RCS file:
/home/cvs/repository/uwcal_JSR168/src/java/org/jahia/suite/calendar/test/DummyCalendarServer.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- DummyCalendarServer.java 13 Dec 2004 09:56:46 -0000 1.6
+++ DummyCalendarServer.java 13 Dec 2004 14:45:08 -0000 1.7
@@ -193,6 +193,7 @@
for (int i=0; i<calendar.getEvents().length; i++) {
if (calendar.getEvents()[i].getState() ==
SyncEvent.DELETED) {
calendar.removeEvent(calendar.getEvents()[i]);
+ gui.removeItem((calendar.getEvents()[i]).getKey());
} else {
calendar.getEvents()[i].setState(SyncEvent.SYNCHRONIZED);
Index: SyncEventDialog.java
===================================================================
RCS file:
/home/cvs/repository/uwcal_JSR168/src/java/org/jahia/suite/calendar/test/SyncEventDialog.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SyncEventDialog.java 13 Dec 2004 09:56:13 -0000 1.1
+++ SyncEventDialog.java 13 Dec 2004 14:45:08 -0000 1.2
@@ -1,7 +1,38 @@
/*
- * NewDialog.java
+ * ____.
+ * __/\ ______| |__/\. _______
+ * __ .____| | \ | +----+ \
+ * _______| /--| | | - \ _ | : - \_________
+ * \\______: :---| : : | : | \________>
+ * |__\---\_____________:______: :____|____:_____\
+ * /_____|
*
- * Created on 9. d�cembre 2004, 10:53
+ * . . . i n j a h i a w e t r u s t . . .
+ *
+ *
+ *
+ * ----- BEGIN LICENSE BLOCK -----
+ * Version: JCSL 1.0
+ *
+ * The contents of this file are subject to the Jahia Community Source
License
+ * 1.0 or later (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ * http://www.jahia.org/license
+ *
+ * Software distributed under the License is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+ * for the rights, obligations and limitations governing use of the contents
+ * of the file. The Original and Upgraded Code is the Jahia CMS and Portal
+ * Server. The developer of the Original and Upgraded Code is JAHIA Ltd.
JAHIA
+ * Ltd. owns the copyrights in the portions it created. All Rights Reserved.
+ *
+ * The Shared Modifications are Jahia View Helper.
+ *
+ * The Developer of the Shared Modifications is Jahia Solution S�rl.
+ * Portions created by the Initial Developer are Copyright (C) 2002 by the
+ * Initial Developer. All Rights Reserved.
+ *
+ * ----- END LICENSE BLOCK -----
*/
package org.jahia.suite.calendar.test;