Medical Imaging Interaction Toolkit  2023.04.99-859410e3
Medical Imaging Interaction Toolkit
berry::IPathEditorInput Struct Referenceabstract

#include <berryIPathEditorInput.h>

Inheritance diagram for berry::IPathEditorInput:
Collaboration diagram for berry::IPathEditorInput:

Public Member Functions

 berryObjectMacro (berry::IPathEditorInput)
 ~IPathEditorInput () override
virtual QString GetPath () const =0
- Public Member Functions inherited from berry::IEditorInput
 berryObjectMacro (berry::IEditorInput)
 ~IEditorInput () override
virtual bool Exists () const =0
virtual QIcon GetIcon () const =0
virtual QString GetName () const =0
virtual const IPersistableElementGetPersistable () const =0
virtual QString GetToolTipText () const =0
bool operator== (const Object *o) const override=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
- Public Member Functions inherited from berry::IAdaptable
virtual ObjectGetAdapter (const QString &adapterType) const =0
template<class A >
A * GetAdapter ()
virtual ~IAdaptable ()

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 ()
- 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

This interface defines an editor input based on the local file system path of a file.

Clients implementing this editor input interface should override Object.equals(Object) to answer true for two inputs that are the same. The IWorkbenchPage.openEditor APIs are dependent on this to find an editor with the same input.

Path-oriented editors should support this as a valid input type, and can allow full read-write editing of its content.

All editor inputs must implement the IAdaptable interface; extensions are managed by the platform's adapter manager.

See also

Definition at line 43 of file berryIPathEditorInput.h.

Constructor & Destructor Documentation

◆ ~IPathEditorInput()

berry::IPathEditorInput::~IPathEditorInput ( )

Member Function Documentation

◆ berryObjectMacro()

berry::IPathEditorInput::berryObjectMacro ( berry::IPathEditorInput  )

◆ GetPath()

virtual QString berry::IPathEditorInput::GetPath ( ) const
pure virtual

Returns the local file system path of the file underlying this editor input.

a local file system path

Implemented in berry::FileEditorInput.

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