public SetSelectedRevisionLine ( int selIndex ) : void | ||
selIndex | int | |
리턴 | void |
public void SetSelectedRevisionLine(int selIndex)
{
if (selIndex >= this.lv.totalRows)
{
this.pv.Clear();
this.lv.row = -1;
}
else
{
this.lv.row = selIndex;
this.pv.Clear();
this.pv.AddAssetItems(this.changesets[selIndex]);
this.pv.SetLineCount();
}
this.pv.lv.scrollPos = Vector2.zero;
this.pv.lv.row = -1;
this.pv.selectedFolder = -1;
this.pv.selectedFile = -1;
this.DoSelectionChange();
}