RSE
Release 1.0

org.eclipse.rse.core
Class RemoteSystemsProject

java.lang.Object
  extended byorg.eclipse.core.runtime.PlatformObject
      extended byorg.eclipse.rse.core.RemoteSystemsProject
All Implemented Interfaces:
IAdaptable, IProjectNature, IRemoteSystemsProject

public class RemoteSystemsProject
extends PlatformObject
implements IRemoteSystemsProject, IProjectNature

Handle for a Remote Systems Project

A Remote Systems Project is a singleton created initially by the remote systems plugin. It is a container for all the connections and subsystems defined for working with remote systems.

See Also:
IRemoteSystemsProject

Field Summary
protected  IProject fProject
          The platform project this IRemoteProject is based on
static String ID
          ID of the nature for the remote system explorer project: "org.eclipse.rse.ui.remotesystemsnature"
static String NAME
          Name of the nature for the remote system explorer project: "Remote Systems Nature"
protected static String[] NO_PREREQUISITES
          An empty array of strings indicating that a project doesn't have any prerequesite projects.
 
Constructor Summary
RemoteSystemsProject()
          Constructor needed for IProject.getNature() and IProject.addNature().
RemoteSystemsProject(IProject project)
           
 
Method Summary
 void configure()
          Configure the project with Java nature.
 void deconfigure()
          Removes the Java nature from the project.
 IProject getProject()
          Returns the IProject on which this IJavaProject was created.
 int hashCode()
           
 void setProject(IProject project)
           
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final String ID
ID of the nature for the remote system explorer project: "org.eclipse.rse.ui.remotesystemsnature"

See Also:
Constant Field Values

NAME

public static final String NAME
Name of the nature for the remote system explorer project: "Remote Systems Nature"

See Also:
Constant Field Values

NO_PREREQUISITES

protected static final String[] NO_PREREQUISITES
An empty array of strings indicating that a project doesn't have any prerequesite projects.


fProject

protected IProject fProject
The platform project this IRemoteProject is based on

Constructor Detail

RemoteSystemsProject

public RemoteSystemsProject()
Constructor needed for IProject.getNature() and IProject.addNature().

See Also:
setProject(org.eclipse.core.resources.IProject)

RemoteSystemsProject

public RemoteSystemsProject(IProject project)
Method Detail

setProject

public void setProject(IProject project)
Specified by:
setProject in interface IProjectNature

configure

public void configure()
               throws CoreException
Configure the project with Java nature.

Specified by:
configure in interface IProjectNature
Throws:
CoreException

deconfigure

public void deconfigure()
                 throws CoreException
Removes the Java nature from the project.

Specified by:
deconfigure in interface IProjectNature
Throws:
CoreException

getProject

public IProject getProject()
Description copied from interface: IRemoteSystemsProject
Returns the IProject on which this IJavaProject was created. This is handle-only method.

Specified by:
getProject in interface IRemoteSystemsProject

hashCode

public int hashCode()

RSE
Release 1.0

Copyright (c) IBM Corporation and others 2000, 2006. All Rights Reserved.