Public Member Functions | Static Public Attributes

QmitkWorkbenchAdvisor Class Reference

#include <QmitkWorkbenchAdvisor.h>

Inheritance diagram for QmitkWorkbenchAdvisor:
Inheritance graph
[legend]
Collaboration diagram for QmitkWorkbenchAdvisor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Initialize (berry::IWorkbenchConfigurer::Pointer configurer)
berry::WorkbenchWindowAdvisorCreateWorkbenchWindowAdvisor (berry::IWorkbenchWindowConfigurer::Pointer configurer)
std::string GetInitialWindowPerspectiveId ()

Static Public Attributes

static const std::string DEFAULT_PERSPECTIVE_ID = "org.mitk.coreapp.defaultperspective"

Detailed Description

Definition at line 32 of file QmitkWorkbenchAdvisor.h.


Member Function Documentation

berry::WorkbenchWindowAdvisor * QmitkWorkbenchAdvisor::CreateWorkbenchWindowAdvisor ( berry::IWorkbenchWindowConfigurer::Pointer  configurer ) [virtual]

Implements berry::WorkbenchAdvisor.

Definition at line 36 of file QmitkWorkbenchAdvisor.cpp.

{
  return new QmitkWorkbenchWindowAdvisor(configurer);
}
std::string QmitkWorkbenchAdvisor::GetInitialWindowPerspectiveId (  ) [virtual]

Implements berry::WorkbenchAdvisor.

Definition at line 42 of file QmitkWorkbenchAdvisor.cpp.

References DEFAULT_PERSPECTIVE_ID.

void QmitkWorkbenchAdvisor::Initialize ( berry::IWorkbenchConfigurer::Pointer  configurer ) [virtual]

Reimplemented from berry::QtWorkbenchAdvisor.

Definition at line 28 of file QmitkWorkbenchAdvisor.cpp.

{
  berry::QtWorkbenchAdvisor::Initialize(configurer);

  configurer->SetSaveAndRestore(true);
}

Member Data Documentation

const std::string QmitkWorkbenchAdvisor::DEFAULT_PERSPECTIVE_ID = "org.mitk.coreapp.defaultperspective" [static]

Definition at line 36 of file QmitkWorkbenchAdvisor.h.

Referenced by GetInitialWindowPerspectiveId().


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