labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r793196 - in /labs/hupa: src/main/java/org/apache/hupa/ src/main/java/org/apache/hupa/client/ src/main/java/org/apache/hupa/client/data/ src/main/java/org/apache/hupa/client/events/ src/main/java/org/apache/hupa/client/gin/ src/main/java/or...
Date Sat, 11 Jul 2009 16:38:18 GMT
Author: norman
Date: Sat Jul 11 16:38:16 2009
New Revision: 793196

URL: http://svn.apache.org/viewvc?rev=793196&view=rev
Log:
More mvp work
move shared classes in an extra package (server components should not depend on classes in the client package)

Added:
    labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListPresenter.java
      - copied, changed from r792876, labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessagePresenter.java
    labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java
      - copied, changed from r792876, labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageView.java
    labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageView.java
      - copied, changed from r792169, labs/hupa/src/main/java/org/apache/hupa/client/widgets/IMAPMessageWidget.java
    labs/hupa/src/main/java/org/apache/hupa/client/rpc/CachedDispatcher.java
    labs/hupa/src/main/java/org/apache/hupa/client/rpc/EventBus.java
      - copied, changed from r792876, labs/hupa/src/main/java/org/apache/hupa/client/events/EventBus.java
    labs/hupa/src/main/java/org/apache/hupa/shared/
    labs/hupa/src/main/java/org/apache/hupa/shared/data/
      - copied from r792169, labs/hupa/src/main/java/org/apache/hupa/client/data/
    labs/hupa/src/main/java/org/apache/hupa/shared/events/
      - copied from r792876, labs/hupa/src/main/java/org/apache/hupa/client/events/
    labs/hupa/war/cbg-star.png   (with props)
    labs/hupa/war/cbg-stardeselected.png   (with props)
    labs/hupa/war/cbg-starhover.png   (with props)
Removed:
    labs/hupa/src/main/java/org/apache/hupa/client/data/
    labs/hupa/src/main/java/org/apache/hupa/client/events/
    labs/hupa/src/main/java/org/apache/hupa/client/mvp/AppView.java
    labs/hupa/src/main/java/org/apache/hupa/client/widgets/IMAPMessageWidget.java
    labs/hupa/src/main/java/org/apache/hupa/shared/events/EventBus.java
Modified:
    labs/hupa/src/main/java/org/apache/hupa/Hupa.gwt.xml
    labs/hupa/src/main/java/org/apache/hupa/client/Hupa.java
    labs/hupa/src/main/java/org/apache/hupa/client/gin/MyClientModule.java
    labs/hupa/src/main/java/org/apache/hupa/client/gin/MyGinjector.java
    labs/hupa/src/main/java/org/apache/hupa/client/mvp/AppPresenter.java
    labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessagePresenter.java
    labs/hupa/src/main/java/org/apache/hupa/client/mvp/LoginPresenter.java
    labs/hupa/src/main/java/org/apache/hupa/client/mvp/LoginView.java
    labs/hupa/src/main/java/org/apache/hupa/client/mvp/MainPresenter.java
    labs/hupa/src/main/java/org/apache/hupa/client/mvp/MainView.java
    labs/hupa/src/main/java/org/apache/hupa/client/rpc/ExposeMessage.java
    labs/hupa/src/main/java/org/apache/hupa/client/rpc/ExposeMessageResult.java
    labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchFolders.java
    labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchFoldersResult.java
    labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchMessages.java
    labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchMessagesResult.java
    labs/hupa/src/main/java/org/apache/hupa/client/rpc/LoginUserResult.java
    labs/hupa/src/main/java/org/apache/hupa/client/rpc/LogoutUser.java
    labs/hupa/src/main/java/org/apache/hupa/client/rpc/LogoutUserResult.java
    labs/hupa/src/main/java/org/apache/hupa/client/services/IMAPService.java
    labs/hupa/src/main/java/org/apache/hupa/client/services/IMAPServiceAsync.java
    labs/hupa/src/main/java/org/apache/hupa/server/AbstractIMAPActionHandler.java
    labs/hupa/src/main/java/org/apache/hupa/server/ExposeMessageHandler.java
    labs/hupa/src/main/java/org/apache/hupa/server/FetchFoldersHandler.java
    labs/hupa/src/main/java/org/apache/hupa/server/FetchMessagesHandler.java
    labs/hupa/src/main/java/org/apache/hupa/server/IMAPServiceImpl.java
    labs/hupa/src/main/java/org/apache/hupa/server/LoginUserHandler.java
    labs/hupa/src/main/java/org/apache/hupa/server/LogoutUserHandler.java
    labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPFolder.java
    labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPHeader.java
    labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessage.java
    labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessageAttachment.java
    labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessageContent.java
    labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPUser.java
    labs/hupa/src/main/java/org/apache/hupa/shared/data/ResultList.java
    labs/hupa/src/main/java/org/apache/hupa/shared/events/LoadMessagesEvent.java
    labs/hupa/src/main/java/org/apache/hupa/shared/events/LoadMessagesEventHandler.java
    labs/hupa/src/main/java/org/apache/hupa/shared/events/LoginEvent.java
    labs/hupa/src/main/java/org/apache/hupa/shared/events/LoginEventHandler.java
    labs/hupa/src/main/java/org/apache/hupa/shared/events/LogoutEvent.java
    labs/hupa/src/main/java/org/apache/hupa/shared/events/LogoutEventHandler.java
    labs/hupa/src/main/java/org/apache/hupa/shared/events/MessagesReceivedEvent.java
    labs/hupa/src/main/java/org/apache/hupa/shared/events/MessagesReceivedEventHandler.java

Modified: labs/hupa/src/main/java/org/apache/hupa/Hupa.gwt.xml
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/Hupa.gwt.xml?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/Hupa.gwt.xml (original)
+++ labs/hupa/src/main/java/org/apache/hupa/Hupa.gwt.xml Sat Jul 11 16:38:16 2009
@@ -20,6 +20,7 @@
   <inherits name='net.customware.gwt.dispatch.Dispatch' />
   <inherits name="com.google.gwt.inject.Inject"/>
   
+  <source path="shared"/>
   <source path="client"/>
   
   <!-- Specify the app entry point class.                         -->

Modified: labs/hupa/src/main/java/org/apache/hupa/client/Hupa.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/Hupa.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/Hupa.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/Hupa.java Sat Jul 11 16:38:16 2009
@@ -21,7 +21,6 @@
 
 import org.apache.hupa.client.gin.MyGinjector;
 import org.apache.hupa.client.mvp.AppPresenter;
-import org.apache.hupa.client.mvp.AppView;
 
 import com.google.gwt.core.client.EntryPoint;
 import com.google.gwt.core.client.GWT;
@@ -31,10 +30,9 @@
 	private final MyGinjector injector = GWT.create(MyGinjector.class);
 	
 	public void onModuleLoad() {
-		AppView aView = injector.getAppView();
+		
 		AppPresenter aPres = injector.getAppPresenter();
-		aPres.bind(aView);
-        RootPanel.get().add(aView);
+        aPres.go(RootPanel.get());
     }
 
 }

Modified: labs/hupa/src/main/java/org/apache/hupa/client/gin/MyClientModule.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/gin/MyClientModule.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/gin/MyClientModule.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/gin/MyClientModule.java Sat Jul 11 16:38:16 2009
@@ -19,15 +19,16 @@
 
 package org.apache.hupa.client.gin;
 
-import org.apache.hupa.client.events.EventBus;
 import org.apache.hupa.client.mvp.AppPresenter;
-import org.apache.hupa.client.mvp.AppView;
+import org.apache.hupa.client.mvp.IMAPMessageListPresenter;
+import org.apache.hupa.client.mvp.IMAPMessageListView;
 import org.apache.hupa.client.mvp.IMAPMessagePresenter;
 import org.apache.hupa.client.mvp.IMAPMessageView;
 import org.apache.hupa.client.mvp.LoginPresenter;
 import org.apache.hupa.client.mvp.LoginView;
 import org.apache.hupa.client.mvp.MainPresenter;
 import org.apache.hupa.client.mvp.MainView;
+import org.apache.hupa.client.rpc.EventBus;
 
 import com.google.gwt.inject.client.AbstractGinModule;
 import com.google.inject.Singleton;
@@ -37,13 +38,19 @@
 	@Override
 	protected void configure() {
 		bind(EventBus.class).in(Singleton.class);
-		bind(LoginView.class).in(Singleton.class);
+		
+		bind(LoginPresenter.Display.class).to(LoginView.class).in(Singleton.class);
 		bind(LoginPresenter.class).in(Singleton.class);
-		bind(AppView.class).in(Singleton.class);
+		
 		bind(AppPresenter.class).in(Singleton.class);
-		bind(MainView.class).in(Singleton.class);
+		
+		bind(MainPresenter.Display.class).to(MainView.class).in(Singleton.class);
 		bind(MainPresenter.class).in(Singleton.class);
-		bind(IMAPMessageView.class).in(Singleton.class);
+		
+		bind(IMAPMessageListPresenter.Display.class).to(IMAPMessageListView.class).in(Singleton.class);
+		bind(IMAPMessageListPresenter.class).in(Singleton.class);
+		
+		bind(IMAPMessagePresenter.Display.class).to(IMAPMessageView.class).in(Singleton.class);
 		bind(IMAPMessagePresenter.class).in(Singleton.class);
 	}
 

Modified: labs/hupa/src/main/java/org/apache/hupa/client/gin/MyGinjector.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/gin/MyGinjector.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/gin/MyGinjector.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/gin/MyGinjector.java Sat Jul 11 16:38:16 2009
@@ -21,13 +21,11 @@
 import net.customware.gwt.dispatch.client.gin.ClientDispatchModule;
 
 import org.apache.hupa.client.mvp.AppPresenter;
-import org.apache.hupa.client.mvp.AppView;
 
 import com.google.gwt.inject.client.GinModules;
 import com.google.gwt.inject.client.Ginjector;
 
 @GinModules({ClientDispatchModule.class,MyClientModule.class})
 public interface MyGinjector extends Ginjector {
-	public AppView getAppView();
 	public AppPresenter getAppPresenter();
 }

Modified: labs/hupa/src/main/java/org/apache/hupa/client/mvp/AppPresenter.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/mvp/AppPresenter.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/mvp/AppPresenter.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/mvp/AppPresenter.java Sat Jul 11 16:38:16 2009
@@ -20,43 +20,51 @@
 
 package org.apache.hupa.client.mvp;
 
-import org.apache.hupa.client.events.EventBus;
-import org.apache.hupa.client.events.LoginEvent;
-import org.apache.hupa.client.events.LoginEventHandler;
-import org.apache.hupa.client.events.LogoutEvent;
-import org.apache.hupa.client.events.LogoutEventHandler;
+import org.apache.hupa.client.rpc.EventBus;
+import org.apache.hupa.shared.events.LoginEvent;
+import org.apache.hupa.shared.events.LoginEventHandler;
+import org.apache.hupa.shared.events.LogoutEvent;
+import org.apache.hupa.shared.events.LogoutEventHandler;
 
+import com.google.gwt.user.client.ui.HasWidgets;
 import com.google.inject.Inject;
 
 public class AppPresenter {
 
-	public interface Display {
-		public void showLogin();
-		public void showMain();
-	}
+	private EventBus bus;
+	private HasWidgets container;
+	private LoginPresenter loginPresenter;
+	private MainPresenter mainPresenter;
 
-	private Display display;
-	
 	@Inject
-	public AppPresenter(EventBus bus) {
+	public AppPresenter(final EventBus bus, LoginPresenter loginPresenter, MainPresenter mainPresenter) {
+		this.bus = bus;
+		this.loginPresenter = loginPresenter;
+		this.mainPresenter = mainPresenter;
+		bindHandlers();
+	}
+	
+	private void bindHandlers() {
 		bus.addHandler(LoginEvent.TYPE, new LoginEventHandler() {
 
 			public void onLogin(LoginEvent event) {
-				display.showMain();
+				container.clear();
+				mainPresenter.go(container);
 			}
 			
 		});
 		bus.addHandler(LogoutEvent.TYPE, new LogoutEventHandler() {
 
 			public void onLogout(LogoutEvent event) {
-				display.showLogin();
+				container.clear();
+				loginPresenter.go(container);
 			}
 			
 		});
 	}
 	
-	public void bind(Display display) {
-		this.display = display;
-		display.showLogin();
+	public void go(HasWidgets container) {
+		this.container = container;
+		loginPresenter.go(container);
 	}
 }

Copied: labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListPresenter.java (from r792876, labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessagePresenter.java)
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListPresenter.java?p2=labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListPresenter.java&p1=labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessagePresenter.java&r1=792876&r2=793196&rev=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessagePresenter.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListPresenter.java Sat Jul 11 16:38:16 2009
@@ -1,18 +1,22 @@
 package org.apache.hupa.client.mvp;
 
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPUser;
-import org.apache.hupa.client.events.EventBus;
-import org.apache.hupa.client.events.LoadMessagesEvent;
-import org.apache.hupa.client.events.LoadMessagesEventHandler;
+import org.apache.hupa.client.rpc.EventBus;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPUser;
+import org.apache.hupa.shared.events.LoadMessagesEvent;
+import org.apache.hupa.shared.events.LoadMessagesEventHandler;
+import org.apache.hupa.shared.events.LoginEvent;
+import org.apache.hupa.shared.events.LoginEventHandler;
 
 import com.google.gwt.gen2.table.event.client.HasPageLoadHandlers;
 import com.google.gwt.gen2.table.event.client.HasRowSelectionHandlers;
 import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
 import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
+import com.google.gwt.user.client.ui.HasWidgets;
+import com.google.gwt.user.client.ui.Widget;
 import com.google.inject.Inject;
 
-public class IMAPMessagePresenter {
+public class IMAPMessageListPresenter {
 	
 	public interface Display {
 		public HasRowSelectionHandlers getDataTableSelection();
@@ -20,7 +24,7 @@
 		public void reloadData(IMAPUser user, IMAPFolder folder,String searchValue);
 	}
 
-
+	
 	private Display display;	
 	private EventBus bus;
 	protected IMAPUser user;
@@ -28,9 +32,11 @@
 	protected String searchValue;
 	
 	@Inject
-	public IMAPMessagePresenter(EventBus bus) {
+	public IMAPMessageListPresenter(EventBus bus,IMAPMessageListPresenter.Display display) {
 		this.bus = bus;
+		this.display = display;
 		bindHandlers();
+		bind(display);
 	}
 	
 	private void bindHandlers() {
@@ -44,17 +50,33 @@
 			}
 			
 		});
+		bus.addHandler(LoginEvent.TYPE, new LoginEventHandler() {
+
+			public void onLogin(LoginEvent event) {
+				display.reloadData(event.getUser(), new IMAPFolder(IMAPFolder.DEFAULT_INBOX), null);
+			}
+
+			
+		});
 	}
+	
 	public void bind(final Display display) {
 		this.display = display;
+		updateDisplay();
+	}
+	
+	private void updateDisplay() {
 		display.getDataTableSelection().addRowSelectionHandler(new RowSelectionHandler() {
 
 			public void onRowSelection(RowSelectionEvent event) {
-				// TODO Auto-generated method stub
-				
 			}
 			
 		});
 	}
+	
+	public void go(HasWidgets w) {
+		w.add((Widget)display);
+	}
+	
 
 }

Copied: labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java (from r792876, labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageView.java)
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java?p2=labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java&p1=labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageView.java&r1=792876&r2=793196&rev=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageView.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageListView.java Sat Jul 11 16:38:16 2009
@@ -28,16 +28,18 @@
 
 import org.apache.hupa.client.HupaConstants;
 import org.apache.hupa.client.bundles.MyPagingOptionImages;
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPMessage;
-import org.apache.hupa.client.data.IMAPUser;
-import org.apache.hupa.client.events.EventBus;
-import org.apache.hupa.client.events.MessagesReceivedEvent;
-import org.apache.hupa.client.mvp.IMAPMessagePresenter.Display;
+import org.apache.hupa.client.mvp.IMAPMessageListPresenter.Display;
+import org.apache.hupa.client.rpc.EventBus;
 import org.apache.hupa.client.rpc.FetchMessages;
 import org.apache.hupa.client.rpc.FetchMessagesResult;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPMessage;
+import org.apache.hupa.shared.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPMessage.IMAPFlag;
+import org.apache.hupa.shared.events.MessagesReceivedEvent;
 import org.cobogw.gwt.user.client.ui.Button;
 import org.cobogw.gwt.user.client.ui.ButtonBar;
+import org.cobogw.gwt.user.client.ui.Rating;
 
 import com.google.gwt.core.client.GWT;
 import com.google.gwt.event.logical.shared.ResizeEvent;
@@ -76,7 +78,7 @@
 import com.google.gwt.user.client.ui.VerticalPanel;
 import com.google.inject.Inject;
 
-public class IMAPMessageView extends Composite implements Display{
+public class IMAPMessageListView extends Composite implements Display{
 
 	private HupaConstants constants = GWT.create(HupaConstants.class);
 	private DispatchAsync dispatcher;
@@ -88,12 +90,10 @@
 	private EventBus bus;
 	
 	@Inject
-	public IMAPMessageView(DispatchAsync dispatcher,EventBus bus) {
+	public IMAPMessageListView(DispatchAsync dispatcher,EventBus bus) {
 		this.bus = bus;
 		this.dispatcher = dispatcher;
 		
-		
-		
 		VerticalPanel vPanel = new VerticalPanel();
 
 		
@@ -102,6 +102,8 @@
 				createHeaderTable(),
 				createTableDefinitation());
 		mailTable.setPageSize(20);
+		
+		
 		HTML emptyTable = new HTML("There is no data to display");
 		emptyTable.setHorizontalAlignment(HTML.ALIGN_CENTER);
 		emptyTable.setHeight("600px");
@@ -202,6 +204,24 @@
 	private List<ColumnDefinition<IMAPMessage, ?>> createColumnDefinitionList() {
 		List<ColumnDefinition<IMAPMessage, ?>> cList = new ArrayList<ColumnDefinition<IMAPMessage, ?>>();
 
+		QuickMarkColumnDefination quickMark = new QuickMarkColumnDefination();
+		quickMark.setCellRenderer(new CellRenderer<IMAPMessage, IMAPFlag>() {
+
+			public void renderRowValue(IMAPMessage rowValue,
+					ColumnDefinition<IMAPMessage, IMAPFlag> columnDef,
+					AbstractCellView<IMAPMessage> view) {
+				Rating markWidget = new Rating(0,1);
+				//markWidget.setSelectedVisibileOnHover(true);
+				markWidget.setReadOnly(false);
+				view.setWidget(markWidget);
+			}
+			
+		});
+		quickMark.setMinimumColumnWidth(15);
+		quickMark.setPreferredColumnWidth(20);
+		quickMark.setMaximumColumnWidth(30);
+		cList.add(quickMark);
+		
 		FromColumnDefination from = new FromColumnDefination();
 		from.setColumnTruncatable(true);
 		from.setPreferredColumnWidth(250);
@@ -227,12 +247,14 @@
 					ColumnDefinition<IMAPMessage, Date> columnDef,
 					AbstractCellView<IMAPMessage> view) {
 				view.setHTML(DateTimeFormat.getShortTimeFormat().format(rowValue.getIMAPHeader().getReceivedDate()));
+				view.setHorizontalAlignment(HorizontalPanel.ALIGN_RIGHT);
 			}
 			
 		});
 		date.setPreferredColumnWidth(100);
 		date.setMinimumColumnWidth(50);
 		date.setMaximumColumnWidth(150);
+		
 		cList.add(date);
 		
 		return cList;
@@ -256,6 +278,7 @@
 					
 				});
 			}
+			
 			dispatcher.execute(new FetchMessages(user,folder,request.getStartRow(),request.getStartRow() + request.getNumRows(),searchValue), new AsyncCallback<FetchMessagesResult>() {
 
 				public void onFailure(Throwable caught) {
@@ -282,6 +305,19 @@
 		
 	}
 
+	private final class QuickMarkColumnDefination extends AbstractColumnDefinition<IMAPMessage, IMAPFlag> {
+
+		@Override
+		public IMAPFlag getCellValue(IMAPMessage rowValue) {
+			return null;
+		}
+
+		@Override
+		public void setCellValue(IMAPMessage rowValue, IMAPFlag cellValue) {
+		}
+		
+	}
+	
 	private final class FromColumnDefination extends AbstractColumnDefinition<IMAPMessage, String> {
 
 		@Override

Modified: labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessagePresenter.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessagePresenter.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessagePresenter.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessagePresenter.java Sat Jul 11 16:38:16 2009
@@ -1,60 +1,56 @@
-package org.apache.hupa.client.mvp;
-
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPUser;
-import org.apache.hupa.client.events.EventBus;
-import org.apache.hupa.client.events.LoadMessagesEvent;
-import org.apache.hupa.client.events.LoadMessagesEventHandler;
-
-import com.google.gwt.gen2.table.event.client.HasPageLoadHandlers;
-import com.google.gwt.gen2.table.event.client.HasRowSelectionHandlers;
-import com.google.gwt.gen2.table.event.client.RowSelectionEvent;
-import com.google.gwt.gen2.table.event.client.RowSelectionHandler;
-import com.google.inject.Inject;
-
-public class IMAPMessagePresenter {
-	
-	public interface Display {
-		public HasRowSelectionHandlers getDataTableSelection();
-		public HasPageLoadHandlers getDataTableLoad();
-		public void reloadData(IMAPUser user, IMAPFolder folder,String searchValue);
-	}
-
-
-	private Display display;	
-	private EventBus bus;
-	protected IMAPUser user;
-	protected IMAPFolder folder;
-	protected String searchValue;
-	
-	@Inject
-	public IMAPMessagePresenter(EventBus bus) {
-		this.bus = bus;
-		bindHandlers();
-	}
-	
-	private void bindHandlers() {
-		bus.addHandler(LoadMessagesEvent.TYPE, new LoadMessagesEventHandler() {
-
-			public void onLoadMessagesEvent(LoadMessagesEvent loadMessagesEvent) {
-				user = loadMessagesEvent.getUser();
-				folder = loadMessagesEvent.getFolder();
-				searchValue = loadMessagesEvent.getSearchValue();
-				display.reloadData(user, folder, searchValue);
-			}
-			
-		});
-	}
-	public void bind(final Display display) {
-		this.display = display;
-		display.getDataTableSelection().addRowSelectionHandler(new RowSelectionHandler() {
-
-			public void onRowSelection(RowSelectionEvent event) {
-				// TODO Auto-generated method stub
-				
-			}
-			
-		});
-	}
-
-}
+package org.apache.hupa.client.mvp;
+
+import net.customware.gwt.dispatch.client.DispatchAsync;
+
+import org.apache.hupa.client.rpc.EventBus;
+import org.apache.hupa.shared.data.IMAPMessage;
+
+import com.google.gwt.user.client.ui.HasHTML;
+import com.google.gwt.user.client.ui.HasText;
+import com.google.gwt.user.client.ui.HasWidgets;
+import com.google.gwt.user.client.ui.Widget;
+import com.google.inject.Inject;
+
+public class IMAPMessagePresenter {
+
+	public interface Display {
+		public HasText getFrom();
+
+		public HasText getTo();
+
+		public HasText getCc();
+
+		public HasText getSubject();
+
+		public HasHTML getContent();
+	}
+
+
+	private IMAPMessage message;
+	private EventBus bus;
+	private DispatchAsync dispatcher;
+
+	@Inject
+	private IMAPMessagePresenter(DispatchAsync dispatcher, EventBus bus,IMAPMessagePresenter.Display display) {
+		this.dispatcher = dispatcher;
+		this.bus = bus;
+		bind(display);
+	}
+
+	private Display display;
+
+	public void bind(Display display) {
+		this.display = display;
+	}
+
+	private void updateDisplay() {
+		display.getFrom().setText(message.getIMAPHeader().getFrom());
+		display.getCc().setText(message.getIMAPHeader().getCc());
+		display.getSubject().setText(message.getIMAPHeader().getSubject());
+		display.getContent().setHTML(message.getIMAPMessageContent().getText());
+	}
+
+	public void go(HasWidgets w) {
+		w.add((Widget) display);
+	}
+}

Copied: labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageView.java (from r792169, labs/hupa/src/main/java/org/apache/hupa/client/widgets/IMAPMessageWidget.java)
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageView.java?p2=labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageView.java&p1=labs/hupa/src/main/java/org/apache/hupa/client/widgets/IMAPMessageWidget.java&r1=792169&r2=793196&rev=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/widgets/IMAPMessageWidget.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/mvp/IMAPMessageView.java Sat Jul 11 16:38:16 2009
@@ -17,25 +17,29 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.widgets;
+package org.apache.hupa.client.mvp;
 
+import org.apache.hupa.client.HupaConstants;
+import org.apache.hupa.client.mvp.IMAPMessagePresenter.Display;
 import org.cobogw.gwt.user.client.ui.Button;
 import org.cobogw.gwt.user.client.ui.ButtonBar;
 
-import org.apache.hupa.client.HupaConstants;
-import org.apache.hupa.client.data.IMAPMessage;
-
 import com.google.gwt.core.client.GWT;
-import com.google.gwt.event.dom.client.ClickHandler;
-import com.google.gwt.event.shared.HandlerRegistration;
 import com.google.gwt.user.client.ui.Composite;
 import com.google.gwt.user.client.ui.Grid;
 import com.google.gwt.user.client.ui.HTML;
+import com.google.gwt.user.client.ui.HasHTML;
+import com.google.gwt.user.client.ui.HasText;
+import com.google.gwt.user.client.ui.Label;
 import com.google.gwt.user.client.ui.ScrollPanel;
 import com.google.gwt.user.client.ui.VerticalPanel;
 
-public class IMAPMessageWidget extends Composite {
+public class IMAPMessageView extends Composite implements Display{
 	private Grid detailGrid = new Grid(4, 2);
+	private Label from = new Label();
+	private Label cc = new Label();
+	private Label to = new Label();
+	private Label subject = new Label();
 	private HTML msgArea = new HTML();
 	private Button deleteMsgButton = new Button();
 	private Button replyMsgButton = new Button();
@@ -45,7 +49,7 @@
 	public final static int REPLY_BUTTON = 1;
 	public final static int REPLY_ALL_BUTTON = 2;
 
-	public IMAPMessageWidget() {
+	public IMAPMessageView() {
 		VerticalPanel mPanel = new VerticalPanel();
 		mPanel.setWidth("100%");
 		mPanel.setSpacing(5);
@@ -86,27 +90,24 @@
 		initWidget(mPanel);
 	}
 
-	public void setIMAPMessage(IMAPMessage msg) {
-		detailGrid.setText(0, 1, msg.getIMAPHeader().getFrom());
-		detailGrid.setText(1, 1, msg.getIMAPHeader().getTo());
-		detailGrid.setText(2, 1, msg.getIMAPHeader().getCc());
-		detailGrid.setText(3, 1, msg.getIMAPHeader().getSubject());
-		msgArea.setHTML(msg.getIMAPMessageContent().getText());
+	public HasText getCc() {
+		return cc;
+	}
+
+	public HasHTML getContent() {
+		return msgArea;
+	}
+
+	public HasText getFrom() {
+		return from;
+	}
 
+	public HasText getSubject() {
+		return subject;
 	}
 
-	public HandlerRegistration addClickHandler(int buttonId,
-			ClickHandler handler) {
-		switch (buttonId) {
-		case DELETE_BUTTON:
-			return deleteMsgButton.addClickHandler(handler);
-		case REPLY_BUTTON:
-			return replyMsgButton.addClickHandler(handler);
-		case REPLY_ALL_BUTTON:
-			return replyAllMsgButton.addClickHandler(handler);
-		default:
-			throw new IllegalArgumentException("Unknown Button id " + buttonId);
-		}
+	public HasText getTo() {
+		return to;
 	}
 
 }

Modified: labs/hupa/src/main/java/org/apache/hupa/client/mvp/LoginPresenter.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/mvp/LoginPresenter.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/mvp/LoginPresenter.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/mvp/LoginPresenter.java Sat Jul 11 16:38:16 2009
@@ -22,10 +22,10 @@
 import net.customware.gwt.dispatch.client.DispatchAsync;
 
 import org.apache.hupa.client.HupaConstants;
-import org.apache.hupa.client.events.EventBus;
-import org.apache.hupa.client.events.LoginEvent;
+import org.apache.hupa.client.rpc.EventBus;
 import org.apache.hupa.client.rpc.LoginUser;
 import org.apache.hupa.client.rpc.LoginUserResult;
+import org.apache.hupa.shared.events.LoginEvent;
 
 import com.google.gwt.core.client.GWT;
 import com.google.gwt.event.dom.client.ClickEvent;
@@ -35,6 +35,8 @@
 import com.google.gwt.user.client.rpc.AsyncCallback;
 import com.google.gwt.user.client.ui.HasText;
 import com.google.gwt.user.client.ui.HasValue;
+import com.google.gwt.user.client.ui.HasWidgets;
+import com.google.gwt.user.client.ui.Widget;
 import com.google.inject.Inject;
 
 public class LoginPresenter {
@@ -51,13 +53,16 @@
 	}
 	
 	private DispatchAsync dispatcher;
-	private Display display;
+	private LoginPresenter.Display display;
 	private EventBus bus;
 	
 	@Inject
-	public LoginPresenter(DispatchAsync dispatcher,EventBus bus) {
+	public LoginPresenter(DispatchAsync dispatcher,EventBus bus,LoginPresenter.Display display) {
 		this.dispatcher = dispatcher;
 		this.bus = bus;
+		this.display = display;
+		
+		bind(display);
 	}
 	
 	/**
@@ -111,4 +116,7 @@
 		display.getErrorText().setText("");
 	}
 
+	public void go(HasWidgets container) {
+		container.add((Widget)display);
+	}
 }

Modified: labs/hupa/src/main/java/org/apache/hupa/client/mvp/LoginView.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/mvp/LoginView.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/mvp/LoginView.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/mvp/LoginView.java Sat Jul 11 16:38:16 2009
@@ -22,6 +22,7 @@
 import org.apache.hupa.client.HupaConstants;
 import org.cobogw.gwt.user.client.ui.Button;
 import org.cobogw.gwt.user.client.ui.ButtonBar;
+import org.cobogw.gwt.user.client.ui.RoundedPanel;
 
 import com.google.gwt.core.client.GWT;
 import com.google.gwt.event.dom.client.HasClickHandlers;
@@ -54,6 +55,7 @@
     private int minPasswordLength = 1;
 
     public LoginView() {
+    
     	VerticalPanel vPanel = new VerticalPanel();
         vPanel.setSpacing(5);
         vPanel.setWidth("100%");
@@ -67,6 +69,9 @@
         vPanel.add(header);
         vPanel.setCellHorizontalAlignment(header, VerticalPanel.ALIGN_LEFT);
 
+        VerticalPanel formPanel = new VerticalPanel();
+        formPanel.setHorizontalAlignment(VerticalPanel.ALIGN_CENTER);
+        formPanel.setSpacing(5);
         Grid grid = new Grid(3, 2);
 
         grid.setText(0, 0, constants.usernameLabel());
@@ -82,7 +87,7 @@
         passwordTextBox.addKeyUpHandler(this);
         passwordTextBox.setWidth("150px");
 
-        vPanel.add(grid);
+        formPanel.add(grid);
         ButtonBar buttonBar = new ButtonBar();
 
         buttonBar.add(loginButton);
@@ -91,11 +96,17 @@
         loginButton.setEnabled(false);
        
 
-        vPanel.add(buttonBar);
+        formPanel.add(buttonBar);
         
         errorLabel.setStyleName("hupa-ErrorLabel");
-        vPanel.add(errorLabel);
- 
+        formPanel.add(errorLabel);
+        
+    	RoundedPanel rPanel = new RoundedPanel(RoundedPanel.ALL,2);
+    	rPanel.setWidth("250px");
+    	rPanel.setBorderColor("#C3D9FF");
+        rPanel.add(formPanel);
+        vPanel.add(rPanel);
+        
         initWidget(vPanel);
     }
 
@@ -126,15 +137,7 @@
         }
         
     }
-    
-
-    
-    public void go(Panel panel) {
-        panel.clear();
-        panel.add(this);
-    }
-
-
+ 
 
 	public HasText getErrorText() {
 		return errorLabel;

Modified: labs/hupa/src/main/java/org/apache/hupa/client/mvp/MainPresenter.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/mvp/MainPresenter.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/mvp/MainPresenter.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/mvp/MainPresenter.java Sat Jul 11 16:38:16 2009
@@ -7,22 +7,22 @@
 
 import net.customware.gwt.dispatch.client.DispatchAsync;
 
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPMessage;
-import org.apache.hupa.client.data.IMAPUser;
-import org.apache.hupa.client.events.EventBus;
-import org.apache.hupa.client.events.LoadMessagesEvent;
-import org.apache.hupa.client.events.LoginEvent;
-import org.apache.hupa.client.events.LoginEventHandler;
-import org.apache.hupa.client.events.LogoutEvent;
-import org.apache.hupa.client.events.LogoutEventHandler;
-import org.apache.hupa.client.events.MessagesReceivedEvent;
-import org.apache.hupa.client.events.MessagesReceivedEventHandler;
+import org.apache.hupa.client.rpc.EventBus;
 import org.apache.hupa.client.rpc.FetchFolders;
 import org.apache.hupa.client.rpc.FetchFoldersResult;
 import org.apache.hupa.client.rpc.LogoutUser;
 import org.apache.hupa.client.rpc.LogoutUserResult;
 import org.apache.hupa.client.widgets.IMAPTreeItem;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPMessage;
+import org.apache.hupa.shared.data.IMAPUser;
+import org.apache.hupa.shared.events.LoadMessagesEvent;
+import org.apache.hupa.shared.events.LoginEvent;
+import org.apache.hupa.shared.events.LoginEventHandler;
+import org.apache.hupa.shared.events.LogoutEvent;
+import org.apache.hupa.shared.events.LogoutEventHandler;
+import org.apache.hupa.shared.events.MessagesReceivedEvent;
+import org.apache.hupa.shared.events.MessagesReceivedEventHandler;
 
 import com.google.gwt.core.client.GWT;
 import com.google.gwt.event.dom.client.ClickEvent;
@@ -33,7 +33,9 @@
 import com.google.gwt.event.logical.shared.SelectionHandler;
 import com.google.gwt.user.client.rpc.AsyncCallback;
 import com.google.gwt.user.client.ui.HasValue;
+import com.google.gwt.user.client.ui.HasWidgets;
 import com.google.gwt.user.client.ui.TreeItem;
+import com.google.gwt.user.client.ui.Widget;
 import com.google.gwt.user.client.ui.HTMLTable.Cell;
 import com.google.inject.Inject;
 
@@ -47,6 +49,7 @@
 		public void bindTreeItems(List<IMAPTreeItem> treeList);
 		public HasClickHandlers getSearchClick();
 		public HasValue<String> getSearchValue();
+		public HasWidgets getCenterContainer();
 		public void fillOracle(ArrayList<IMAPMessage> messages);
 	}
 	
@@ -57,12 +60,20 @@
 	private IMAPFolder folder;
 	
 	protected Cell cell;
+	private IMAPMessageListPresenter messageListPresenter;
+	private IMAPMessagePresenter messagePresenter;
+	
 	
 	@Inject
-	public MainPresenter(DispatchAsync dispatcher, EventBus bus) {
+	public MainPresenter(DispatchAsync dispatcher, EventBus bus,MainPresenter.Display display,IMAPMessageListPresenter messageListPresenter, IMAPMessagePresenter messagePresenter) {
 		this.bus = bus;
 		this.dispatcher = dispatcher;
+		this.messageListPresenter = messageListPresenter;
+		this.messagePresenter = messagePresenter;
+		this.display = display;
+		
 		bindHandler();
+		bind(display);
 	}
 	
 	private void bindHandler() {
@@ -169,6 +180,7 @@
 			public void onSelection(SelectionEvent<TreeItem> event) {
 				TreeItem item = event.getSelectedItem();
 				folder = (IMAPFolder) item.getUserObject();
+				GWT.log("HERE", null);
 				bus.fireEvent(new LoadMessagesEvent(user,folder));
 			}
 			
@@ -189,9 +201,24 @@
 	}
 
 
+	private void showMessageTable() {
+		display.getCenterContainer().clear();
+		messageListPresenter.go(display.getCenterContainer());
+	}
+	
+	private void showMessage(IMAPMessage message) {
+		display.getCenterContainer().clear();
+		messagePresenter.go(display.getCenterContainer());
+	}
+	
+	
 	private void reset() {
-		//display.bindMessages(new ArrayList<IMAPMessage>());
 		display.getSearchValue().setValue("");
 		display.bindTreeItems(new ArrayList<IMAPTreeItem>());
 	}
+	
+	public void go(HasWidgets w) {
+		w.add((Widget)display);
+		showMessageTable();
+	}
 }

Modified: labs/hupa/src/main/java/org/apache/hupa/client/mvp/MainView.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/mvp/MainView.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/mvp/MainView.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/mvp/MainView.java Sat Jul 11 16:38:16 2009
@@ -5,9 +5,9 @@
 
 import org.apache.hupa.client.HupaConstants;
 import org.apache.hupa.client.bundles.IMAPTreeImages;
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPMessage;
 import org.apache.hupa.client.widgets.IMAPTreeItem;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPMessage;
 import org.cobogw.gwt.user.client.ui.Button;
 import org.cobogw.gwt.user.client.ui.RoundedPanel;
 
@@ -20,6 +20,7 @@
 import com.google.gwt.user.client.ui.Composite;
 import com.google.gwt.user.client.ui.DockPanel;
 import com.google.gwt.user.client.ui.HasValue;
+import com.google.gwt.user.client.ui.HasWidgets;
 import com.google.gwt.user.client.ui.HorizontalPanel;
 import com.google.gwt.user.client.ui.Label;
 import com.google.gwt.user.client.ui.MultiWordSuggestOracle;
@@ -44,12 +45,11 @@
 
 	private Button logoutButton = new Button(constants.logoutButton());
 	private RoundedPanel center;
-	private IMAPMessageView messageView;
+	private IMAPMessageListView mListView;
 	
 	@Inject
-	public MainView(IMAPMessageView messageView,IMAPMessagePresenter presenter) {
-		this.messageView = messageView;
-		presenter.bind(messageView);
+	public MainView() {
+		
 		dockPanel = new DockPanel();
 		
 		dockPanel.setSpacing(10);
@@ -122,7 +122,7 @@
 	private void createCenter() {
 		center = new RoundedPanel(RoundedPanel.ALL, 1);
 		center.setBorderColor("#C3D9FF");
-		center.add(messageView);
+		center.add(mListView);
 
 	}
 
@@ -148,11 +148,9 @@
 		
 		for (int i = 0; i < treeList.size(); i++) {
 			IMAPTreeItem item = treeList.get(i);
-			IMAPFolder folder = (IMAPFolder)item.getUserObject();
 			folderTree.addItem(item);
-
-			if (folder.getFullName().equalsIgnoreCase("INBOX")) {
-				folderTree.setSelectedItem(item);
+			if (((IMAPFolder) item.getUserObject()).getFullName().equalsIgnoreCase(IMAPFolder.DEFAULT_INBOX)) {
+				folderTree.setSelectedItem(item, false);
 			}
 		}
 	}
@@ -164,4 +162,8 @@
 		}
 		searchBox.setText("");
 	}
+
+	public HasWidgets getCenterContainer() {
+		return center;
+	}
 }

Added: labs/hupa/src/main/java/org/apache/hupa/client/rpc/CachedDispatcher.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/rpc/CachedDispatcher.java?rev=793196&view=auto
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/rpc/CachedDispatcher.java (added)
+++ labs/hupa/src/main/java/org/apache/hupa/client/rpc/CachedDispatcher.java Sat Jul 11 16:38:16 2009
@@ -0,0 +1,52 @@
+package org.apache.hupa.client.rpc;
+
+import java.util.HashMap;
+import java.util.Map;
+
+
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.user.client.rpc.AsyncCallback;
+
+import net.customware.gwt.dispatch.client.DispatchAsync;
+import net.customware.gwt.dispatch.shared.Action;
+import net.customware.gwt.dispatch.shared.Result;
+
+public class CachedDispatcher implements DispatchAsync {
+
+	private DispatchAsync dispatcher;
+	private Map<Action, Result> cache = new HashMap<Action, Result>();
+	private int seconds = 300;
+
+	public CachedDispatcher(DispatchAsync dispatcher) {
+		this.dispatcher = dispatcher;
+	}
+
+	public void setCacheTime(int seconds) {
+		this.seconds = seconds;
+	}
+
+	public <A extends Action<R>, R extends Result> void execute(final A action,
+			final AsyncCallback<R> callback) {
+		R cachedResult = (R) cache.get(action);
+
+		GWT.log("CACHED="+cachedResult, null);
+		if (cachedResult != null) {
+			callback.onSuccess(cachedResult);
+		} else {
+
+			dispatcher.execute(action, new AsyncCallback<R>() {
+
+				public void onFailure(Throwable caught) {
+					callback.onFailure(caught);
+				}
+
+				public void onSuccess(R result) {
+					cache.put(action, result);
+					callback.onSuccess(result);
+				}
+
+			});
+		}
+	}
+
+}

Copied: labs/hupa/src/main/java/org/apache/hupa/client/rpc/EventBus.java (from r792876, labs/hupa/src/main/java/org/apache/hupa/client/events/EventBus.java)
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/rpc/EventBus.java?p2=labs/hupa/src/main/java/org/apache/hupa/client/rpc/EventBus.java&p1=labs/hupa/src/main/java/org/apache/hupa/client/events/EventBus.java&r1=792876&r2=793196&rev=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/events/EventBus.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/rpc/EventBus.java Sat Jul 11 16:38:16 2009
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations      *
  * under the License.                                           *
  ****************************************************************/
-package org.apache.hupa.client.events;
+package org.apache.hupa.client.rpc;
 
 import com.google.gwt.event.shared.HandlerManager;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/client/rpc/ExposeMessage.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/rpc/ExposeMessage.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/rpc/ExposeMessage.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/rpc/ExposeMessage.java Sat Jul 11 16:38:16 2009
@@ -20,9 +20,9 @@
 
 package org.apache.hupa.client.rpc;
 
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPMessage;
-import org.apache.hupa.client.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPMessage;
+import org.apache.hupa.shared.data.IMAPUser;
 
 import net.customware.gwt.dispatch.shared.Action;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/client/rpc/ExposeMessageResult.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/rpc/ExposeMessageResult.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/rpc/ExposeMessageResult.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/rpc/ExposeMessageResult.java Sat Jul 11 16:38:16 2009
@@ -19,7 +19,7 @@
 
 package org.apache.hupa.client.rpc;
 
-import org.apache.hupa.client.data.IMAPMessage;
+import org.apache.hupa.shared.data.IMAPMessage;
 
 import net.customware.gwt.dispatch.shared.Result;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchFolders.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchFolders.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchFolders.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchFolders.java Sat Jul 11 16:38:16 2009
@@ -19,7 +19,7 @@
 
 package org.apache.hupa.client.rpc;
 
-import org.apache.hupa.client.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPUser;
 
 import net.customware.gwt.dispatch.shared.Action;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchFoldersResult.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchFoldersResult.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchFoldersResult.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchFoldersResult.java Sat Jul 11 16:38:16 2009
@@ -21,7 +21,7 @@
 
 import java.util.ArrayList;
 
-import org.apache.hupa.client.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPFolder;
 
 import net.customware.gwt.dispatch.shared.Result;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchMessages.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchMessages.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchMessages.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchMessages.java Sat Jul 11 16:38:16 2009
@@ -21,8 +21,8 @@
 
 import net.customware.gwt.dispatch.shared.Action;
 
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPUser;
 
 public class FetchMessages  implements Action<FetchMessagesResult>{
 	

Modified: labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchMessagesResult.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchMessagesResult.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchMessagesResult.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/rpc/FetchMessagesResult.java Sat Jul 11 16:38:16 2009
@@ -21,7 +21,7 @@
 
 import java.util.ArrayList;
 
-import org.apache.hupa.client.data.IMAPMessage;
+import org.apache.hupa.shared.data.IMAPMessage;
 /****************************************************************
  * Licensed to the Apache Software Foundation (ASF) under one   *
  * or more contributor license agreements.  See the NOTICE file *

Modified: labs/hupa/src/main/java/org/apache/hupa/client/rpc/LoginUserResult.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/rpc/LoginUserResult.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/rpc/LoginUserResult.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/rpc/LoginUserResult.java Sat Jul 11 16:38:16 2009
@@ -19,7 +19,7 @@
 
 package org.apache.hupa.client.rpc;
 
-import org.apache.hupa.client.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPUser;
 
 import net.customware.gwt.dispatch.shared.Result;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/client/rpc/LogoutUser.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/rpc/LogoutUser.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/rpc/LogoutUser.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/rpc/LogoutUser.java Sat Jul 11 16:38:16 2009
@@ -19,7 +19,7 @@
 
 package org.apache.hupa.client.rpc;
 
-import org.apache.hupa.client.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPUser;
 
 import net.customware.gwt.dispatch.shared.Action;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/client/rpc/LogoutUserResult.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/rpc/LogoutUserResult.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/rpc/LogoutUserResult.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/rpc/LogoutUserResult.java Sat Jul 11 16:38:16 2009
@@ -19,7 +19,7 @@
 
 package org.apache.hupa.client.rpc;
 
-import org.apache.hupa.client.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPUser;
 
 import net.customware.gwt.dispatch.shared.Result;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/client/services/IMAPService.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/services/IMAPService.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/services/IMAPService.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/services/IMAPService.java Sat Jul 11 16:38:16 2009
@@ -21,10 +21,10 @@
 
 import java.util.ArrayList;
 
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPMessage;
-import org.apache.hupa.client.data.IMAPUser;
-import org.apache.hupa.client.data.ResultList;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPMessage;
+import org.apache.hupa.shared.data.IMAPUser;
+import org.apache.hupa.shared.data.ResultList;
 
 import com.google.gwt.user.client.rpc.RemoteService;
 import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

Modified: labs/hupa/src/main/java/org/apache/hupa/client/services/IMAPServiceAsync.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/services/IMAPServiceAsync.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/services/IMAPServiceAsync.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/services/IMAPServiceAsync.java Sat Jul 11 16:38:16 2009
@@ -21,10 +21,10 @@
 
 import java.util.List;
 
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPMessage;
-import org.apache.hupa.client.data.IMAPUser;
-import org.apache.hupa.client.data.ResultList;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPMessage;
+import org.apache.hupa.shared.data.IMAPUser;
+import org.apache.hupa.shared.data.ResultList;
 
 import com.google.gwt.user.client.rpc.AsyncCallback;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/server/AbstractIMAPActionHandler.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/server/AbstractIMAPActionHandler.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/server/AbstractIMAPActionHandler.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/server/AbstractIMAPActionHandler.java Sat Jul 11 16:38:16 2009
@@ -21,7 +21,7 @@
 
 import java.io.IOException;
 
-import org.apache.hupa.client.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPUser;
 import org.columba.ristretto.imap.IMAPException;
 import org.columba.ristretto.imap.IMAPProtocol;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/server/ExposeMessageHandler.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/server/ExposeMessageHandler.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/server/ExposeMessageHandler.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/server/ExposeMessageHandler.java Sat Jul 11 16:38:16 2009
@@ -28,13 +28,13 @@
 import net.customware.gwt.dispatch.shared.ActionException;
 
 import org.apache.commons.lang.StringEscapeUtils;
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPMessage;
-import org.apache.hupa.client.data.IMAPMessageContent;
-import org.apache.hupa.client.data.IMAPUser;
-import org.apache.hupa.client.data.IMAPMessage.IMAPFlag;
 import org.apache.hupa.client.rpc.ExposeMessage;
 import org.apache.hupa.client.rpc.ExposeMessageResult;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPMessage;
+import org.apache.hupa.shared.data.IMAPMessageContent;
+import org.apache.hupa.shared.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPMessage.IMAPFlag;
 import org.columba.ristretto.coder.Base64DecoderInputStream;
 import org.columba.ristretto.coder.CharsetDecoderInputStream;
 import org.columba.ristretto.coder.QuotedPrintableDecoderInputStream;

Modified: labs/hupa/src/main/java/org/apache/hupa/server/FetchFoldersHandler.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/server/FetchFoldersHandler.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/server/FetchFoldersHandler.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/server/FetchFoldersHandler.java Sat Jul 11 16:38:16 2009
@@ -23,10 +23,10 @@
 import java.util.ArrayList;
 import java.util.List;
 
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPUser;
 import org.apache.hupa.client.rpc.FetchFolders;
 import org.apache.hupa.client.rpc.FetchFoldersResult;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPUser;
 import org.columba.ristretto.imap.IMAPException;
 import org.columba.ristretto.imap.IMAPProtocol;
 import org.columba.ristretto.imap.ListInfo;

Modified: labs/hupa/src/main/java/org/apache/hupa/server/FetchMessagesHandler.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/server/FetchMessagesHandler.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/server/FetchMessagesHandler.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/server/FetchMessagesHandler.java Sat Jul 11 16:38:16 2009
@@ -28,13 +28,13 @@
 import net.customware.gwt.dispatch.server.ExecutionContext;
 import net.customware.gwt.dispatch.shared.ActionException;
 
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPHeader;
-import org.apache.hupa.client.data.IMAPMessage;
-import org.apache.hupa.client.data.IMAPUser;
-import org.apache.hupa.client.data.IMAPMessage.IMAPFlag;
 import org.apache.hupa.client.rpc.FetchMessages;
 import org.apache.hupa.client.rpc.FetchMessagesResult;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPHeader;
+import org.apache.hupa.shared.data.IMAPMessage;
+import org.apache.hupa.shared.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPMessage.IMAPFlag;
 import org.columba.ristretto.imap.IMAPException;
 import org.columba.ristretto.imap.IMAPFlags;
 import org.columba.ristretto.imap.IMAPProtocol;

Modified: labs/hupa/src/main/java/org/apache/hupa/server/IMAPServiceImpl.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/server/IMAPServiceImpl.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/server/IMAPServiceImpl.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/server/IMAPServiceImpl.java Sat Jul 11 16:38:16 2009
@@ -29,13 +29,13 @@
 import java.util.List;
 
 import org.apache.commons.lang.StringEscapeUtils;
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPHeader;
-import org.apache.hupa.client.data.IMAPMessage;
-import org.apache.hupa.client.data.IMAPMessageContent;
-import org.apache.hupa.client.data.IMAPUser;
-import org.apache.hupa.client.data.ResultList;
-import org.apache.hupa.client.data.IMAPMessage.IMAPFlag;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPHeader;
+import org.apache.hupa.shared.data.IMAPMessage;
+import org.apache.hupa.shared.data.IMAPMessageContent;
+import org.apache.hupa.shared.data.IMAPUser;
+import org.apache.hupa.shared.data.ResultList;
+import org.apache.hupa.shared.data.IMAPMessage.IMAPFlag;
 import org.columba.ristretto.coder.Base64DecoderInputStream;
 import org.columba.ristretto.coder.CharsetDecoderInputStream;
 import org.columba.ristretto.coder.QuotedPrintableDecoderInputStream;

Modified: labs/hupa/src/main/java/org/apache/hupa/server/LoginUserHandler.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/server/LoginUserHandler.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/server/LoginUserHandler.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/server/LoginUserHandler.java Sat Jul 11 16:38:16 2009
@@ -25,9 +25,9 @@
 import net.customware.gwt.dispatch.server.ExecutionContext;
 import net.customware.gwt.dispatch.shared.ActionException;
 
-import org.apache.hupa.client.data.IMAPUser;
 import org.apache.hupa.client.rpc.LoginUser;
 import org.apache.hupa.client.rpc.LoginUserResult;
+import org.apache.hupa.shared.data.IMAPUser;
 import org.columba.ristretto.imap.IMAPException;
 import org.columba.ristretto.imap.IMAPProtocol;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/server/LogoutUserHandler.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/server/LogoutUserHandler.java?rev=793196&r1=793195&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/server/LogoutUserHandler.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/server/LogoutUserHandler.java Sat Jul 11 16:38:16 2009
@@ -23,9 +23,9 @@
 import net.customware.gwt.dispatch.server.ExecutionContext;
 import net.customware.gwt.dispatch.shared.ActionException;
 
-import org.apache.hupa.client.data.IMAPUser;
 import org.apache.hupa.client.rpc.LogoutUser;
 import org.apache.hupa.client.rpc.LogoutUserResult;
+import org.apache.hupa.shared.data.IMAPUser;
 
 public class LogoutUserHandler extends AbstractIMAPActionHandler<LogoutUser, LogoutUserResult> {
 

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPFolder.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPFolder.java?rev=793196&r1=792169&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPFolder.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPFolder.java Sat Jul 11 16:38:16 2009
@@ -17,7 +17,7 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.data;
+package org.apache.hupa.shared.data;
 
 import java.io.Serializable;
 import java.util.ArrayList;
@@ -29,6 +29,7 @@
 	 * 
 	 */
 	private static final long serialVersionUID = 2084188092060266479L;
+	public static final String DEFAULT_INBOX = "INBOX"; 
 	private List<IMAPFolder> childs = new ArrayList<IMAPFolder>();
 	private String fullName;
 	private String delimiter;

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPHeader.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPHeader.java?rev=793196&r1=792169&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPHeader.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPHeader.java Sat Jul 11 16:38:16 2009
@@ -17,7 +17,7 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.data;
+package org.apache.hupa.shared.data;
 
 import java.io.Serializable;
 import java.util.Date;

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessage.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessage.java?rev=793196&r1=792169&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessage.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessage.java Sat Jul 11 16:38:16 2009
@@ -17,7 +17,7 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.data;
+package org.apache.hupa.shared.data;
 
 import java.io.Serializable;
 import java.util.List;

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessageAttachment.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessageAttachment.java?rev=793196&r1=792169&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessageAttachment.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessageAttachment.java Sat Jul 11 16:38:16 2009
@@ -17,7 +17,7 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.data;
+package org.apache.hupa.shared.data;
 
 import java.io.Serializable;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessageContent.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessageContent.java?rev=793196&r1=792169&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessageContent.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPMessageContent.java Sat Jul 11 16:38:16 2009
@@ -17,7 +17,7 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.data;
+package org.apache.hupa.shared.data;
 
 import java.io.Serializable;
 import java.util.ArrayList;

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPUser.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPUser.java?rev=793196&r1=792169&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPUser.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/data/IMAPUser.java Sat Jul 11 16:38:16 2009
@@ -17,7 +17,7 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.data;
+package org.apache.hupa.shared.data;
 
 import java.io.Serializable;
 import java.util.Date;

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/data/ResultList.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/data/ResultList.java?rev=793196&r1=792169&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/data/ResultList.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/data/ResultList.java Sat Jul 11 16:38:16 2009
@@ -17,7 +17,7 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.data;
+package org.apache.hupa.shared.data;
 
 import java.util.ArrayList;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/events/LoadMessagesEvent.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/events/LoadMessagesEvent.java?rev=793196&r1=792876&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/events/LoadMessagesEvent.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/events/LoadMessagesEvent.java Sat Jul 11 16:38:16 2009
@@ -18,10 +18,10 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.events;
+package org.apache.hupa.shared.events;
 
-import org.apache.hupa.client.data.IMAPFolder;
-import org.apache.hupa.client.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPFolder;
+import org.apache.hupa.shared.data.IMAPUser;
 
 import com.google.gwt.event.shared.GwtEvent;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/events/LoadMessagesEventHandler.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/events/LoadMessagesEventHandler.java?rev=793196&r1=792876&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/events/LoadMessagesEventHandler.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/events/LoadMessagesEventHandler.java Sat Jul 11 16:38:16 2009
@@ -17,7 +17,7 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.events;
+package org.apache.hupa.shared.events;
 
 import com.google.gwt.event.shared.EventHandler;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/events/LoginEvent.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/events/LoginEvent.java?rev=793196&r1=792876&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/events/LoginEvent.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/events/LoginEvent.java Sat Jul 11 16:38:16 2009
@@ -17,9 +17,9 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.events;
+package org.apache.hupa.shared.events;
 
-import org.apache.hupa.client.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPUser;
 
 import com.google.gwt.event.shared.GwtEvent;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/events/LoginEventHandler.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/events/LoginEventHandler.java?rev=793196&r1=792876&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/events/LoginEventHandler.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/events/LoginEventHandler.java Sat Jul 11 16:38:16 2009
@@ -17,7 +17,7 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.hupa.client.events;
+package org.apache.hupa.shared.events;
 
 import com.google.gwt.event.shared.EventHandler;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/events/LogoutEvent.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/events/LogoutEvent.java?rev=793196&r1=792876&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/events/LogoutEvent.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/events/LogoutEvent.java Sat Jul 11 16:38:16 2009
@@ -1,6 +1,6 @@
-package org.apache.hupa.client.events;
+package org.apache.hupa.shared.events;
 
-import org.apache.hupa.client.data.IMAPUser;
+import org.apache.hupa.shared.data.IMAPUser;
 
 import com.google.gwt.event.shared.GwtEvent;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/events/LogoutEventHandler.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/events/LogoutEventHandler.java?rev=793196&r1=792876&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/events/LogoutEventHandler.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/events/LogoutEventHandler.java Sat Jul 11 16:38:16 2009
@@ -1,4 +1,4 @@
-package org.apache.hupa.client.events;
+package org.apache.hupa.shared.events;
 
 import com.google.gwt.event.shared.EventHandler;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/events/MessagesReceivedEvent.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/events/MessagesReceivedEvent.java?rev=793196&r1=792876&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/events/MessagesReceivedEvent.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/events/MessagesReceivedEvent.java Sat Jul 11 16:38:16 2009
@@ -1,8 +1,8 @@
-package org.apache.hupa.client.events;
+package org.apache.hupa.shared.events;
 
 import java.util.ArrayList;
 
-import org.apache.hupa.client.data.IMAPMessage;
+import org.apache.hupa.shared.data.IMAPMessage;
 
 import com.google.gwt.event.shared.GwtEvent;
 

Modified: labs/hupa/src/main/java/org/apache/hupa/shared/events/MessagesReceivedEventHandler.java
URL: http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/shared/events/MessagesReceivedEventHandler.java?rev=793196&r1=792876&r2=793196&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/shared/events/MessagesReceivedEventHandler.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/shared/events/MessagesReceivedEventHandler.java Sat Jul 11 16:38:16 2009
@@ -1,4 +1,4 @@
-package org.apache.hupa.client.events;
+package org.apache.hupa.shared.events;
 
 import com.google.gwt.event.shared.EventHandler;
 

Added: labs/hupa/war/cbg-star.png
URL: http://svn.apache.org/viewvc/labs/hupa/war/cbg-star.png?rev=793196&view=auto
==============================================================================
Binary file - no diff available.

Propchange: labs/hupa/war/cbg-star.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: labs/hupa/war/cbg-stardeselected.png
URL: http://svn.apache.org/viewvc/labs/hupa/war/cbg-stardeselected.png?rev=793196&view=auto
==============================================================================
Binary file - no diff available.

Propchange: labs/hupa/war/cbg-stardeselected.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: labs/hupa/war/cbg-starhover.png
URL: http://svn.apache.org/viewvc/labs/hupa/war/cbg-starhover.png?rev=793196&view=auto
==============================================================================
Binary file - no diff available.

Propchange: labs/hupa/war/cbg-starhover.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message