Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
86 lines (68 sloc) 2.02 KB
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 <berryIConfigurationElement.h>
#include <berryObject.h>
#include "IChangeText.h"
class ChangeTextDescriptor : public berry::Object
* Initialize the "ChangeText" Descriptor with the given extension point.
* @param changeTextExtensionPoint
* element, that refers to a extension point (type, id, name, class)
ChangeTextDescriptor(berry::IConfigurationElement::Pointer changeTextExtensionPoint);
* Default destructor
~ChangeTextDescriptor() override;
* Creates an instance of "ChangeText" defined in the descriptor.
* @return change text
IChangeText::Pointer CreateChangeText();
* Returns the description of this "ChangeText".
* @return the description
QString GetDescription() const;
* Returns the id of this "ChangeText".
* @return the id
QString GetID() const;
* Returns the name of this "ChangeText".
* @return the name
QString GetName() const;
* Equals this class with the given parameter.
* @param object
* the object for the equation
* @return true, if the objects are equal :: false, if they differ in any way
bool operator==(const Object *object) const override;
// IConfigurationElements are used to access xml files (here: plugin.xml)
berry::IConfigurationElement::Pointer m_ChangeTextExtensionPoint;
IChangeText::Pointer m_ChangeText;
QString m_Id;
QString m_Name;
QString m_Description;
You can’t perform that action at this time.