Medical Imaging Interaction Toolkit  2016.11.0
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) virtual ~IPathEditorInput()
 
virtual QString GetPath () const =0
 
- Public Member Functions inherited from berry::IEditorInput
 berryObjectMacro (berry::IEditorInput)~IEditorInput()
 
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
 
virtual bool operator== (const Object *o) const =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
org.blueberry.core.runtime.IPath
Since
3.0

Definition at line 47 of file berryIPathEditorInput.h.

Member Function Documentation

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

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

Returns
a local file system path

Implemented in berry::FileEditorInput.


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