Package | Description |
---|---|
org.eclipse.ant.core |
Provides support for running the Ant build tool in the platform.
|
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.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
Package Specification
This package specifies the API for working with resources 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.part |
Classes for the creation of workbench parts that integrate
with the Eclipse Platform User Interface.
|
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.
|
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 |
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)
Connects the file at the given location to this manager.
|
IAnnotationModel |
IAnnotationModelFactory.createAnnotationModel(IPath location)
Creates and returns a new annotation model.
|
IAnnotationModel |
ITextFileBufferManager.createAnnotationModel(IPath location)
Creates a new annotation for the given location.
|
IDocument |
ITextFileBufferManager.createEmptyDocument(IPath location)
Creates a new empty document.
|
void |
IFileBufferManager.disconnect(IPath location,
IProgressMonitor monitor)
Disconnects the file at the given location from this manager.
|
IFileBuffer |
IFileBufferManager.getFileBuffer(IPath location)
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)
Returns the text file buffer managed for the file at the given location
or
null if either there is no such text file buffer. |
static IFile |
FileBuffers.getWorkspaceFileAtLocation(IPath location)
Returns the workspace file at the given location or
null if
the location is not a valid location in the workspace. |
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 |
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 |
FileBufferOperationRunner.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)
Returns a child of this store as specified by the provided 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)
The default implementation of
IFileStore.getChild(IPath) . |
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
facility. |
IPath[] |
ISaveContext.getFiles()
Returns current files mapped with the
ISaveContext.map
facility or an empty array if there are no mapped files. |
IPath |
IResource.getFullPath()
Returns the full, absolute path of this resource relative to the
workspace.
|
IPath |
IStorage.getFullPath()
Returns the full path of this storage.
|
IPath |
IFileState.getFullPath()
Returns the full path of this file state.
|
IPath |
IResourceDelta.getFullPath()
Returns the full, absolute path of this resource delta.
|
IPath |
IFile.getFullPath()
Returns the full path of this file.
|
IPath |
ProjectScope.getLocation() |
IPath |
IResource.getLocation()
Returns the absolute path in the local file system to this resource,
or
null if no path can be determined. |
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 |
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 |
IResource.getProjectRelativePath()
Returns a relative path of this resource with respect to its project.
|
IPath |
IResourceDelta.getProjectRelativePath()
Returns the project-relative path of this resource delta.
|
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)
Returns the value of the path variable with the given name.
|
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)
Resolves a relative
IPath object potentially containing a
variable reference as its first segment, replacing the variable reference
(if any) with the variable's value (which is a concrete absolute path). |
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 |
IFolder.createLink(IPath localLocation,
int updateFlags,
IProgressMonitor monitor)
Creates a new folder resource as a member of this handle's parent resource.
|
void |
IFile.createLink(IPath localLocation,
int updateFlags,
IProgressMonitor monitor)
Creates a new file 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)
Returns the handles to all the resources (workspace root, project, folder) in
the workspace which are mapped to the given path in the local file system.
|
IFile[] |
IWorkspaceRoot.findFilesForLocation(IPath location)
Returns the handles of all files that are mapped to the given path
in the local file system.
|
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 there is no such resource. |
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 |
IFolder.move(IPath destination,
boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Moves this resource so that it is located at the given path.
|
void |
IFile.move(IPath destination,
boolean force,
boolean keepHistory,
IProgressMonitor monitor)
Moves this resource to be at the given location.
|
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)
Resolves a relative
IPath object potentially containing a
variable reference as its first segment, replacing the variable reference
(if any) with the variable's value (which is a concrete absolute path). |
void |
IProjectDescription.setLocation(IPath location)
Sets the local file system location for the described project.
|
void |
IPathVariableManager.setValue(String name,
IPath value)
Sets the path variable with the given name to be the specified value.
|
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 path.
|
void |
IResourceChangeDescriptionFactory.move(IResource resource,
IPath destination)
Record the set of deltas representing a move of the given resource to the
given 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 |
Path.addFileExtension(String extension) |
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.addTrailingSeparator() |
IPath |
IPath.addTrailingSeparator()
Returns a path with the same segments as this path
but with a trailing separator added.
|
IPath |
Path.append(IPath tail) |
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(String 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.
|
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
getStateLocation 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 |
Path.makeAbsolute() |
IPath |
IPath.makeAbsolute()
Returns an absolute path with the segments and device id of this path.
|
IPath |
Path.makeRelative() |
IPath |
IPath.makeRelative()
Returns a relative path with the segments and device id of this path.
|
IPath |
Path.makeUNC(boolean toUNC) |
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.removeFileExtension() |
IPath |
IPath.removeFileExtension()
Returns a new path which is the same as this path but with
the file extension removed.
|
IPath |
Path.removeFirstSegments(int count) |
IPath |
IPath.removeFirstSegments(int count)
Returns a copy of this path with the given number of segments
removed from the beginning.
|
IPath |
Path.removeLastSegments(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.removeTrailingSeparator() |
IPath |
IPath.removeTrailingSeparator()
Returns a path with the same segments as this path
but with a trailing separator removed.
|
IPath |
Path.setDevice(String value) |
IPath |
IPath.setDevice(String device)
Returns a new path which is the same as this path but with
the given device id.
|
IPath |
Path.uptoSegment(int count) |
IPath |
IPath.uptoSegment(int count)
Returns a copy of this path truncated after the
given number of segments.
|
Modifier and Type | Method and Description |
---|---|
IPath |
Path.append(IPath tail) |
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.
|
static void |
Preferences.exportPreferences(IPath path)
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 |
Platform.find(Bundle bundle,
IPath path,
Map override)
Deprecated.
use
FileLocator.find(Bundle, IPath, Map) instead |
static URL |
FileLocator.find(Bundle bundle,
IPath path,
Map override)
Returns a URL for the given path in the given bundle.
|
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 override)
Deprecated.
|
URL |
IPluginDescriptor.find(IPath path,
Map override)
Deprecated.
Use
Platform.find(bundle, path, override)where bundle is the bundle associated with
the relevant plug-in. |
static void |
Preferences.importPreferences(IPath path)
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 |
Path.isPrefixOf(IPath anotherPath) |
boolean |
IPath.isPrefixOf(IPath anotherPath)
Returns whether this path is a prefix of the given path.
|
int |
Path.matchingFirstSegments(IPath anotherPath) |
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.
|
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 IStatus |
Preferences.validatePreferenceVersions(IPath file)
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 |
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 |
DefaultScope.getLocation() |
IPath |
ConfigurationScope.getLocation() |
Modifier and Type | Method and Description |
---|---|
IPath |
ILaunchConfiguration.getLocation()
Returns the location of this launch configuration as a
path.
|
Modifier and Type | Method and Description |
---|---|
IPath |
LocalFileStorage.getFullPath() |
IPath |
ZipEntryStorage.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 |
---|---|
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)
Moves the resources to the given destination.
|
protected void |
CopyFilesAndFoldersOperation.copy(IResource[] resources,
IPath destination,
IProgressMonitor subMonitor)
Copies the resources to the given destination.
|
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 void |
RenameResourceAction.runWithNewPath(IPath path,
IResource resource) |
Modifier and Type | Method and Description |
---|---|
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 |
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. |
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 |
WizardResourceImportPage.getResourcePath()
Return the path for the resource field.
|
protected IPath |
WizardExportPage.getResourcePath()
Deprecated.
Return the path for the resource field.
|
protected IPath |
WizardImportPage.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 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[] |
FileBufferOperationHandler.generateLocations(IFile[] files,
IProgressMonitor progressMonitor)
Generates the file buffer locations out of the given files.
|
protected IPath[] |
FileBufferOperationAction.generateLocations(IFile[] files,
IProgressMonitor progressMonitor) |
IPath |
ILocationProvider.getPath(Object element)
Returns the location of the given object or
null . |
Modifier and Type | Method and Description |
---|---|
protected void |
FileBufferOperationHandler.doRun(IFile[] files,
IPath location,
IFileBufferOperation fileBufferOperation)
Runs the given operation.
|
protected void |
FileBufferOperationAction.doRun(IFile[] files,
IPath location,
IFileBufferOperation fileBufferOperation) |
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 |
FileBufferOperationHandler.isAcceptableLocation(IPath location)
Tells whether the given location is accepted by this handler.
|
protected boolean |
FileBufferOperationAction.isAcceptableLocation(IPath location) |
void |
TextFileDocumentProvider.FileBufferListener.underlyingFileMoved(IFileBuffer file,
IPath newLocation) |
Modifier and Type | Method and Description |
---|---|
IPath |
FileEditorInput.getPath() |
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) |
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.
|
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.