Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berry::IApplicationContext Struct Referenceabstract

#include <berryIApplicationContext.h>

Public Member Functions

virtual ~IApplicationContext ()
 
virtual QHash< QString, QVariant > GetArguments () const =0
 
virtual void ApplicationRunning ()=0
 

Static Public Attributes

static const QString APPLICATION_ARGS
 
static const QString APPLICATION_ARGS_UNPROCESSED
 

Detailed Description

The context used to start an application.

This interface is not intended to be implemented by clients.

This interface is not intended to be extended by clients. This interface is not intended to be implemented by clients.

Definition at line 36 of file berryIApplicationContext.h.

Constructor & Destructor Documentation

berry::IApplicationContext::~IApplicationContext ( )
virtual

Definition at line 24 of file berryIApplicationContext.cpp.

Member Function Documentation

virtual void berry::IApplicationContext::ApplicationRunning ( )
pure virtual

This method should be called once the application is completely initialized and running. This method will perform certain operations that are needed once an application is running. One example is bringing down a splash screen if it exists.

virtual QHash<QString, QVariant> berry::IApplicationContext::GetArguments ( ) const
pure virtual

The arguments used for the application. The arguments from QObject::dynamicPropertyNames() of a QObject service object registered under the interface "org.blueberry.core.runtime.AppDescriptor" are used as the arguments for this context when an application is launched.

Returns
a map of application arguments.

Member Data Documentation

const QString berry::IApplicationContext::APPLICATION_ARGS
static

A key used to store arguments for the application. The content of this argument is unchecked and should conform to the expectations of the application being invoked. Typically this is a QStringList.

If the properties used to launch an application do not contain a value for this key then command line arguments used to launch the platform are set in the arguments of the application context.

Definition at line 51 of file berryIApplicationContext.h.

const QString berry::IApplicationContext::APPLICATION_ARGS_UNPROCESSED
static

A key used to store unprocessed arguments for the application. This is a QStringList.

If the properties used to launch an application do not contain a value for this key then command line arguments used to launch the platform are set in the unprocessed arguments of the application context.

Definition at line 62 of file berryIApplicationContext.h.


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