public function apply()
{
if ($this->canApply()) {
$subject = $this->getSubject();
$parent = $subject->getParent();
$node = $this->createNode($parent);
$node->moveAfter($subject);
$this->updateWorkspaceInfo();
}
}