changeset 778:e14dc5fed6bb

Reordered delete and rename in project context menu, add separator. flys-client/trunk@2267 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 29 Jun 2011 11:14:43 +0000
parents 3b02a798d75d
children f1a559d13eef
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java
diffstat 2 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Wed Jun 29 07:59:46 2011 +0000
+++ b/flys-client/ChangeLog	Wed Jun 29 11:14:43 2011 +0000
@@ -1,3 +1,8 @@
+2011-06-26	Sascha L. Teichmann	<sascha.teichmann@intevation.de>
+
+	* src/main/java/de/intevation/flys/client/client/ui/ProjectList.java:
+	  Reordered delete and rename in project context menu, add separator.
+
 2011-06-29  Ingo Weinzierl <ingo@intevation.de>
 
 	flys/issue181 (Erstes Thema in der Themenliste wählt sich automatisch wieder an)
--- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java	Wed Jun 29 07:59:46 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/ProjectList.java	Wed Jun 29 11:14:43 2011 +0000
@@ -35,6 +35,7 @@
 import com.smartgwt.client.widgets.layout.VLayout;
 import com.smartgwt.client.widgets.menu.Menu;
 import com.smartgwt.client.widgets.menu.MenuItem;
+import com.smartgwt.client.widgets.menu.MenuItemSeparator;
 import com.smartgwt.client.widgets.menu.events.MenuItemClickEvent;
 import com.smartgwt.client.widgets.menu.events.ClickHandler;
 import com.smartgwt.client.types.VerticalAlignment;
@@ -263,8 +264,9 @@
         });
 
         menu.addItem(open);
+        menu.addItem(rename);
+        menu.addItem(new MenuItemSeparator());
         menu.addItem(del);
-        menu.addItem(rename);
 
         return menu;
     }

http://dive4elements.wald.intevation.org