/** * Enables showing the revision id. * * @param show <code>true</code> to show the revision, <code>false</code> to hide it */ public void showRevisionId(boolean show) { if (fShowRevision != show) { fRequiredWidth= -1; fRevisionIdChars= 0; fShowRevision= show; postRedraw(); } }
/** * Enables showing the revision author. * * @param show <code>true</code> to show the author, <code>false</code> to hide it */ public void showRevisionAuthor(boolean show) { if (fShowAuthor != show) { fRequiredWidth= -1; fRevisionIdChars= 0; fShowAuthor= show; postRedraw(); } }
/** * Enables showing the revision id. * * @param show <code>true</code> to show the revision, <code>false</code> to hide it */ public void showRevisionId(boolean show) { if (fShowRevision != show) { fRequiredWidth= -1; fRevisionIdChars= 0; fShowRevision= show; postRedraw(); } }
/** * Enables showing the revision author. * * @param show <code>true</code> to show the author, <code>false</code> to hide it */ public void showRevisionAuthor(boolean show) { if (fShowAuthor != show) { fRequiredWidth= -1; fRevisionIdChars= 0; fShowAuthor= show; postRedraw(); } }
/** * Changes the rendering mode and triggers redrawing if needed. * * @param renderingMode the rendering mode * @since 3.3 */ public void setRenderingMode(RenderingMode renderingMode) { Assert.isLegal(renderingMode != null); if (fRenderingMode != renderingMode) { fRenderingMode= renderingMode; fColorTool.setInfo(fRevisionInfo); postRedraw(); } }
/** * Changes the rendering mode and triggers redrawing if needed. * * @param renderingMode the rendering mode * @since 3.3 */ public void setRenderingMode(RenderingMode renderingMode) { Assert.isLegal(renderingMode != null); if (fRenderingMode != renderingMode) { fRenderingMode= renderingMode; fColorTool.setInfo(fRevisionInfo); postRedraw(); } }
/** * Handles the selection of a revision and informs listeners. * * @param revision the selected revision, <code>null</code> for none */ void handleRevisionSelected(Revision revision) { fSelectedRevision= revision; fRevisionSelectionProvider.revisionSelected(revision); if (isConnected()) updateOverviewAnnotations(); postRedraw(); }
/** * Handles the selection of a revision and informs listeners. * * @param revision the selected revision, <code>null</code> for none */ void handleRevisionSelected(Revision revision) { fSelectedRevision= revision; fRevisionSelectionProvider.revisionSelected(revision); if (isConnected()) updateOverviewAnnotations(); postRedraw(); }
/** * Sets the revision information to be drawn and triggers a redraw. * * @param info the revision information to show, <code>null</code> to draw none */ public void setRevisionInformation(RevisionInformation info) { if (fRevisionInfo != info) { fRequiredWidth= -1; fRevisionIdChars= 0; fRevisionInfo= info; clearRangeCache(); updateFocusRange(null); handleRevisionSelected((Revision) null); fColorTool.setInfo(info); postRedraw(); informListeners(); } }
/** * Sets the revision information to be drawn and triggers a redraw. * * @param info the revision information to show, <code>null</code> to draw none */ public void setRevisionInformation(RevisionInformation info) { if (fRevisionInfo != info) { fRequiredWidth= -1; fRevisionIdChars= 0; fRevisionInfo= info; clearRangeCache(); updateFocusRange(null); handleRevisionSelected((Revision) null); fColorTool.setInfo(info); postRedraw(); informListeners(); } }