g-Eclipse
Release 1.0.0

eu.geclipse.ui
Class Extensions

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

public class Extensions
extends java.lang.Object

This is a helper class that holds static fields and methods to easily access extension of the g-Eclipse ui extension points.


Field Summary
static java.lang.String AUTH_TOKEN_FACTORY_ELEMENT
          The ID of the authentication token ui factory element contained in the authentication token ui extension point.
static java.lang.String AUTH_TOKEN_FACTORY_EXECUTABLE
          The ID of the executable extension of the authentication token ui factory configuration element.
static java.lang.String AUTH_TOKEN_UI_POINT
          The ID of the authentication token ui extension point.
static java.lang.String CONNECTION_WIZARD_POINT
          The ID of the connection wizard extension point.
static java.lang.String EFS_AUTHORITY_ATT
           
static java.lang.String EFS_FILESYSTEM_ELEMENT
           
static java.lang.String EFS_FRAGMENT_ATT
           
static java.lang.String EFS_HOST_ATT
           
static java.lang.String EFS_PATH_ATT
           
static java.lang.String EFS_POINT
           
static java.lang.String EFS_PORT_ATT
           
static java.lang.String EFS_PROCESSOR_ATT
           
static java.lang.String EFS_QUERY_ATT
           
static java.lang.String EFS_SCHEME_ATT
           
static java.lang.String EFS_SCHEME_SPEC_PART_ATT
           
static java.lang.String EFS_URI_ATT
           
static java.lang.String EFS_URI_HIERARCHICAL
           
static java.lang.String EFS_URI_OPAQUE
           
static java.lang.String EFS_URI_RAW
           
static java.lang.String EFS_URI_SERVER
           
static java.lang.String EFS_USER_INFO_ATT
           
static java.lang.String EFS_VALIDATOR_ATT
           
static java.lang.String SIMPLE_TEST_ELEMENT
          The ID of the name attribute of the wizard element of the simple test extension point.
static java.lang.String SIMPLE_TEST_FACTORY_ELEMENT
          The ID of the simple test ui factory element contained in the simple test ui extension point.
static java.lang.String SIMPLE_TEST_FACTORY_EXECUTABLE
          The ID of the executable extension of the simple test ui factory configuration element.
static java.lang.String SIMPLE_TEST_NAME_ATTRIBUTE
          The ID of the name attribute of the wizard element of the simple test extension point.
static java.lang.String SIMPLE_TEST_POINT
          The ID of the simple test extension point.
static java.lang.String SIMPLE_TEST_UI_POINT
          The ID of the simple test ui extension point.
static java.lang.String WIZARD_EXTENSION_ELEMENT
          The ID of the wizard extension wizard element.
static java.lang.String WIZARD_EXTENSION_EXECUTABLE
          The ID of the wizard extension wizard element's executable.
static java.lang.String WIZARD_EXTENSION_REFID_ATTRIBUTE
          The ID of the wizard extension wizard element's refid attribute.
 
Constructor Summary
Extensions()
           
 
Method Summary
static java.util.List<IJobDetailsFactory> getJobDetailsFactories(java.lang.Class<?> gridJobClass, java.lang.Class<?> gridJobStatusClass)
           
static java.util.List<IPropertiesFactory> getPropertiesFactories(java.lang.Class<?> sourceObjectClass)
          Scan registered plugins and return all IPropertiesFactory, which support properties for class sourceObjectClass, or for sourceObjectClass base classes, or for sourceObjectClass interfaces.
static java.util.List<IAuthTokenUIFactory> getRegisteredAuthTokenUIFactories()
          Get a list of all currently registered authentication token ui factories.
static IConfigurationElement getRegisteredEFSExtension(java.lang.String scheme)
           
static java.util.List<IConfigurationElement> getRegisteredEFSExtensions()
           
static java.util.List<java.lang.String> getRegisteredSimpleTestNames()
          Get a list with the names of all registered simple tests.
static java.util.List<ISimpleTestUIFactory> getRegisteredSimpleTestUIFactories()
          Get a list of all currently registered simple test ui factories.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EFS_POINT

public static final java.lang.String EFS_POINT
See Also:
Constant Field Values

EFS_FILESYSTEM_ELEMENT

public static final java.lang.String EFS_FILESYSTEM_ELEMENT
See Also:
Constant Field Values

EFS_SCHEME_ATT

public static final java.lang.String EFS_SCHEME_ATT
See Also:
Constant Field Values

EFS_VALIDATOR_ATT

public static final java.lang.String EFS_VALIDATOR_ATT
See Also:
Constant Field Values

EFS_PROCESSOR_ATT

public static final java.lang.String EFS_PROCESSOR_ATT
See Also:
Constant Field Values

EFS_URI_ATT

public static final java.lang.String EFS_URI_ATT
See Also:
Constant Field Values

EFS_SCHEME_SPEC_PART_ATT

public static final java.lang.String EFS_SCHEME_SPEC_PART_ATT
See Also:
Constant Field Values

EFS_AUTHORITY_ATT

public static final java.lang.String EFS_AUTHORITY_ATT
See Also:
Constant Field Values

EFS_USER_INFO_ATT

public static final java.lang.String EFS_USER_INFO_ATT
See Also:
Constant Field Values

EFS_HOST_ATT

public static final java.lang.String EFS_HOST_ATT
See Also:
Constant Field Values

EFS_PORT_ATT

public static final java.lang.String EFS_PORT_ATT
See Also:
Constant Field Values

EFS_PATH_ATT

public static final java.lang.String EFS_PATH_ATT
See Also:
Constant Field Values

EFS_QUERY_ATT

public static final java.lang.String EFS_QUERY_ATT
See Also:
Constant Field Values

EFS_FRAGMENT_ATT

public static final java.lang.String EFS_FRAGMENT_ATT
See Also:
Constant Field Values

EFS_URI_RAW

public static final java.lang.String EFS_URI_RAW
See Also:
Constant Field Values

EFS_URI_OPAQUE

public static final java.lang.String EFS_URI_OPAQUE
See Also:
Constant Field Values

EFS_URI_HIERARCHICAL

public static final java.lang.String EFS_URI_HIERARCHICAL
See Also:
Constant Field Values

EFS_URI_SERVER

public static final java.lang.String EFS_URI_SERVER
See Also:
Constant Field Values

AUTH_TOKEN_UI_POINT

public static final java.lang.String AUTH_TOKEN_UI_POINT
The ID of the authentication token ui extension point.

See Also:
Constant Field Values

AUTH_TOKEN_FACTORY_ELEMENT

public static final java.lang.String AUTH_TOKEN_FACTORY_ELEMENT
The ID of the authentication token ui factory element contained in the authentication token ui extension point.

See Also:
Constant Field Values

AUTH_TOKEN_FACTORY_EXECUTABLE

public static final java.lang.String AUTH_TOKEN_FACTORY_EXECUTABLE
The ID of the executable extension of the authentication token ui factory configuration element.

See Also:
Constant Field Values

CONNECTION_WIZARD_POINT

public static final java.lang.String CONNECTION_WIZARD_POINT
The ID of the connection wizard extension point.

See Also:
Constant Field Values

SIMPLE_TEST_POINT

public static final java.lang.String SIMPLE_TEST_POINT
The ID of the simple test extension point.

See Also:
Constant Field Values

SIMPLE_TEST_UI_POINT

public static final java.lang.String SIMPLE_TEST_UI_POINT
The ID of the simple test ui extension point.

See Also:
Constant Field Values

SIMPLE_TEST_ELEMENT

public static final java.lang.String SIMPLE_TEST_ELEMENT
The ID of the name attribute of the wizard element of the simple test extension point.

See Also:
Constant Field Values

SIMPLE_TEST_NAME_ATTRIBUTE

public static final java.lang.String SIMPLE_TEST_NAME_ATTRIBUTE
The ID of the name attribute of the wizard element of the simple test extension point.

See Also:
Constant Field Values

SIMPLE_TEST_FACTORY_ELEMENT

public static final java.lang.String SIMPLE_TEST_FACTORY_ELEMENT
The ID of the simple test ui factory element contained in the simple test ui extension point.

See Also:
Constant Field Values

SIMPLE_TEST_FACTORY_EXECUTABLE

public static final java.lang.String SIMPLE_TEST_FACTORY_EXECUTABLE
The ID of the executable extension of the simple test ui factory configuration element.

See Also:
Constant Field Values

WIZARD_EXTENSION_ELEMENT

public static final java.lang.String WIZARD_EXTENSION_ELEMENT
The ID of the wizard extension wizard element.

See Also:
Constant Field Values

WIZARD_EXTENSION_REFID_ATTRIBUTE

public static final java.lang.String WIZARD_EXTENSION_REFID_ATTRIBUTE
The ID of the wizard extension wizard element's refid attribute.

See Also:
Constant Field Values

WIZARD_EXTENSION_EXECUTABLE

public static final java.lang.String WIZARD_EXTENSION_EXECUTABLE
The ID of the wizard extension wizard element's executable.

See Also:
Constant Field Values
Constructor Detail

Extensions

public Extensions()
Method Detail

getRegisteredAuthTokenUIFactories

public static java.util.List<IAuthTokenUIFactory> getRegisteredAuthTokenUIFactories()
Get a list of all currently registered authentication token ui factories.

Returns:
A list containing instances of all currently registered extensions of the authentication token ui configuration elements.

getRegisteredEFSExtension

public static IConfigurationElement getRegisteredEFSExtension(java.lang.String scheme)

getRegisteredEFSExtensions

public static java.util.List<IConfigurationElement> getRegisteredEFSExtensions()

getPropertiesFactories

public static java.util.List<IPropertiesFactory> getPropertiesFactories(java.lang.Class<?> sourceObjectClass)
Scan registered plugins and return all IPropertiesFactory, which support properties for class sourceObjectClass, or for sourceObjectClass base classes, or for sourceObjectClass interfaces.

Parameters:
sourceObjectClass - class of object, for which we need properties
Returns:
all factories, which can produces properties for sourceObjectClass

getJobDetailsFactories

public static java.util.List<IJobDetailsFactory> getJobDetailsFactories(java.lang.Class<?> gridJobClass,
                                                                        java.lang.Class<?> gridJobStatusClass)
Parameters:
gridJobClass -
gridJobStatusClass -
Returns:
factories supports details for passed job and jobstatus

getRegisteredSimpleTestNames

public static java.util.List<java.lang.String> getRegisteredSimpleTestNames()
Get a list with the names of all registered simple tests. The list will be sorted alphabetically.

Returns:
A list containing the names of the types of all currently available simple tests.

getRegisteredSimpleTestUIFactories

public static java.util.List<ISimpleTestUIFactory> getRegisteredSimpleTestUIFactories()
Get a list of all currently registered simple test ui factories.

Returns:
A list containing instances of all currently registered extensions of the simple test ui configuration elements.

g-Eclipse
Release 1.0.0