Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
#include <berryFileEditorInput.h>
Public Member Functions | |
berryObjectMacro (FileEditorInput) | |
FileEditorInput (const QString &path) | |
QString | GetPath () const override |
bool | Exists () const override |
QString | GetName () const override |
QString | GetToolTipText () const override |
QIcon | GetIcon () const override |
const IPersistableElement * | GetPersistable () const override |
Object * | GetAdapter (const QString &adapterType) const override |
bool | operator== (const Object *o) const override |
Public Member Functions inherited from berry::IPathEditorInput | |
berryObjectMacro (berry::IPathEditorInput) | |
~IPathEditorInput () override | |
Public Member Functions inherited from berry::IEditorInput | |
berryObjectMacro (berry::IEditorInput) | |
~IEditorInput () override | |
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 |
Public Member Functions inherited from berry::IAdaptable | |
template<class A > | |
A * | GetAdapter () |
virtual | ~IAdaptable () |
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 |
Definition at line 25 of file berryFileEditorInput.h.
berry::FileEditorInput::FileEditorInput | ( | const QString & | path | ) |
berry::FileEditorInput::berryObjectMacro | ( | FileEditorInput | ) |
|
overridevirtual |
Returns whether the editor input exists.
This method is primarily used to determine if an editor input should appear in the "File Most Recently Used" menu. An editor input will appear in the list until the return value of exists
becomes false
or it drops off the bottom of the list.
true
if the editor input exists; false
otherwise Implements berry::IEditorInput.
|
overridevirtual |
Returns an object which is an instance of the given class associated with this object. Returns null
if no such object can be found.
adapterType | the adapter class to look up |
null
if this object does not have an adapter for the given class Implements berry::IAdaptable.
|
overridevirtual |
Returns the icon for this input.
Implements berry::IEditorInput.
|
overridevirtual |
Returns the name of this editor input for display purposes.
For instance, when the input is from a file, the return value would ordinarily be just the file name.
null
; Implements berry::IEditorInput.
|
overridevirtual |
Returns the local file system path of the file underlying this editor input.
Implements berry::IPathEditorInput.
|
overridevirtual |
Returns an object that can be used to save the state of this editor input.
null
if this editor input cannot be persisted Implements berry::IEditorInput.
|
overridevirtual |
Returns the tool tip text for this editor input. This text is used to differentiate between two input with the same name. For instance, MyClass.java in folder X and MyClass.java in folder Y. The format of the text varies between input types.
null
. Implements berry::IEditorInput.
|
overridevirtual |
Returns true if two editor inputs are the same
Implements berry::IEditorInput.