g-Eclipse
Release 1.0.0

eu.geclipse.core.model
Interface IGridPreferences


public interface IGridPreferences

This interface defines some global access points for preferences that are not stored in the metadata area of the workspace.


Method Summary
 void createGlobalConnection(java.lang.String name, java.net.URI uri, IProgressMonitor monitor)
          Creates a global connection, i.e. a connection that is not part of a project.
 IGridConnection createTemporaryConnection(java.net.URI uri)
          Creates a temporary connection, i.e. a connection that is not shown in the UI, neither in a project nor in the connection view.
 IFolder getTemporaryFolder()
           
 

Method Detail

createGlobalConnection

void createGlobalConnection(java.lang.String name,
                            java.net.URI uri,
                            IProgressMonitor monitor)
                            throws ProblemException
Creates a global connection, i.e. a connection that is not part of a project.

Parameters:
name - The name of the connection.
uri - The URI from which to create the connection.
monitor - Used to monitor the progress of this operation.
Throws:
ProblemException - If an error occurs during the creation of the connection.

createTemporaryConnection

IGridConnection createTemporaryConnection(java.net.URI uri)
                                          throws ProblemException
Creates a temporary connection, i.e. a connection that is not shown in the UI, neither in a project nor in the connection view. Temporary connections are not referenced with a name.

Parameters:
uri - The URI from which to create the connection.
Returns:
The created connection.
Throws:
ProblemException - If an error occurs during the creation of the connection.

getTemporaryFolder

IFolder getTemporaryFolder()
                           throws CoreException
Returns:
temporary folder in hidden project
Throws:
CoreException

g-Eclipse
Release 1.0.0