@Override
 public JPopupMenu createPopupMenu() {
   JPopupMenu pop = new JPopupMenu();
   ReportMenuFactory.addFileMenu(pop);
   ReportMenuFactory.addEditMenu(pop, true);
   return pop;
 }
 /**
  * Need to update this to make the context popupmenu correct
  *
  * @return a JPopupMenu appropriate for the component.
  */
 @Override
 public JPopupMenu createPopupMenu() {
   JPopupMenu pop = new JPopupMenu();
   JMenu addMenu = new JMenu(JMeterUtils.getResString("add")); // $NON-NLS-1$
   addMenu.add(
       ReportMenuFactory.makeMenuItem(
           new ReportPageGui().getStaticLabel(),
           ReportPageGui.class.getName(),
           "Add")); // $NON-NLS-1$
   addMenu.add(
       ReportMenuFactory.makeMenuItem(
           new HTMLReportWriterGui().getStaticLabel(),
           HTMLReportWriterGui.class.getName(),
           "Add")); // $NON-NLS-1$
   addMenu.add(
       ReportMenuFactory.makeMenu(ReportMenuFactory.CONFIG_ELEMENTS, "Add")); // $NON-NLS-1$
   pop.add(addMenu);
   ReportMenuFactory.addFileMenu(pop);
   ReportMenuFactory.addEditMenu(pop, true);
   return pop;
 }