#include <mitkDataStorageEditorInput.h>
Public Member Functions | |
berryObjectMacro (DataStorageEditorInput) | |
DataStorageEditorInput () | |
DataStorageEditorInput (IDataStorageReference::Pointer ref) | |
bool | Exists () const |
std::string | GetName () const |
std::string | GetToolTipText () const |
IDataStorageReference::Pointer | GetDataStorageReference () |
bool | operator== (const berry::Object *) const |
Definition at line 29 of file mitkDataStorageEditorInput.h.
mitk::DataStorageEditorInput::DataStorageEditorInput | ( | ) |
Definition at line 21 of file mitkDataStorageEditorInput.cpp.
{
mitk::DataStorageEditorInput::DataStorageEditorInput | ( | IDataStorageReference::Pointer | ref ) |
Definition at line 25 of file mitkDataStorageEditorInput.cpp.
{ }
mitk::DataStorageEditorInput::berryObjectMacro | ( | DataStorageEditorInput | ) |
bool mitk::DataStorageEditorInput::Exists | ( | ) | const [virtual] |
Implements berry::IEditorInput.
Definition at line 30 of file mitkDataStorageEditorInput.cpp.
{ m_DataStorageRef = ref; }
IDataStorageReference::Pointer mitk::DataStorageEditorInput::GetDataStorageReference | ( | ) |
Definition at line 54 of file mitkDataStorageEditorInput.cpp.
{ if (m_DataStorageRef.IsNull()) { berry::ServiceRegistry& serviceRegistry = berry::Platform::GetServiceRegistry(); IDataStorageService::Pointer dataService = serviceRegistry.GetServiceById<IDataStorageService>(IDataStorageService::ID); if (!dataService) return IDataStorageReference::Pointer(0);
std::string mitk::DataStorageEditorInput::GetName | ( | ) | const [virtual] |
Implements berry::IEditorInput.
Definition at line 35 of file mitkDataStorageEditorInput.cpp.
{ return true; }
std::string mitk::DataStorageEditorInput::GetToolTipText | ( | ) | const [virtual] |
Implements berry::IEditorInput.
Definition at line 40 of file mitkDataStorageEditorInput.cpp.
{ return "DataStorage Scene"; }
bool mitk::DataStorageEditorInput::operator== | ( | const berry::Object * | o ) | const [virtual] |
Implements berry::IEditorInput.
Definition at line 45 of file mitkDataStorageEditorInput.cpp.
{ return ""; } bool DataStorageEditorInput::operator==(const berry::Object* o) const {