17 #ifndef __BERRY_WORKBENCH_PART_H__
18 #define __BERRY_WORKBENCH_PART_H__
64 QString m_ContentDescription;
66 QHash<QString, QString> partProperties;
69 void InternalSetContentDescription(
const QString& description);
70 void InternalSetPartName(
const QString& partName);
83 return m_ConfigElement;
119 virtual void SetTitleImage(
const QIcon& titleImage);
127 virtual void SetTitleToolTip(
const QString& toolTip);
136 virtual void SetPartName(
const QString& partName);
150 virtual void SetContentDescription(
const QString& description);
152 void FirePropertyChanged(
const QString& key,
153 const QString& oldValue,
const QString& newValue);
155 void FirePropertyChange(
int propertyId);
166 void SetPartProperty(
const QString& key,
const QString& value)
override;
171 QString GetPartProperty(
const QString& key)
const override;
176 const QHash<QString, QString>& GetPartProperties()
const override;
202 virtual void CreatePartControl(QWidget* parent)
override = 0;
213 virtual void SetFocus()
override = 0;
227 QString GetPartName()
const override;
236 QString GetContentDescription()
const override;
242 QIcon GetTitleImage()
const override;
249 QString GetTitleToolTip()
const override;
255 #endif // __BERRY_WORKBENCH_PART_H__
berry::SmartPointer< Self > Pointer
#define berryObjectMacro(...)
IConfigurationElement::Pointer GetConfigurationElement() const