Package org.cloudfoundry.ide.eclipse.server.ui.internal.editor.AppStatsContentProvider

Examples of org.cloudfoundry.ide.eclipse.server.ui.internal.editor.AppStatsContentProvider.InstanceStatsAndInfo


    return null;
  }

  public String getColumnText(Object element, int columnIndex) {
    if (element instanceof InstanceStatsAndInfo) {
      InstanceStatsAndInfo statsAndInfo = (InstanceStatsAndInfo) element;
      InstanceStats stats = statsAndInfo.getStats();

      Usage usage = stats.getUsage();
      double cpu = 0.0;
      String memory = "0M"; //$NON-NLS-1$
      String disk = "0M"; //$NON-NLS-1$
View Full Code Here


          InstanceInfo info = null;
          if (infos != null && infos.size() > i) {
            info = infos.get(i);
          }

          statsAndInfos[i] = new InstanceStatsAndInfo(stats, info);
        }
        instancesViewer.setInput(statsAndInfos);
      }
    }
View Full Code Here

TOP

Related Classes of org.cloudfoundry.ide.eclipse.server.ui.internal.editor.AppStatsContentProvider.InstanceStatsAndInfo

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.