Package org.fusesource.ide.commons.jobs

Examples of org.fusesource.ide.commons.jobs.LoadListJobSupport


    if (details == null) { // maybe we have cached data we can reuse
      return;
    }
    cancelLoadingJobs();

    locationsJob = new LoadListJobSupport("Loading cloud locations", locationList) {

      @Override
      protected List<?> loadList() {
        if (computeClient == null) return Collections.EMPTY_LIST;
        return JClouds.sortedLocationList(computeClient.listAssignableLocations());
      }

    };
   
    hardwareJob = new LoadListJobSupport("Loading cloud hardware", hardwareList) {

      @Override
      protected List<?> loadList() {
        if (computeClient == null) return Collections.EMPTY_LIST;
        return JClouds.sortedList(computeClient.listHardwareProfiles());
View Full Code Here

TOP

Related Classes of org.fusesource.ide.commons.jobs.LoadListJobSupport

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.