onModuleLoad()
.
*/
public class Questions implements EntryPoint {
- /**
- * Create a remote service proxy to talk to the server-side Greeting service.
- */
- private final QuestionsServiceAsync greetingService = GWT.create(QuestionsService.class);
-
-
+
public void onModuleLoad() {
-
+ RootPanel.get("questionsManagersDiv").add(new VREManagersPanel());
}
}
diff --git a/src/main/java/org/gcube/portlets/user/questions/client/VREManagersPanel.java b/src/main/java/org/gcube/portlets/user/questions/client/VREManagersPanel.java
new file mode 100644
index 0000000..d61c778
--- /dev/null
+++ b/src/main/java/org/gcube/portlets/user/questions/client/VREManagersPanel.java
@@ -0,0 +1,69 @@
+package org.gcube.portlets.user.questions.client;
+
+import java.util.ArrayList;
+
+import org.gcube.portal.databook.shared.UserInfo;
+import org.gcube.portlets.user.questions.client.resources.Images;
+import org.gcube.portlets.user.questions.client.ui.DisplayBadge;
+
+import com.google.gwt.core.client.GWT;
+import com.google.gwt.user.client.rpc.AsyncCallback;
+import com.google.gwt.user.client.ui.Composite;
+import com.google.gwt.user.client.ui.HTML;
+import com.google.gwt.user.client.ui.HasAlignment;
+import com.google.gwt.user.client.ui.HasVerticalAlignment;
+import com.google.gwt.user.client.ui.Image;
+import com.google.gwt.user.client.ui.VerticalPanel;
+
+public class VREManagersPanel extends Composite {
+
+ private final QuestionsServiceAsync service = GWT.create(QuestionsService.class);
+
+
+ private Image loadingImage;
+
+ private VerticalPanel mainPanel = new VerticalPanel();
+ public VREManagersPanel() {
+ super();
+ Images images = GWT.create(Images.class);
+ loadingImage = new Image(images.membersLoader().getSafeUri());
+ mainPanel.add(loadingImage);
+ showLoader();
+ service.getManagers(new AsyncCallback
+
+
+
+ |
+
+
+
+ |
+
+
+
+ |
+