public interface VcsLogRefManager
references of branches and tags according to their type, "expected importance" and other means.| Modifier and Type | Method and Description |
|---|---|
VcsRefType |
deserialize(java.io.DataInput in)
Reads reference type from given input.
|
java.util.Comparator<VcsRef> |
getBranchLayoutComparator()
Returns the comparator which compares two given references, which represent heads (leafs) of the log graph,
by their expected position in the log graph.
|
java.util.Comparator<VcsRef> |
getLabelsOrderComparator()
Return the comparator which compares two given references, to identify the order of branch labels in the log table and description.
|
java.util.List<RefGroup> |
groupForBranchFilter(java.util.Collection<? extends VcsRef> refs)
Groups VCS references to show them in branch filter.
|
java.util.List<RefGroup> |
groupForTable(java.util.Collection<? extends VcsRef> refs,
boolean compact,
boolean showTagNames)
Groups VCS references to show them in graph table.
|
boolean |
isFavorite(VcsRef reference)
Checks whether a reference is a favorite.
|
void |
serialize(java.io.DataOutput out,
VcsRefType type)
Writes given reference type to the output.
|
void |
setFavorite(VcsRef reference,
boolean favorite)
Marks or unmarks a reference as favorite.
|
java.util.Comparator<VcsRef> getBranchLayoutComparator()
getLabelsOrderComparator()java.util.Comparator<VcsRef> getLabelsOrderComparator()
getBranchLayoutComparator().
getBranchLayoutComparator()java.util.List<RefGroup> groupForBranchFilter(java.util.Collection<? extends VcsRef> refs)
Groups VCS references to show them in branch filter.
Groups containing only one element will be displayed as a single ref. Others will provide a popup menu.
Groups must be pre-sorted in the order which they are to be painted on the panel.
java.util.List<RefGroup> groupForTable(java.util.Collection<? extends VcsRef> refs, boolean compact, boolean showTagNames)
void serialize(java.io.DataOutput out,
VcsRefType type)
throws java.io.IOException
out - output to write type intotype - type to serializejava.io.IOExceptionVcsRefType deserialize(java.io.DataInput in) throws java.io.IOException
in - input to read type fromjava.io.IOExceptionboolean isFavorite(VcsRef reference)
reference - reference to checkvoid setFavorite(VcsRef reference, boolean favorite)
reference - a reference to mark or unmark as favoritefavorite - true means to mark as favorite, false to unmark