g-Eclipse - Defining Application Parameters

Introduction

Application Parameters allow user to define extension of New Job Wizard in form of additional wizard's pages without writing even single line of programming code. From user's point of view this is declarative mechanism based on XML files.

If any Application Parameters are defined they will be displayed on Executable page in New Job Wizard in Application name list (by application name parameter). Choosing one of the applications from the list will result in adding new pages to wizard (defined by XML file associated with Application Parameters). If not empty JSDL file is set for Application Parameters it will be used as a base for creating new job description by Wizard.

Defining Application Parameters

Application Parameters can be defined using Window > Preferences > g-Eclipse > Application Parameters menu, by providing the following information:

Application Parameters menu

Additional wizard's pages definition

Any extra wizard's pages should be defined in XML file passed to application parameters through XML Path field in Preferences dialog. This XML is described by ui_definition (this file can be found in eu.geclipse.jsdl.ui/xml/) XSD document.

The basic document structure, listing main XML elements is described below. Please refer to XSD document for detailed information.

NOTE: paramName element which must be defined for all of the components' element is the name of parameter that will be passed to application. This is done by adding name of the parameter to executable call of the application. In JSDL those values are represented by jsdl-posix:Argument elements.