Package org.gudy.azureus2.ui.swt.pluginsimpl

Examples of org.gudy.azureus2.ui.swt.pluginsimpl.UISWTGraphicImpl


  public Graphic getBackgroundGraphic() {
    if (bufferedTableItem == null) {
      return null;
    }
    return new UISWTGraphicImpl(bufferedTableItem.getBackgroundImage());
  }
View Full Code Here


    }
    if (bImageChanged || image != oldImage || !cell.isValid()) {
      if (cell instanceof TableCellSWT) {
        ((TableCellSWT) cell).setGraphic(image);
      } else {
        cell.setGraphic(new UISWTGraphicImpl(image));
      }
      if (bImageChanged || image != oldImage) {
        cell.invalidate();
      }
      infoObj.setData("PiecesImage", image);
View Full Code Here

      last_draw_time = now;
     
      if (cell instanceof TableCellSWT)
        ((TableCellSWT) cell).setGraphic(piecesImage);
      else
        cell.setGraphic(new UISWTGraphicImpl(piecesImage));
    }
View Full Code Here

    }

    if (cell instanceof TableCellSWT) {
      ((TableCellSWT) cell).setGraphic(image);
    } else {
      cell.setGraphic(new UISWTGraphicImpl(image));
    }
    if (oldImage != null && !oldImage.isDisposed())
      oldImage.dispose();

    gcImage.dispose();
View Full Code Here

        }
      } finally {
        gc.dispose();
      }

      return new UISWTGraphicImpl(imgCap);
    } catch (Exception e) {
      Debug.out(e);
    }
    return null;
  }
View Full Code Here

    }
    if (bImageChanged || image != oldImage || !cell.isValid()) {
      if (cell instanceof TableCellSWT) {
        ((TableCellSWT) cell).setGraphic(image);
      } else {
        cell.setGraphic(new UISWTGraphicImpl(image));
      }
      if (bImageChanged) {
        cell.invalidate();
      }
      infoObj.setUserData("PiecesImage", image);
View Full Code Here

      disposeExisting(cell);

      if (cell instanceof TableCellSWT) {
        ((TableCellSWT) cell).setGraphic(image);
      } else {
        cell.setGraphic(new UISWTGraphicImpl(image));
      }
    }
View Full Code Here

  public ColumnUnopened(String tableID) {
    super(COLUMN_ID, tableID);
   
    if (graphicCheck == null) {
      Image img = ImageLoader.getInstance().getImage("image.unopened");
      graphicCheck = new UISWTGraphicImpl(img);
    }
    if (graphicUnCheck == null) {
      Image img = ImageLoader.getInstance().getImage("image.opened");
      graphicUnCheck = new UISWTGraphicImpl(img);
    }

    if (graphicsProgress == null) {
     
     
     
      Image[] imgs = ImageLoader.getInstance().getImages("image.sidebar.vitality.dl");
      graphicsProgress = new UISWTGraphicImpl[imgs.length];
      for(int i = 0 ; i < imgs.length ; i++) {
        graphicsProgress[i] = new UISWTGraphicImpl(imgs[i]);
      }
     
    }
   
    initializeAsGraphic(WIDTH);
View Full Code Here

 
  public static MenuItem addPluginInstallMenuItem(Menu menuParent) {
    return addMenuItem(menuParent, MENU_ID_PLUGINS_INSTALL,
        new Listener() {
          public void handleEvent(Event e) {
            new InstallPluginWizard();
      }
    });
  }
View Full Code Here

      /*
       * Add a listener to the reporter for a cancel event and cancel the update
       * check instance if the event is detected
       */
      updateReporter.addListener(new IProgressReporterListener() {

        public int report(IProgressReport progressReport) {
          if (progressReport.getReportType() == REPORT_TYPE_DONE
              || progressReport.getReportType() == REPORT_TYPE_ERROR) {
            return RETVAL_OK_TO_DISPOSE;
View Full Code Here

TOP

Related Classes of org.gudy.azureus2.ui.swt.pluginsimpl.UISWTGraphicImpl

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.