org.eclipse.emf.emfstore.internal.client.ui.views.historybrowserview.graph
Interface IPlotCommitProvider

All Known Implementing Classes:
PlotCommitProvider

public interface IPlotCommitProvider

This interface represents classes that are able to create graphically representable plot commits for HistoryInfo objects.

Author:
Aumann, Faltermeier

Method Summary
 IPlotCommit getCommitFor(HistoryInfo info, boolean isReal)
          Gets a plot commit for the provided history info.
 void refresh(List<HistoryInfo> newInfos)
          Sets a new list of HistoryInfo objects for the same input.
 

Method Detail

getCommitFor

IPlotCommit getCommitFor(HistoryInfo info,
                         boolean isReal)
Gets a plot commit for the provided history info.

Parameters:
info - The history info for which the plot commit shall be retrieved.
isReal - Determines the 'real' status of the returned commit. See IPlotCommit.setIsRealCommit(boolean)
Returns:
The requested plot commit.

refresh

void refresh(List<HistoryInfo> newInfos)
Sets a new list of HistoryInfo objects for the same input. This keeps e.g. branch colors etc.

Parameters:
newInfos - The update HistoryInfo list.


Copyright © 2015. All Rights Reserved.