}
@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);
}
}