Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
|
#include <berryIReusableEditor.h>
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< IEditorInput > | GetEditorInput () const =0 |
virtual SmartPointer< IEditorSite > | GetEditorSite () 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< IWorkbenchPartSite > | GetSite () 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::TypeInfo > | GetSuperclasses () 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< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
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 |
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.
|
override |
berry::IReusableEditor::berryObjectMacro | ( | berry::IReusableEditor | ) |
|
pure virtual |
Sets the input to this editor.
Note: Clients must fire the IWorkbenchPartConstants#PROP_INPUT property change within their implementation of setInput()
.
input | the editor input |