]> err.no Git - scalable-opengroupware.org/commitdiff
Refactoring: OGo -> UIx
authorznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Tue, 22 Jun 2004 13:40:19 +0000 (13:40 +0000)
committerznek <znek@d1b88da0-ebda-0310-925b-ed51d893ca5b>
Tue, 22 Jun 2004 13:40:19 +0000 (13:40 +0000)
git-svn-id: http://svn.opengroupware.org/SOGo/trunk@59 d1b88da0-ebda-0310-925b-ed51d893ca5b

51 files changed:
ZideStore/UI-X/ChangeLog
ZideStore/UI-X/Common/GNUmakefile
ZideStore/UI-X/Common/OGoAppFrame.m [deleted file]
ZideStore/UI-X/Common/OGoAppHeader.m [deleted file]
ZideStore/UI-X/Common/OGoAppNavigation.m [deleted file]
ZideStore/UI-X/Common/UIxAppFrame.m [new file with mode: 0644]
ZideStore/UI-X/Common/UIxAppFrame.wox [moved from ZideStore/UI-X/Common/OGoAppFrame.wox with 100% similarity]
ZideStore/UI-X/Common/UIxAppHeader.m [new file with mode: 0644]
ZideStore/UI-X/Common/UIxAppHeader.wox [moved from ZideStore/UI-X/Common/OGoAppHeader.wox with 100% similarity]
ZideStore/UI-X/Common/UIxAppNavView.m [moved from ZideStore/UI-X/Common/OGoAppNavView.m with 97% similarity]
ZideStore/UI-X/Common/UIxAppNavView.wox [moved from ZideStore/UI-X/Common/OGoAppNavView.wox with 100% similarity]
ZideStore/UI-X/Common/UIxAppNavigation.m [new file with mode: 0644]
ZideStore/UI-X/Common/UIxAppNavigation.wox [moved from ZideStore/UI-X/Common/OGoAppNavigation.wox with 100% similarity]
ZideStore/UI-X/Common/UIxComponent.h [moved from ZideStore/UI-X/Common/OGoComponent.h with 90% similarity]
ZideStore/UI-X/Common/UIxComponent.m [moved from ZideStore/UI-X/Common/OGoComponent.m with 97% similarity]
ZideStore/UI-X/Common/UIxPageFrame.m [moved from ZideStore/UI-X/Common/OGoPageFrame.m with 79% similarity]
ZideStore/UI-X/Common/UIxPageFrame.wox [moved from ZideStore/UI-X/Common/OGoPageFrame.wox with 99% similarity]
ZideStore/UI-X/Common/UIxWinClose.m [moved from ZideStore/UI-X/Common/OGoWinClose.m with 92% similarity]
ZideStore/UI-X/Common/UIxWinClose.wox [moved from ZideStore/UI-X/Common/OGoWinClose.wox with 100% similarity]
ZideStore/UI-X/Common/bundle-info.plist
ZideStore/UI-X/Common/product.plist
ZideStore/UI-X/Scheduler/GNUmakefile
ZideStore/UI-X/Scheduler/NOTES
ZideStore/UI-X/Scheduler/OGoAppointmentView.h [deleted file]
ZideStore/UI-X/Scheduler/OGoCalMonthOverview.m [deleted file]
ZideStore/UI-X/Scheduler/OGoCalMonthView.h [deleted file]
ZideStore/UI-X/Scheduler/OGoCalWeekView.h [deleted file]
ZideStore/UI-X/Scheduler/UIxAppointmentFormatter.h [moved from ZideStore/UI-X/Scheduler/OGoAppointmentFormatter.h with 93% similarity]
ZideStore/UI-X/Scheduler/UIxAppointmentFormatter.m [moved from ZideStore/UI-X/Scheduler/OGoAppointmentFormatter.m with 97% similarity]
ZideStore/UI-X/Scheduler/UIxAppointmentView.h [new file with mode: 0644]
ZideStore/UI-X/Scheduler/UIxAppointmentView.m [moved from ZideStore/UI-X/Scheduler/OGoAppointmentView.m with 64% similarity]
ZideStore/UI-X/Scheduler/UIxAppointmentView.wox [moved from ZideStore/UI-X/Scheduler/OGoAppointmentView.wox with 94% similarity]
ZideStore/UI-X/Scheduler/UIxAptTableView.m [moved from ZideStore/UI-X/Scheduler/OGoAptTableView.m with 90% similarity]
ZideStore/UI-X/Scheduler/UIxAptTableView.wox [moved from ZideStore/UI-X/Scheduler/OGoAptTableView.wox with 100% similarity]
ZideStore/UI-X/Scheduler/UIxCalBackForthNavView.m [moved from ZideStore/UI-X/Scheduler/OGoCalBackForthNavView.m with 93% similarity]
ZideStore/UI-X/Scheduler/UIxCalBackForthNavView.wox [moved from ZideStore/UI-X/Scheduler/OGoCalBackForthNavView.wox with 100% similarity]
ZideStore/UI-X/Scheduler/UIxCalDateLabel.m [moved from ZideStore/UI-X/Scheduler/OGoCalDateLabel.m with 97% similarity]
ZideStore/UI-X/Scheduler/UIxCalDateLabel.wox [moved from ZideStore/UI-X/Scheduler/OGoCalDateLabel.wox with 100% similarity]
ZideStore/UI-X/Scheduler/UIxCalMonthOverview.m [new file with mode: 0644]
ZideStore/UI-X/Scheduler/UIxCalMonthOverview.wox [moved from ZideStore/UI-X/Scheduler/OGoCalMonthOverview.wox with 85% similarity]
ZideStore/UI-X/Scheduler/UIxCalMonthView.h [new file with mode: 0644]
ZideStore/UI-X/Scheduler/UIxCalMonthView.m [moved from ZideStore/UI-X/Scheduler/OGoCalMonthView.m with 89% similarity]
ZideStore/UI-X/Scheduler/UIxCalSelectTab.m [moved from ZideStore/UI-X/Scheduler/OGoCalSelectTab.m with 95% similarity]
ZideStore/UI-X/Scheduler/UIxCalSelectTab.wox [moved from ZideStore/UI-X/Scheduler/OGoCalSelectTab.wox with 100% similarity]
ZideStore/UI-X/Scheduler/UIxCalView.h [moved from ZideStore/UI-X/Scheduler/OGoCalView.h with 59% similarity]
ZideStore/UI-X/Scheduler/UIxCalView.m [moved from ZideStore/UI-X/Scheduler/OGoCalView.m with 75% similarity]
ZideStore/UI-X/Scheduler/UIxCalWeekOverview.m [moved from ZideStore/UI-X/Scheduler/OGoCalWeekOverview.m with 55% similarity]
ZideStore/UI-X/Scheduler/UIxCalWeekOverview.wox [moved from ZideStore/UI-X/Scheduler/OGoCalWeekOverview.wox with 94% similarity]
ZideStore/UI-X/Scheduler/UIxCalWeekView.h [new file with mode: 0644]
ZideStore/UI-X/Scheduler/UIxCalWeekView.m [moved from ZideStore/UI-X/Scheduler/OGoCalWeekView.m with 83% similarity]
ZideStore/UI-X/Scheduler/product.plist

index 822f9b7d92f9cbeb69e9e2f53a4a9776420653fd..6d4b7a55bb8b0f336045757388e2d443ea68803b 100644 (file)
@@ -1,3 +1,12 @@
+2004-06-22  Marcus Mueller  <znek@mulle-kybernetik.com>
+
+       * Refactoring: Renamed everything from OGo to UIx in order to avoid
+         nameclashes (happens on OSX related to NGBundleManager)
+
+       * Refactoring 2: Moved methods from UIxWeekOverview to UIxCalView.
+
+       * Highlighting in UIxWeekOverview works now.
+
 2004-06-22  Helge Hess  <helge.hess@skyrix.com>
 
        * Common/GNUmakefile.preamble: fixed linking for OGo gstep-make
index e4124d053b5986bcba1ee5b98a9a9ba2c14182e7..916326f94a6d822caf37f96ba36bdfa206d4c624 100644 (file)
@@ -16,22 +16,22 @@ libZideStoreCommonUI_HEADER_FILES_DIR         = .
 libZideStoreCommonUI_HEADER_FILES_INSTALL_DIR = $(ZIDESTORE)/Common
 
 libZideStoreCommonUI_HEADER_FILES = \
-       OGoComponent.h \
+       UIxComponent.h \
 
 libZideStoreCommonUI_OBJC_FILES =   \
-       OGoComponent.m \
+       UIxComponent.m \
 
 
 CommonUI_PRINCIPAL_CLASS = CommonUIProduct
 
 CommonUI_OBJC_FILES = \
        CommonUIProduct.m       \
-       OGoPageFrame.m          \
-       OGoAppFrame.m           \
-       OGoAppHeader.m          \
-       OGoAppNavigation.m      \
-       OGoWinClose.m   \
-       OGoAppNavView.m \
+       UIxPageFrame.m          \
+       UIxAppFrame.m           \
+       UIxAppHeader.m          \
+       UIxAppNavigation.m      \
+       UIxWinClose.m   \
+       UIxAppNavView.m \
        \
        UIxElemBuilder.m \
        UIxTabView.m \
@@ -41,12 +41,12 @@ CommonUI_OBJC_FILES = \
 CommonUI_RESOURCE_FILES += \
        Version                 \
        product.plist           \
-       OGoPageFrame.wox        \
-       OGoAppFrame.wox         \
-       OGoAppHeader.wox        \
-       OGoAppNavigation.wox    \
-       OGoWinClose.wox \
-       OGoAppNavView.wox \
+       UIxPageFrame.wox        \
+       UIxAppFrame.wox         \
+       UIxAppHeader.wox        \
+       UIxAppNavigation.wox    \
+       UIxWinClose.wox \
+       UIxAppNavView.wox \
        \
        zidestoreui.css         \
        calendar.css            \
diff --git a/ZideStore/UI-X/Common/OGoAppFrame.m b/ZideStore/UI-X/Common/OGoAppFrame.m
deleted file mode 100644 (file)
index 789558f..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// $Id: OGoAppFrame.m,v 1.1 2003/12/09 17:38:42 helge Exp $
-
-#include <NGObjWeb/SoComponent.h>
-
-@interface OGoAppFrame : SoComponent
-@end
-
-#include "common.h"
-
-@implementation OGoAppFrame
-@end /* OGoAppFrame */
diff --git a/ZideStore/UI-X/Common/OGoAppHeader.m b/ZideStore/UI-X/Common/OGoAppHeader.m
deleted file mode 100644 (file)
index f748f88..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// $Id: OGoAppHeader.m,v 1.1 2003/12/09 17:38:42 helge Exp $
-
-#include <NGObjWeb/SoComponent.h>
-
-@interface OGoAppHeader : SoComponent
-@end
-
-#include "common.h"
-
-@implementation OGoAppHeader
-@end /* OGoAppHeader */
diff --git a/ZideStore/UI-X/Common/OGoAppNavigation.m b/ZideStore/UI-X/Common/OGoAppNavigation.m
deleted file mode 100644 (file)
index e765fb1..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-// $Id: OGoAppNavigation.m,v 1.1 2003/12/09 17:38:42 helge Exp $
-
-#include <NGObjWeb/SoComponent.h>
-
-@interface OGoAppNavigation : SoComponent
-@end
-
-#include "common.h"
-
-@implementation OGoAppNavigation
-@end /* OGoAppNavigation */
diff --git a/ZideStore/UI-X/Common/UIxAppFrame.m b/ZideStore/UI-X/Common/UIxAppFrame.m
new file mode 100644 (file)
index 0000000..8d9553f
--- /dev/null
@@ -0,0 +1,11 @@
+// $Id$
+
+#include <NGObjWeb/SoComponent.h>
+
+@interface UIxAppFrame : SoComponent
+@end
+
+#include "common.h"
+
+@implementation UIxAppFrame
+@end /* UIxAppFrame */
diff --git a/ZideStore/UI-X/Common/UIxAppHeader.m b/ZideStore/UI-X/Common/UIxAppHeader.m
new file mode 100644 (file)
index 0000000..5a4db92
--- /dev/null
@@ -0,0 +1,11 @@
+// $Id$
+
+#include <NGObjWeb/SoComponent.h>
+
+@interface UIxAppHeader : SoComponent
+@end
+
+#include "common.h"
+
+@implementation UIxAppHeader
+@end /* UIxAppHeader */
similarity index 97%
rename from ZideStore/UI-X/Common/OGoAppNavView.m
rename to ZideStore/UI-X/Common/UIxAppNavView.m
index fa6c23c847d4fa49251480870f244a0d5405b143..8bf1ff128a3a6771e1b6017890ec7680c1111d33 100644 (file)
@@ -27,7 +27,7 @@
 #import <Foundation/Foundation.h>
 
 
-@interface OGoAppNavView : WOComponent
+@interface UIxAppNavView : WOComponent
 {
     id element;
     id lastElement;
@@ -36,7 +36,7 @@
 @end
 
 
-@implementation OGoAppNavView
+@implementation UIxAppNavView
 
 - (void)dealloc {
     [self->element release];
diff --git a/ZideStore/UI-X/Common/UIxAppNavigation.m b/ZideStore/UI-X/Common/UIxAppNavigation.m
new file mode 100644 (file)
index 0000000..529127d
--- /dev/null
@@ -0,0 +1,11 @@
+// $Id$
+
+#include <NGObjWeb/SoComponent.h>
+
+@interface UIxAppNavigation : SoComponent
+@end
+
+#include "common.h"
+
+@implementation UIxAppNavigation
+@end /* UIxAppNavigation */
similarity index 90%
rename from ZideStore/UI-X/Common/OGoComponent.h
rename to ZideStore/UI-X/Common/UIxComponent.h
index e5323457040eebb99d3b27d34f705d92fc7bf9cf..eab1b73002ae7e0daea1ee269520c6f415d5bcf7 100644 (file)
 // $Id$
 
 
-#ifndef        __OGoComponent_H_
-#define        __OGoComponent_H_
+#ifndef        __UIxComponent_H_
+#define        __UIxComponent_H_
 
 #include <NGObjWeb/SoComponent.h>
 
 
-@interface OGoComponent : SoComponent
+@interface UIxComponent : SoComponent
 {
     NSMutableDictionary *queryParameters;
 }
@@ -43,4 +43,4 @@
 
 @end
 
-#endif /* __OGoComponent_H_ */
+#endif /* __UIxComponent_H_ */
similarity index 97%
rename from ZideStore/UI-X/Common/OGoComponent.m
rename to ZideStore/UI-X/Common/UIxComponent.m
index 9e422ae6c7a9f42442e8f220fb1d46a22d3cba26..43534f0e5d0f4093738c525b6dec80949dbfc5a0 100644 (file)
 // $Id$
 
 
-#include "OGoComponent.h"
+#include "UIxComponent.h"
 #include <Foundation/Foundation.h>
 #include <NGObjWeb/NGObjWeb.h>
 #include <NGExtensions/NGExtensions.h>
 
 
-@interface OGoComponent (PrivateAPI)
+@interface UIxComponent (PrivateAPI)
 - (void)_parseQueryString:(NSString *)_s;
 @end
 
 
-@implementation OGoComponent
+@implementation UIxComponent
 
 - (id)init {
     if ((self = [super init])) {
similarity index 79%
rename from ZideStore/UI-X/Common/OGoPageFrame.m
rename to ZideStore/UI-X/Common/UIxPageFrame.m
index 13a8da995d95d25bf4a73f66d76a88f54b50dfe9..ba39e5f4b63c561927d0ada0c99cfbaf95f97736 100644 (file)
@@ -1,11 +1,11 @@
-// $Id: OGoPageFrame.m,v 1.2 2003/12/11 22:16:36 helge Exp $
+// $Id$
 
 #include <NGObjWeb/SoComponent.h>
 #include <NGObjWeb/SoHTTPAuthenticator.h>
 #include <NGObjWeb/SoUser.h>
 
 
-@interface OGoPageFrame : SoComponent
+@interface UIxPageFrame : SoComponent
 {
   NSString *title;
 }
@@ -14,7 +14,7 @@
 
 #include "common.h"
 
-@implementation OGoPageFrame
+@implementation UIxPageFrame
 
 - (void)dealloc {
   [self->title release];
@@ -41,4 +41,4 @@
     return [user login];
 }
 
-@end /* OGoPageFrame */
+@end /* UIxPageFrame */
similarity index 99%
rename from ZideStore/UI-X/Common/OGoPageFrame.wox
rename to ZideStore/UI-X/Common/UIxPageFrame.wox
index 7714442b8944f341df70ef56e31451de81da6002..8a7f9d6d1640f8b56395c1ae32809fcdb425ccc6 100644 (file)
@@ -27,7 +27,7 @@
           <table cellpadding="0" cellspacing="0" border="0" width="100%">
             <tr>
               <td valign="bottom">
-              <var:component className="OGoAppNavView" />
+              <var:component className="UIxAppNavView" />
               </td>
               <td align="right">
                 <a href="http://www.opengroupware.org:80/" target="OGo">
similarity index 92%
rename from ZideStore/UI-X/Common/OGoWinClose.m
rename to ZideStore/UI-X/Common/UIxWinClose.m
index eabfc9ef9df60329e90d49a492ad279f2944fe68..e8320e69111d133776dffd0cccb2aa3cadfbfbe0 100644 (file)
@@ -24,7 +24,7 @@
 #include <NGObjWeb/NGObjWeb.h>
 
 
-@interface OGoWinClose : WOComponent
+@interface UIxWinClose : WOComponent
 {
 
 }
@@ -32,6 +32,6 @@
 @end
 
 
-@implementation OGoWinClose
+@implementation UIxWinClose
 
 @end
index 2ccc1b8cd80bb0432984482a100ac7aaae10b07b..c7081c18c5df76adaa63f2da0bbb8494d96b90ae 100644 (file)
     
     classes = (
       { name = CommonUIProduct;       },
-      { name = OGoComponent;          },
-      { name = OGoPageFrame;          },
-      { name = OGoWinClose;           },
-      { name = OGoAppNavView;         },
+      { name = UIxComponent;          },
+      { name = UIxPageFrame;          },
+      { name = UIxWinClose;           },
+      { name = UIxAppNavView;         },
       { name = "UIxElemBuilder"; },
       { name = "UIxTabView";          },
       { name = "UIxTabItem";          },
     );
 
     WOComponents = (
-      { name = OGoPageFrame;  },
-      { name = OGoWinClose;   },
-      { name = OGoAppNavView; },
+      { name = UIxPageFrame;  },
+      { name = UIxWinClose;   },
+      { name = UIxAppNavView; },
     );
     
     WOxElemBuilder = (
index 8f826d2d49bfe58d49e539e04e39f02fd9e23739..1636c4209e399a87b3f53baf4520e97639afaefe 100644 (file)
       methods = {
         "app" = { 
           protectedBy = "View";
-          pageName    = "OGoAppFrame"; 
+          pageName    = "UIxAppFrame"; 
         };
         "appheader" = { 
           protectedBy = "View";
-          pageName    = "OGoAppHeader"; 
+          pageName    = "UIxAppHeader"; 
         };
         "appnavigation" = { 
           protectedBy = "View";
-          pageName    = "OGoAppNavigation"; 
+          pageName    = "UIxAppNavigation"; 
         };
       };
     };
index 1e713eb9a590ac440612ee39702060024e3436a6..fa5ee05a2daf33d77faa5c37f4f593197e5acf5c 100644 (file)
@@ -10,30 +10,30 @@ SchedulerUI_PRINCIPAL_CLASS = SchedulerUIProduct
 
 SchedulerUI_OBJC_FILES = \
        SchedulerUIProduct.m    \
-       OGoAppointmentFormatter.m \
-       OGoCalView.m            \
-       OGoCalWeekView.m        \
-       OGoCalMonthView.m       \
-       OGoAptTableView.m       \
+       UIxAppointmentFormatter.m \
+       UIxCalView.m            \
+       UIxCalWeekView.m        \
+       UIxCalMonthView.m       \
+       UIxAptTableView.m       \
        \
-       OGoCalWeekOverview.m    \
-       OGoCalMonthOverview.m   \
-       OGoAppointmentView.m    \
-       OGoCalSelectTab.m \
-       OGoCalDateLabel.m \
-       OGoCalBackForthNavView.m \
+       UIxCalWeekOverview.m    \
+       UIxCalMonthOverview.m   \
+       UIxAppointmentView.m    \
+       UIxCalSelectTab.m \
+       UIxCalDateLabel.m \
+       UIxCalBackForthNavView.m \
 
 SchedulerUI_RESOURCE_FILES += \
        Version                         \
        product.plist                   \
        \
-       OGoAptTableView.wox             \
-       OGoCalWeekOverview.wox          \
-       OGoCalMonthOverview.wox         \
-       OGoAppointmentView.wox          \
-       OGoCalSelectTab.wox \
-       OGoCalDateLabel.wox \
-       OGoCalBackForthNavView.wox \
+       UIxAptTableView.wox             \
+       UIxCalWeekOverview.wox          \
+       UIxCalMonthOverview.wox         \
+       UIxAppointmentView.wox          \
+       UIxCalSelectTab.wox \
+       UIxCalDateLabel.wox \
+       UIxCalBackForthNavView.wox \
        images/next_week.gif            \
        images/previous_week.gif                                                \
        images/icon_apt_chart.gif                                               \
index 8fb70d6dff9666ee8ecec69877e0e0598230405f..35c83b1bfbb130280d7230803df0bd30e530e900 100644 (file)
@@ -10,24 +10,24 @@ Class Hierarchy
 
   [WOComponent]
     [SoComponent]
-      OGoAppointmentView
-      OGoCalView
-        OGoCalMonthView
-          OGoCalMonthOverview
-        OGoCalWeekView
-          OGoCalWeekOverview
-    OGoAptTableView
+      UIxAppointmentView
+      UIxCalView
+        UIxCalMonthView
+          UIxCalMonthOverview
+        UIxCalWeekView
+          UIxCalWeekOverview
+    UIxAptTableView
   SchedulerUIProduct
 
 TBD:
-  OGoCalDayView
-    OGoCalDayOverview
-    OGoCalDayChart
-    OGoCalDayHChart
-  [OGoCalWeekView]
-    OGoCalWeekColumnView
-    OGoCalWeekChart
-    OGoCalWeekHChart
+  UIxCalDayView
+    UIxCalDayOverview
+    UIxCalDayChart
+    UIxCalDayHChart
+  [UIxCalWeekView]
+    UIxCalWeekColumnView
+    UIxCalWeekChart
+    UIxCalWeekHChart
   OGoYearOverview - should use aggressive caching in the long run
 
   - editor page (which comes up in a new window)
diff --git a/ZideStore/UI-X/Scheduler/OGoAppointmentView.h b/ZideStore/UI-X/Scheduler/OGoAppointmentView.h
deleted file mode 100644 (file)
index b4a220d..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-// $Id: OGoAppointmentView.h,v 1.1 2003/11/24 01:24:40 helge Exp $
-
-#ifndef __ZideStoreUI_OGoAppointmentView_H__
-#define __ZideStoreUI_OGoAppointmentView_H__
-
-#include <NGObjWeb/SoComponent.h>
-
-@interface OGoAppointmentView : SoComponent
-{
-}
-
-@end
-
-#endif /* __ZideStoreUI_OGoAppointmentView_H__ */
diff --git a/ZideStore/UI-X/Scheduler/OGoCalMonthOverview.m b/ZideStore/UI-X/Scheduler/OGoCalMonthOverview.m
deleted file mode 100644 (file)
index d2146a7..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// $Id: OGoCalMonthOverview.m,v 1.1 2003/11/24 01:24:40 helge Exp $
-
-#include "OGoCalMonthView.h"
-
-@interface OGoCalMonthOverview : OGoCalMonthView
-{
-}
-
-@end
-
-#include "common.h"
-
-@implementation OGoCalMonthOverview
-
-- (NSArray *)appointments {
-  return [self fetchCoreInfos];
-}
-
-@end /* OGoCalMonthOverview */
diff --git a/ZideStore/UI-X/Scheduler/OGoCalMonthView.h b/ZideStore/UI-X/Scheduler/OGoCalMonthView.h
deleted file mode 100644 (file)
index 59fde93..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-// $Id: OGoCalMonthView.h,v 1.2 2004/06/03 21:56:44 helge Exp $
-
-#ifndef __ZideStoreUI_OGoCalMonthView_H__
-#define __ZideStoreUI_OGoCalMonthView_H__
-
-#include "OGoCalView.h"
-
-/*
-  OGoCalMonthView
-  
-  Abstract superclass for views which display months.
-*/
-
-@interface OGoCalMonthView : OGoCalView
-{
-}
-
-- (NSDictionary *)prevMonthQueryParameters;
-- (NSDictionary *)nextMonthQueryParameters;
-
-@end
-
-#endif /* __ZideStoreUI_OGoCalMonthView_H__ */
diff --git a/ZideStore/UI-X/Scheduler/OGoCalWeekView.h b/ZideStore/UI-X/Scheduler/OGoCalWeekView.h
deleted file mode 100644 (file)
index c1fde86..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-// $Id: OGoCalWeekView.h,v 1.2 2004/06/03 21:56:44 helge Exp $
-
-#ifndef __ZideStoreUI_OGoCalWeekView_H__
-#define __ZideStoreUI_OGoCalWeekView_H__
-
-#include "OGoCalView.h"
-
-@interface OGoCalWeekView : OGoCalView
-{
-}
-
-/* Query Parameters */
-
-- (NSDictionary *)prevWeekQueryParameters;
-- (NSDictionary *)nextWeekQueryParameters;
-    
-@end
-
-#endif /* __ZideStoreUI_OGoCalWeekView_H__ */
similarity index 93%
rename from ZideStore/UI-X/Scheduler/OGoAppointmentFormatter.h
rename to ZideStore/UI-X/Scheduler/UIxAppointmentFormatter.h
index 77f552b5dcaff79070e1cd2cd391b87eb2d7a0c2..4202e770445e0f2dcc0b4face623fee5fe44924f 100644 (file)
@@ -20,8 +20,8 @@
 */
 // $Id$
 
-#ifndef __OGoAppointmentFormatter_H__
-#define __OGoAppointmentFormatter_H__
+#ifndef __UIxAppointmentFormatter_H__
+#define __UIxAppointmentFormatter_H__
 
 #import <Foundation/NSFormatter.h>
 
@@ -58,7 +58,7 @@
 
 @class NSCalendarDate;
 
-@interface OGoAppointmentFormatter : NSFormatter
+@interface UIxAppointmentFormatter : NSFormatter
 {
 @protected
   NSString        *formatString;           // default: @"%S - %E, \n%T"
@@ -79,8 +79,8 @@
 
 //init
 - (id)initWithFormat:(NSString *)_format;
-+ (OGoAppointmentFormatter *)formatterWithFormat:(NSString *)_format;
-+ (OGoAppointmentFormatter *)formatter;
++ (UIxAppointmentFormatter *)formatterWithFormat:(NSString *)_format;
++ (UIxAppointmentFormatter *)formatter;
 
 //accessors
 - (void)setFormat:(NSString *)_format;
similarity index 97%
rename from ZideStore/UI-X/Scheduler/OGoAppointmentFormatter.m
rename to ZideStore/UI-X/Scheduler/UIxAppointmentFormatter.m
index 4596cf2744ddfd44f4e5bfff1be6b79d435ba52b..1380448754a83212d7bdd28975d883abc1d039e6 100644 (file)
 */
 // $Id$
 
-#include "OGoAppointmentFormatter.h"
+#include "UIxAppointmentFormatter.h"
 #import <Foundation/Foundation.h>
 #import <NGExtensions/NGExtensions.h>
 #import <EOControl/EOControl.h>
 
-@implementation OGoAppointmentFormatter
+@implementation UIxAppointmentFormatter
 
 - (id)init {
   if ((self = [super init])) {
   return self;
 }
 
-+ (OGoAppointmentFormatter *)formatterWithFormat:(NSString *)_format {
-  return AUTORELEASE([(OGoAppointmentFormatter *)[OGoAppointmentFormatter alloc]
++ (UIxAppointmentFormatter *)formatterWithFormat:(NSString *)_format {
+  return AUTORELEASE([(UIxAppointmentFormatter *)[UIxAppointmentFormatter alloc]
                                                  initWithFormat:_format]);
 }
 
-+ (OGoAppointmentFormatter *)formatter {
-  return AUTORELEASE([[OGoAppointmentFormatter alloc] init]);
++ (UIxAppointmentFormatter *)formatter {
+  return AUTORELEASE([[UIxAppointmentFormatter alloc] init]);
 }
 
 #if !LIB_FOUNDATION_BOEHM_GC
diff --git a/ZideStore/UI-X/Scheduler/UIxAppointmentView.h b/ZideStore/UI-X/Scheduler/UIxAppointmentView.h
new file mode 100644 (file)
index 0000000..2cf5005
--- /dev/null
@@ -0,0 +1,14 @@
+// $Id$
+
+#ifndef __ZideStoreUI_UIxAppointmentView_H__
+#define __ZideStoreUI_UIxAppointmentView_H__
+
+#include <NGObjWeb/SoComponent.h>
+
+@interface UIxAppointmentView : SoComponent
+{
+}
+
+@end
+
+#endif /* __ZideStoreUI_UIxAppointmentView_H__ */
similarity index 64%
rename from ZideStore/UI-X/Scheduler/OGoAppointmentView.m
rename to ZideStore/UI-X/Scheduler/UIxAppointmentView.m
index 23f5b342f7a47e27915f4d0c4956ebd6fa35bdb9..8fb761afa6133c0bb89af98fdc9bc7fa0ef7af2c 100644 (file)
@@ -1,6 +1,6 @@
-// $Id: OGoAppointmentView.m,v 1.2 2004/06/03 16:42:38 znek Exp $
+// $Id$
 
-#include "OGoAppointmentView.h"
+#include "UIxAppointmentView.h"
 #include "common.h"
 #include <Backend/SxAptManager.h>
 
@@ -8,7 +8,7 @@
 - (SxAptManager *)aptManagerInContext:(id)_ctx;
 @end
 
-@implementation OGoAppointmentView
+@implementation UIxAppointmentView
 
 - (void)dealloc {
   [super dealloc];
@@ -20,4 +20,4 @@
   return [[self clientObject] aptManagerInContext:[self context]];
 }
 
-@end /* OGoAppointmentView */
+@end /* UIxAppointmentView */
similarity index 94%
rename from ZideStore/UI-X/Scheduler/OGoAppointmentView.wox
rename to ZideStore/UI-X/Scheduler/UIxAppointmentView.wox
index 8599707a4ce0fafe5ceda84fd6ef13a07c9addd4..171cb947ec703385a64f786b22e41e9c724e19d3 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version='1.0' standalone='yes'?>
-<var:component className="OGoPageFrame" title="name"
+<var:component className="UIxPageFrame" title="name"
   xmlns="http://www.w3.org/1999/xhtml"
   xmlns:var="http://www.skyrix.com/od/binding"
   xmlns:const="http://www.skyrix.com/od/constant"
similarity index 90%
rename from ZideStore/UI-X/Scheduler/OGoAptTableView.m
rename to ZideStore/UI-X/Scheduler/UIxAptTableView.m
index ad4bf537b0ab59618666063111deca5c9e80da56..420c4df08c91ec160157db4e33c9156f3ae4e98e 100644 (file)
   Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
   02111-1307, USA.
 */
-// $Id: OGoAptTableView.m,v 1.1 2003/11/24 01:37:06 helge Exp $
+// $Id$
 
 #include <NGObjWeb/SoComponent.h>
 
 @class NSArray, NSCalendarDate;
 
-@interface OGoAptTableView : SoComponent
+@interface UIxAptTableView : SoComponent
 {
   NSArray *appointments;
   id      appointment;
@@ -39,7 +39,7 @@
 
 #include "common.h"
 
-@implementation OGoAptTableView
+@implementation UIxAptTableView
 
 - (void)dealloc {
   [self->appointment  release];
@@ -72,4 +72,4 @@
   return [NSString stringWithFormat:@"%@/view", pkey];
 }
 
-@end /* OGoAptTableView */
+@end /* UIxAptTableView */
similarity index 93%
rename from ZideStore/UI-X/Scheduler/OGoCalBackForthNavView.m
rename to ZideStore/UI-X/Scheduler/UIxCalBackForthNavView.m
index 56edc0511aba55af69e7100023dfddb47ccf5368..4194246226f571052d7e17d5f3c24580d0afcd3a 100644 (file)
     label                   -> user presentable name to display for "this"
  */
 
-@interface OGoCalBackForthNavView : WOComponent
+@interface UIxCalBackForthNavView : WOComponent
 {
 }
 
 @end
 
 
-@implementation OGoCalBackForthNavView
+@implementation UIxCalBackForthNavView
 
 - (BOOL)synchronizesVariablesWithBindings {
     return NO;
similarity index 97%
rename from ZideStore/UI-X/Scheduler/OGoCalDateLabel.m
rename to ZideStore/UI-X/Scheduler/UIxCalDateLabel.m
index 46c7191bee5bd3309ba271bc23f1599a339864b5..5e7fa4896a4fce7e42c7f894f6c3ab9f4b44ef05 100644 (file)
@@ -24,7 +24,7 @@
 #include <NGObjWeb/NGObjWeb.h>
 
 
-@interface OGoCalDateLabel : WOComponent
+@interface UIxCalDateLabel : WOComponent
 {
     NSString *selection;
     NSCalendarDate *startDate;
@@ -39,7 +39,7 @@
 @end
 
 
-@implementation OGoCalDateLabel
+@implementation UIxCalDateLabel
 
 - (void)dealloc {
     [self->selection release];
diff --git a/ZideStore/UI-X/Scheduler/UIxCalMonthOverview.m b/ZideStore/UI-X/Scheduler/UIxCalMonthOverview.m
new file mode 100644 (file)
index 0000000..ea2d061
--- /dev/null
@@ -0,0 +1,19 @@
+// $Id$
+
+#include "UIxCalMonthView.h"
+
+@interface UIxCalMonthOverview : UIxCalMonthView
+{
+}
+
+@end
+
+#include "common.h"
+
+@implementation UIxCalMonthOverview
+
+- (NSArray *)appointments {
+  return [self fetchCoreInfos];
+}
+
+@end /* UIxCalMonthOverview */
similarity index 85%
rename from ZideStore/UI-X/Scheduler/OGoCalMonthOverview.wox
rename to ZideStore/UI-X/Scheduler/UIxCalMonthOverview.wox
index b863898c696d7cfdb9aaa02e942c9a9d3d7efb55..ebdd96301334345476e1241d2d4f4bdb58623595 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version='1.0' standalone='yes'?>
-<var:component className="OGoPageFrame" title="name"
+<var:component className="UIxPageFrame" title="name"
   xmlns="http://www.w3.org/1999/xhtml"
   xmlns:var="http://www.skyrix.com/od/binding"
   xmlns:const="http://www.skyrix.com/od/constant"
@@ -12,9 +12,9 @@
   <table cellpadding="0" cellspacing="0" width="100%">
   <tr>
   <td width="5"/>
-  <td class="wintitle"><var:component className="OGoCalDateLabel" startDate="startDate" endDate="endDate" const:selection="month" /></td>
+  <td class="wintitle"><var:component className="UIxCalDateLabel" startDate="startDate" endDate="endDate" const:selection="month" /></td>
   <td width="36" align="right" valign="center">
-  <var:component className="OGoWinClose" />
+  <var:component className="UIxWinClose" />
   </td>
   </tr>
   </table>
@@ -27,7 +27,7 @@
         <tr bgcolor="#e8e8e0">
             <td align="left" valign="middle" width="80%">TODO: controls</td><!-- 99% -->
             <td align="right">
-                <var:component className="OGoCalBackForthNavView"
+                <var:component className="UIxCalBackForthNavView"
                                methodName="ownMethodName"
                                prevQueryParameters="prevMonthQueryParameters"
                                currentQueryParameters="todayQueryParameters"
@@ -45,7 +45,7 @@
   <table border="0" width="100%" cellpadding="0" cellspacing="0">
   <tr>
   <td colspan="2">
-  <var:component className="OGoCalSelectTab"
+  <var:component className="UIxCalSelectTab"
                  const:selection="month"
                  currentDate="selectedDate"
   >
     <var:month-overview
       list="appointments"
       item="appointment"
-      weekStart="weekStart"
+      index="index"
+      currentDay="selectedDate"
+
       const:startDateKey = "startDate"
       const:endDateKey   = "endDate"
+
       const:titleColor   = "#7799FF"
       const:contentColor = "#5577FF"
     >
       <var:month>
-       <a var:href="appointmentViewURL"
-          ><var:string value="appointment.title" /></a>
+        <a var:href="appointmentViewURL"><var:string value="appointment.title" /></a>
       </var:month>
     </var:month-overview>
 
     <hr />
 
     Appointments: 
-    <var:component className="OGoAptTableView" appointments="appointments"/>
+    <var:component className="UIxAptTableView" appointments="appointments"/>
     -->
     <!-- pre><var:string value="appointments" const:insertBR="YES"/></pre -->
 </var:component>
diff --git a/ZideStore/UI-X/Scheduler/UIxCalMonthView.h b/ZideStore/UI-X/Scheduler/UIxCalMonthView.h
new file mode 100644 (file)
index 0000000..5caf1d4
--- /dev/null
@@ -0,0 +1,23 @@
+// $Id$
+
+#ifndef __ZideStoreUI_UIxCalMonthView_H__
+#define __ZideStoreUI_UIxCalMonthView_H__
+
+#include "UIxCalView.h"
+
+/*
+  UIxCalMonthView
+  
+  Abstract superclass for views which display months.
+*/
+
+@interface UIxCalMonthView : UIxCalView
+{
+}
+
+- (NSDictionary *)prevMonthQueryParameters;
+- (NSDictionary *)nextMonthQueryParameters;
+
+@end
+
+#endif /* __ZideStoreUI_UIxCalMonthView_H__ */
similarity index 89%
rename from ZideStore/UI-X/Scheduler/OGoCalMonthView.m
rename to ZideStore/UI-X/Scheduler/UIxCalMonthView.m
index a043271623e92d18775dba05f5f193c6b9f2ca25..7544aaacc7ff378dc68a166eb306fc849e7dd9e6 100644 (file)
@@ -1,9 +1,9 @@
-// $Id: OGoCalMonthView.m,v 1.2 2004/06/03 21:56:44 helge Exp $
+// $Id$
 
-#include "OGoCalMonthView.h"
+#include "UIxCalMonthView.h"
 #include "common.h"
 
-@implementation OGoCalMonthView
+@implementation UIxCalMonthView
 
 - (NSCalendarDate *)startDate {
   return [[super startDate] firstDayOfMonth];
@@ -44,4 +44,4 @@
     return [self queryParametersBySettingSelectedDate:date];
 }
 
-@end /* OGoCalMonthView */
+@end /* UIxCalMonthView */
similarity index 95%
rename from ZideStore/UI-X/Scheduler/OGoCalSelectTab.m
rename to ZideStore/UI-X/Scheduler/UIxCalSelectTab.m
index 21dfb3f384f25bb7fb539b0fff43d6aa8ff759ac..adacf0436dafda44d2e0121415b8aee39ee3a80c 100644 (file)
 // $Id$
 
 
-#include <Common/OGoComponent.h>
+#include <Common/UIxComponent.h>
 #include <NGObjWeb/NGObjWeb.h>
 #include <NGExtensions/NGExtensions.h>
 
 
-@interface OGoCalSelectTab : OGoComponent
+@interface UIxCalSelectTab : UIxComponent
 {
     NSString *selection;
     NSCalendarDate *currentDate;
@@ -35,7 +35,7 @@
 @end
 
 
-@implementation OGoCalSelectTab
+@implementation UIxCalSelectTab
 
 - (void)dealloc {
     [self->selection release];
similarity index 59%
rename from ZideStore/UI-X/Scheduler/OGoCalView.h
rename to ZideStore/UI-X/Scheduler/UIxCalView.h
index c65246eb4f8e417c0db5991e162ad87eca070ee2..aed11e77c91b6c1fde446378ab493a0e079701fb 100644 (file)
@@ -1,23 +1,39 @@
-// $Id: OGoCalView.h,v 1.3 2004/06/03 21:56:44 helge Exp $
+// $Id$
 
-#ifndef __ZideStoreUI_OGoCalView_H__
-#define __ZideStoreUI_OGoCalView_H__
+#ifndef __ZideStoreUI_UIxCalView_H__
+#define __ZideStoreUI_UIxCalView_H__
 
-#include <Common/OGoComponent.h>
+#include <Common/UIxComponent.h>
 
 @class NSArray, NSCalendarDate;
 @class SxAptManager, SxAptSetIdentifier;
 
-@interface OGoCalView : OGoComponent
+@interface UIxCalView : UIxComponent
 {
   NSArray *appointments;
   id      appointment;
+  NSCalendarDate *currentDay;
 }
 
 /* accessors */
 
 - (NSArray *)appointments;
 - (id)appointment;
+
+- (NSDictionary *)aptTypeDict;
+- (NSString *)aptTypeLabel;
+- (NSString *)aptTypeIcon;
+- (NSString *)shortTextForApt;
+    
+/* related to current day */
+- (void)setCurrentDay:(NSCalendarDate *)_day;
+- (NSCalendarDate *)currentDay;
+- (NSString *)currentDayName;
+- (NSArray *)allDayApts;
+- (BOOL)hasDayInfo;
+- (BOOL)hasHoldidayInfo;
+
+    
 - (BOOL)showFullNames;
 - (BOOL)showAMPMDates;
 - (NSCalendarDate *)referenceDateForFormatter;
 - (NSArray *)fetchCoreInfos;
 
 /* date selection */
+- (NSDictionary *)todayQueryParameters;
+- (NSDictionary *)currentDayQueryParameters;
 - (NSDictionary *)queryParametersBySettingSelectedDate:(NSCalendarDate *)_date;
 - (void)setSelectedDateQueryParameter:(NSCalendarDate *)_newDate
         inDictionary:(NSMutableDictionary *)_qp;
+
 - (NSString *)dateStringForDate:(NSCalendarDate *)_date;
 - (NSCalendarDate *)dateForDateString:(NSString *)_dateString;
 
 @end
 
-#endif /* __ZideStoreUI_OGoCalView_H__ */
+#endif /* __ZideStoreUI_UIxCalView_H__ */
similarity index 75%
rename from ZideStore/UI-X/Scheduler/OGoCalView.m
rename to ZideStore/UI-X/Scheduler/UIxCalView.m
index ebaeffaf7d8f18783934d65888e19f0a3827f0fa..a3f04fd17aae216011731053384a96c9a82b375e 100644 (file)
@@ -1,23 +1,26 @@
-// $Id: OGoCalView.m,v 1.3 2004/06/03 21:56:44 helge Exp $
+// $Id$
 
-#include "OGoCalView.h"
+#include "UIxCalView.h"
 #include "common.h"
 #include <Backend/SxAptManager.h>
+#include "UIxAppointmentFormatter.h"
 
 @interface NSObject(UsedPrivates)
 - (SxAptManager *)aptManagerInContext:(id)_ctx;
 @end
 
-@implementation OGoCalView
+@implementation UIxCalView
 
 - (void)dealloc {
   [self->appointment  release];
   [self->appointments release];
+  [self->currentDay release];
   [super dealloc];
 }
 
 /* accessors */
 
+
 - (void)setAppointments:(NSArray *)_apts {
   ASSIGN(self->appointments, _apts);
 }
   return self->appointment;
 }
 
-- (BOOL)showFullNames {
-    return YES;
+- (NSDictionary *)aptTypeDict {
+    return nil;
 }
 
-- (BOOL)showAMPMDates {
-    return NO;
+- (NSString *)aptTypeLabel {
+    return @"aptLabel";
+}
+
+- (NSString *)aptTypeIcon {
+    return @"";
+}
+
+- (NSString *)shortTextForApt {
+    UIxAppointmentFormatter *f;
+    
+    f = [UIxAppointmentFormatter formatterWithFormat:
+        @"%S - %E;\n%T;\n%L;\n%5P;\n%50R"];
+    [f setRelationDate:[self referenceDateForFormatter]];
+    [f setShowFullNames:[self showFullNames]];
+    if([self showAMPMDates])
+        [f switchToAMPMTimes:YES];
+    
+    return [NSString stringWithFormat:@"%@:\n%@",
+        [self aptTypeLabel],
+        [f stringForObjectValue:self->appointment]];
 }
 
 - (NSCalendarDate *)referenceDateForFormatter {
     return [self selectedDate];
 }
 
+/* current day related */
+
+- (void)setCurrentDay:(NSCalendarDate *)_day {
+    ASSIGN(self->currentDay, _day);
+}
+- (NSCalendarDate *)currentDay {
+    return self->currentDay;
+}
+
+- (NSString *)currentDayName {
+    // TODO: this is slow, use locale dictionary to speed this up
+    return [self->currentDay descriptionWithCalendarFormat:@"%A"];
+}
+
+- (BOOL)hasDayInfo {
+    return [self hasHoldidayInfo] || ([[self allDayApts] count] != 0);
+}
+
+- (BOOL)hasHoldidayInfo {
+    return NO;
+}
+
+- (NSArray *)allDayApts {
+    return [NSArray array];
+}
+
+
+/* defaults */
+
+
+- (BOOL)showFullNames {
+    return YES;
+}
+
+- (BOOL)showAMPMDates {
+    return NO;
+}
+
 
 /* URLs */
 
     return [self queryParametersBySettingSelectedDate:date];
 }
 
+- (NSDictionary *)currentDayQueryParameters {
+    return [self queryParametersBySettingSelectedDate:self->currentDay];
+}
+
 - (NSDictionary *)queryParametersBySettingSelectedDate:(NSCalendarDate *)_date {
     NSMutableDictionary *qp;
     
   return [NSCalendarDate dateWithString:_dateString calendarFormat:@"%Y%m%d"];
 }
 
-@end /* OGoCalView */
+@end /* UIxCalView */
similarity index 55%
rename from ZideStore/UI-X/Scheduler/OGoCalWeekOverview.m
rename to ZideStore/UI-X/Scheduler/UIxCalWeekOverview.m
index 949ae13dc6c3ec112080c17eefb7e29c83cc6ea3..f2d8cafcc2380026c77fd7bc5d723b98d0abbe3e 100644 (file)
   Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
   02111-1307, USA.
 */
-// $Id: OGoCalWeekOverview.m,v 1.3 2004/06/03 21:56:44 helge Exp $
+// $Id$
 
-#include "OGoCalWeekView.h"
+#include "UIxCalWeekView.h"
 
-@interface OGoCalWeekOverview : OGoCalWeekView
+@interface UIxCalWeekOverview : UIxCalWeekView
 {
     int dayIndex;
-    NSCalendarDate *currentDay;
 }
 
 @end
 
 #include "common.h"
 #include <Backend/SxAptManager.h>
-#include "OGoAppointmentFormatter.h"
 
 
-@implementation OGoCalWeekOverview
+@implementation UIxCalWeekOverview
 
 - (NSArray *)appointments {
   return [self fetchCoreInfos];
 }
 
-- (void)setCurrentDay:(NSCalendarDate *)_day {
-    ASSIGN(self->currentDay, _day);
-}
-
-- (NSCalendarDate *)currentDay {
-    return self->currentDay;
-}
-
-- (NSString *)currentDayName {
-    return [self->currentDay descriptionWithCalendarFormat:@"%A"];
-}
-
 - (void)setDayIndex:(char)_idx {
     NSCalendarDate *d;
     
     return self->dayIndex;
 }
 
-- (NSDictionary *)currentDayQueryParameters {
-    return [self queryParametersBySettingSelectedDate:self->currentDay];
-}
-
 /* style sheet */
 
 - (NSString *)titleStyle {
     return @"weekoverview_content";
 }
 
-- (NSDictionary *)aptTypeDict {
-    return nil;
-}
-
-- (NSString *)aptTypeLabel {
-    return @"aptLabel";
-}
-
-- (NSString *)aptTypeIcon {
-    return @"";
-}
-
-- (NSString *)shortTextForApt {
-    OGoAppointmentFormatter *f;
-    
-    f = [OGoAppointmentFormatter formatterWithFormat:
-        @"%S - %E;\n%T;\n%L;\n%5P;\n%50R"];
-    [f setRelationDate:[self referenceDateForFormatter]];
-    [f setShowFullNames:[self showFullNames]];
-    if([self showAMPMDates])
-        [f switchToAMPMTimes:YES];
-
-    return [NSString stringWithFormat:@"%@:\n%@",
-        [self aptTypeLabel],
-        [f stringForObjectValue:self->appointment]];
-}
-
-- (BOOL)hasDayInfo {
-  return YES;
-}
-
-- (BOOL)hasHoldidayInfo {
-  return NO;
-}
-
-- (NSArray *)allDayApts {
-  return nil;
-}
-
-@end /* OGoCalWeekOverview */
+@end /* UIxCalWeekOverview */
similarity index 94%
rename from ZideStore/UI-X/Scheduler/OGoCalWeekOverview.wox
rename to ZideStore/UI-X/Scheduler/UIxCalWeekOverview.wox
index 39753fbdf2a42ff4b7a894614fe96c1b3e98f07c..d5df607ec63a6b0c16b3ea3f7a7475096c448202 100644 (file)
@@ -4,7 +4,7 @@
                xmlns:const="http://www.skyrix.com/od/constant"
                xmlns:rsrc="OGo:url"
                xmlns:uix="OGo:uix"
-               className="OGoPageFrame"
+               className="UIxPageFrame"
                title="name">
 
   <!-- $Id: SkyNews.html,v 1.3 2003/12/22 16:53:55 helge Exp $ -->
@@ -14,9 +14,9 @@
   <table cellpadding="0" cellspacing="0" width="100%">
   <tr>
   <td width="5"/>
-  <td class="wintitle"><var:component className="OGoCalDateLabel" startDate="startDate" endDate="endDate" const:selection="week" /></td>
+  <td class="wintitle"><var:component className="UIxCalDateLabel" startDate="startDate" endDate="endDate" const:selection="week" /></td>
   <td width="36" align="right" valign="center">
-  <var:component className="OGoWinClose" />
+  <var:component className="UIxWinClose" />
   </td>
   </tr>
   </table>
@@ -29,7 +29,7 @@
     <tr bgcolor="#e8e8e0">
     <td align="left" valign="middle" width="80%">TODO: controls</td><!-- 99% -->
     <td align="right">
-    <var:component className="OGoCalBackForthNavView"
+    <var:component className="UIxCalBackForthNavView"
                    methodName="ownMethodName"
                    prevQueryParameters="prevWeekQueryParameters"
                    currentQueryParameters="todayQueryParameters"
@@ -47,7 +47,7 @@
   <table border="0" width="100%" cellpadding="0" cellspacing="0">
   <tr>
   <td colspan="2">
-  <var:component className="OGoCalSelectTab" const:selection="week" currentDate="selectedDate">
+  <var:component className="UIxCalSelectTab" const:selection="week" currentDate="selectedDate">
 
         <table border="0" cellpadding="4" width="100%" cellspacing="2">
           <tr>
   <hr/>
     
     Appointments: 
-    <var:component className="OGoAptTableView" appointments="appointments"/>
+    <var:component className="UIxAptTableView" appointments="appointments"/>
   -->
     <!-- pre><var:string value="appointments" const:insertBR="YES"/></pre -->
 
diff --git a/ZideStore/UI-X/Scheduler/UIxCalWeekView.h b/ZideStore/UI-X/Scheduler/UIxCalWeekView.h
new file mode 100644 (file)
index 0000000..f32b434
--- /dev/null
@@ -0,0 +1,19 @@
+// $Id$
+
+#ifndef __ZideStoreUI_UIxCalWeekView_H__
+#define __ZideStoreUI_UIxCalWeekView_H__
+
+#include "UIxCalView.h"
+
+@interface UIxCalWeekView : UIxCalView
+{
+}
+
+/* Query Parameters */
+
+- (NSDictionary *)prevWeekQueryParameters;
+- (NSDictionary *)nextWeekQueryParameters;
+    
+@end
+
+#endif /* __ZideStoreUI_UIxCalWeekView_H__ */
similarity index 83%
rename from ZideStore/UI-X/Scheduler/OGoCalWeekView.m
rename to ZideStore/UI-X/Scheduler/UIxCalWeekView.m
index 9a3fe0800b72438db78d9060d5267b30c9d647d3..5df1d2d9781341822d30f07b5910090cbcdfe04d 100644 (file)
@@ -1,9 +1,9 @@
-// $Id: OGoCalWeekView.m,v 1.3 2004/06/03 21:56:44 helge Exp $
+// $Id$
 
-#include "OGoCalWeekView.h"
+#include "UIxCalWeekView.h"
 #include "common.h"
 
-@implementation OGoCalWeekView
+@implementation UIxCalWeekView
 
 - (NSCalendarDate *)startDate {
   return [[super startDate] mondayOfWeek];
@@ -32,4 +32,4 @@
     return [self queryParametersBySettingSelectedDate:date];
 }
 
-@end /* OGoCalWeekView */
+@end /* UIxCalWeekView */
index 7984ec7b1de78601cbd671fce3203d916c01abc7..d9d75b5fd5f7d468107c1f62c20c1d85377f22c5 100644 (file)
       methods = {
         "weekoverview" = { 
           protectedBy = "View";
-          pageName    = "OGoCalWeekOverview"; 
+          pageName    = "UIxCalWeekOverview"; 
         };
         "weekchartview" = { 
           protectedBy = "View";
-          pageName    = "OGoCalWeekOverview"; 
+          pageName    = "UIxCalWeekOverview"; 
         };
         "weeklistview" = { 
           protectedBy = "View";
-          pageName    = "OGoCalWeekOverview"; 
+          pageName    = "UIxCalWeekOverview"; 
         };
         "weekcolumnview" = { 
           protectedBy = "View";
-          pageName    = "OGoCalWeekOverview"; 
+          pageName    = "UIxCalWeekOverview"; 
         };
         "weekprintview" = { 
           protectedBy = "View";
-          pageName    = "OGoCalWeekOverview"; 
+          pageName    = "UIxCalWeekOverview"; 
         };
         "monthoverview" = { 
           protectedBy = "View";
-          pageName    = "OGoCalMonthOverview"; 
+          pageName    = "UIxCalMonthOverview"; 
         };
       };
     };
@@ -50,7 +50,7 @@
       methods = {
         "view" = { 
           protectedBy = "View";
-          pageName    = "OGoAppointmentView"; 
+          pageName    = "UIxAppointmentView"; 
         };
       };
     };