Package org.onesocialweb.gwt.client.ui.application

Examples of org.onesocialweb.gwt.client.ui.application.AbstractApplication.addWindow()


            @Override
            public void onSuccess(Profile result) {
              // get the app instance from the session manager
              AbstractApplication app = OswClient.getInstance()
                  .getCurrentApplication();
              ProfileWindow profileWindow = (ProfileWindow) app
                  .addWindow(ProfileWindow.class.toString(),
                      1);
              profileWindow.setJID(input.getText());
              profileWindow.show();
            }
View Full Code Here


      public void onClick(ClickEvent event) {
        // get the app instance from the session manager
        AbstractApplication app = OswClient.getInstance()
            .getCurrentApplication();
        ProfileWindow profileWindow = (ProfileWindow) app.addWindow(
            ProfileWindow.class.toString(), 1);
        profileWindow.setJID(rosterItem.getJid());
        profileWindow.show();
      }
    });
View Full Code Here

        label.addClickHandler(new ClickHandler() {
          public void onClick(ClickEvent event) {
            // get the app instance from the session manager
            AbstractApplication app = OswClient.getInstance()
                .getCurrentApplication();
            ProfileWindow profileWindow = (ProfileWindow) app
                .addWindow(ProfileWindow.class.toString(), 1);
            profileWindow.setJID(recipientJID);
            profileWindow.show();
          }
        });
View Full Code Here

      public void onClick(ClickEvent event) {
        // get the app instance from the session manager
        AbstractApplication app = OswClient.getInstance()
            .getCurrentApplication();
        ProfileWindow profileWindow = (ProfileWindow) app.addWindow(
            ProfileWindow.class.toString(), 1);
        profileWindow.setJID(activity.getActor().getUri());
        profileWindow.show();
      }
    });
View Full Code Here

                    // get the app instance from the session
                    // manager
                    AbstractApplication app = OswClient
                        .getInstance()
                        .getCurrentApplication();
                    ProfileWindow profileWindow = (ProfileWindow) app
                        .addWindow(ProfileWindow.class
                            .toString(), 1);
                    profileWindow.setJID(jid);
                    profileWindow.show();
                  }
View Full Code Here

                    // get the app instance from the session
                    // manager
                    AbstractApplication app = OswClient
                        .getInstance()
                        .getCurrentApplication();
                    ProfileWindow profileWindow = (ProfileWindow) app
                        .addWindow(ProfileWindow.class
                            .toString(), 1);
                    profileWindow.setJID(jid);
                    profileWindow.show();
                  }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.