|
Eclipse Platform 2.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use IResource | |
org.eclipse.compare | Provides support for performing structural and textual compare operations on arbitrary data and displaying the results. |
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.search.ui | Provides classes and interfaces for search pages. |
org.eclipse.team.core | Application programming interfaces for defining and working with repository providers. |
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 a file-based document provider. |
org.eclipse.ui.texteditor | Provides a framework for text editors obeying to the desktop rules. |
org.eclipse.ui.views.navigator | Provides the standard Resource Navigator view which presents the tree of resources in the workspace. |
org.eclipse.ui.views.properties | Provides the standard Property Sheet view which displays custom properties of the active workbench part's current selection. |
org.eclipse.ui.views.tasklist | Provides the standard Task List view for displaying tasks and problem annotations on resources. |
org.eclipse.ui.wizards.newresource | Provides the standard wizards for creating files, folders, and projects in the workspace. |
Uses of IResource in org.eclipse.compare |
Methods in org.eclipse.compare that return IResource | |
IResource |
ResourceNode.getResource()
Returns the corresponding resource for this object. |
Methods in org.eclipse.compare with parameters of type IResource | |
protected IStructureComparator |
ResourceNode.createChild(IResource child)
This hook method is called from getChildren once for every
member of a container resource. |
Constructors in org.eclipse.compare with parameters of type IResource | |
ResourceNode(IResource resource)
Creates a ResourceNode for the given resource. |
Uses of IResource in org.eclipse.core.resources |
Subinterfaces of IResource in org.eclipse.core.resources | |
interface |
IContainer
Interface for resources which may contain other resources (termed its members). |
interface |
IFile
Files are leaf resources which contain data. |
interface |
IFolder
Folders may be leaf or non-leaf resources and may contain files and/or other folders. |
interface |
IProject
A project is a type of resource which groups resources into buildable, reusable units. |
interface |
IWorkspaceRoot
A root resource represents the top of the resource hierarchy in a workspace. |
Methods in org.eclipse.core.resources that return IResource | |
IResource |
IContainer.findMember(String name)
Finds and returns the member resource (project, folder, or file) with the given name in this container, or null if no such
resource exists. |
IResource |
IContainer.findMember(String name,
boolean includePhantoms)
Finds and returns the member resource (project, folder, or file) with the given name in this container, or null if
there is no such resource. |
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. |
IResource[] |
IContainer.members()
Returns a list of existing member resources (projects, folders and files) in this resource, in no particular order. |
IResource[] |
IContainer.members(boolean includePhantoms)
Returns a list of all member resources (projects, folders and files) in this resource, in no particular order. |
IResource[] |
IContainer.members(int memberFlags)
Returns a list of all member resources (projects, folders and files) in this resource, in no particular order. |
IResource |
IMarker.getResource()
Returns the resource with which this marker is associated. |
IResource |
IResourceProxy.requestResource()
Returns the handle of the resource being visited. |
IResource |
IResourceChangeEvent.getResource()
Returns the resource in question. |
IResource |
IResourceDelta.getResource()
Returns a handle for the affected resource. |
IResource |
IMarkerDelta.getResource()
Returns the resource with which this marker is associated. |
Methods in org.eclipse.core.resources with parameters of type IResource | |
void |
ISynchronizer.accept(QualifiedName partner,
IResource start,
IResourceVisitor visitor,
int depth)
Visits the given resource and its descendents with the specified visitor if sync information for the given sync partner is found on the resource. |
void |
ISynchronizer.flushSyncInfo(QualifiedName partner,
IResource resource,
int depth)
Discards the named partner's synchronization information associated with the specified resource and its descendents to the specified depth. |
byte[] |
ISynchronizer.getSyncInfo(QualifiedName partner,
IResource resource)
Returns the named sync partner's synchronization information for the given resource. |
void |
ISynchronizer.setSyncInfo(QualifiedName partner,
IResource resource,
byte[] info)
Sets the named sync partner's synchronization information for the given resource. |
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. |
IStatus |
IWorkspace.delete(IResource[] resources,
boolean force,
IProgressMonitor monitor)
Deletes the given resources. |
IStatus |
IWorkspace.delete(IResource[] resources,
int updateFlags,
IProgressMonitor monitor)
Deletes the given resources. |
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. |
IStatus |
IWorkspace.validateLinkLocation(IResource resource,
IPath location)
Validates the given path as the location of the given resource on disk. |
boolean |
IResourceVisitor.visit(IResource resource)
Visits the given resource. |
Uses of IResource in org.eclipse.core.resources.team |
Methods in org.eclipse.core.resources.team with parameters of type IResource | |
boolean |
IResourceTree.isSynchronized(IResource resource,
int depth)
Returns whether the given resource and its descendants to the given depth are considered to be in sync with the local file system. |
Uses of IResource in org.eclipse.search.ui |
Methods in org.eclipse.search.ui that return IResource | |
IResource |
ISearchResultViewEntry.getResource()
Returns the resource to which this entry's markers are attached. |
Methods in org.eclipse.search.ui with parameters of type IResource | |
void |
ISearchResultView.addMatch(String description,
Object groupByKey,
IResource resource,
IMarker marker)
Informs the view that a match has been found. |
Uses of IResource in org.eclipse.team.core |
Methods in org.eclipse.team.core with parameters of type IResource | |
IStatus |
RepositoryProvider.validateCreateLink(IResource resource,
int updateFlags,
IPath location)
Method validateCreateLink is invoked by the Platform Core TeamHook when a linked resource is about to be added to the provider's project. |
static boolean |
Team.isIgnoredHint(IResource resource)
Returns whether the given file should be ignored. |
Uses of IResource in org.eclipse.ui |
Methods in org.eclipse.ui that return IResource | |
IResource |
IContributorResourceAdapter.getAdaptedResource(IAdaptable adaptable)
Return the resource that the supplied adaptable adapts to. |
Uses of IResource in org.eclipse.ui.actions |
Methods in org.eclipse.ui.actions that return IResource | |
IResource[] |
ReadOnlyStateChecker.checkReadOnlyResources(IResource[] itemsToCheck)
Check the supplied resources to see if they are read only. |
protected IResource[] |
CopyResourceAction.getResources(List resourceList)
Returns an array of resources to use for the operation from the provided list. |
protected IResource[] |
MoveResourceAction.getResources(List resourceList)
|
IResource[] |
CopyFilesAndFoldersOperation.copyResources(IResource[] resources,
IContainer destination)
Copies the given resources to the destination. |
Methods in org.eclipse.ui.actions with parameters of type IResource | |
IResource[] |
ReadOnlyStateChecker.checkReadOnlyResources(IResource[] itemsToCheck)
Check the supplied resources to see if they are read only. |
protected boolean |
SelectionListenerAction.resourceIsType(IResource resource,
int resourceMask)
Returns whether the type of the given resource is among those in the given resource type mask. |
protected void |
CopyResourceAction.runOperation(IResource[] resources,
IContainer destination)
Runs the operation created in createOperaiton |
protected void |
MoveResourceAction.runOperation(IResource[] resources,
IContainer destination)
|
protected String |
RenameResourceAction.queryNewResourceName(IResource resource)
Return the new name to be given to the target resource. |
protected void |
RenameResourceAction.runWithNewPath(IPath path,
IResource resource)
|
protected String |
CopyFilesAndFoldersOperation.getDeepCheckQuestion(IResource source)
Returns the message for querying deep copy/move of a linked resource. |
protected void |
CopyFilesAndFoldersOperation.copy(IResource[] resources,
IPath destination,
IProgressMonitor subMonitor)
Copies the resources to the given destination. |
IResource[] |
CopyFilesAndFoldersOperation.copyResources(IResource[] resources,
IContainer destination)
Copies the given resources to the destination. |
protected IFile |
CopyFilesAndFoldersOperation.getFile(IResource resource)
Returns the resource either casted to or adapted to an IFile. |
protected IFolder |
CopyFilesAndFoldersOperation.getFolder(IResource resource)
Returns the resource either casted to or adapted to an IFolder. |
protected boolean |
CopyFilesAndFoldersOperation.homogenousResources(IResource source,
IResource destination)
Returns whether the given resources are either both linked or both unlinked. |
String |
CopyFilesAndFoldersOperation.validateDestination(IContainer destination,
IResource[] sourceResources)
Checks whether the destination is valid for copying the source resources. |
protected void |
MoveFilesAndFoldersOperation.copy(IResource[] resources,
IPath destination,
IProgressMonitor subMonitor)
Moves the resources to the given destination. |
protected String |
MoveFilesAndFoldersOperation.getDeepCheckQuestion(IResource source)
Returns the message for querying deep copy/move of a linked resource. |
String |
MoveFilesAndFoldersOperation.validateDestination(IContainer destination,
IResource[] sourceResources)
|
Uses of IResource in org.eclipse.ui.dialogs |
Methods in org.eclipse.ui.dialogs that return IResource | |
protected IResource |
WizardExportPage.getSourceResource()
Deprecated. Returns the resource object specified in the resource name entry field, or null if such a resource does not exist in the workbench. |
Methods in org.eclipse.ui.dialogs with parameters of type IResource | |
protected void |
WizardExportPage.setResourceToDisplay(IResource resource)
Deprecated. Set the resource whos name we will display. |
protected boolean |
ResourceListSelectionDialog.select(IResource resource)
Use this method to further filter resources. |
Constructors in org.eclipse.ui.dialogs with parameters of type IResource | |
ResourceListSelectionDialog(Shell parentShell,
IResource[] resources)
Creates a new instance of the class. |
Uses of IResource in org.eclipse.ui.editors.text |
Methods in org.eclipse.ui.editors.text with parameters of type IResource | |
protected void |
FileDocumentProvider.checkSynchronizationState(long cachedModificationStamp,
IResource resource)
Checks whether the given resource has been changed on the local file system by comparing the actual time stamp with the cached one. |
protected long |
FileDocumentProvider.computeModificationStamp(IResource resource)
Computes the initial modification stamp for the given resource. |
Uses of IResource in org.eclipse.ui.texteditor |
Methods in org.eclipse.ui.texteditor that return IResource | |
protected IResource |
SelectMarkerRulerAction.getResource()
Returns the resource for which to create the marker, or null if there is no applicable resource. |
protected IResource |
MarkerRulerAction.getResource()
Returns the resource for which to create the marker, or null if there is no applicable resource. |
protected IResource |
AddMarkerAction.getResource()
Returns the resource on which to create the marker, or null if there is no applicable resource. |
protected IResource |
ResourceMarkerAnnotationModel.getResource()
Returns the resource serving as the source of markers for this annotation model. |
Methods in org.eclipse.ui.texteditor with parameters of type IResource | |
static void |
MarkerUtilities.createMarker(IResource resource,
Map attributes,
String markerType)
Creates a marker on the given resource with the given type and attributes. |
Constructors in org.eclipse.ui.texteditor with parameters of type IResource | |
ResourceMarkerAnnotationModel(IResource resource)
Creates a marker annotation model with the given resource as the source of the markers. |
Uses of IResource in org.eclipse.ui.views.navigator |
Methods in org.eclipse.ui.views.navigator with parameters of type IResource | |
protected void |
ResourceNavigatorRenameAction.runWithNewPath(IPath path,
IResource resource)
|
static boolean |
ResourceSelectionUtil.resourceIsType(IResource resource,
int resourceMask)
Returns whether the type of the given resource is among the specified resource types. |
protected int |
ResourceSorter.compareNames(IResource resource1,
IResource resource2)
Returns a number reflecting the collation order of the given resources based on their resource names. |
protected int |
ResourceSorter.compareTypes(IResource resource1,
IResource resource2)
Returns a number reflecting the collation order of the given resources based on their respective file extensions. |
Uses of IResource in org.eclipse.ui.views.properties |
Fields in org.eclipse.ui.views.properties declared as IResource | |
protected IResource |
ResourcePropertySource.element
|
Methods in org.eclipse.ui.views.properties with parameters of type IResource | |
protected File |
ResourcePropertySource.getFile(IResource resource)
Get the java.io.File equivalent of the passed IFile. |
Constructors in org.eclipse.ui.views.properties with parameters of type IResource | |
ResourcePropertySource(IResource res)
Creates a PropertySource and stores its IResource |
Uses of IResource in org.eclipse.ui.views.tasklist |
Methods in org.eclipse.ui.views.tasklist that return IResource | |
IResource |
TaskPropertiesDialog.getResource()
Returns the resource to use when creating a new task, or null if none has been set. |
IResource |
TaskList.getResource()
Returns the resource for which the task list is showing tasks. |
IResource[] |
TaskList.getResources()
|
IResource |
ITaskListResourceAdapter.getAffectedResource(IAdaptable adaptable)
Returns the resource to query for the markers to display for the given adaptable. |
Methods in org.eclipse.ui.views.tasklist with parameters of type IResource | |
void |
TaskPropertiesDialog.setResource(IResource resource)
Sets the resource to use when creating a new task. |
Uses of IResource in org.eclipse.ui.wizards.newresource |
Methods in org.eclipse.ui.wizards.newresource with parameters of type IResource | |
protected void |
BasicNewResourceWizard.selectAndReveal(IResource newResource)
Selects and reveals the newly added resource in all parts of the active workbench window's active page. |
static void |
BasicNewResourceWizard.selectAndReveal(IResource resource,
IWorkbenchWindow window)
Attempts to select and reveal the specified resource in all parts within the supplied workbench window's active page. |
|
Eclipse Platform 2.1 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |