function addWarningMessage(wb, s)
  
  if isa(wb, 'LTPDAworkbench')
    awtinvoke(wb.mp, 'addWarning', s);
  end
  
end
