Package org.fusesource.ide.server.karaf.core.runtime

Examples of org.fusesource.ide.server.karaf.core.runtime.IKarafRuntimeWorkingCopy


    return null;
  }

  @Override
  protected void saveJreInRuntime(IRuntimeWorkingCopy wc) {
    IKarafRuntimeWorkingCopy srt = (IKarafRuntimeWorkingCopy) wc.loadAdapter(
        IKarafRuntimeWorkingCopy.class, new NullProgressMonitor());
    if( srt != null ) {
      IExecutionEnvironment selectedEnv = jreComposite.getSelectedExecutionEnvironment();
      IVMInstall selectedVM = jreComposite.getSelectedVM();
      srt.setVM(selectedVM);
      srt.setExecutionEnvironment(selectedEnv);
    }
  }
View Full Code Here


  private void updateRuntime() {
    IRuntimeWorkingCopy workingCopy = getRuntimeWorkingCopy();
    if (workingCopy != null) {
      // workCopy will be instance of ServerDelegate classs.
      // We need to get the params, so IKarafRuntime will be enough.
      IKarafRuntimeWorkingCopy karafRuntimeWorkingCopy = (IKarafRuntimeWorkingCopy) workingCopy
          .loadAdapter(IKarafRuntimeWorkingCopy.class,
              new NullProgressMonitor());
      if (karafRuntimeWorkingCopy != null) {
        String installDir = model.getKarafInstallDir();
        IPath path = new Path(installDir);
View Full Code Here

TOP

Related Classes of org.fusesource.ide.server.karaf.core.runtime.IKarafRuntimeWorkingCopy

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.