Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

11:51am

  • Loading branch information...
commit 43a0aafa572dc39b3be45b7705cb92db512f9717 1 parent 412d295
ychen authored
View
4 TheatreProjectWeb/.settings/com.google.appengine.eclipse.core.prefs
@@ -1,6 +1,6 @@
-#Tue May 01 17:52:12 CDT 2012
+#Thu May 03 11:51:03 CDT 2012
eclipse.preferences.version=1
-filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.6.4.jar|appengine-api-labs-1.6.4.jar|appengine-jsr107cache-1.6.4.jar|jsr107cache-1.1.jar|datanucleus-appengine-1.0.10.final.jar|datanucleus-core-1.1.5.jar|datanucleus-jpa-1.1.5.jar|geronimo-jpa_3.0_spec-1.1.1.jar|geronimo-jta_1.1_spec-1.1.1.jar|jdo2-api-2.3-eb.jar
+filesCopiedToWebInfLib=appengine-api-1.0-sdk-1.6.1.jar|appengine-api-labs-1.6.1.jar|appengine-jsr107cache-1.6.1.jar|jsr107cache-1.1.jar|datanucleus-appengine-1.0.10.final.jar|datanucleus-core-1.1.5.jar|datanucleus-jpa-1.1.5.jar|geronimo-jpa_3.0_spec-1.1.1.jar|geronimo-jta_1.1_spec-1.1.1.jar|jdo2-api-2.3-eb.jar|google_sql.jar
gaeHrdEnabled=true
gaeIsEclipseDefaultInstPath=true
validationExclusions=test/InventoryTest.java
View
9 TheatreProjectWeb/src/theatreProject/client/TheatreProjectWeb.java
@@ -5,6 +5,8 @@
import theatreProject.server.PersistenceImpl.User;
import theatreProject.server.PersistenceImpl.InventoryObject;
import theatreProject.shared.FieldVerifier;
+
+import com.google.apphosting.api.ApiProxy;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
@@ -171,8 +173,11 @@ public void onClick(ClickEvent event) {
txtbxNumberOfItems.setSize("137px", "31px");
final Button btnManageUsers = new Button("Manage Users");
- mainPanel.add(btnManageUsers);
- btnManageUsers.setSize("106px", "36px");
+ //if (ApiProxy.getCurrentEnvironment().isAdmin()){
+ mainPanel.add(btnManageUsers);
+ btnManageUsers.setSize("106px", "36px");
+ //}
+ //Ask Max
btnManageUsers.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
Please sign in to comment.
Something went wrong with that request. Please try again.