private void configureHeaders(StockParam sampler) {
   Arguments sampleHeaders = sampler.getHeaders();
   if (sampleHeaders != null) {
     headers.configure(sampleHeaders);
   } else {
     headers.clearGui();
   }
 }
 private void configureHeaders(TradingIdea sampler) {
   Arguments sampleHeaders = sampler.getHeaders();
   if (sampleHeaders != null) {
     headers.configure(sampleHeaders);
   } else {
     headers.clearGui();
   }
 }
 @Override
 public void clearGui() {
   super.clearGui();
   headers.clearGui();
 }