Package | Description |
---|---|
org.eclipse.ant.core |
Provides support for running the Ant build tool in the platform.
|
org.eclipse.compare.patch |
Provides support for applying and working with patches.
|
org.eclipse.core.filebuffers |
Provides the API for accessing file buffers.
|
org.eclipse.core.filebuffers.manipulation |
Provides the API for manipulating file buffers.
|
org.eclipse.core.filesystem |
Provides an interface for interacting with a file system.
|
org.eclipse.core.filesystem.provider |
Provides an API to be extended by a file system implementation.
|
org.eclipse.core.resources |
Provides basic support for managing a workspace and
its resources.
|
org.eclipse.core.resources.mapping |
Provides APIs for integrating application models with the workspace
Package Specification
This package specifies the APIs in the Resources plug-in that are used to integrate
application models with the workspace.
|
org.eclipse.core.resources.team |
Provides APIs intended to be implemented by the Team component.
|
org.eclipse.core.runtime |
Provides support for the runtime platform, core utility methods and the extension registry.
|
org.eclipse.core.runtime.preferences |
Provides core support for Eclipse preferences.
|
org.eclipse.debug.core |
Provides support for launching programs, breakpoint management, expression management,
and debug events.
|
org.eclipse.debug.core.sourcelookup.containers |
Provides implementations of common source containers supporting source lookup.
|
org.eclipse.equinox.p2.engine |
Provides support for interacting with the p2 provisioning engine
Package Specification
This package specifies API for interacting with the p2 provisioning engine.
|
org.eclipse.ltk.core.refactoring.resource |
Application programmer interface to implement resource dependend refactorings.
|
org.eclipse.team.core |
Application programming interfaces for defining and working with repository providers.
|
org.eclipse.team.core.diff |
Application programming interfaces for working with diffs.
|
org.eclipse.team.core.diff.provider |
Application programming interfaces for working with diffs.
|
org.eclipse.team.core.variants |
Application programming interfaces for accessing and managing resource variants.
|
org.eclipse.team.ui.mapping |
Application programming interfaces for working with resource mappings.
|
org.eclipse.ui |
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
|
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.dialogs |
Classes for standard dialogs, wizards, and preference
pages in the Eclipse Platform User Interface.
|
org.eclipse.ui.editors.text |
Provides a standard text editor and concrete document providers based
IFileBuffer and others directly handling IFile and
IStorage as editor input.
|
org.eclipse.ui.ide.dialogs |
APIs for dialogs in the IDE-specific portion of the Eclipse Platform User Interface.
|
org.eclipse.ui.ide.undo |
APIs that provide undo and redo behavior for operations that manipulate
the workspace.
|
org.eclipse.ui.part |
Classes for the creation of workbench parts that integrate
with the Eclipse Platform User Interface.
|
org.eclipse.ui.preferences |
Classes for using the preferences support in org.eclipse.core.runtime.preferences
Package Specification
This package has the convenience classes provided by the Eclipse workbench for
use by clients who wish to use the core preference support added in 3.0.
|
org.eclipse.ui.texteditor |
Provides a framework for text editors obeying to the
desktop rules.
|
org.eclipse.ui.views |
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
|
org.eclipse.ui.views.navigator |
Provides the standard Resource Navigator view which
presents the tree of resources in the workspace.
|
org.eclipse.ui.wizards |
Application programming interfaces for interaction with and extension of the Eclipse
Platform User Interface wizard support.
|
org.eclipse.ui.wizards.datatransfer |
Provides the standard Import and Export wizards for
moving resources into and out of the workspace.
|
Modifier and Type | Method and Description |
---|---|
IAntClasspathEntry |
AntCorePreferences.getToolsJarEntry(IPath javaHomePath)
Returns the IAntClasspathEntry for the tools.jar associated with the path supplied.
|
Modifier and Type | Method and Description |
---|---|
IPath |
IFilePatch2.getTargetPath(PatchConfiguration configuration)
Return the target path for this patch.
|
IPath |
IFilePatch.getTargetPath(PatchConfiguration configuration)
Return the target path for this patch.
|
Modifier and Type | Method and Description |
---|---|
static IFilePatch2 |
PatchBuilder.createFilePatch(IPath oldPath,
long oldDate,
IPath newPath,
long newDate,
IHunk[] hunks)
Creates an IFilePatch2 instance and performs recalculation of all hunks'
after positions.
|
Modifier and Type | Method and Description |
---|---|
IPath |
IFileBuffer.getLocation()
Returns the location of this file buffer.
|
static IPath |
FileBuffers.normalizeLocation(IPath pathOrLocation)
Returns the normalized form of the given path or location.
|
Modifier and Type | Method and Description |
---|---|
void |
IFileBufferManager.connect(IPath location,
IProgressMonitor monitor)
Deprecated.
As of 3.3, replaced by
IFileBufferManager.connect(IPath, LocationKind, IProgressMonitor) |
void |
IFileBufferManager.connect(IPath location,
LocationKind locationKind,
IProgressMonitor monitor)
Connects the file at the given location to this manager.
|
IAnnotationModel |
ITextFileBufferManager.createAnnotationModel(IPath location)
Deprecated.
As of 3.3, replaced by
ITextFileBufferManager.createAnnotationModel(IPath, LocationKind) |
IAnnotationModel |
IAnnotationModelFactory.createAnnotationModel(IPath location)
Creates and returns a new annotation model.
|
IAnnotationModel |
ITextFileBufferManager.createAnnotationModel(IPath location,
LocationKind locationKind)
Creates a new annotation for the given location.
|
IDocument |
ITextFileBufferManager.createEmptyDocument(IPath location)
Deprecated.
As of 3.3, replaced by
ITextFileBufferManager.createEmptyDocument(IPath, LocationKind) |
IDocument |
ITextFileBufferManager.createEmptyDocument(IPath location,
LocationKind locationKind)
Creates a new empty document.
|
void |
IFileBufferManager.disconnect(IPath location,
IProgressMonitor monitor)
Deprecated.
As of 3.3, replaced by
IFileBufferManager.disconnect(IPath, LocationKind, IProgressMonitor) |
void |
IFileBufferManager.disconnect(IPath location,
LocationKind locationKind,
IProgressMonitor monitor)
Disconnects the file at the given location from this manager.
|
IFileBuffer |
IFileBufferManager.getFileBuffer(IPath location)
Deprecated.
As of 3.3, replaced by
IFileBufferManager.getFileBuffer(IPath, LocationKind) |
IFileBuffer |
IFileBufferManager.getFileBuffer(IPath location,
LocationKind locationKind)
Returns the file buffer managed for the given location or
null
if there is no such file buffer. |
static IFileStore |
FileBuffers.getFileStoreAtLocation(IPath location)
Returns the file in the local file system for the given location.
|
static File |
FileBuffers.getSystemFileAtLocation(IPath location)
Deprecated.
As of 3.2, replaced by
FileBuffers.getFileStoreAtLocation(IPath) |
ITextFileBuffer |
ITextFileBufferManager.getTextFileBuffer(IPath location)
Deprecated.
As of 3.3, replaced by
ITextFileBufferManager.getTextFileBuffer(IPath, LocationKind) |
ITextFileBuffer |
ITextFileBufferManager.getTextFileBuffer(IPath location,
LocationKind locationKind)
Returns the text file buffer managed for the file at the given location
or
null if there is no such text file buffer. |
static IFile |
FileBuffers.getWorkspaceFileAtLocation(IPath location)
Returns the workspace file at the given location if such a file exists.
|
static IFile |
FileBuffers.getWorkspaceFileAtLocation(IPath location,
boolean isNormalized)
Returns the workspace file at the given location if such a file exists.
|
boolean |
ITextFileBufferManager.isTextFileLocation(IPath location)
Deprecated.
As of 3.2, replaced by
ITextFileBufferManager.isTextFileLocation(IPath, boolean) |
boolean |
ITextFileBufferManager.isTextFileLocation(IPath location,
boolean strict)
Returns whether a file at the given location is or can be considered a
text file.
|
static IPath |
FileBuffers.normalizeLocation(IPath pathOrLocation)
Returns the normalized form of the given path or location.
|
void |
IFileBufferManager.releaseSynchronizationContext(IPath location)
Deprecated.
As of 3.1, replaced by
IFileBuffer.releaseSynchronizationContext() |
void |
IFileBufferManager.requestSynchronizationContext(IPath location)
Deprecated.
As of 3.1, replaced by
IFileBuffer.requestSynchronizationContext() |
void |
IDocumentSetupParticipantExtension.setup(IDocument document,
IPath location,
LocationKind locationKind)
Sets up the document to be ready for use by a text file buffer.
|
void |
IFileBufferListener.underlyingFileMoved(IFileBuffer buffer,
IPath path)
Informs the listener that the file underlying the given file buffer has been moved to the
given location.
|
Modifier and Type | Method and Description |
---|---|
void |
GenericFileBufferOperationRunner.execute(IPath[] locations,
IFileBufferOperation operation,
IProgressMonitor monitor)
Executes the given operation for all file buffers specified by the given locations.
|
Constructor and Description |
---|
ContainerCreator(IWorkspace workspace,
IPath fullPath)
Constructs a container creator for the given path
in the given workspace.
|
Modifier and Type | Method and Description |
---|---|
static IPath |
URIUtil.toPath(URI uri)
|
Modifier and Type | Method and Description |
---|---|
IFileStore |
IFileStore.getChild(IPath path)
Deprecated.
use
IFileStore.getFileStore(IPath) instead |
IFileStore |
IFileStore.getFileStore(IPath path)
Returns a handle to the member store identified by the given path.
|
IFileStore |
IFileSystem.getStore(IPath path)
Returns a handle to a file store in this file system.
|
static URI |
URIUtil.toURI(IPath path)
|
Modifier and Type | Method and Description |
---|---|
IFileStore |
FileStore.getChild(IPath path)
Deprecated.
|
IFileStore |
FileStore.getFileStore(IPath path)
The default implementation of
IFileStore.getFileStore(IPath)
Subclasses may override. |
IFileStore |
FileSystem.getStore(IPath path)
This is the default implementation of
IFileSystem.getStore(IPath) . |
Modifier and Type | Method and Description |
---|---|
IPath[] |
ISavedState.getFiles()
Returns the files mapped with the
ISaveContext.map(IPath, IPath)
facility. |
IPath[] |
ISaveContext.getFiles()
Returns current files mapped with the
ISaveContext.map
facility or an empty array if there are no mapped files. |
IPath |
IStorage.getFullPath()
Returns the full path of this storage.
|
IPath |
IFileState.getFullPath()
Returns the full path of this file state.
|
IPath |
IFile.getFullPath()
Returns the full path of this file.
|
IPath |
IResourceDelta.getFullPath()
Returns the full, absolute path of this resource delta.
|
IPath |
IResource.getFullPath()
Returns the full, absolute path of this resource relative to the
workspace.
|
IPath |
IProjectDescription.getLocation()
Deprecated.
Since 3.2, project locations are not necessarily in the local file
system. The more general
IProjectDescription.getLocationURI() method should be used instead. |
IPath |
IResource.getLocation()
Returns the absolute path in the local file system to this resource,
or
null if no path can be determined. |
IPath |
ProjectScope.getLocation() |
IPath |
IResourceDelta.getMovedFromPath()
Returns the full path (in the "before" state) from which this resource
(in the "after" state) was moved.
|
IPath |
IResourceDelta.getMovedToPath()
Returns the full path (in the "after" state) to which this resource
(in the "before" state) was moved.
|
IPath |
IResourceStatus.getPath()
Returns the path of the resource associated with this status.
|
IPath |
IProject.getPluginWorkingLocation(IPluginDescriptor plugin)
Deprecated.
Use
IProject.getWorkingLocation(plugin.getUniqueIdentifier()) . |
IPath |
IResourceDelta.getProjectRelativePath()
Returns the project-relative path of this resource delta.
|
IPath |
IResource.getProjectRelativePath()
Returns a relative path of this resource with respect to its project.
|
IPath |
IResource.getRawLocation()
Returns the file system location of this resource, or
null if no
path can be determined. |
IPath |
IPathVariableChangeEvent.getValue()
Returns the variable's current value.
|
IPath |
IPathVariableManager.getValue(String name)
Deprecated.
use getURIValue(String) instead.
|
IPath |
IProject.getWorkingLocation(String id)
Returns the location in the local file system of the project-specific
working data area for use by the bundle/plug-in with the given identifier,
or
null if the project does not exist. |
IPath |
ISavedState.lookup(IPath file)
Returns the mapped location associated with the given path
or
null if none. |
IPath |
ISaveContext.lookup(IPath file)
Returns the current location for the given file or
null if none. |
IPath |
IResourceProxy.requestFullPath()
Returns the full workspace path of the resource being visited.
|
IPath |
IPathVariableManager.resolvePath(IPath path)
Deprecated.
use resolveURI(URI) instead.
|
Modifier and Type | Method and Description |
---|---|
void |
IResource.copy(IPath destination,
boolean force,
IProgressMonitor monitor)
Makes a copy of this resource at the given path.
|
void |
IResource.copy(IPath destination,
int updateFlags,
IProgressMonitor monitor)
Makes a copy of this resource at the given path.
|
IStatus |
IWorkspace.copy(IResource[] resources,
IPath destination,
boolean force,
IProgressMonitor monitor)
Copies the given sibling resources so that they are located as members of
the resource at the given path; the names of the copies are the same as
the corresponding originals.
|
IStatus |
IWorkspace.copy(IResource[] resources,
IPath destination,
int updateFlags,
IProgressMonitor monitor)
Copies the given sibling resources so that they are located as members of
the resource at the given path; the names of the copies are the same as
the corresponding originals.
|
void |
IFile.createLink(IPath localLocation,
int updateFlags,
IProgressMonitor monitor)
Creates a new file resource as a member of this handle's parent resource.
|
void |
IFolder.createLink(IPath localLocation,
int updateFlags,
IProgressMonitor monitor)
Creates a new folder resource as a member of this handle's parent resource.
|
boolean |
IContainer.exists(IPath path)
Returns whether a resource of some type with the given path
exists relative to this resource.
|
IContainer[] |
IWorkspaceRoot.findContainersForLocation(IPath location)
Deprecated.
use
IWorkspaceRoot.findContainersForLocationURI(URI) instead |
IFile[] |
IWorkspaceRoot.findFilesForLocation(IPath location)
Deprecated.
use
IWorkspaceRoot.findFilesForLocationURI(URI) instead |
IResourceDelta |
IResourceDelta.findMember(IPath path)
Finds and returns the descendent delta identified by the given path in
this delta, or
null if no such descendent exists. |
IResource |
IContainer.findMember(IPath path)
Finds and returns the member resource identified by the given path in
this container, or
null if no such resource exists. |
IResource |
IContainer.findMember(IPath path,
boolean includePhantoms)
Finds and returns the member resource identified by the given path in
this container, or
null if no such resource exists. |
IContainer |
IWorkspaceRoot.getContainerForLocation(IPath location)
Returns a handle to the workspace root, project or folder
which is mapped to the given path
in the local file system, or
null if none. |
IFile |
IContainer.getFile(IPath path)
Returns a handle to the file identified by the given path in this
container.
|
IFile |
IWorkspaceRoot.getFileForLocation(IPath location)
Returns a handle to the file which is mapped to the given path
in the local file system, or
null if none. |
IFolder |
IContainer.getFolder(IPath path)
Returns a handle to the folder identified by the given path in this
container.
|
IProjectDescription |
IWorkspace.loadProjectDescription(IPath projectDescriptionFile)
Reads the project description file (".project") from the given location
in the local file system.
|
IPath |
ISavedState.lookup(IPath file)
Returns the mapped location associated with the given path
or
null if none. |
IPath |
ISaveContext.lookup(IPath file)
Returns the current location for the given file or
null if none. |
void |
ISaveContext.map(IPath file,
IPath location)
Maps the given plug-in file to its real location.
|
void |
IFile.move(IPath destination,
boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Moves this resource to be at the given location.
|
void |
IFolder.move(IPath destination,
boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Moves this resource so that it is located at the given path.
|
void |
IResource.move(IPath destination,
boolean force,
IProgressMonitor monitor)
Moves this resource so that it is located at the given path.
|
void |
IResource.move(IPath destination,
int updateFlags,
IProgressMonitor monitor)
Moves this resource so that it is located at the given path.
|
IStatus |
IWorkspace.move(IResource[] resources,
IPath destination,
boolean force,
IProgressMonitor monitor)
Moves the given sibling resources so that they are located as members of
the resource at the given path; the names of the new members are the
same.
|
IStatus |
IWorkspace.move(IResource[] resources,
IPath destination,
int updateFlags,
IProgressMonitor monitor)
Moves the given sibling resources so that they are located as members of
the resource at the given path; the names of the new members are the
same.
|
IPath |
IPathVariableManager.resolvePath(IPath path)
Deprecated.
use resolveURI(URI) instead.
|
void |
IProjectDescription.setLocation(IPath location)
Sets the local file system location for the described project.
|
void |
IPathVariableManager.setValue(String name,
IPath value)
Deprecated.
use setValue(String, URI) instead.
|
IStatus |
IWorkspace.validateLinkLocation(IResource resource,
IPath location)
Validates the given path as the location of the given resource on disk.
|
IStatus |
IWorkspace.validateProjectLocation(IProject project,
IPath location)
Validates the given path as the location of the given project on disk.
|
IStatus |
IPathVariableManager.validateValue(IPath path)
Validates the given path as the value for a path variable.
|
Modifier and Type | Method and Description |
---|---|
void |
IResourceChangeDescriptionFactory.copy(IResource resource,
IPath destination)
Record the set of deltas representing a copy of the given resource to the
given workspace path.
|
void |
IResourceChangeDescriptionFactory.move(IResource resource,
IPath destination)
Record the set of deltas representing a move of the given resource to the
given workspace path.
|
Modifier and Type | Method and Description |
---|---|
IStatus |
TeamHook.validateCreateLink(IFile file,
int updateFlags,
IPath location)
Validates whether a particular attempt at link creation is allowed.
|
IStatus |
TeamHook.validateCreateLink(IFolder folder,
int updateFlags,
IPath location)
Validates whether a particular attempt at link creation is allowed.
|
Modifier and Type | Class and Description |
---|---|
class |
Path
The standard implementation of the
IPath interface. |
Modifier and Type | Method and Description |
---|---|
IPath |
IPath.addFileExtension(String extension)
Returns a new path which is the same as this path but with
the given file extension added.
|
IPath |
Path.addFileExtension(String extension) |
IPath |
IPath.addTrailingSeparator()
Returns a path with the same segments as this path
but with a trailing separator added.
|
IPath |
Path.addTrailingSeparator() |
IPath |
IPath.append(IPath path)
Returns the canonicalized path obtained from the
concatenation of the given path's segments to the
end of this path.
|
IPath |
Path.append(IPath tail) |
IPath |
IPath.append(String path)
Returns the canonicalized path obtained from the
concatenation of the given string path to the
end of this path.
|
IPath |
Path.append(String tail) |
static IPath |
Path.fromOSString(String pathString)
Constructs a new path from the given string path.
|
static IPath |
Path.fromPortableString(String pathString)
Constructs a new path from the given path string.
|
static IPath |
Platform.getLocation()
Returns the location of the platform working directory.
|
static IPath |
Platform.getLogFileLocation()
Returns the location of the platform log file.
|
IPath |
ILibrary.getPath()
Deprecated.
Given a manifest element corresponding to a classpath entry, the path
for the entry can be accessed by getting the value of the manifest element.
For example,
element.getValue(); // the jar/dir containing the code |
static IPath |
Platform.getPluginStateLocation(Plugin plugin)
Deprecated.
clients should call
Platform.getStateLocation(Bundle) instead |
IPath |
Plugin.getStateLocation()
Returns the location in the local file system of the
plug-in state area for this plug-in.
|
static IPath |
Platform.getStateLocation(Bundle bundle)
Returns the location in the local file system of the
plug-in state area for the given bundle.
|
IPath |
IPath.makeAbsolute()
Returns an absolute path with the segments and device id of this path.
|
IPath |
Path.makeAbsolute() |
IPath |
IPath.makeRelative()
Returns a relative path with the segments and device id of this path.
|
IPath |
Path.makeRelative() |
IPath |
IPath.makeRelativeTo(IPath base)
Returns a path equivalent to this path, but relative to the given base path if possible.
|
IPath |
Path.makeRelativeTo(IPath base)
Returns a path equivalent to this path, but relative to the given base path if possible.
|
IPath |
IPath.makeUNC(boolean toUNC)
Return a new path which is the equivalent of this path converted to UNC
form (if the given boolean is true) or this path not as a UNC path (if the given
boolean is false).
|
IPath |
Path.makeUNC(boolean toUNC) |
IPath |
IPath.removeFileExtension()
Returns a new path which is the same as this path but with
the file extension removed.
|
IPath |
Path.removeFileExtension() |
IPath |
IPath.removeFirstSegments(int count)
Returns a copy of this path with the given number of segments
removed from the beginning.
|
IPath |
Path.removeFirstSegments(int count) |
IPath |
IPath.removeLastSegments(int count)
Returns a copy of this path with the given number of segments
removed from the end.
|
IPath |
Path.removeLastSegments(int count) |
IPath |
IPath.removeTrailingSeparator()
Returns a path with the same segments as this path
but with a trailing separator removed.
|
IPath |
Path.removeTrailingSeparator() |
IPath |
IPath.setDevice(String device)
Returns a new path which is the same as this path but with
the given device id.
|
IPath |
Path.setDevice(String value) |
IPath |
IPath.uptoSegment(int count)
Returns a copy of this path truncated after the
given number of segments.
|
IPath |
Path.uptoSegment(int count) |
Modifier and Type | Method and Description |
---|---|
IPath |
IPath.append(IPath path)
Returns the canonicalized path obtained from the
concatenation of the given path's segments to the
end of this path.
|
IPath |
Path.append(IPath tail) |
static void |
Preferences.exportPreferences(IPath path)
Deprecated.
Exports all non-default-valued preferences for all installed plugins to the
provided file.
|
static URL |
Platform.find(Bundle bundle,
IPath path)
Deprecated.
|
static URL |
FileLocator.find(Bundle bundle,
IPath path,
Map override)
Returns a URL for the given path in the given bundle.
|
static URL |
Platform.find(Bundle bundle,
IPath path,
Map<String,String> override)
Deprecated.
use
FileLocator.find(Bundle, IPath, Map) instead |
URL |
Plugin.find(IPath path)
Deprecated.
|
URL |
IPluginDescriptor.find(IPath path)
Deprecated.
Use
Platform.find(bundle, file)where bundle is the bundle associated with
the relevant plug-in. |
URL |
Plugin.find(IPath path,
Map<String,String> override)
Deprecated.
|
URL |
IPluginDescriptor.find(IPath path,
Map<String,String> override)
Deprecated.
Use
Platform.find(bundle, path, override)where bundle is the bundle associated with
the relevant plug-in. |
static URL[] |
FileLocator.findEntries(Bundle bundle,
IPath path)
This is a convenience method, fully equivalent to
FileLocator.findEntries(Bundle, IPath, Map) ,
with a value of null for the map argument. |
static URL[] |
FileLocator.findEntries(Bundle bundle,
IPath path,
Map override)
This method is the same as
FileLocator.find(Bundle, IPath, Map) except multiple entries
can be returned if more than one entry matches the path in the host and
any of its fragments. |
static void |
Preferences.importPreferences(IPath path)
Deprecated.
Loads the plugin preferences from the given file, and replaces all
non-default-valued preferences for all plugins with the values from this file.
|
boolean |
IPath.isPrefixOf(IPath anotherPath)
Returns whether this path is a prefix of the given path.
|
boolean |
Path.isPrefixOf(IPath anotherPath) |
IPath |
IPath.makeRelativeTo(IPath base)
Returns a path equivalent to this path, but relative to the given base path if possible.
|
IPath |
Path.makeRelativeTo(IPath base)
Returns a path equivalent to this path, but relative to the given base path if possible.
|
int |
IPath.matchingFirstSegments(IPath anotherPath)
Returns a count of the number of segments which match in
this path and the given path (device ids are ignored),
comparing in increasing segment number order.
|
int |
Path.matchingFirstSegments(IPath anotherPath) |
static InputStream |
FileLocator.openStream(Bundle bundle,
IPath file,
boolean substituteArgs)
Returns an input stream for the specified file.
|
InputStream |
Plugin.openStream(IPath file)
Deprecated.
|
InputStream |
Plugin.openStream(IPath file,
boolean substituteArgs)
Deprecated.
|
static URI |
URIUtil.toJarURI(URI uri,
IPath entryPath)
Returns a Java ARchive (JAR) URI for an entry in a jar or zip file.
|
static IStatus |
Preferences.validatePreferenceVersions(IPath file)
Deprecated.
Validates that the preference versions in the given file match the versions
of the currently installed plugins.
|
Modifier and Type | Method and Description |
---|---|
IPath |
InstanceScope.getLocation() |
IPath |
DefaultScope.getLocation() |
IPath |
BundleDefaultsScope.getLocation() |
IPath |
IScopeContext.getLocation()
Return a path to a location in the file-system where clients are able
to write files that will have the same sharing/scope properties as
preferences defined in this scope.
|
IPath |
ConfigurationScope.getLocation() |
Modifier and Type | Method and Description |
---|---|
IPath |
ILaunchConfiguration.getLocation()
Deprecated.
Since a launch configuration does not need to be stored in the local
file system, this attribute should no longer be used to identify a launch configuration.
|
Modifier and Type | Method and Description |
---|---|
IPath |
ZipEntryStorage.getFullPath() |
IPath |
LocalFileStorage.getFullPath() |
Constructor and Description |
---|
DirectorySourceContainer(IPath dirPath,
boolean subfolders)
Constructs an external folder container for the
directory identified by the given path.
|
Modifier and Type | Method and Description |
---|---|
IPath |
ProfileScope.getLocation() |
Modifier and Type | Method and Description |
---|---|
IPath |
MoveResourcesDescriptor.getDestinationPath()
Returns the destination container to move the resources in.
|
IPath |
RenameResourceDescriptor.getResourcePath()
Returns the path of the resource to rename.
|
IPath[] |
DeleteResourcesDescriptor.getResourcePaths()
The resource paths to delete.
|
IPath[] |
MoveResourcesDescriptor.getResourcePathsToMove()
Returns the resource to move.
|
Modifier and Type | Method and Description |
---|---|
void |
MoveResourcesDescriptor.setDestinationPath(IPath path)
Sets the path of the destination container to move the resources in.
|
void |
RenameResourceDescriptor.setResourcePath(IPath resourcePath)
Sets the resource to be renamed.
|
void |
DeleteResourcesDescriptor.setResourcePaths(IPath[] resourcePath)
The paths to the resources to be deleted.
|
void |
MoveResourcesDescriptor.setResourcePathsToMove(IPath[] resourcePaths)
Sets the paths of the resources to move.
|
Constructor and Description |
---|
DeleteResourceChange(IPath resourcePath,
boolean forceOutOfSync)
Delete a resource.
|
DeleteResourceChange(IPath resourcePath,
boolean forceOutOfSync,
boolean deleteContent)
Delete a resource.
|
RenameResourceChange(IPath resourcePath,
String newName)
Creates the change.
|
RenameResourceChange(IPath resourcePath,
String newName,
long stampToRestore)
Creates the change with a time stamp to restore.
|
Modifier and Type | Method and Description |
---|---|
IStatus |
RepositoryProvider.validateCreateLink(IResource resource,
int updateFlags,
IPath location)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IPath[] |
IDiffTree.getChildren(IPath parent)
Returns the child paths of the given path that either point to
a sync delta or have a descendant path that points to a sync delta.
|
IPath |
ITwoWayDiff.getFromPath()
Returns the full path (in the "before" state) from which this resource
(in the "after" state) was moved.
|
IPath |
IDiff.getPath()
Returns the full, absolute path of the object to which the diff applies
with respect to the model root.
|
IPath[] |
IDiffChangeEvent.getRemovals()
Return the paths of the delta nodes that have been removed from the delta tree.
|
IPath |
ITwoWayDiff.getToPath()
Returns the full path (in the "after" state) to which this resource
(in the "before" state) was moved.
|
Modifier and Type | Method and Description |
---|---|
void |
IDiffTree.accept(IPath path,
IDiffVisitor visitor,
int depth)
Accepts the given visitor.
|
IPath[] |
IDiffTree.getChildren(IPath parent)
Returns the child paths of the given path that either point to
a sync delta or have a descendant path that points to a sync delta.
|
IDiff |
IDiffTree.getDiff(IPath path)
Returns the delta identified by the given path,
or
null if there is no delta at that path. |
boolean |
IDiffTree.getProperty(IPath path,
int property)
Return the value of the property for the given path.
|
boolean |
IDiffTree.hasMatchingDiffs(IPath path,
FastDiffFilter filter)
Return whether the this diff tree contains any diffs that match the given filter
at of below the given path.
|
void |
IDiffChangeListener.propertyChanged(IDiffTree tree,
int property,
IPath[] paths)
The given property has changed for the given paths.
|
Modifier and Type | Method and Description |
---|---|
IPath[] |
DiffTree.getChildren(IPath path) |
IPath |
TwoWayDiff.getFromPath() |
IPath |
Diff.getPath() |
IPath[] |
DiffTree.getPaths()
Return the paths in this tree that contain diffs.
|
IPath |
TwoWayDiff.getToPath() |
Modifier and Type | Method and Description |
---|---|
void |
DiffTree.accept(IPath path,
IDiffVisitor visitor,
int depth) |
IPath[] |
DiffTree.getChildren(IPath path) |
IDiff |
DiffTree.getDiff(IPath path) |
boolean |
DiffTree.getProperty(IPath path,
int property) |
boolean |
DiffTree.hasMatchingDiffs(IPath path,
FastDiffFilter filter) |
void |
DiffTree.remove(IPath path)
Remove the given local resource from the set.
|
Constructor and Description |
---|
Diff(IPath path,
int status)
Create a diff node.
|
TwoWayDiff(IPath path,
int kind,
int flags)
Create a two-way diff
|
Modifier and Type | Method and Description |
---|---|
IPath |
CachedResourceVariant.getDisplayPath()
Return the full path of this resource that should be displayed to the
user.
|
Modifier and Type | Method and Description |
---|---|
void |
SynchronizationContentProvider.propertyChanged(IDiffTree tree,
int property,
IPath[] paths) |
Modifier and Type | Method and Description |
---|---|
IPath |
IPathEditorInput.getPath()
Returns the local file system path of the file underlying this editor input.
|
Modifier and Type | Method and Description |
---|---|
void |
IEditorLauncher.open(IPath file)
Launches this external editor to edit the file at the given
location in the local file system.
|
Modifier and Type | Method and Description |
---|---|
static IPath |
CopyResourceAction.getNewNameFor(IPath originalName,
IWorkspace workspace)
Returns a new name for a copy of the resource at the given path in the given
workspace.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MoveFilesAndFoldersOperation.copy(IResource[] resources,
IPath destination,
IProgressMonitor subMonitor)
Deprecated.
As of 3.3, the work is performed in the undoable operation
created in
MoveFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[], IPath) |
protected void |
CopyFilesAndFoldersOperation.copy(IResource[] resources,
IPath destination,
IProgressMonitor subMonitor)
Deprecated.
As of 3.3, the work is performed in the undoable operation
created in
CopyFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[], IPath) |
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.
|
static IPath |
CopyResourceAction.getNewNameFor(IPath originalName,
IWorkspace workspace)
Returns a new name for a copy of the resource at the given path in the given
workspace.
|
protected AbstractWorkspaceOperation |
MoveFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[] resources,
IPath destinationPath)
Returns an AbstractWorkspaceOperation suitable for performing the move or
copy operation that will move or copy the given resources to the given
destination path.
|
protected AbstractWorkspaceOperation |
CopyFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[] resources,
IPath destinationPath)
Returns an AbstractWorkspaceOperation suitable for performing the move or
copy operation that will move or copy the given resources to the given
destination path.
|
protected void |
RenameResourceAction.runWithNewPath(IPath path,
IResource resource) |
Modifier and Type | Method and Description |
---|---|
IPath |
WizardNewFileCreationPage.getContainerFullPath()
Returns the current full path of the containing resource as entered or
selected by the user, or its anticipated initial value.
|
protected IPath |
WizardImportPage.getContainerFullPath()
Deprecated.
Returns the path of the container resource specified in the container
name entry field, or
null if no name has been typed in. |
protected IPath |
WizardResourceImportPage.getContainerFullPath()
Returns the path of the container resource specified in the container
name entry field, or
null if no name has been typed in. |
IPath |
WizardNewProjectCreationPage.getLocationPath()
Returns the current project location path as entered by
the user, or its anticipated initial value.
|
protected IPath |
WizardDataTransferPage.getPathFromText(Text textField)
Get a path from the supplied text widget.
|
protected IPath |
WizardImportPage.getResourcePath()
Deprecated.
Return the path for the resource field.
|
protected IPath |
WizardResourceImportPage.getResourcePath()
Return the path for the resource field.
|
protected IPath |
WizardExportPage.getResourcePath()
Deprecated.
Return the path for the resource field.
|
IPath |
SaveAsDialog.getResult()
Returns the full path entered by the user.
|
protected IPath |
WizardDataTransferPage.queryForContainer(IContainer initialSelection,
String msg)
Queries the user to supply a container resource.
|
protected IPath |
WizardDataTransferPage.queryForContainer(IContainer initialSelection,
String msg,
String title)
Queries the user to supply a container resource.
|
Modifier and Type | Method and Description |
---|---|
protected IContainer |
WizardNewFolderMainPage.createContainerHandle(IPath containerPath)
Creates a container resource handle for the container with the given workspace path.
|
protected IFile |
WizardNewFileCreationPage.createFileHandle(IPath filePath)
Creates a file resource handle for the file with the given workspace
path.
|
protected IFolder |
WizardNewFolderMainPage.createFolderHandle(IPath folderPath)
Creates a folder resource handle for the folder with the given workspace
path.
|
void |
WizardNewFileCreationPage.setContainerFullPath(IPath path)
Sets the value of this page's container name field, or stores it for
future use if this page's controls do not exist yet.
|
protected boolean |
WizardResourceImportPage.sourceConflictsWithDestination(IPath sourcePath)
Returns whether or not the source location conflicts
with the destination resource.
|
Constructor and Description |
---|
ContainerGenerator(IPath containerPath)
Creates a generator for the container resource (folder or project) at the
given workspace path.
|
Modifier and Type | Method and Description |
---|---|
protected IPath[] |
FileBufferOperationAction.generateLocations(IFile[] files,
IProgressMonitor progressMonitor) |
protected IPath[] |
FileBufferOperationHandler.generateLocations(IFile[] files,
IProgressMonitor progressMonitor)
Generates the file buffer locations out of the given files.
|
IPath |
ILocationProvider.getPath(Object element)
Returns the location of the given object or
null . |
Modifier and Type | Method and Description |
---|---|
protected void |
FileBufferOperationAction.doRun(IFile[] files,
IPath location,
IFileBufferOperation fileBufferOperation) |
protected void |
FileBufferOperationHandler.doRun(IFile[] files,
IPath location,
IFileBufferOperation fileBufferOperation)
Runs the given operation.
|
protected void |
FileDocumentProvider.handleElementMoved(IFileEditorInput fileEditorInput,
IPath path)
Sends out the notification that the file serving as document input has been moved.
|
void |
FileBufferOperationHandler.initialize(IResource[] resources,
IPath location)
Initializes this file buffer operation handler with the given resources and the given location.
|
protected boolean |
FileBufferOperationAction.isAcceptableLocation(IPath location)
Tells whether this action accepts the given location.
|
protected boolean |
FileBufferOperationHandler.isAcceptableLocation(IPath location)
Tells whether the given location is accepted by this handler.
|
void |
TextFileDocumentProvider.FileBufferListener.underlyingFileMoved(IFileBuffer file,
IPath newLocation) |
Modifier and Type | Method and Description |
---|---|
abstract IPath |
UIResourceFilterDescription.getPath() |
Constructor and Description |
---|
CopyResourcesOperation(IResource[] resources,
IPath[] destinationPaths,
String label)
Create a CopyResourcesOperation that copies each of the specified
resources to its corresponding destination path in the destination path
array.
|
CopyResourcesOperation(IResource[] resources,
IPath destinationPath,
String label)
Create a CopyResourcesOperation that copies all of the specified
resources to a single target location.
|
CopyResourcesOperation(IResource resource,
IPath newPath,
String label)
Create a CopyResourcesOperation that copies a single resource to a new
location.
|
MoveResourcesOperation(IResource[] resources,
IPath destinationPath,
String label)
Create a MoveResourcesOperation that moves all of the specified resources
to the same target location, using their existing names.
|
MoveResourcesOperation(IResource resource,
IPath newPath,
String label)
Create a MoveResourcesOperation that moves a single resource to a new
location.
|
Modifier and Type | Method and Description |
---|---|
IPath |
FileEditorInput.getPath() |
Modifier and Type | Method and Description |
---|---|
abstract IStatus |
SettingsTransfer.transferSettings(IPath newWorkspaceRoot)
Transfer the settings to a workspace rooted at newWorkspacwe
|
Modifier and Type | Method and Description |
---|---|
IAnnotationModel |
ResourceMarkerAnnotationModelFactory.createAnnotationModel(IPath location) |
Modifier and Type | Method and Description |
---|---|
IPath |
IViewCategory.getPath()
Return this categories path.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ResourceNavigatorRenameAction.runWithNewPath(IPath path,
IResource resource)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
IPath |
IWizardCategory.getPath()
Return this wizards path.
|
Modifier and Type | Method and Description |
---|---|
IWizardCategory |
IWizardCategory.findCategory(IPath path)
Returns the category child object corresponding to the passed path
(relative to this object), or
null if such an object could
not be found. |
Modifier and Type | Method and Description |
---|---|
IPath |
WizardExternalProjectImportPage.getLocationPath()
Returns the current project location path as entered by
the user, or its anticipated initial value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ZipFileStructureProvider.createContainer(IPath pathname)
Creates a new container zip entry with the specified name, iff
it has not already been created.
|
Constructor and Description |
---|
ImportOperation(IPath containerPath,
IImportStructureProvider provider,
IOverwriteQuery overwriteImplementor,
List filesToImport)
Creates a new operation that imports specific file system objects.
|
ImportOperation(IPath containerPath,
Object source,
IImportStructureProvider provider,
IOverwriteQuery overwriteImplementor)
Creates a new operation that recursively imports the entire contents of the
specified root file system object.
|
ImportOperation(IPath containerPath,
Object source,
IImportStructureProvider provider,
IOverwriteQuery overwriteImplementor,
List filesToImport)
Creates a new operation that imports specific file system objects.
|
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.