Package | Description |
---|---|
org.eclipse.core.resources |
Provides basic support for managing a workspace and
its resources.
|
org.eclipse.core.resources.team |
Provides APIs intended to be implemented by the Team component.
|
org.eclipse.ui.actions |
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
|
org.eclipse.ui.ide.undo |
APIs that provide undo and redo behavior for operations that manipulate
the workspace.
|
Modifier and Type | Method and Description |
---|---|
IProjectDescription |
IProject.getDescription()
Returns the description for this project.
|
IProjectDescription |
IWorkspace.loadProjectDescription(InputStream projectDescriptionFile)
Reads the project description file (".project") from the given InputStream.
|
IProjectDescription |
IWorkspace.loadProjectDescription(IPath projectDescriptionFile)
Reads the project description file (".project") from the given location
in the local file system.
|
IProjectDescription |
IWorkspace.newProjectDescription(String projectName)
Creates and returns a new project description for a project with the
given name.
|
Modifier and Type | Method and Description |
---|---|
void |
IResource.copy(IProjectDescription description,
boolean force,
IProgressMonitor monitor)
Makes a copy of this project using the given project description.
|
void |
IResource.copy(IProjectDescription description,
int updateFlags,
IProgressMonitor monitor)
Makes a copy of this project using the given project description.
|
void |
IProject.create(IProjectDescription description,
int updateFlags,
IProgressMonitor monitor)
Creates a new project resource in the workspace using the given project
description.
|
void |
IProject.create(IProjectDescription description,
IProgressMonitor monitor)
Creates a new project resource in the workspace using the given project
description.
|
void |
IResource.move(IProjectDescription description,
boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Renames or relocates this project so that it is the project specified by the given project
description.
|
void |
IProject.move(IProjectDescription description,
boolean force,
IProgressMonitor monitor)
Renames this project so that it is located at the name in
the given description.
|
void |
IResource.move(IProjectDescription description,
int updateFlags,
IProgressMonitor monitor)
Renames or relocates this project so that it is the project specified by the
given project description.
|
void |
IProject.setDescription(IProjectDescription description,
int updateFlags,
IProgressMonitor monitor)
Changes this project resource to match the given project
description.
|
void |
IProject.setDescription(IProjectDescription description,
IProgressMonitor monitor)
Changes this project resource to match the given project
description.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IResourceTree.movedProjectSubtree(IProject source,
IProjectDescription description)
Declares that the given source project and its files and folders have
been successfully relocated in the local file system if required, and
requests that the rename and/or relocation should now be made to the
workspace resource tree for the project and all its descendents.
|
boolean |
IMoveDeleteHook.moveProject(IResourceTree tree,
IProject source,
IProjectDescription description,
int updateFlags,
IProgressMonitor monitor)
Implements
IResource.move(IPath,int,IProgressMonitor) and
IResource.move(IProjectDescription,int,IProgressMonitor)
where the receiver is a project. |
void |
IResourceTree.standardMoveProject(IProject source,
IProjectDescription description,
int updateFlags,
IProgressMonitor monitor)
Renames and/or relocates the given project in the standard manner.
|
Modifier and Type | Method and Description |
---|---|
protected IProjectDescription |
CopyProjectAction.createDescription(IProject project,
String projectName,
IPath rootLocation)
Create a new IProjectDescription for the copy using the name and path
selected from the dialog.
|
Constructor and Description |
---|
CreateProjectOperation(IProjectDescription projectDescription,
String label)
Create a CreateProjectOperation
|
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.