17 #ifndef BERRYIWORKBENCHPAGE_H_
18 #define BERRYIWORKBENCHPAGE_H_
41 struct IExtensionTracker;
239 virtual bool Close() = 0;
254 virtual bool CloseAllEditors(
bool save) = 0;
274 virtual bool CloseEditors(
const QList<IEditorReference::Pointer>& editorRefs,
bool save) = 0;
366 virtual QList<IEditorReference::Pointer> FindEditors(
IEditorInput::Pointer input,
const QString& editorId,
380 virtual QList<IEditorPart::Pointer> GetEditors() = 0;
391 virtual QList<IEditorReference::Pointer> GetEditorReferences() = 0;
398 virtual QList<IEditorPart::Pointer> GetDirtyEditors() = 0;
413 virtual QString GetLabel() = 0;
434 virtual QList<IViewReference::Pointer> GetViewReferences() = 0;
447 virtual QList<IViewPart::Pointer> GetViews() = 0;
593 const QString& editorId,
bool activate,
int matchFlags) = 0;
613 virtual void ResetPerspective() = 0;
634 virtual bool SaveAllEditors(
bool confirm) = 0;
663 virtual void SavePerspective() = 0;
754 virtual IViewPart::Pointer ShowView(
const QString& viewId,
const QString& secondaryId,
int mode) = 0;
773 virtual QList<QString> GetPerspectiveShortcuts() = 0;
782 virtual QList<QString> GetShowViewShortcuts() = 0;
790 virtual QList<IPerspectiveDescriptor::Pointer> GetOpenPerspectives() = 0;
798 virtual QList<IPerspectiveDescriptor::Pointer> GetSortedPerspectives() = 0;
827 bool saveParts,
bool closePage) = 0;
840 virtual void CloseAllPerspectives(
bool saveEditors,
bool closePage) = 0;
static const QString CHANGE_EDITOR_CLOSE
static const QString CHANGE_VIEW_HIDE
Light weight base class for most BlueBerry classes.
static const int VIEW_VISIBLE
static const int MATCH_INPUT
static const QString CHANGE_RESET
static const QString EDITOR_ID_ATTR
static const QString CHANGE_EDITOR_AREA_SHOW
static const QString CHANGE_RESET_COMPLETE
#define berryObjectMacro(...)
static const QString CHANGE_EDITOR_OPEN
static const QString CHANGE_ACTION_SET_SHOW
The custom viewer plugin implements simple viewer functionality presented in a customized look and feel It was developed to demonstrate extensibility and customizability of the blueberry application framework As an example for the GUI customization capabilities provided by the BlueBerry application the custom viewer plugin was developed It features simple viewer functionality presented in a customized look and feel The custom viewer consists of two i e a viewer perspective and a DICOM perspective As part of the viewer perspective
static const int VIEW_CREATE
static const QString CHANGE_ACTION_SET_HIDE
static const int VIEW_ACTIVATE
static const int MATCH_NONE
static const int MATCH_ID
static const QString CHANGE_EDITOR_AREA_HIDE
static const QString CHANGE_VIEW_SHOW