Package org.fusesource.ide.launcher.debug.model

Examples of org.fusesource.ide.launcher.debug.model.CamelDebugTarget$ThreadGarbageCollector


   */
  @Override
  public String getSourceName(Object object) throws CoreException {
    if (object instanceof CamelStackFrame) {
      CamelStackFrame stackFrame = (CamelStackFrame)object;
      CamelDebugTarget dt = (CamelDebugTarget) stackFrame.getDebugTarget();
      IEditorInput input = CamelDebugRegistry.getInstance().getEntry(dt.getLaunch().getLaunchConfiguration()).getEditorInput();
      IFile f = (IFile)input.getAdapter(IFile.class);
      return f.getName();
    }
    return null;
  }
View Full Code Here


      String jmxUrl = configuration.getAttribute(ICamelDebugConstants.ATTR_JMX_URI_ID, ICamelDebugConstants.DEFAULT_JMX_URI);
      String jmxUser = configuration.getAttribute(ICamelDebugConstants.ATTR_JMX_USER_ID, "");
      String jmxPass = getPassword(configuration);
         
      IProcess p = launch.getProcesses()[0];
      IDebugTarget target = new CamelDebugTarget(launch, p, jmxUrl, jmxUser, jmxPass);
      launch.addDebugTarget(target);
    }
  }
View Full Code Here

  public Object execute(ExecutionEvent event) throws ExecutionException {
    ISelection sel = HandlerUtil.getCurrentSelection(event);
    Object o = Selections.getFirstSelection(sel);
    if (o instanceof BaseCamelVariable) {
      BaseCamelVariable var = (BaseCamelVariable)o;
      CamelDebugTarget cdt = (CamelDebugTarget)var.getDebugTarget();
      if (MessageDialog.openQuestion(HandlerUtil.getActiveShell(event), "Reset Debug Counter", "Do you really want to reset the debug counter?")) {
        cdt.getDebugger().resetDebugCounter()
      }     
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of org.fusesource.ide.launcher.debug.model.CamelDebugTarget$ThreadGarbageCollector

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.