Interface IRevisionRulerColumnExtension

    • Field Detail

      • AGE

        static final IRevisionRulerColumnExtension.RenderingMode AGE
        Rendering mode that assigns colors to revisions by their age.

        Currently the most recent revision is red, the oldest is a faint yellow. The coloring scheme can change in future releases.

      • AUTHOR_SHADED_BY_AGE

        static final IRevisionRulerColumnExtension.RenderingMode AUTHOR_SHADED_BY_AGE
        Rendering mode that assigns unique colors per revision author and uses different color intensity depending on the age.

        Currently it selects lighter colors for older revisions and more intense colors for more recent revisions. The coloring scheme can change in future releases.

    • Method Detail

      • showRevisionId

        void showRevisionId​(boolean show)
        Enables showing the revision id.
        Parameters:
        show - true to show the revision, false to hide it
      • showRevisionAuthor

        void showRevisionAuthor​(boolean show)
        Enables showing the revision author.
        Parameters:
        show - true to show the author, false to hide it
      • getRevisionSelectionProvider

        ISelectionProvider getRevisionSelectionProvider()
        Returns the revision selection provider.
        Returns:
        the revision selection provider
      • addRevisionListener

        void addRevisionListener​(IRevisionListener listener)
        Adds a revision listener that will be notified when the displayed revision information changes.
        Parameters:
        listener - the listener to add
      • removeRevisionListener

        void removeRevisionListener​(IRevisionListener listener)
        Removes a previously registered revision listener; nothing happens if listener was not registered with the receiver.
        Parameters:
        listener - the listener to remove