/*============================================================================

The Medical Imaging Interaction Toolkit (MITK)

Copyright (c) German Cancer Research Center (DKFZ)
All rights reserved.

Use of this source code is governed by a 3-clause BSD license that can be
found in the LICENSE file.

============================================================================*/


#include "berryAbstractMenuAdditionCacheEntry.h"

#include <berryIConfigurationElement.h>

namespace berry {

AbstractMenuAdditionCacheEntry::AbstractMenuAdditionCacheEntry(
    const QString& location, const QString& namespaze,
    const SmartPointer<IConfigurationElement>& element)
  : AbstractContributionFactory(location, namespaze), additionElement(element)
{
}

SmartPointer<IConfigurationElement> AbstractMenuAdditionCacheEntry::GetConfigElement() const
{
  return additionElement;
}

}
