Medical Imaging Interaction Toolkit  2016.11.0
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 45 of file berryIViewRegistry.h.

Constructor & Destructor Documentation

berry::IViewRegistry::~IViewRegistry ( )
virtual

Definition at line 22 of file berryIViewRegistry.cpp.

Member Function Documentation

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
virtual QList<IViewCategory::Pointer> berry::IViewRegistry::GetCategories ( )
pure virtual

Returns an array of view categories.

Returns
the categories.
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.
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: