|
Eclipse Platform Release 3.0 |
||||||||||
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.refresh | Provides APIs intended to be implemented by the auto-refresh providers. |
org.eclipse.core.resources.team | Provides APIs intended to be implemented by the Team component. |
org.eclipse.debug.ui | Provides a generic debugger user interface that clients may customize via standard workbench extension points. |
org.eclipse.search.ui | Provides classes and interfaces to run search queries and manage their results. |
org.eclipse.team.core | Application programming interfaces for defining and working with repository providers. |
org.eclipse.team.core.subscribers | Application programming interfaces for generating and refreshing synchronization state. |
org.eclipse.team.core.synchronize | Application programming interfaces for managing synchronization state. |
org.eclipse.team.core.variants | Application programming interfaces for accessing and managing resource variants. |
org.eclipse.team.ui.synchronize | Contains the team synchronization presentation framework and support for the Synchronize View. |
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 | APIs for the IDE-specific portion of the Eclipse Platform User Interface. |
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 |
IResourceDelta.getResource()
Returns a handle for the affected resource. |
IResource |
IMarkerDelta.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. |
Methods in org.eclipse.core.resources with parameters of type IResource | |
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. |
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. |
ISchedulingRule |
IResourceRuleFactory.createRule(IResource resource)
Returns the scheduling rule that is required for creating a project, folder, or file. |
ISchedulingRule |
IResourceRuleFactory.copyRule(IResource source,
IResource destination)
Returns the scheduling rule that is required for copying a resource. |
ISchedulingRule |
IResourceRuleFactory.deleteRule(IResource resource)
Returns the scheduling rule that is required for deleting a resource. |
ISchedulingRule |
IResourceRuleFactory.markerRule(IResource resource)
Returns the scheduling rule that is required for creating, modifying, or deleting markers on a resource. |
ISchedulingRule |
IResourceRuleFactory.modifyRule(IResource resource)
Returns the scheduling rule that is required for modifying a resource. |
ISchedulingRule |
IResourceRuleFactory.moveRule(IResource source,
IResource destination)
Returns the scheduling rule that is required for moving a resource. |
ISchedulingRule |
IResourceRuleFactory.refreshRule(IResource resource)
Returns the scheduling rule that is required for performing refreshLocal on a resource. |
ISchedulingRule |
IResourceRuleFactory.validateEditRule(IResource[] resources)
Returns the scheduling rule that is required for a validateEdit |
boolean |
IResourceVisitor.visit(IResource resource)
Visits the given resource. |
Uses of IResource in org.eclipse.core.resources.refresh |
Methods in org.eclipse.core.resources.refresh with parameters of type IResource | |
protected IRefreshMonitor |
RefreshProvider.createPollingMonitor(IResource resource)
Creates a new refresh monitor that performs naive polling of the resource in the file system to detect changes. |
abstract IRefreshMonitor |
RefreshProvider.installMonitor(IResource resource,
IRefreshResult result)
Returns an IRefreshMonitor that will monitor a resource. |
void |
RefreshProvider.resetMonitors(IResource resource)
Resets the installed monitors for the given resource. |
void |
IRefreshResult.monitorFailed(IRefreshMonitor monitor,
IResource resource)
Notifies that the given monitor has encountered a failure from which it cannot recover while monitoring the given resource. |
void |
IRefreshResult.refresh(IResource resource)
Requests that the provided resource be refreshed. |
void |
IRefreshMonitor.unmonitor(IResource resource)
Informs the monitor that it should stop monitoring the given resource. |
Uses of IResource in org.eclipse.core.resources.team |
Methods in org.eclipse.core.resources.team with parameters of type IResource | |
ISchedulingRule |
ResourceRuleFactory.copyRule(IResource source,
IResource destination)
Default implementation of IResourceRuleFactory#copyRule .
|
ISchedulingRule |
ResourceRuleFactory.createRule(IResource resource)
Default implementation of IResourceRuleFactory#createRule .
|
ISchedulingRule |
ResourceRuleFactory.deleteRule(IResource resource)
Default implementation of IResourceRuleFactory#deleteRule .
|
ISchedulingRule |
ResourceRuleFactory.markerRule(IResource resource)
Default implementation of IResourceRuleFactory#markerRule .
|
ISchedulingRule |
ResourceRuleFactory.modifyRule(IResource resource)
Default implementation of IResourceRuleFactory#modifyRule .
|
ISchedulingRule |
ResourceRuleFactory.moveRule(IResource source,
IResource destination)
Default implementation of IResourceRuleFactory#moveRule .
|
protected ISchedulingRule |
ResourceRuleFactory.parent(IResource resource)
Convenience method to return the parent of the given resource, or the resource itself for projects and the workspace root. |
ISchedulingRule |
ResourceRuleFactory.refreshRule(IResource resource)
Default implementation of IResourceRuleFactory#refreshRule .
|
ISchedulingRule |
ResourceRuleFactory.validateEditRule(IResource[] resources)
Default implementation of IResourceRuleFactory#validateEditRule .
|
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.debug.ui |
Methods in org.eclipse.debug.ui that return IResource | |
static IResource[] |
RefreshTab.getRefreshResources(String scope)
Returns a collection of resources referred to by a refresh scope attribute. |
static IResource |
DebugUITools.getSelectedResource()
Returns the currently selected resource in the active workbench window, or null if none. |
Uses of IResource in org.eclipse.search.ui |
Methods in org.eclipse.search.ui that return IResource | |
IResource |
ISearchResultViewEntry.getResource()
Deprecated. 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)
Deprecated. Informs the view that a match has been found. |
Uses of IResource in org.eclipse.team.core |
Methods in org.eclipse.team.core that return IResource | |
IResource |
TeamStatus.getResource()
Return the resource associated with this status. |
IResource |
ITeamStatus.getResource()
Return the resource associated with this status. |
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. |
Constructors in org.eclipse.team.core with parameters of type IResource | |
TeamStatus(int severity,
String pluginId,
int code,
String message,
Throwable exception,
IResource resource)
Create a new status object. |
Uses of IResource in org.eclipse.team.core.subscribers |
Methods in org.eclipse.team.core.subscribers that return IResource | |
IResource |
SubscriberChangeEvent.getResource()
|
IResource |
ISubscriberChangeEvent.getResource()
Return the resource whose state with respect to the subscriber has changed. |
abstract IResource[] |
Subscriber.members(IResource resource)
Returns all non-transient member resources of the given resource. |
abstract IResource[] |
Subscriber.roots()
Returns the list of root resources this subscriber considers for synchronization. |
Methods in org.eclipse.team.core.subscribers with parameters of type IResource | |
static SubscriberChangeEvent[] |
SubscriberChangeEvent.asSyncChangedDeltas(Subscriber subscriber,
IResource[] resources)
Returns an array of deltas for the resources with ISubscriberChangeEvent.SYNC_CHANGED
as the flag. |
abstract boolean |
Subscriber.isSupervised(IResource resource)
Returns true if this resource is supervised by this
subscriber. |
abstract IResource[] |
Subscriber.members(IResource resource)
Returns all non-transient member resources of the given resource. |
abstract SyncInfo |
Subscriber.getSyncInfo(IResource resource)
Returns synchronization info for the given resource, or null
if there is no synchronization info because the subscriber does not apply
to this resource.
|
abstract void |
Subscriber.refresh(IResource[] resources,
int depth,
IProgressMonitor monitor)
Refreshes the resource hierarchy from the given resources and their children (to the specified depth) from the corresponding resources in the remote location. |
void |
Subscriber.collectOutOfSync(IResource[] resources,
int depth,
SyncInfoSet set,
IProgressMonitor monitor)
Adds all out-of-sync resources (getKind() ! |
Constructors in org.eclipse.team.core.subscribers with parameters of type IResource | |
SubscriberChangeEvent(Subscriber subscriber,
int flags,
IResource resource)
Create a cahnge event with the given flags for the given subscriber and resource. |
Uses of IResource in org.eclipse.team.core.synchronize |
Methods in org.eclipse.team.core.synchronize that return IResource | |
IResource[] |
SyncInfoSet.getResources()
Return all out-of-sync resources contained in this set. |
IResource[] |
ISyncInfoTreeChangeEvent.getAddedSubtreeRoots()
Returns the highest parent resources of all newly added elements available in this event by calling getAddedResources() . |
IResource[] |
ISyncInfoTreeChangeEvent.getRemovedSubtreeRoots()
Returns the highest parent resources of all newly removed elements available in this event by calling getRemovedResources() . |
protected IResource[] |
SyncInfoTree.internalGetOutOfSyncDescendants(IContainer resource)
This is an internal method and is not intended to be invoked or overriden by clients. |
IResource[] |
SyncInfoTree.members(IResource resource)
Return the immediate children of the given resource who are either out-of-sync or contain out-of-sync resources. |
IResource[] |
ISyncInfoSetChangeEvent.getRemovedResources()
Returns the removed IResource elements for which the set no longer
contains on out-of-sync SyncInfo . |
IResource |
SyncInfo.getLocal()
Returns the state of the local resource. |
Methods in org.eclipse.team.core.synchronize with parameters of type IResource | |
SyncInfo |
SyncInfoSet.getSyncInfo(IResource resource)
Return the SyncInfo for the given resource or null
if the resource is not contained in the set. |
protected SyncInfo |
SyncInfoSet.internalRemove(IResource resource)
Remove the resource from the set, updating all internal data structures. |
void |
SyncInfoSet.remove(IResource resource)
Remove the given local resource from the set. |
void |
SyncInfoSet.removeAll(IResource[] resources)
Remove all the given resources from the set. |
boolean |
SyncInfoTree.hasMembers(IResource resource)
Return wether the given resource has any children in the sync set. |
SyncInfo[] |
SyncInfoTree.getSyncInfos(IResource resource,
int depth)
Return the SyncInfo for each out-of-sync resource in the subtree rooted at the given resource
to the depth specified. |
void |
SyncInfoTree.remove(IResource resource)
|
void |
SyncInfoTree.remove(IResource resource,
int depth)
Remove from this set the SyncInfo for the given resource and any of its descendants
within the specified depth. |
IResource[] |
SyncInfoTree.members(IResource resource)
Return the immediate children of the given resource who are either out-of-sync or contain out-of-sync resources. |
Constructors in org.eclipse.team.core.synchronize with parameters of type IResource | |
SyncInfo(IResource local,
IResourceVariant base,
IResourceVariant remote,
IResourceVariantComparator comparator)
Construct a sync info object. |
Uses of IResource in org.eclipse.team.core.variants |
Methods in org.eclipse.team.core.variants that return IResource | |
IResource[] |
ThreeWayRemoteTree.roots()
|
protected IResource[] |
ThreeWayRemoteTree.collectChanges(IResource local,
IResourceVariant remote,
int depth,
IProgressMonitor monitor)
|
IResource[] |
SessionResourceVariantByteStore.members(IResource resource)
|
IResource[] |
IResourceVariantTree.roots()
Returns the list of root resources for which this tree may have resource variants. |
IResource[] |
IResourceVariantTree.members(IResource resource)
Returns the members of the local resource that have resource variants in this tree. |
IResource[] |
IResourceVariantTree.refresh(IResource[] resources,
int depth,
IProgressMonitor monitor)
Refreshes the resource variant tree for the specified resources and possibly their descendants, depending on the depth. |
IResource[] |
AbstractResourceVariantTree.refresh(IResource[] resources,
int depth,
IProgressMonitor monitor)
Refreshes the resource variant tree for the specified resources and possibly their descendants, depending on the depth. |
protected IResource[] |
AbstractResourceVariantTree.refresh(IResource resource,
int depth,
IProgressMonitor monitor)
Helper method invoked from refresh(IResource[], int, IProgressMonitor monitor)
for each resource. |
protected IResource[] |
AbstractResourceVariantTree.collectChanges(IResource local,
IResourceVariant remote,
int depth,
IProgressMonitor monitor)
Collect the changes in the remote tree to the specified depth. |
protected IResource[] |
AbstractResourceVariantTree.collectedMembers(IResource local,
IResource[] members)
Method that is invoked during collection to let subclasses know which members were collected for the given resource. |
abstract IResource[] |
ResourceVariantByteStore.members(IResource resource)
Return the children of the given resource that have resource variants in this tree. |
IResource[] |
PersistantResourceVariantByteStore.members(IResource resource)
|
IResource[] |
ResourceVariantTree.members(IResource resource)
|
protected IResource[] |
ResourceVariantTree.collectChanges(IResource local,
IResourceVariant remote,
int depth,
IProgressMonitor monitor)
|
IResource[] |
ResourceVariantTreeSubscriber.members(IResource resource)
|
IResource[] |
ThreeWaySynchronizer.members(IResource resource)
Return the members of the local resource that either have sync bytes or exist locally and are not ignored. |
Methods in org.eclipse.team.core.variants with parameters of type IResource | |
IResourceVariant |
ThreeWayRemoteTree.getResourceVariant(IResource resource)
|
protected IResource[] |
ThreeWayRemoteTree.collectChanges(IResource local,
IResourceVariant remote,
int depth,
IProgressMonitor monitor)
|
boolean |
SessionResourceVariantByteStore.deleteBytes(IResource resource)
|
boolean |
SessionResourceVariantByteStore.flushBytes(IResource resource,
int depth)
|
byte[] |
SessionResourceVariantByteStore.getBytes(IResource resource)
|
IResource[] |
SessionResourceVariantByteStore.members(IResource resource)
|
boolean |
SessionResourceVariantByteStore.setBytes(IResource resource,
byte[] bytes)
|
IResource[] |
IResourceVariantTree.members(IResource resource)
Returns the members of the local resource that have resource variants in this tree. |
IResourceVariant |
IResourceVariantTree.getResourceVariant(IResource resource)
Return the resource variant corresponding to the local resource. |
boolean |
IResourceVariantTree.hasResourceVariant(IResource resource)
Return whether the local resource has a variant in this tree. |
IResource[] |
IResourceVariantTree.refresh(IResource[] resources,
int depth,
IProgressMonitor monitor)
Refreshes the resource variant tree for the specified resources and possibly their descendants, depending on the depth. |
void |
IResourceVariantTree.flushVariants(IResource resource,
int depth)
Flush any variants in the tree for the given resource to the depth specified. |
void |
ISynchronizerChangeListener.syncStateChanged(IResource[] resources)
Notification of synchronization state changes for the given resources. |
boolean |
ThreeWayResourceComparator.compare(IResource local,
IResourceVariant remote)
|
IResource[] |
AbstractResourceVariantTree.refresh(IResource[] resources,
int depth,
IProgressMonitor monitor)
Refreshes the resource variant tree for the specified resources and possibly their descendants, depending on the depth. |
protected IResource[] |
AbstractResourceVariantTree.refresh(IResource resource,
int depth,
IProgressMonitor monitor)
Helper method invoked from refresh(IResource[], int, IProgressMonitor monitor)
for each resource. |
protected IResource[] |
AbstractResourceVariantTree.collectChanges(IResource local,
IResourceVariant remote,
int depth,
IProgressMonitor monitor)
Collect the changes in the remote tree to the specified depth. |
protected abstract IResourceVariant |
AbstractResourceVariantTree.fetchVariant(IResource resource,
int depth,
IProgressMonitor monitor)
Fetch the resource variant corresponding to the given resource. |
protected IResource[] |
AbstractResourceVariantTree.collectedMembers(IResource local,
IResource[] members)
Method that is invoked during collection to let subclasses know which members were collected for the given resource. |
protected abstract boolean |
AbstractResourceVariantTree.setVariant(IResource local,
IResourceVariant remote)
Set the variant associated with the local resource to the newly fetched resource variant. |
abstract byte[] |
ResourceVariantByteStore.getBytes(IResource resource)
Return the bytes for the variant corresponding the given local resource. |
abstract boolean |
ResourceVariantByteStore.setBytes(IResource resource,
byte[] bytes)
Set the bytes for the variant corresponding the given local resource. |
abstract boolean |
ResourceVariantByteStore.flushBytes(IResource resource,
int depth)
Remove the bytes from the tree for the resource variants corresponding to the given local resource and its descendants to the given depth. |
abstract boolean |
ResourceVariantByteStore.deleteBytes(IResource resource)
Method called to indicate that it is known that there is no variant associated with the local resource. |
abstract IResource[] |
ResourceVariantByteStore.members(IResource resource)
Return the children of the given resource that have resource variants in this tree. |
void |
ResourceVariantByteStore.run(IResource root,
IWorkspaceRunnable runnable,
IProgressMonitor monitor)
Run the given action which may contain multiple modfications to the byte store. |
byte[] |
PersistantResourceVariantByteStore.getBytes(IResource resource)
|
boolean |
PersistantResourceVariantByteStore.setBytes(IResource resource,
byte[] bytes)
|
boolean |
PersistantResourceVariantByteStore.flushBytes(IResource resource,
int depth)
|
boolean |
PersistantResourceVariantByteStore.isVariantKnown(IResource resource)
Return whether the resource variant state for this resource is known. |
boolean |
PersistantResourceVariantByteStore.deleteBytes(IResource resource)
This method should be invoked by a client to indicate that it is known that there is no remote resource associated with the local resource. |
IResource[] |
PersistantResourceVariantByteStore.members(IResource resource)
|
void |
PersistantResourceVariantByteStore.run(IResource root,
IWorkspaceRunnable runnable,
IProgressMonitor monitor)
|
void |
ThreeWaySubscriber.syncStateChanged(IResource[] resources)
|
boolean |
ThreeWaySubscriber.isSupervised(IResource resource)
Returns false for resources that are not children
of a subscriber root, are ignored by the subscriber's synchronizer
or are ignored by the Team.ignoreHist(IResource) . |
abstract IResourceVariant |
ThreeWaySubscriber.getResourceVariant(IResource resource,
byte[] bytes)
Create the resource variant for the given local resource from the given bytes. |
protected void |
ThreeWaySubscriber.handleRootChanged(IResource resource,
boolean added)
Convenience method that can be used by subclasses to notify listeners when a root is added or removed from the subscriber. |
IResource[] |
ResourceVariantTree.members(IResource resource)
|
boolean |
ResourceVariantTree.hasResourceVariant(IResource resource)
|
void |
ResourceVariantTree.flushVariants(IResource resource,
int depth)
|
protected boolean |
ResourceVariantTree.setVariant(IResource local,
IResourceVariant remote)
|
protected byte[] |
ResourceVariantTree.getBytes(IResource local,
IResourceVariant remote)
Get the bytes to be stored in the ResourceVariantByteStore
from the given resource variant. |
protected IResource[] |
ResourceVariantTree.collectChanges(IResource local,
IResourceVariant remote,
int depth,
IProgressMonitor monitor)
|
SyncInfo |
ResourceVariantTreeSubscriber.getSyncInfo(IResource resource)
|
protected SyncInfo |
ResourceVariantTreeSubscriber.getSyncInfo(IResource local,
IResourceVariant base,
IResourceVariant remote)
Method that creates an instance of SyncInfo for the provided local, base and remote resource variants. |
IResource[] |
ResourceVariantTreeSubscriber.members(IResource resource)
|
void |
ResourceVariantTreeSubscriber.refresh(IResource[] resources,
int depth,
IProgressMonitor monitor)
|
boolean |
IResourceVariantComparator.compare(IResource local,
IResourceVariant remote)
Returns true if the local resource
matches the remote resource based on this criteria and false
otherwise. |
byte[] |
ThreeWaySynchronizer.getBaseBytes(IResource resource)
Return the base bytes that are cached for the given resource or null if no base is cached. |
void |
ThreeWaySynchronizer.setBaseBytes(IResource resource,
byte[] baseBytes)
Set the base bytes for the given resource. |
boolean |
ThreeWaySynchronizer.isLocallyModified(IResource resource)
Return whether the local resource has been modified since the last time the base bytes were set. |
byte[] |
ThreeWaySynchronizer.getRemoteBytes(IResource resource)
Return the remote bytes that are cached for the given resource or null if no remote is cached. |
boolean |
ThreeWaySynchronizer.setRemoteBytes(IResource resource,
byte[] remoteBytes)
Set the remote bytes for the given resource. |
boolean |
ThreeWaySynchronizer.removeRemoteBytes(IResource resource)
Remove the remote bytes associated with the resource. |
boolean |
ThreeWaySynchronizer.hasSyncBytes(IResource resource)
Return whether the given resource has sync bytes in the synchronizer. |
boolean |
ThreeWaySynchronizer.isIgnored(IResource resource)
Returns whether the resource has been marked as ignored using setIgnored(IResource) . |
void |
ThreeWaySynchronizer.setIgnored(IResource resource)
Mark the resource as being ignored. |
IResource[] |
ThreeWaySynchronizer.members(IResource resource)
Return the members of the local resource that either have sync bytes or exist locally and are not ignored. |
void |
ThreeWaySynchronizer.flush(IResource resource,
int depth)
Flush any cached bytes for the given resource to the depth specified. |
void |
ThreeWaySynchronizer.run(IResource resourceRule,
IWorkspaceRunnable runnable,
IProgressMonitor monitor)
Perform multiple sync state modifications and fire only a single change notification at the end. |
Uses of IResource in org.eclipse.team.ui.synchronize |
Methods in org.eclipse.team.ui.synchronize that return IResource | |
IResource[] |
SubscriberParticipant.getResources()
Returns the resources supervised by this participant. |
IResource[] |
ISynchronizeScope.getRoots()
Return the root resources that define this scope. |
IResource[] |
ResourceScope.getRoots()
|
IResource[] |
WorkingSetScope.getRoots()
|
IResource |
ISynchronizeModelElement.getResource()
Returns the resource this element is showing synchronization information for or null
if the element does not have an associated local resource. |
IResource[] |
WorkspaceScope.getRoots()
|
Methods in org.eclipse.team.ui.synchronize with parameters of type IResource | |
void |
SubscriberParticipant.refreshInDialog(Shell shell,
IResource[] resources,
String jobName,
String taskName,
ISynchronizePageConfiguration configuration,
IWorkbenchSite site)
Refresh this participants synchronization state and displays the result in a model dialog. |
void |
SubscriberParticipant.refresh(IResource[] resources,
String shortTaskName,
String longTaskName,
IWorkbenchSite site)
Refresh a participant in the background the result of the refresh are shown in the progress view. |
IStatus |
SubscriberParticipant.refreshNow(IResource[] resources,
String taskName,
IProgressMonitor monitor)
Refresh a participant. |
static SubscriberParticipant |
SubscriberParticipant.getMatchingParticipant(String ID,
IResource[] resources)
Returns a participant that matches the given resource scoping |
void |
ResourceScope.setResources(IResource[] resources)
Set the resources that define this scope |
Constructors in org.eclipse.team.ui.synchronize with parameters of type IResource | |
ResourceScope(IResource[] resources)
Create the resource scope for the given resources |
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[] |
MoveResourceAction.getResources(List resourceList)
|
protected IResource[] |
CopyResourceAction.getResources(List resourceList)
Returns an array of resources to use for the operation from the provided list. |
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 | |
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 String |
RenameResourceAction.queryNewResourceName(IResource resource)
Return the new name to be given to the target resource. |
protected void |
RenameResourceAction.runWithNewPath(IPath path,
IResource resource)
|
IResource[] |
ReadOnlyStateChecker.checkReadOnlyResources(IResource[] itemsToCheck)
Check the supplied resources to see if they are read only. |
protected void |
MoveResourceAction.runOperation(IResource[] resources,
IContainer destination)
|
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)
|
protected void |
CopyResourceAction.runOperation(IResource[] resources,
IContainer destination)
Runs the operation created in createOperaiton |
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. |
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.ide |
Methods in org.eclipse.ui.ide with parameters of type IResource | |
static boolean |
IDE.saveAllEditors(IResource[] resourceRoots,
boolean confirm)
Save all dirty editors in the workbench whose editor input is a child resource of one of the IResource 's provided.
|
Uses of IResource in org.eclipse.ui.texteditor |
Methods in org.eclipse.ui.texteditor that return IResource | |
protected IResource |
AddMarkerAction.getResource()
Returns the resource on 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 |
ResourceMarkerAnnotationModel.getResource()
Returns the resource serving as the source of markers for this annotation model. |
protected IResource |
SelectMarkerRulerAction.getResource()
Returns the resource for which to create the marker, or null if there is no applicable resource. |
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 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. |
static boolean |
ResourceSelectionUtil.resourceIsType(IResource resource,
int resourceMask)
Returns whether the type of the given resource is among the specified resource types. |
protected void |
ResourceNavigatorRenameAction.runWithNewPath(IPath path,
IResource resource)
|
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 Release 3.0 |
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.