Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
berry::IViewRegistry Struct Referenceabstract

#include <berryIViewRegistry.h>

Public Member Functions

virtual IViewDescriptor::Pointer Find (const QString &id) const =0
 
virtual QList< IViewCategory::PointerGetCategories ()=0
 
virtual QList< IViewDescriptor::PointerGetViews () const =0
 
virtual QList< IStickyViewDescriptor::PointerGetStickyViews () const =0
 
virtual ~IViewRegistry ()
 

Detailed Description

The view registry maintains a list of views explicitly registered against the view extension point.

The description of a given view is kept in a IViewDescriptor.

This interface is not intended to be implemented by clients.

See also
IViewDescriptor
IStickyViewDescriptor This interface is not intended to be implemented by clients.

Definition at line 41 of file berryIViewRegistry.h.

Constructor & Destructor Documentation

◆ ~IViewRegistry()

berry::IViewRegistry::~IViewRegistry ( )
virtual

Definition at line 18 of file berryIViewRegistry.cpp.

Member Function Documentation

◆ Find()

virtual IViewDescriptor::Pointer berry::IViewRegistry::Find ( const QString &  id) const
pure virtual

Return a view descriptor with the given extension id. If no view exists with the id return null. Will also return null if the view descriptor exists, but is filtered by an expression-based activity.

Parameters
idthe id to search for
Returns
the descriptor or null

◆ GetCategories()

virtual QList<IViewCategory::Pointer> berry::IViewRegistry::GetCategories ( )
pure virtual

Returns an array of view categories.

Returns
the categories.

◆ GetStickyViews()

virtual QList<IStickyViewDescriptor::Pointer> berry::IViewRegistry::GetStickyViews ( ) const
pure virtual

Return a list of sticky views defined in the registry.

Returns
the sticky views. Never null.

◆ GetViews()

virtual QList<IViewDescriptor::Pointer> berry::IViewRegistry::GetViews ( ) const
pure virtual

Return a list of views defined in the registry.

Returns
the views.

Referenced by QmitkViewNavigatorWidget::FillTreeList(), and QmitkExtWorkbenchWindowAdvisor::PostWindowCreate().


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