[galaxy-dev] [2060] trunk/gwt-client/src/main/java/org/mule/galaxy/web/client: Give things Ids for testing

View: New views
1 Messages — Rating Filter:   Alert me  

[galaxy-dev] [2060] trunk/gwt-client/src/main/java/org/mule/galaxy/web/client: Give things Ids for testing

by dandiep-2 :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
[2060] trunk/gwt-client/src/main/java/org/mule/galaxy/web/client: Give things Ids for testing

Diff

Modified: trunk/gwt-client/src/main/java/org/mule/galaxy/web/client/MenuPanel.java (2059 => 2060)

--- trunk/gwt-client/src/main/java/org/mule/galaxy/web/client/MenuPanel.java	2009-11-04 19:07:53 UTC (rev 2059)
+++ trunk/gwt-client/src/main/java/org/mule/galaxy/web/client/MenuPanel.java	2009-11-04 22:46:44 UTC (rev 2060)
@@ -66,6 +66,10 @@
         initWidget(panel);
     }
 
+    public void setId(String id) {
+        panel.getElement().setId(id);
+    }
+    
     @Override
     public void showPage(List<String> params) {
         if (firstShow) {

Modified: trunk/gwt-client/src/main/java/org/mule/galaxy/web/client/admin/AdministrationPanel.java (2059 => 2060)

--- trunk/gwt-client/src/main/java/org/mule/galaxy/web/client/admin/AdministrationPanel.java	2009-11-04 19:07:53 UTC (rev 2059)
+++ trunk/gwt-client/src/main/java/org/mule/galaxy/web/client/admin/AdministrationPanel.java	2009-11-04 22:46:44 UTC (rev 2060)
@@ -53,6 +53,7 @@
     public AdministrationPanel(Galaxy galaxy) {
         super();
         this.galaxy = galaxy;
+        setId("administrationTabBody");
     }
 
     @Override

Modified: trunk/gwt-client/src/main/java/org/mule/galaxy/web/client/item/RepositoryMenuPanel.java (2059 => 2060)

--- trunk/gwt-client/src/main/java/org/mule/galaxy/web/client/item/RepositoryMenuPanel.java	2009-11-04 19:07:53 UTC (rev 2059)
+++ trunk/gwt-client/src/main/java/org/mule/galaxy/web/client/item/RepositoryMenuPanel.java	2009-11-04 22:46:44 UTC (rev 2060)
@@ -15,12 +15,10 @@
 import com.extjs.gxt.ui.client.store.Store;
 import com.extjs.gxt.ui.client.store.StoreSorter;
 import com.extjs.gxt.ui.client.store.TreeStore;
+import com.extjs.gxt.ui.client.util.IconHelper;
 import com.extjs.gxt.ui.client.widget.ContentPanel;
-import com.extjs.gxt.ui.client.widget.LayoutContainer;
-import com.extjs.gxt.ui.client.widget.MessageBox;
 import com.extjs.gxt.ui.client.widget.layout.FitLayout;
 import com.extjs.gxt.ui.client.widget.treepanel.TreePanel;
-import com.extjs.gxt.ui.client.util.IconHelper;
 import com.google.gwt.user.client.History;
 import com.google.gwt.user.client.ui.AbstractImagePrototype;
 
@@ -58,6 +56,8 @@
         createPageInfo("item/" + Galaxy.WILDCARD, new ItemPanel(galaxy, this));
         createPageInfo("add-item", new AddItemForm(galaxy, this));
         createPageInfo("view", new ViewPanel(galaxy));
+        
+        setId("repositoryTabBody");
     }
 
     @Override


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "MuleForge Dev" group.
To post to this group, send email to muleforgedev@...
To unsubscribe from this group, send email to muleforgedev+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/muleforgedev?hl=en
-~----------~----~----~----~------~----~------~--~---
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://admin.muleforge.org/manage_email