Package org.gudy.azureus2.plugins.ui.tables

Examples of org.gudy.azureus2.plugins.ui.tables.TableColumn


   
    int userMode = COConfigurationManager.getIntParameter("User Mode");
    int maxUsermode = 0;
    try
    {
      ConfigSection sect = sections.get(section);
      if (sect instanceof UISWTConfigSection)
      {
        maxUsermode = ((UISWTConfigSection) sect).maxUserMode();
      }
    } catch (Error e)
View Full Code Here


   
    for (int i=0;i<items.length;i++){
     
      TreeItem  item = items[i];
             
      ConfigSection section = (ConfigSection)item.getData("ConfigSectionSWT");
       
      if ( section != null && section.getClass() == config_section_class ){
         
        tree.setSelection( new TreeItem[]{ item });
       
        showSection( item );
       
View Full Code Here

            && (!(currentContent[0] instanceof ISelectedVuzeFileContent))
            && currentContent[0].getDownloadManager() == null
            && (currentContent[0].getHash() != null || currentContent[0].getDownloadInfo() != null));
 
      if (tv != null) {
        TableColumn tc = tv.getTableColumn(RankItem.COLUMN_ID);
        if (tc != null && !tc.isVisible()) {
          mapNewToolbarStates.put("up", false);
          mapNewToolbarStates.put("down", false);
        }
      }
     
View Full Code Here

  }

  private static boolean areNoneVisible(Map mapTCs) {
    boolean noneVisible = true;
    for (Iterator iter = mapTCs.values().iterator(); iter.hasNext();) {
      TableColumn tc = (TableColumn) iter.next();
      if (tc.isVisible()) {
        noneVisible = false;
        break;
      }
    }
    return noneVisible;
View Full Code Here

        
         break;
      }
      case UIManagerEvent.ET_ADD_TABLE_COLUMN:{
       
        TableColumn  _col = (TableColumn)data;
       
        if ( _col instanceof TableColumnImpl ){
         
          TableColumnManager.getInstance().addColumns(new TableColumnCore[] {  (TableColumnCore) _col });
         
          TableStructureEventDispatcher tsed = TableStructureEventDispatcher.getInstance(_col.getTableID());
         
          tsed.tableStructureChanged(true, _col.getForDataSourceType());
         
        }else{
         
          throw(new UIRuntimeException("TableManager.addColumn(..) can only add columns created by createColumn(..)"));
        }
View Full Code Here

   * @since 3.1.1.1
   */
  private static boolean areNoneVisible(Map mapTCs) {
    boolean noneVisible = true;
    for (Iterator iter = mapTCs.values().iterator(); iter.hasNext();) {
      TableColumn tc = (TableColumn) iter.next();
      if (tc.isVisible()) {
        noneVisible = false;
        break;
      }
    }
    return noneVisible;
View Full Code Here

    start();
  }

  private void start() {
    for (int i = 0; i < updates.length; i++) {
      Update update = updates[i];
      ResourceDownloader[] rds = update.getDownloaders();
      for (int j = 0; j < rds.length; j++) {
        ResourceDownloader rd = rds[j];
        downloaders.add(rd);
      }
    }
View Full Code Here

  private void allDownloadsComplete() {
    boolean bRequiresRestart = false;
    boolean bHadMandatoryUpdates = false;
   
    for (int i = 0; i < updates.length; i++) {
      Update update = updates[i];
        // updates with no downloaders exist for admin purposes only
      if ( update.getDownloaders().length > 0){
        if (update.getRestartRequired() != Update.RESTART_REQUIRED_NO) {
          bRequiresRestart = true;
        }
        if ( update.isMandatory()){
          bHadMandatoryUpdates = true;
        }
      }
    }
View Full Code Here

          handleEvent(Event event)
          {
            try{
              PluginInterface pi = AzureusCoreFactory.getSingleton().getPluginManager().getDefaultPluginInterface();
             
              UpdateInstaller installer = pi.getUpdateManager().createInstaller();
           
              installer.addMoveAction(
                "C:\\temp\\file1", "C:\\temp\\file2" );
           
              installer.installNow(
                new UpdateInstallerListener()
                {
                  public void
                  reportProgress(
                    String    str )
View Full Code Here

           
              installer.addMoveAction(
                "C:\\temp\\file1", "C:\\temp\\file2" );
           
              installer.installNow(
                new UpdateInstallerListener()
                {
                  public void
                  reportProgress(
                    String    str )
                  {
View Full Code Here

TOP

Related Classes of org.gudy.azureus2.plugins.ui.tables.TableColumn

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.