code: public void onTableRightClicked(final Table table, final MouseEvent me) {
          final JPopupMenu popup = new JPopupMenu();
  
          popup.add(createLinkMenuItem(table));
  
          final JMenuItem previewMenuItem = new JMenuItem("Preview data",
                  ImageManager.get().getImageIcon(IconUtils.ACTION_PREVIEW, IconUtils.ICON_SIZE_SMALL));
          final AnalysisJobBuilder analysisJobBuilder = _graphContext.getAnalysisJobBuilder(table);
          final Datastore datastore = analysisJobBuilder.getDatastore();
          final List<MetaModelInputColumn> inputColumns = analysisJobBuilder.getSourceColumnsOfTable(table);
          previewMenuItem.addActionListener(new PreviewSourceDataActionListener(_windowContext, datastore, inputColumns));
          popup.add(previewMenuItem);
          popup.addSeparator();
          popup.add(new RemoveSourceTableMenuItem(analysisJobBuilder, table));
          popup.show(_graphContext.getVisualizationViewer(), me.getX(), me.getY());
      }
docs: Invoked when a {@link Table} is right-clicked
  
  @param table
  @param me