Examples of VuzeMessageBox


Examples of com.aelitis.azureus.ui.swt.views.skin.VuzeMessageBox

      if (!MessageText.keyExistsForDefaultLocale(msgidPrefix + "text")) {
        msgidPrefix = "dlg.stream.plus.";
      }
    }
    final String f_msgidPrefix = msgidPrefix;
    final VuzeMessageBox box = new VuzeMessageBox(
        MessageText.getString(msgidPrefix + "title"),
        MessageText.getString(msgidPrefix + "text"), new String[] {
          MessageText.getString(buttonID),
          MessageText.getString("Button.cancel"),
        }, 0);
    box.setButtonVals(new Integer[] {
      BUTTON_UPGRADE,
      SWT.CANCEL
    });

    box.setSubTitle(MessageText.getString(msgidPrefix + "subtitle"));
    box.addResourceBundle(FeatureManagerUI.class,
        SkinPropertiesImpl.PATH_SKIN_DEFS, "skin3_dlg_streamplus");
    box.setIconResource("image.header.streamplus");

    box.setListener(new VuzeMessageBoxListener() {
      public void shellReady(Shell shell, SWTSkinObjectContainer soExtra) {
        SWTSkin skin = soExtra.getSkin();
        skin.createSkinObject("dlg.stream.plus", "dlg.stream.plus", soExtra);
        SWTSkinObject soSubText = skin.getSkinObject("trial-info", soExtra);
        if (soSubText instanceof SWTSkinObjectText) {
          ((SWTSkinObjectText) soSubText).setTextID(f_msgidPrefix + "subtext");
        }
      }
    });

    box.open(new UserPrompterResultListener() {
      public void prompterClosed(int result) {
        if (result == BUTTON_UPGRADE) {
          SBC_PlusFTUX.setSourceRef("dlg-stream" + (referal == null ? "" : "-" + referal));

          MultipleDocumentInterface mdi = UIFunctionsManager.getUIFunctions().getMDI();
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.views.skin.VuzeMessageBox

    if (!FeatureManagerUI.enabled) {
      return;
    }

    boolean isTrial = FeatureManagerUI.isTrialLicence(licence);
    box = new VuzeMessageBox(MessageText.getString("dlg.auth.title"),
        "", null, 0);
    box.setSubTitle(MessageText.getString(isTrial ? "dlg.auth.install.subtitle.trial"
        : "dlg.auth.install.subtitle.plus"));
    box.addResourceBundle(FeatureManagerUI.class,
        SkinPropertiesImpl.PATH_SKIN_DEFS, "skin3_dlg_register");
View Full Code Here

Examples of com.aelitis.azureus.ui.swt.views.skin.VuzeMessageBox

    installer.setListener(this);
  }

  public void open() {
   
    box = new VuzeMessageBox("","", null, 0);
    box.setSubTitle(MessageText.getString("dlg.player.install.subtitle"));
    box.addResourceBundle(PlayerInstallWindow.class,
        SkinPropertiesImpl.PATH_SKIN_DEFS, "skin3_dlg_register");
    box.setIconResource("image.player.dlg.header");
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.