public interface IPlotCommit
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(IPlotCommit child)
Adds a child to this commit.
|
void |
addPassingLane(PlotLane lane)
Adds a passing lane to this commit.
|
void |
dispose()
Disposes this commit and all aquired resources.
|
String |
getBranch() |
IPlotCommit |
getChild(int childId) |
int |
getChildCount() |
org.eclipse.swt.graphics.Color |
getColor() |
int |
getId() |
PlotLane |
getLane() |
org.eclipse.swt.graphics.Color |
getLightColor() |
IPlotCommit |
getParent(int parentId) |
int |
getParentCount() |
PlotLane[] |
getPassingLanes() |
boolean |
isChild(IPlotCommit commit)
Tests whether a given commit is child of this commit.
|
boolean |
isLocalHistoryOnly()
Checks whether this commit is a real (i.e.
|
boolean |
isRealCommit() |
void |
setColor(org.eclipse.swt.graphics.Color color)
Sets the color of this commit.
|
void |
setIsRealCommit(boolean isReal)
Sets the 'real' status of this commit.
|
void |
setLane(PlotLane lane)
Sets the lane of the commit.
|
void |
setLightColor(org.eclipse.swt.graphics.Color color)
Sets the light color of this commit.
|
void |
setParents(List<IPlotCommit> parents)
Sets the parent's of this commit.
|
PlotLane getLane()
void setLane(PlotLane lane)
lane - The lane to set as lane for this commit.void addPassingLane(PlotLane lane)
lane - The lane to add.PlotLane[] getPassingLanes()
void setParents(List<IPlotCommit> parents)
parents - A list of this commit's parents.int getParentCount()
IPlotCommit getParent(int parentId)
parentId - The index of the parent to retrieve.void addChild(IPlotCommit child)
setParents(List)child - The child to add.int getChildCount()
IPlotCommit getChild(int childId)
childId - The index of the child to retrieve.boolean isChild(IPlotCommit commit)
commit - The potential child commit.boolean isLocalHistoryOnly()
void setIsRealCommit(boolean isReal)
isReal - The new status.boolean isRealCommit()
setIsRealCommit(boolean).String getBranch()
int getId()
void dispose()
void setColor(org.eclipse.swt.graphics.Color color)
color - The new color.org.eclipse.swt.graphics.Color getColor()
setColor(Color).void setLightColor(org.eclipse.swt.graphics.Color color)
setColor(Color)). The light color is used whenever a more faded color representation for this commit is
needed (e.g. label backgrounds, lane colors for expanded commit nodes).color - The new light color of this commit.org.eclipse.swt.graphics.Color getLightColor()
setLightColor(Color).Copyright © 2017. All rights reserved.