Public Member Functions

mitk::DataStorageEditorInput Class Reference

#include <mitkDataStorageEditorInput.h>

Inheritance diagram for mitk::DataStorageEditorInput:
Inheritance graph
[legend]
Collaboration diagram for mitk::DataStorageEditorInput:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

Definition at line 29 of file mitkDataStorageEditorInput.h.


Constructor & Destructor Documentation

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.

{
}

Member Function Documentation

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
{

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines