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

Examples of org.fusesource.ide.launcher.debug.model.values.BaseCamelValue


  /* (non-Javadoc)
   * @see org.fusesource.ide.launcher.debug.model.variables.BaseCamelVariable#setValue(java.lang.String)
   */
  @Override
  public void setValue(String expression) throws DebugException {
    super.setValue(new BaseCamelValue(fTarget, expression, String.class));
    markChanged();
    fireChangeEvent(DebugEvent.CONTENT);
    updateValueOnRuntime(((CamelDebugTarget)getDebugTarget()).getDebugger());
  }
View Full Code Here


  public void delete() {
    try {
      CamelDebugFacade debugger = ((CamelDebugTarget)getDebugTarget()).getDebugger();
      debugger.removeMessageBodyOnBreakpoint(getCurrentEndpointNodeId());
      if (Strings.isBlank(getValue().getValueString()) == false) {
        super.setValue(new BaseCamelValue(fTarget, "[Body is null]", String.class));
        markChanged();
      }
    } catch (DebugException ex) {
      Activator.getLogger().error(ex);
    } finally {
View Full Code Here

  /* (non-Javadoc)
   * @see org.fusesource.ide.launcher.debug.model.variables.BaseCamelVariable#setValue(java.lang.String)
   */
  @Override
  public void setValue(String expression) throws DebugException {
    super.setValue(new BaseCamelValue(fTarget, expression, String.class));
    markChanged();
    fireChangeEvent(DebugEvent.CONTENT);
    updateValueOnRuntime(((CamelDebugTarget)getDebugTarget()).getDebugger());
  }
View Full Code Here

  /**
   * Initializes this frame based on its data
   */
  private void initVariables() throws DebugException {
    BaseCamelVariable var = null;
    BaseCamelValue val = null;
   
    // DEBUGGER - CAMEL
    var = new CamelDebuggerVariable(this.debugTarget, VARIABLE_NAME_DEBUGGER, String.class);
    val = new CamelDebuggerValue(this.fTarget, this, var.getReferenceType());
    var.setValue(val);
    this.fVariables.add(var);
   
    // CURRENT ENDPOINT
    var = new BaseCamelVariable(this.debugTarget, VARIABLE_NAME_ENDPOINT, String.class);
    val = new BaseCamelValue(this.fTarget, getEndpointId(), var.getReferenceType());
    var.setValue(val);
    this.fVariables.add(var);
   
    // PROCESSOR
    var = new CamelProcessorVariable(this.debugTarget, VARIABLE_NAME_PROCESSOR, String.class);
View Full Code Here

TOP

Related Classes of org.fusesource.ide.launcher.debug.model.values.BaseCamelValue

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.