[kune-commits] r817 - in trunk/src/main/java/org/ourproject/kune: platf/client/ui/gridmenu workspace/client/socialnet

vjrj vjrj at ourproject.org
Sat Jul 26 19:03:54 CEST 2008


Author: vjrj
Date: 2008-07-26 19:03:52 +0200 (Sat, 26 Jul 2008)
New Revision: 817

Modified:
   trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridMenuPanel.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java
Log:
Workspace refactorization

Modified: trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridMenuPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridMenuPanel.java	2008-07-26 16:44:17 UTC (rev 816)
+++ trunk/src/main/java/org/ourproject/kune/platf/client/ui/gridmenu/GridMenuPanel.java	2008-07-26 17:03:52 UTC (rev 817)
@@ -5,7 +5,6 @@
 import com.allen_sauer.gwt.log.client.Log;
 import com.calclab.suco.client.signal.Signal;
 import com.calclab.suco.client.signal.Slot;
-import com.google.gwt.user.client.DOM;
 import com.google.gwt.user.client.ui.Composite;
 import com.gwtext.client.core.EventObject;
 import com.gwtext.client.core.SortDir;
@@ -211,12 +210,6 @@
 	}
     }
 
-    public void setDraggable(final boolean draggable) {
-	createGridIfNeeded();
-	DOM.setElementPropertyBoolean(grid.getElement(), "allowDrag", draggable);
-	doLayoutIfNeeded();
-    }
-
     public void setWidth(final int width) {
 	if (grid != null) {
 	    grid.setWidth(width - 27);

Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java	2008-07-26 16:44:17 UTC (rev 816)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPanel.java	2008-07-26 17:03:52 UTC (rev 817)
@@ -102,7 +102,7 @@
     }
 
     public void setDraggable(final boolean draggable) {
-	gridMenuPanel.setDraggable(draggable);
+	// gridMenuPanel.setDraggable(draggable);
     }
 
     public void setDropDownContentVisible(final boolean visible) {

Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java	2008-07-26 16:44:17 UTC (rev 816)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/socialnet/GroupMembersSummaryPresenter.java	2008-07-26 17:03:52 UTC (rev 817)
@@ -83,17 +83,13 @@
 		});
     }
 
-    public void hide() {
-	view.setVisible(false);
-    }
-
     public void init(final GroupMembersSummaryView view) {
 	this.view = view;
     }
 
     public void setState(final StateDTO state) {
 	if (state.getGroup().getType().equals(GroupDTO.PERSONAL)) {
-	    hide();
+	    view.setVisible(false);
 	} else {
 	    setGroupMembers(state.getGroupMembers(), state.getGroupRights());
 	}




More information about the kune-commits mailing list