Version 8.3.4
 —  Working with Pages  —

Extended Functions in the Application Designer Workplace

The previous section covered the "normal usage mode" of the Application Designer workplace. But there are extended functions allowing you to more interactively operate with the Application Designer workplace.

These functions include:

These functions allow the users to arrange their workplace settings (e.g. functions that are part of their workplace) in a simple way on their own.

This document covers the following topics:


Interface IMFWorkplaceEventListener

The base of the extended functions is the interface com.softwareag.cis.workplace.IMFWorkplaceEventListener. The interface contains methods that are called on certain events. The most important methods are:

The implementation of the interface is completely "yours". Use the workplace interface you got to know in the previous section to manipulate the workplace, e.g. to access the currently shown tree and to manipulate it.

An instance of the workplace event handler is passed by calling the method registerMFWorkplaceEventListener inside the MFWorkplaceInfo class:

MFWorkplaceInfo workplaceInfo = new MFWorkplaceInfo("/HTMLBasedGUI/empty.html",
                                             "../softwareag/styles/CIS_DEFAULT.css");        
workplaceInfo.setSynchTabNavigation(true);
workplaceInfo.registerMFWorkplaceEventListener(new XYZ(...));        

See the Java API documentation for detailed information.

Top of page

Example

Among other features, the Application Designer demo workplace framework provides the following:

Have a look at the event listener source coding. You can find it in your installation at:

<installdir>/cis/cisdemos/src/com/softwareag/cis/demoworkplace/CISDemoWorkplaceEventListener

Top of page