Package org.chromium.sdk.wip

Examples of org.chromium.sdk.wip.WipBackend


    if (wipBackendId == null) {
      throw new RuntimeException("Missing 'wip backend' parameter in launch config");
    }

    WipBackend backend;
    findWipBackend: {
      for (WipBackend nextBackend : BackendRegistry.INSTANCE.getBackends()) {
        if (nextBackend.getId().equals(wipBackendId)) {
          backend = nextBackend;
          break findWipBackend;
View Full Code Here


      implements WipTabSelector {
    @Override
    protected List<? extends WipTabConnector> getTabs(
        WipTabSelector.BrowserAndBackend browserAndBackend) throws IOException {
      WipBrowser browser = browserAndBackend.getBrowser();
      WipBackend backend = browserAndBackend.getBackend();
      return browser.getTabs(backend);
    }
View Full Code Here

      mainControl = backendGroup;
    }

    public String getId() {
      WipBackend backend = elements.get(combo.getSelectionIndex());
      if (backend == null) {
        return null;
      } else {
        return backend.getId();
      }
    }
View Full Code Here

      combo.select(index);
      updateTextField();
    }

    private void updateTextField() {
      WipBackend backend = elements.get(combo.getSelectionIndex());
      String textContent;
      if (backend == null) {
        textContent = "";
      } else {
        textContent = backend.getDescription();
      }
      text.setText(textContent);
    }
View Full Code Here

        try {
          obj = element.createExecutableExtension(WipBackExtensionPoint.CLASS_PROPERTY);
        } catch (CoreException e) {
          throw new RuntimeException(e);
        }
        WipBackend backend = (WipBackend) obj;
        result.add(backend);
      }
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of org.chromium.sdk.wip.WipBackend

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.