public function addPanel(Panel $panel)
    {
        $id = $panel->getId();
        if (!empty($this->_panels[$id])) {
            throw new BugException('[FireBug] No panels exist with ID "' . $id . '".');
        }
        $this->_panels[$id] = $panel;
    }