|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ptp.rdt.sync.core.resources.RemoteSyncNature
public class RemoteSyncNature
Project nature for remote projects.
| Field Summary | |
|---|---|
static java.lang.String |
NATURE_ID
|
| Constructor Summary | |
|---|---|
RemoteSyncNature()
|
|
| Method Summary | |
|---|---|
static void |
addNature(IProject prj,
IProgressMonitor monitor)
Add the nature to a project |
static void |
addNature(IProject project,
java.lang.String natureId,
IProgressMonitor monitor)
Utility method for adding a nature to a project. |
void |
configure()
|
void |
deconfigure()
|
IProject |
getProject()
|
static boolean |
hasNature(IProject project)
Returns true if the given project has the remote nature. |
static void |
removeNature(IProject project,
java.lang.String natureId,
IProgressMonitor monitor)
Utility method for removing a project nature from a project. |
void |
setProject(IProject project)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NATURE_ID
| Constructor Detail |
|---|
public RemoteSyncNature()
| Method Detail |
|---|
public static void addNature(IProject prj,
IProgressMonitor monitor)
throws CoreException
prj - monitor -
CoreException
public static void addNature(IProject project,
java.lang.String natureId,
IProgressMonitor monitor)
throws CoreException
project - the project to add the naturenatureId - the id of the nature to assign to the projectmonitor - a progress monitor to indicate the duration of the operation,
or null if progress reporting is not required.
CoreExceptionpublic static boolean hasNature(IProject project)
java.lang.NullPointerException - if project is null
public static void removeNature(IProject project,
java.lang.String natureId,
IProgressMonitor monitor)
throws CoreException
project - the project to remove the nature fromnatureId - the nature id to removemonitor - a progress monitor to indicate the duration of the operation,
or null if progress reporting is not required.
CoreException
public void configure()
throws CoreException
CoreException
public void deconfigure()
throws CoreException
CoreExceptionpublic IProject getProject()
public void setProject(IProject project)
|
PTP Release 7.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||