}
/* URL generation */
+// TODO: I think all this should be done by the clientObject?!
- (NSString *)rootURL {
WOContext *ctx;
-# $Id$
+# GNUstep makefile
include $(GNUSTEP_MAKEFILES)/common.make
MailerUIProduct.m \
\
UIxMailMainFrame.m \
+ UIxMailTree.m \
+ \
UIxMailAccountsView.m \
UIxMailAccountView.m \
UIxMailListView.m \
MailerUI_RESOURCE_FILES += \
UIxMailMainFrame.wox \
+ UIxMailTree.wox \
+ \
UIxMailAccountsView.wox \
UIxMailAccountView.wox \
UIxMailListView.wox \
--- /dev/null
+SOGO Mailer UI
+==============
+
+- own (Thunderbird styled) frame
+- component for tree
+
+TODO
+====
+- a lot ;->
+
+Components
+==========
+UIxMailAccountView.wox
+UIxMailAccountsView.wox
+UIxMailEditor.wox
+UIxMailListView.wox
+UIxMailMainFrame.wox
+UIxMailTree.wox
+UIxMailView.wox
<?xml version='1.0' standalone='yes'?>
-<var:component xmlns="http://www.w3.org/1999/xhtml"
- xmlns:var="http://www.skyrix.com/od/binding"
- xmlns:const="http://www.skyrix.com/od/constant"
- xmlns:uix="OGo:uix"
- xmlns:label="OGo:label"
- className="UIxMailMainFrame"
- title="name"
+<var:component
+ xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:var="http://www.skyrix.com/od/binding"
+ xmlns:const="http://www.skyrix.com/od/constant"
+ xmlns:uix="OGo:uix"
+ xmlns:rsrc="OGo:url"
+ xmlns:label="OGo:label"
+ className="UIxMailMainFrame"
+ title="name"
>
<h4>Account Settings Page</h4>
<a rsrc:href="tbird_073_accountview.png">screenshot</a>
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA.
*/
-// $Id: UIxPageFrame.m 278 2004-08-26 23:29:09Z helge $
+// $Id: UIxMailMainFrame.m 278 2004-08-26 23:29:09Z helge $
#include <SOGoUI/UIxComponent.h>
-@interface UIxPageFrame : UIxComponent
+@interface UIxMailMainFrame : UIxComponent
{
NSString *title;
NSString *rootURL;
#include "common.h"
#include <NGObjWeb/SoComponent.h>
-@implementation UIxPageFrame
+@implementation UIxMailMainFrame
- (void)dealloc {
[self->item release];
}
/* URL generation */
+// TODO: I think all this should be done by the clientObject?!
+// TODO: is the stuff below necessary at all in the mailer frame?
- (NSString *)rootURL {
WOContext *ctx;
return [[self userRootURL] stringByAppendingString:@"Contacts/"];
}
-@end /* UIxPageFrame */
+@end /* UIxMailMainFrame */
</tr>
<tr>
<td width="25%" valign="top">
- Folder Tree
- <var:foreach list="clientObject.toManyRelationshipKeys" item="item">
- <li><a var:href="item"><var:string value="item"/></a></li>
- </var:foreach>
+ Folder Tree<br />
+ <var:component className="UIxMailTree" />
</td>
<td valign="top">
<var:component-content/>
--- /dev/null
+/*
+ Copyright (C) 2004 SKYRIX Software AG
+
+ This file is part of OpenGroupware.org.
+
+ OGo is free software; you can redistribute it and/or modify it under
+ the terms of the GNU Lesser General Public License as published by the
+ Free Software Foundation; either version 2, or (at your option) any
+ later version.
+
+ OGo is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
+ License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with OGo; see the file COPYING. If not, write to the
+ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+ 02111-1307, USA.
+*/
+// $Id: UIxMailTree.m 278 2004-08-26 23:29:09Z helge $
+
+#include <SOGoUI/UIxComponent.h>
+
+@interface UIxMailTree : UIxComponent
+{
+ id item;
+}
+@end
+
+#include "common.h"
+#include <NGObjWeb/SoComponent.h>
+
+@implementation UIxMailTree
+
+- (void)dealloc {
+ [self->item release];
+ [super dealloc];
+}
+
+/* accessors */
+
+- (void)setItem:(id)_item {
+ ASSIGN(self->item, _item);
+}
+- (id)item {
+ return self->item;
+}
+
+/* notifications */
+
+- (void)sleep {
+ [self->item release]; self->item = nil;
+ [super sleep];
+}
+
+@end /* UIxMailTree */
--- /dev/null
+<?xml version="1.0" standalone="yes"?>
+<span xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:var="http://www.skyrix.com/od/binding"
+ xmlns:const="http://www.skyrix.com/od/constant"
+ xmlns:rsrc="OGo:url"
+ xmlns:label="OGo:label"
+>
+ <var:foreach list="clientObject.toManyRelationshipKeys" item="item">
+ <li><a var:href="item"><var:string value="item"/></a></li>
+ </var:foreach>
+</span>
requires = ( MAIN, CommonUI, Mailer );
publicResources = (
+ "uix.css",
+ "mailer.css",
"tbird_073_accountview.png",
"tbird_073_compose.png",
"tbird_073_mailwelcome.png",