Changeset View
Changeset View
Standalone View
Standalone View
src/infrastructure/graph/DifferentialRevisionGraph.php
Show All 12 Lines | final class DifferentialRevisionGraph | ||||
protected function getParentEdgeType() { | protected function getParentEdgeType() { | ||||
return DifferentialRevisionDependsOnRevisionEdgeType::EDGECONST; | return DifferentialRevisionDependsOnRevisionEdgeType::EDGECONST; | ||||
} | } | ||||
protected function newQuery() { | protected function newQuery() { | ||||
return new DifferentialRevisionQuery(); | return new DifferentialRevisionQuery(); | ||||
} | } | ||||
protected function isClosed($object) { | |||||
return $object->isClosed(); | |||||
} | |||||
protected function newTableRow($phid, $object, $trace) { | protected function newTableRow($phid, $object, $trace) { | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
if ($object) { | if ($object) { | ||||
$status_icon = $object->getStatusIcon(); | $status_icon = $object->getStatusIcon(); | ||||
$status_name = $object->getStatusDisplayName(); | $status_name = $object->getStatusDisplayName(); | ||||
$status = array( | $status = array( | ||||
Show All 34 Lines | return $table | ||||
null, | null, | ||||
pht('Status'), | pht('Status'), | ||||
pht('Author'), | pht('Author'), | ||||
pht('Revision'), | pht('Revision'), | ||||
)) | )) | ||||
->setColumnClasses( | ->setColumnClasses( | ||||
array( | array( | ||||
'threads', | 'threads', | ||||
'graph-status', | |||||
null, | null, | ||||
null, | 'wide object-link', | ||||
'wide', | |||||
)); | )); | ||||
} | } | ||||
} | } |