13 #ifndef __BERRY_WORKBENCH_PART_H__
14 #define __BERRY_WORKBENCH_PART_H__
59 QString m_ContentDescription;
61 QHash<QString, QString> partProperties;
64 void InternalSetContentDescription(
const QString& description);
65 void InternalSetPartName(
const QString& partName);
78 return m_ConfigElement;
114 virtual void SetTitleImage(
const QIcon& titleImage);
122 virtual void SetTitleToolTip(
const QString& toolTip);
131 virtual void SetPartName(
const QString& partName);
145 virtual void SetContentDescription(
const QString& description);
147 void FirePropertyChanged(
const QString& key,
148 const QString& oldValue,
const QString& newValue);
150 void FirePropertyChange(
int propertyId);
161 void SetPartProperty(
const QString& key,
const QString& value)
override;
166 QString GetPartProperty(
const QString& key)
const override;
171 const QHash<QString, QString>& GetPartProperties()
const override;
197 void CreatePartControl(QWidget* parent)
override = 0;
208 void SetFocus()
override = 0;
222 QString GetPartName()
const override;
231 QString GetContentDescription()
const override;
237 QIcon GetTitleImage()
const override;
244 QString GetTitleToolTip()
const override;
250 #endif // __BERRY_WORKBENCH_PART_H__