Home You are here: Home > Support > Reference v1.0

Change language: German

XmApplicationExt Class Reference

List of all members.

Detailed Description

Application extension to handle application specific needs of multiple exom based libraries (modules).

To simplify integration of two or more exom based libraries using the document/application architecture, each library have to provide its own implemenation of this class. These extensions have to be added to the application singleton and so the application have the possibility to consider library specific needs. Adding is done by calling XmApplication::AddAppExt().

The general purpose of this extension is providing a document factory for each library.


Public Member Functions

Overridables
virtual void manageFcnExt (XmManFcn &m)=0
 Interface is used to define the set of classes which can be created by this factory.
virtual XmDocumentOnNewDocExt (const XmObjectID *id)=0
 Is called to create a class with the specified id.
virtual XmObjectGetExtSettings ()
 Provide the possibility to announce a 'settings' object, specific to the module using this application extension.


Member Function Documentation

virtual void manageFcnExt XmManFcn m  )  [pure virtual]
 

Interface is used to define the set of classes which can be created by this factory.

To support creation of a class with ID call m.manCreate (xmn.FCN_APP_NEW, ID);

virtual XmDocument* OnNewDocExt const XmObjectID id  )  [pure virtual]
 

Is called to create a class with the specified id.

Return the instance of the created class, otherwise null.

virtual XmObject* GetExtSettings  )  [inline, virtual]
 

Provide the possibility to announce a 'settings' object, specific to the module using this application extension.

It will be a member object of XmApplication.


Copyright © 2006 Praetz Software Development - www.exomware.com