Medical Imaging Interaction Toolkit  2022.10.99-65af2799
Medical Imaging Interaction Toolkit
berry::IReusableEditor Struct Referenceabstract

#include <berryIReusableEditor.h>

Inheritance diagram for berry::IReusableEditor:
Collaboration diagram for berry::IReusableEditor:

Public Member Functions

 berryObjectMacro (berry::IReusableEditor)
 ~IReusableEditor () override
virtual void SetInput (IEditorInput::Pointer input)=0
- Public Member Functions inherited from berry::IEditorPart
 berryObjectMacro (berry::IEditorPart, IWorkbenchPart, ISaveablePart)
 ~IEditorPart () override
virtual SmartPointer< IEditorInputGetEditorInput () const =0
virtual SmartPointer< IEditorSiteGetEditorSite () const =0
virtual void Init (SmartPointer< IEditorSite > site, SmartPointer< IEditorInput > input)=0
- Public Member Functions inherited from berry::IWorkbenchPart
 berryObjectMacro (berry::IWorkbenchPart, Object)
 ~IWorkbenchPart () override
virtual void AddPropertyListener (IPropertyChangeListener *listener)=0
virtual void CreatePartControl (QWidget *parent)=0
virtual SmartPointer< IWorkbenchPartSiteGetSite () const =0
virtual QString GetPartName () const =0
virtual QString GetContentDescription () const =0
virtual QIcon GetTitleImage () const =0
virtual QString GetTitleToolTip () const =0
virtual void RemovePropertyListener (IPropertyChangeListener *listener)=0
virtual QString GetPartProperty (const QString &key) const =0
virtual void SetPartProperty (const QString &key, const QString &value)=0
virtual const QHash< QString, QString > & GetPartProperties () const =0
virtual void SetFocus ()=0
- Public Member Functions inherited from berry::Object
virtual QString GetClassName () const
virtual Reflection::TypeInfo GetTypeInfo () const
virtual QList< Reflection::TypeInfoGetSuperclasses () const
virtual void Delete ()
QDebug Print (QDebug os, Indent Indent=0) const
virtual QString ToString () const
virtual uint HashCode () const
virtual bool operator< (const Object *) const
void Register () const
void UnRegister (bool del=true) const
int GetReferenceCount () const
void SetReferenceCount (int)
void AddDestroyListener (const MessageAbstractDelegate<> &delegate) const
void RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const
virtual bool operator== (const Object *) const
- Public Member Functions inherited from berry::ISaveablePart
 berryObjectMacro (berry::ISaveablePart)
virtual void DoSave ()=0
virtual void DoSaveAs ()=0
virtual bool IsDirty () const =0
virtual bool IsSaveAsAllowed () const =0
virtual bool IsSaveOnCloseNeeded () const =0

Additional Inherited Members

- Public Types inherited from berry::Object
typedef Object Self
typedef berry::SmartPointer< SelfPointer
typedef berry::SmartPointer< const SelfConstPointer
typedef berry::WeakPointer< SelfWeakPtr
typedef berry::WeakPointer< const SelfConstWeakPtr
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
static Reflection::TypeInfo GetStaticTypeInfo ()
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
- Static Public Attributes inherited from berry::ISaveablePart
static const int PROP_DIRTY
- Protected Member Functions inherited from berry::Object
 Object ()
virtual ~Object ()
virtual QDebug PrintSelf (QDebug os, Indent indent) const
virtual QDebug PrintHeader (QDebug os, Indent indent) const
virtual QDebug PrintTrailer (QDebug os, Indent indent) const
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
QMutex m_ReferenceCountLock

Detailed Description

Interface for reusable editors.

An editors may support changing its input so that the workbench may change its contents instead of opening a new editor.

Definition at line 30 of file berryIReusableEditor.h.

Constructor & Destructor Documentation

◆ ~IReusableEditor()

berry::IReusableEditor::~IReusableEditor ( )

Member Function Documentation

◆ berryObjectMacro()

berry::IReusableEditor::berryObjectMacro ( berry::IReusableEditor  )

◆ SetInput()

virtual void berry::IReusableEditor::SetInput ( IEditorInput::Pointer  input)
pure virtual

Sets the input to this editor.

Note: Clients must fire the IWorkbenchPartConstants#PROP_INPUT property change within their implementation of setInput().

inputthe editor input

The documentation for this struct was generated from the following file: