Package com.aelitis.azureus.ui.swt.skin

Examples of com.aelitis.azureus.ui.swt.skin.SWTSkin


    item.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent e) {
        VuzeMessageBox box = new VuzeMessageBox("Title", "Text", new String[] { "Ok", "Cancel" }, 0);
        box.setListener(new VuzeMessageBoxListener() {
          public void shellReady(Shell shell, SWTSkinObjectContainer soExtra) {
            SWTSkin skin = soExtra.getSkin();
            skin.createSkinObject("dlg.generic.test", "dlg.generic.test", soExtra);
            skin.layout(soExtra);
            shell.layout(true, true);
          }
        });
        box.open(null);
      }
View Full Code Here


    mainShell = UIFunctionsManagerSWT.getUIFunctionsSWT().getMainShell();
    shell = ShellFactory.createShell(mainShell, style);

    Utils.setShellIcon(shell);

    SWTSkin skin = SWTSkinFactory.getNonPersistentInstance(
        SkinnedDialog.class.getClassLoader(), "com/aelitis/azureus/ui/skin/",
        skinFile + ".properties");
   
    setSkin(skin);

    skin.initialize(shell, shellSkinObjectID);

    shell.addTraverseListener(new TraverseListener() {
      public void keyTraversed(TraverseEvent e) {
        if (e.detail == SWT.TRAVERSE_ESCAPE) {
          shell.close();
View Full Code Here

      buildNotifications();
    } catch (Exception e) {
      Debug.out(e);
    }
   
    final SWTSkin skin = SWTSkinFactory.getInstance();
    if (skin != null) {
      SWTSkinObject soHeader = skin.getSkinObject("plus-header");
      if (soHeader != null) {
        soHeader.setVisible(hasFullLicence);
      }
      Utils.execSWTThread(new AERunnable() {
        public void runSupport() {
View Full Code Here

    box.setIconResource(isTrial ? "image.burn.dlg.header" : "image.vp");

    box.setListener(new VuzeMessageBoxListener() {

      public void shellReady(Shell shell, SWTSkinObjectContainer soExtra) {
        SWTSkin skin = soExtra.getSkin();
        skin.createSkinObject("dlg.register.install", "dlg.register.install",
            soExtra);

        SWTSkinObjectContainer soProgressBar = (SWTSkinObjectContainer) skin.getSkinObject("progress-bar");
        if (soProgressBar != null) {
          progressBar = new ProgressBar(soProgressBar.getComposite(),
              SWT.HORIZONTAL);
          progressBar.setMinimum(0);
          progressBar.setMaximum(100);
          progressBar.setLayoutData(Utils.getFilledFormData());
        }
       
        soInstallPct = (SWTSkinObjectText) skin.getSkinObject("install-pct");

        soProgressText = (SWTSkinObjectText) skin.getSkinObject("progress-text");
        if (soProgressText != null && progressText != null) {
          soProgressText.setText(progressText);
        }
      }
    });
View Full Code Here

          listener.MfChooserClosed(chosenMF);
        }
      }
    });
   
    SWTSkin skin = skinnedDialog.getSkin();
    SWTSkinObject so= skin.getSkinObject("list");
    if (so instanceof SWTSkinObjectContainer) {
      SWTSkinObjectContainer soList = (SWTSkinObjectContainer) so;
     
      Composite parent = soList.getComposite();
     
View Full Code Here

TOP

Related Classes of com.aelitis.azureus.ui.swt.skin.SWTSkin

Copyright © 2018 www.massapicom. 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.