Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
|
#include <berryIFileEditorMapping.h>
Public Member Functions | |
berryObjectMacro (berry::IFileEditorMapping) | |
~IFileEditorMapping () override | |
virtual IEditorDescriptor::Pointer | GetDefaultEditor ()=0 |
virtual QList< IEditorDescriptor::Pointer > | GetEditors () const =0 |
virtual QList< IEditorDescriptor::Pointer > | GetDeletedEditors () const =0 |
virtual QString | GetExtension () const =0 |
virtual QString | GetLabel () const =0 |
virtual QString | GetName () const =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 |
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 () |
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 |
An association between a file name/extension and a list of known editors for files of that type.
The name and extension can never empty or null. The name may contain the single wild card character (*) to indicate the editor applies to all files with the same extension (e.g. *.doc). The name can never embed the wild card character within itself (i.e. rep*)
This interface is not intended to be implemented by clients.
Definition at line 40 of file berryIFileEditorMapping.h.
|
override |
berry::IFileEditorMapping::berryObjectMacro | ( | berry::IFileEditorMapping | ) |
|
pure virtual |
Returns the default editor registered for this type mapping.
null
if there is no default editor registered. Will also return null
if the default editor exists but fails the Expressions check.
|
pure virtual |
Returns the list of editors formerly registered for this type mapping which have since been deleted.
|
pure virtual |
Returns the list of editors registered for this type mapping.
|
pure virtual |
Returns the file's extension for this type mapping.
|
pure virtual |
Returns the descriptor of the image to use for a file of this type.
The image is obtained from the default editor. A default file image is returned if no default editor is available.
|
pure virtual |
Returns the file's name for this type mapping.