Package com.subgraph.vega.api.model.macros

Examples of com.subgraph.vega.api.model.macros.IHttpMacroItemParam


  }

  @Override
  protected void setValue(Object element, Object value) {
    if (element instanceof IHttpMacroItemParam && value instanceof IHttpMacroItemParam.ValueSource) {
      final IHttpMacroItemParam macroItemParam = (IHttpMacroItemParam) element;
      final IHttpMacroItemParam.ValueSource newValue = (IHttpMacroItemParam.ValueSource) value;
      if (macroItemParam.getValueSource().getDescription().equals(newValue.getDescription())) {
        return;
      }
      macroItemParam.setValueSource(newValue);
      viewer.refresh(true);
    }
  }
View Full Code Here


  }

  @Override
  public void swapParams(int idx1, int idx2) {
    if (idx1 < paramList.size() && idx2 < paramList.size() && idx1 != idx2) {
      final IHttpMacroItemParam tmp = paramList.set(idx1, paramList.get(idx2));
      paramList.set(idx2, tmp);
    }
  }
View Full Code Here

TOP

Related Classes of com.subgraph.vega.api.model.macros.IHttpMacroItemParam

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.