Package devplugin

Examples of devplugin.ChannelGroup


       fireTableDataChanged();
     }

     public Object getValueAt(int rowIndex, int columnIndex) {
       Channel ch = mChannelList.get(rowIndex);
       ChannelGroup group = ch.getGroup();
       switch (columnIndex) {
         case 0 : return ch;
         case 1 : if (group != null) {
                    try {
                      return group.getProviderName();
                    }catch(NoSuchMethodError e) {
                      return "-";
                    }
                  }
                  else {
View Full Code Here


   * Get the Providername of a Channel
   * @param ch Channel
   * @return Name of Provider
   */
  public static String getProviderName(Channel ch) {
    ChannelGroup group = ch.getGroup();
    if (group == null) {
      return ch.getDataServiceProxy().getInfo().getName();
    }

    return group.getProviderName();
  }
View Full Code Here

TOP

Related Classes of devplugin.ChannelGroup

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.