[Yanel-commits] rev 32348 -
public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client
michi at wyona.com
michi at wyona.com
Fri Feb 22 00:23:07 CET 2008
Author: michi
Date: 2008-02-22 00:23:06 +0100 (Fri, 22 Feb 2008)
New Revision: 32348
Modified:
public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client/AsynchronousPolicyGetter.java
Log:
get users added
Modified: public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client/AsynchronousPolicyGetter.java
===================================================================
--- public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client/AsynchronousPolicyGetter.java 2008-02-21 22:55:05 UTC (rev 32347)
+++ public/yanel/contributions/ajax-components/src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/client/AsynchronousPolicyGetter.java 2008-02-21 23:23:06 UTC (rev 32348)
@@ -20,11 +20,15 @@
import com.google.gwt.http.client.Request;
import com.google.gwt.http.client.Response;
+import java.util.Vector;
+
/**
*
*/
public class AsynchronousPolicyGetter extends AsynchronousAgent {
+ Vector users = new Vector();
+
/**
*
*/
@@ -33,9 +37,21 @@
}
/**
- *
+ * See src/gallery/src/java/org/wyona/yanel/gwt/client/ui/gallery/AsynchronousGalleryBuilder.java
+ * Also see src/access-policy-editor/java/org/wyona/yanel/gwt/accesspolicyeditor/public/sample-identities-and-usecases.xml
*/
public void onResponseReceived(final Request request, final Response response) {
// TODO
+ users.add("dz");
}
+
+ /**
+ * Get users
+ */
+ public String[] getUsers() {
+ String[] u = new String[2];
+ u[0] = "dz";
+ u[0] = "ep";
+ return u;
+ }
}
More information about the Yanel-commits
mailing list