Class CommitGraphPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, CellEditorListener, ListSelectionListener, RowSorterListener, TableColumnModelListener, TableModelListener, Scrollable

public class CommitGraphPane extends JTable
Draws a commit graph in a JTable.

This class is currently a very primitive commit visualization tool. It shows a table of 3 columns:

  1. Commit graph and short message
  2. Author name and email address
  3. Author date and time
See Also:
  • Constructor Details

    • CommitGraphPane

      public CommitGraphPane()
      Create a new empty panel.
  • Method Details

    • getCommitList

      public org.eclipse.jgit.revplot.PlotCommitList getCommitList()
      Get the commit list this pane renders from.
      Returns:
      the list the caller must populate.
    • setModel

      public void setModel(TableModel dataModel)
      Overrides:
      setModel in class JTable
    • createDefaultDataModel

      protected TableModel createDefaultDataModel()
      Overrides:
      createDefaultDataModel in class JTable