g-Eclipse
Release 1.0.0

eu.geclipse.jsdl.ui
Class Extensions

java.lang.Object
  extended by eu.geclipse.jsdl.ui.Extensions

public class Extensions
extends java.lang.Object


Field Summary
static java.lang.String JSDL_APPLICATION_PARAMETERS_POINT
          The ID of the jsdl application's additional parameters extension point.
static java.lang.String JSDL_PARAMETERS_APPLICATION_NAME_ELEMENT
          The name element contained in the eu.geclipse.ui.jsdlApplicationParameters ui extension point.
static java.lang.String JSDL_PARAMETERS_APPLICATION_NAME_ELEMENT_NAME_ATTRIBUTE
          Name of the attribute of JSDL_PARAMETERS_APPLICATION_NAME_ELEMENT that holds the name (in JSDL_APPLICATION_PARAMETERS_POINT extension point)
static java.lang.String JSDL_PARAMETERS_EXECUTABLE_ELEMENT
          The executable element contained in the eu.geclipse.ui.jsdlApplicationParameters ui extension point.
static java.lang.String JSDL_PARAMETERS_EXECUTABLE_ELEMENT_PATH_ATTRIBUTE
          Name of the attribute of JSDL_PARAMETERS_EXECUTABLE_ELEMENT that holds the path (in JSDL_APPLICATION_PARAMETERS_POINT extension point)
static java.lang.String JSDL_PARAMETERS_SCHEMA_ELEMENT
          Name of the element in extension of JSDL_APPLICATION_PARAMETERS_POINT extension point that keeps information of xml
static java.lang.String JSDL_PARAMETERS_SCHEMA_ELEMENT_XML_PATH_ATTRIBUTE
          Name of attribute that holds path to xml document within JSDL_PARAMETERS_SCHEMA_ELEMENT element inJSDL_APPLICATION_PARAMETERS_POINT plug-in
 
Constructor Summary
Extensions()
           
 
Method Summary
static java.util.Map<java.lang.String,java.lang.String> getApplicationParametersXMLMap()
          Method to access list of names of application for which additional parameters are required.
static java.lang.String getJSDLExtensionExecutable(java.lang.String bundleId)
          Get all currently registered extension executable for the JSDL application parameter extension point.
static Path getXMLPath(java.lang.String bundleId)
          Returns path (in file system, not in Eclipse resources way) to xml file describing contents of additional NewJobWizard pages, for given bundle id
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JSDL_APPLICATION_PARAMETERS_POINT

public static final java.lang.String JSDL_APPLICATION_PARAMETERS_POINT
The ID of the jsdl application's additional parameters extension point.

See Also:
Constant Field Values

JSDL_PARAMETERS_APPLICATION_NAME_ELEMENT

public static final java.lang.String JSDL_PARAMETERS_APPLICATION_NAME_ELEMENT
The name element contained in the eu.geclipse.ui.jsdlApplicationParameters ui extension point.

See Also:
Constant Field Values

JSDL_PARAMETERS_SCHEMA_ELEMENT_XML_PATH_ATTRIBUTE

public static final java.lang.String JSDL_PARAMETERS_SCHEMA_ELEMENT_XML_PATH_ATTRIBUTE
Name of attribute that holds path to xml document within JSDL_PARAMETERS_SCHEMA_ELEMENT element inJSDL_APPLICATION_PARAMETERS_POINT plug-in

See Also:
Constant Field Values

JSDL_PARAMETERS_APPLICATION_NAME_ELEMENT_NAME_ATTRIBUTE

public static final java.lang.String JSDL_PARAMETERS_APPLICATION_NAME_ELEMENT_NAME_ATTRIBUTE
Name of the attribute of JSDL_PARAMETERS_APPLICATION_NAME_ELEMENT that holds the name (in JSDL_APPLICATION_PARAMETERS_POINT extension point)

See Also:
Constant Field Values

JSDL_PARAMETERS_SCHEMA_ELEMENT

public static final java.lang.String JSDL_PARAMETERS_SCHEMA_ELEMENT
Name of the element in extension of JSDL_APPLICATION_PARAMETERS_POINT extension point that keeps information of xml

See Also:
Constant Field Values

JSDL_PARAMETERS_EXECUTABLE_ELEMENT

public static final java.lang.String JSDL_PARAMETERS_EXECUTABLE_ELEMENT
The executable element contained in the eu.geclipse.ui.jsdlApplicationParameters ui extension point.

See Also:
Constant Field Values

JSDL_PARAMETERS_EXECUTABLE_ELEMENT_PATH_ATTRIBUTE

public static final java.lang.String JSDL_PARAMETERS_EXECUTABLE_ELEMENT_PATH_ATTRIBUTE
Name of the attribute of JSDL_PARAMETERS_EXECUTABLE_ELEMENT that holds the path (in JSDL_APPLICATION_PARAMETERS_POINT extension point)

See Also:
Constant Field Values
Constructor Detail

Extensions

public Extensions()
Method Detail

getXMLPath

public static Path getXMLPath(java.lang.String bundleId)
Returns path (in file system, not in Eclipse resources way) to xml file describing contents of additional NewJobWizard pages, for given bundle id

Parameters:
bundleId - id of bundle within which xml file is defined
Returns:
path to xml file with description of additional pages for NewJobWizard

getApplicationParametersXMLMap

public static java.util.Map<java.lang.String,java.lang.String> getApplicationParametersXMLMap()
Method to access list of names of application for which additional parameters are required. Each element of this list is connected with bundle (by this bundle's id)

Returns:
Map with bundles' ids as key and names of applications that require additional parameters as values

getJSDLExtensionExecutable

public static java.lang.String getJSDLExtensionExecutable(java.lang.String bundleId)
Get all currently registered extension executable for the JSDL application parameter extension point.

Parameters:
bundleId - The ID of the bundle for which to get the executables.
Returns:
The JSDL extension executables.

g-Eclipse
Release 1.0.0