g-Eclipse
Release 1.0.0

eu.geclipse.core.project
Class GridProjectProperties

java.lang.Object
  extended by eu.geclipse.core.project.GridProjectProperties

public class GridProjectProperties
extends java.lang.Object

Class which contains the Properties of a Grid Project. Properties are Name, Location, VirtualOrganisation, ...


Constructor Summary
GridProjectProperties()
           
 
Method Summary
 void addProjectFolder(java.lang.String id, java.lang.String label)
          Add a project folder to the project structure.
 void addProjectFolders(java.util.Hashtable<java.lang.String,java.lang.String> folders)
          Adds a list of project folders to the project structure.
 java.util.Hashtable<java.lang.String,java.lang.String> getProjectFolders()
          Get the list of project folders.
 IPath getProjectLocation()
          Get the project's location within the workspace.
 java.lang.String getProjectName()
          Get the project's name.
 IVirtualOrganization getProjectVo()
          Get the project's IVirtualOrganization.
 IProject[] getReferencesProjects()
          Get the list of referenced projects.
 void setProjectLocation(IPath projectLocation)
          Set the project's location within the workspace.
 void setProjectName(java.lang.String projectName)
          Set the project's name.
 void setProjectVo(IVirtualOrganization vo)
          Set the project's IVirtualOrganization.
 void setReferencesProjects(IProject[] referencesProjects)
          Set the list of referenced projects.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridProjectProperties

public GridProjectProperties()
Method Detail

getProjectName

public java.lang.String getProjectName()
Get the project's name.

Returns:
The project's name.

setProjectName

public void setProjectName(java.lang.String projectName)
Set the project's name.

Parameters:
projectName - The project's name.

getProjectLocation

public IPath getProjectLocation()
Get the project's location within the workspace.

Returns:
The project's workspace location.

setProjectLocation

public void setProjectLocation(IPath projectLocation)
Set the project's location within the workspace.

Parameters:
projectLocation - The project's workspace location.

getProjectVo

public IVirtualOrganization getProjectVo()
Get the project's IVirtualOrganization.

Returns:
The project's IVirtualOrganization.

setProjectVo

public void setProjectVo(IVirtualOrganization vo)
Set the project's IVirtualOrganization.

Parameters:
vo - The project's IVirtualOrganization.

getReferencesProjects

public IProject[] getReferencesProjects()
Get the list of referenced projects.

Returns:
The referenced projects or null.

setReferencesProjects

public void setReferencesProjects(IProject[] referencesProjects)
Set the list of referenced projects.

Parameters:
referencesProjects - The referenced projects.

addProjectFolder

public void addProjectFolder(java.lang.String id,
                             java.lang.String label)
Add a project folder to the project structure.

Parameters:
id - The id of the project folder.
label - The label of the project folder.

addProjectFolders

public void addProjectFolders(java.util.Hashtable<java.lang.String,java.lang.String> folders)
Adds a list of project folders to the project structure.

Parameters:
folders - A Hashtable containing pairs of ids and labels of the project folders.

getProjectFolders

public java.util.Hashtable<java.lang.String,java.lang.String> getProjectFolders()
Get the list of project folders.

Returns:
The list of project folders.

g-Eclipse
Release 1.0.0