Uses of Interface
org.eclipse.core.resources.IResource
Packages that use IResource
Package
Description
Provides support for performing structural and textual
compare operations on arbitrary data and displaying the results.
Provides support for applying and working with patches.
Provides basic support for managing a workspace and
its resources.
Provides APIs for integrating application models with the workspace
Provides APIs intended to be implemented by the auto-refresh providers.
Provides APIs intended to be implemented by the Team component.
Provides APIs intended to be implemented by the path variable providers.
Provides support for launching programs, breakpoint management, expression management,
and debug events.
Defines interfaces for debug model elements, source lookup, and launching.
Provides a generic debugger user interface that clients may customize via standard
workbench extension points.
Application programmer interface to implement semantic preserving workspace transformations.
Application programming interface to support logical models.
Application programming interface to participant in existing rename, move and delete refactorings
if the refactoring provider supports participation.
Application programmer interface to implement resource dependend refactorings.
Application programming interface to actions related to resource refactorings.
Classes giving access to the file (text) search functionality.
Provides the base classes to implement a search result view part for searches with textual matches.
Application programming interfaces for defining and working with repository providers.
Application programming interfaces for describing the history associated with
files.
Application programming interfaces for working with resource mappings.
Application programming interfaces for working with resource mappings.
Application programming interfaces for generating and refreshing
synchronization state.
Application programming interfaces for managing synchronization state.
Application programming interfaces for accessing and managing resource variants.
Application programming interfaces for working with resource mappings.
Contains the team synchronization presentation framework and support
for the Synchronize View.
Application programming interfaces for interaction
with and extension of the Eclipse Platform User Interface.
Classes for actions and operations used in a workbench
window, page, or part in the Eclipse Platform User Interface.
Classes for standard dialogs, wizards, and preference
pages in the Eclipse Platform User Interface.
Provides a standard text editor and concrete document providers based
IFileBuffer and others directly handling IFile and
IStorage as editor input.APIs for the IDE-specific portion of the Eclipse Platform User Interface.
APIs for dialogs in the IDE-specific portion of the Eclipse Platform User Interface.
APIs that provide undo and redo behavior for operations that manipulate
the workspace.
Provides a framework for text editors obeying to the
desktop rules.
Provides the standard Resource Navigator view which
presents the tree of resources in the workspace.
Provides the standard Property Sheet view which displays
custom properties of the active workbench part's current selection.
Provides the standard Task List view for displaying
tasks and problem annotations on resources.
Provides the standard Import and Export wizards for
moving resources into and out of the workspace.
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 IResourceModifier and TypeMethodDescriptionHistoryItem.getResource()IResourceProvider.getResource()Returns the corresponding resource for this object ornull.ResourceNode.getResource()Returns the corresponding resource for this object.Methods in org.eclipse.compare with parameters of type IResourceModifier and TypeMethodDescriptionprotected IStructureComparatorResourceNode.createChild(IResource child) This hook method is called fromgetChildrenonce for every member of a container resource.Constructors in org.eclipse.compare with parameters of type IResourceModifierConstructorDescriptionResourceNode(IResource resource) Creates aResourceNodefor the given resource. -
Uses of IResource in org.eclipse.compare.internal
Methods in org.eclipse.compare.internal that return IResourceModifier and TypeMethodDescriptionstatic IResourceUtilities.getFirstResource(ISelection selection) static IResource[]Utilities.getResources(ISelection selection) CompareWithOtherResourceDialog.getResult()Returns table with selected resources.Methods in org.eclipse.compare.internal with parameters of type IResourceModifier and TypeMethodDescriptionprotected IStructureComparatorBufferedResourceNode.createChild(IResource child) static booleanUtilities.validateResource(IResource resource, Shell shell, String title) static booleanUtilities.validateResources(IResource[] resources, Shell shell, String title) Method parameters in org.eclipse.compare.internal with type arguments of type IResourceModifier and TypeMethodDescriptionstatic booleanUtilities.validateResources(List<IResource> resources, Shell shell, String title) Constructors in org.eclipse.compare.internal with parameters of type IResourceModifierConstructorDescriptionBufferedResourceNode(IResource resource) Creates aResourceNodefor the given resource. -
Uses of IResource in org.eclipse.compare.patch
Constructors in org.eclipse.compare.patch with parameters of type IResourceModifierConstructorDescriptionApplyPatchOperation(IWorkbenchPart targetPart, IResource resource) Create an operation for the given part and resource.ApplyPatchOperation(IWorkbenchPart part, IStorage patch, IResource target, CompareConfiguration configuration) Creates a new ApplyPatchOperation with the supplied compare configuration, patch and target. -
Uses of IResource in org.eclipse.core.resources
Subinterfaces of IResource in org.eclipse.core.resourcesModifier and TypeInterfaceDescriptioninterfaceInterface for resources which may contain other resources (termed its members).interfaceFiles are leaf resources which contain data.interfaceFolders may be leaf or non-leaf resources and may contain files and/or other folders.interfaceA project is a type of resource which groups resources into buildable, reusable units.interfaceA root resource represents the top of the resource hierarchy in a workspace.Methods in org.eclipse.core.resources that return IResourceModifier and TypeMethodDescriptionIContainer.findMember(String path) Finds and returns the member resource identified by the given path in this container, ornullif no such resource exists.IContainer.findMember(String path, boolean includePhantoms) Finds and returns the member resource identified by the given path in this container, ornullif no such resource exists.IContainer.findMember(IPath path) Finds and returns the member resource identified by the given path in this container, ornullif no such resource exists.IContainer.findMember(IPath path, boolean includePhantoms) Finds and returns the member resource identified by the given path in this container, ornullif no such resource exists.IMarker.getResource()Returns the resource with which this marker is associated.IMarkerDelta.getResource()Returns the resource with which this marker is associated.IResourceChangeEvent.getResource()Returns the resource in question ornullif not applicable to this type of event.IResourceDelta.getResource()Returns a handle for the affected resource.IResourceFilterDescription.getResource()Return the resource towards which this filter is set.IContainer.members()Returns a list of existing member resources (projects, folders and files) in this resource, in no particular order.IContainer.members(boolean includePhantoms) Returns a list of all member resources (projects, folders and files) in this resource, in no particular order.IContainer.members(int memberFlags) Returns a list of all member resources (projects, folders and files) in this resource, in no particular order.IResourceProxy.requestResource()Returns the handle of the resource being visited.Methods in org.eclipse.core.resources with parameters of type IResourceModifier and TypeMethodDescriptionvoidISynchronizer.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.IResourceRuleFactory.charsetRule(IResource resource) Returns the scheduling rule that is required for changing the charset setting for a file or the default charset setting for a container.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.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.Returns the scheduling rule that is required for copying a resource.IResourceRuleFactory.createRule(IResource resource) Returns the scheduling rule that is required for creating a project, folder, or file.IWorkspace.delete(IResource[] resources, boolean force, IProgressMonitor monitor) Deletes the given resources.IWorkspace.delete(IResource[] resources, int updateFlags, IProgressMonitor monitor) Deletes the given resources.IResourceRuleFactory.deleteRule(IResource resource) Returns the scheduling rule that is required for deleting a resource.IResourceRuleFactory.derivedRule(IResource resource) Returns the scheduling rule that is required for changing the derived flag on a resource.voidISynchronizer.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.IResourceRuleFactory.markerRule(IResource resource) Returns the scheduling rule that is required for creating, modifying, or deleting markers on a resource.IResourceRuleFactory.modifyRule(IResource resource) Returns the scheduling rule that is required for modifying a resource.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.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.Returns the scheduling rule that is required for moving a resource.IResourceRuleFactory.refreshRule(IResource resource) Returns the scheduling rule that is required for performingrefreshLocalon a resource.voidISynchronizer.setSyncInfo(QualifiedName partner, IResource resource, byte[] info) Sets the named sync partner's synchronization information for the given resource.IResourceRuleFactory.validateEditRule(IResource[] resources) Returns the scheduling rule that is required for avalidateEditIWorkspace.validateFiltered(IResource resource) Validates that the given resource will not (or would not, if the resource doesn't exist in the workspace yet) be filtered out from the workspace by its parent resource filters.IWorkspace.validateLinkLocation(IResource resource, IPath location) Validates the given path as the location of the given resource on disk.IWorkspace.validateLinkLocationURI(IResource resource, URI location) Validates the givenURIas the location of the given resource on disk.booleanVisits the given resource. -
Uses of IResource in org.eclipse.core.resources.mapping
Methods in org.eclipse.core.resources.mapping that return IResourceModifier and TypeMethodDescriptionRemoteResourceMappingContext.fetchBaseMembers(IContainer container, IProgressMonitor monitor) Returns the members of the base resource corresponding to the given container.abstract IResource[]RemoteResourceMappingContext.fetchMembers(IContainer container, IProgressMonitor monitor) Returns the combined members of the base and remote resources corresponding to the given container.RemoteResourceMappingContext.fetchRemoteMembers(IContainer container, IProgressMonitor monitor) Returns the members of the remote resource corresponding to the given container.IModelProviderDescriptor.getMatchingResources(IResource[] resources) From the provides set of resources, return those that match the enablement rule specified for the model provider descriptor.ResourceTraversal.getResources()Returns the file system resource(s) for this traversal.Methods in org.eclipse.core.resources.mapping with parameters of type IResourceModifier and TypeMethodDescriptionbooleanReturn whether the given resource is contained in or covered by this traversal, regardless of whether the resource currently exists.voidRecord the set of deltas representing a copy of the given resource to the given workspace path.voidRecord a delta that represents a resource being created.voidRecord the set of deltas representing a deletion of the given resource.ModelProvider.getMappings(IResource[] resources, ResourceMappingContext context, IProgressMonitor monitor) Returns the set of mappings that cover the given resources.ModelProvider.getMappings(IResource resource, ResourceMappingContext context, IProgressMonitor monitor) Returns the resource mappings that cover the given resource.IModelProviderDescriptor.getMatchingResources(IResource[] resources) From the provides set of resources, return those that match the enablement rule specified for the model provider descriptor.abstract booleanRemoteResourceMappingContext.hasLocalChange(IResource resource, IProgressMonitor monitor) For three-way comparisons, this method indicates whether local modifications have been made to the given resource.abstract booleanRemoteResourceMappingContext.hasRemoteChange(IResource resource, IProgressMonitor monitor) For two-way comparisons, return whether the contents of the corresponding remote differs from the content of the local file in the context of the current operation.voidRecord the set of deltas representing a move of the given resource to the given workspace path.Constructors in org.eclipse.core.resources.mapping with parameters of type IResourceModifierConstructorDescriptionResourceTraversal(IResource[] resources, int depth, int flags) Creates a new resource traversal. -
Uses of IResource in org.eclipse.core.resources.refresh
Methods in org.eclipse.core.resources.refresh with parameters of type IResourceModifier and TypeMethodDescriptionprotected IRefreshMonitorRefreshProvider.createPollingMonitor(IResource resource) Creates a new refresh monitor that performs naive polling of the resource in the file system to detect changes.RefreshProvider.installMonitor(IResource resource, IRefreshResult result) Deprecated.RefreshProvider.installMonitor(IResource resource, IRefreshResult result, IProgressMonitor progressMonitor) Returns anIRefreshMonitorthat will monitor a resource.voidIRefreshResult.monitorFailed(IRefreshMonitor monitor, IResource resource) Notifies that the given monitor has encountered a failure from which it cannot recover while monitoring the given resource.voidRequests that the provided resource be refreshed.voidRefreshProvider.resetMonitors(IResource resource) Deprecated.Subclasses should override and clients should callRefreshProvider.resetMonitors(IResource, IProgressMonitor)instead.voidRefreshProvider.resetMonitors(IResource resource, IProgressMonitor progressMonitor) Resets the installed monitors for the given resource.voidInforms 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 IResourceModifier and TypeMethodDescriptionResourceRuleFactory.charsetRule(IResource resource) Default implementation ofIResourceRuleFactory#charsetRule.Default implementation ofIResourceRuleFactory#copyRule.ResourceRuleFactory.createRule(IResource resource) Default implementation ofIResourceRuleFactory#createRule.ResourceRuleFactory.deleteRule(IResource resource) Default implementation ofIResourceRuleFactory#deleteRule.final ISchedulingRuleResourceRuleFactory.derivedRule(IResource resource) Default implementation ofIResourceRuleFactory#derivedRule.booleanIResourceTree.isSynchronized(IResource resource, int depth) Returns whether the given resource and its descendents to the given depth are considered to be in sync with the local file system.final ISchedulingRuleResourceRuleFactory.markerRule(IResource resource) Default implementation ofIResourceRuleFactory#markerRule.ResourceRuleFactory.modifyRule(IResource resource) Default implementation ofIResourceRuleFactory#modifyRule.Default implementation ofIResourceRuleFactory#moveRule.protected final ISchedulingRuleConvenience method to return the parent of the given resource, or the resource itself for projects and the workspace root.ResourceRuleFactory.refreshRule(IResource resource) Default implementation ofIResourceRuleFactory#refreshRule.ResourceRuleFactory.validateEditRule(IResource[] resources) Default implementation ofIResourceRuleFactory#validateEditRule. -
Uses of IResource in org.eclipse.core.resources.undo.snapshot
Classes in org.eclipse.core.resources.undo.snapshot with type parameters of type IResourceModifier and TypeInterfaceDescriptioninterfaceIResourceSnapshot<T extends IResource>IResourceSnapshot is a lightweight snapshot that describes the common attributes of a resource to be created.Methods in org.eclipse.core.resources.undo.snapshot with type parameters of type IResourceModifier and TypeMethodDescriptionstatic <T extends IResource>
IResourceSnapshot<T> ResourceSnapshotFactory.fromResource(T resource) Create a resource snapshot given the specified resource.Methods in org.eclipse.core.resources.undo.snapshot that return IResourceModifier and TypeMethodDescriptionIMarkerSnapshot.getResource()Return the resource associated with this marker.Methods in org.eclipse.core.resources.undo.snapshot that return types with arguments of type IResourceModifier and TypeMethodDescriptionIResourceSnapshot<? extends IResource>[]IContainerSnapshot.getMembers()Get a list of snapshots of members of this containerMethods in org.eclipse.core.resources.undo.snapshot with parameters of type IResourceModifier and TypeMethodDescriptionstatic IMarkerSnapshotResourceSnapshotFactory.fromMarkerDetails(String type, Map<String, Object> attributes, IResource resource) Create a marker snapshot from the specified marker type, attributes, and resource.Method parameters in org.eclipse.core.resources.undo.snapshot with type arguments of type IResourceModifier and TypeMethodDescriptionvoidIContainerSnapshot.addMember(IResourceSnapshot<? extends IResource> member) Add the specified resource description as a member of this resource description -
Uses of IResource in org.eclipse.core.resources.variableresolvers
Methods in org.eclipse.core.resources.variableresolvers with parameters of type IResourceModifier and TypeMethodDescriptionabstract StringReturns a variable valueString[]PathVariableResolver.getVariableNames(String variable, IResource resource) This method can return a list of possible variables resolved by this resolver. -
Uses of IResource in org.eclipse.debug.core
Methods in org.eclipse.debug.core that return IResourceModifier and TypeMethodDescriptionILaunchConfiguration.getMappedResources()Returns the resources this launch configuration is associated with ornullif none.static IResource[]RefreshUtil.toResources(String memento) Returns a collection of resources referred to by the specified memento generated viaRefreshUtil.toMemento(IResource[]).Methods in org.eclipse.debug.core with parameters of type IResourceModifier and TypeMethodDescriptionstatic voidRefreshUtil.refreshResources(IResource[] resources, int depth, IProgressMonitor monitor) Refreshes the resources as specified by the given launch configuration.voidILaunchConfigurationWorkingCopy.setMappedResources(IResource[] resources) Sets the resources associated with this launch configuration, possiblynull.static StringReturns a memento for a collection of resources that can be restored viaRefreshUtil.toResources(String). -
Uses of IResource in org.eclipse.debug.core.model
Methods in org.eclipse.debug.core.model with parameters of type IResourceModifier and TypeMethodDescriptionprotected ISchedulingRuleBreakpoint.getMarkerRule(IResource resource) Returns a scheduling rule to use when modifying markers on the given resource, possiblynull. -
Uses of IResource in org.eclipse.debug.ui
Methods in org.eclipse.debug.ui that return IResourceModifier and TypeMethodDescriptionILaunchShortcut2.getLaunchableResource(ISelection selection) Returns anIResourcethat maps to the given selection for launch purposes, ornullif none.ILaunchShortcut2.getLaunchableResource(IEditorPart editorpart) Returns anIResourcethat maps to given editor part for launch purposes, ornullif none.static IResource[]RefreshTab.getRefreshResources(String scope) Returns a collection of resources referred to by a refresh scope attribute.static IResourceDebugUITools.getSelectedResource()Returns the currently selected resource in the active workbench window, ornullif none. -
Uses of IResource in org.eclipse.ltk.core.refactoring
Methods in org.eclipse.ltk.core.refactoring that return IResourceModifier and TypeMethodDescriptionIResourceMapper.getRefactoredResource(IResource element) Returns the refactored resource for the given element.Methods in org.eclipse.ltk.core.refactoring with parameters of type IResourceModifier and TypeMethodDescriptionIResourceMapper.getRefactoredResource(IResource element) Returns the refactored resource for the given element. -
Uses of IResource in org.eclipse.ltk.core.refactoring.model
Methods in org.eclipse.ltk.core.refactoring.model that return IResourceModifier and TypeMethodDescriptionfinal IResourceAbstractRefactoringDescriptorResourceMapping.getResource()Returns the associated resource.final IResourceAbstractRefactoringHistoryResourceMapping.getResource()Returns the associated resource. -
Uses of IResource in org.eclipse.ltk.core.refactoring.participants
Methods in org.eclipse.ltk.core.refactoring.participants that return IResourceModifier and TypeMethodDescriptionIRenameResourceProcessor.getResource()Returns the resource this processor was created on -
Uses of IResource in org.eclipse.ltk.core.refactoring.resource
Methods in org.eclipse.ltk.core.refactoring.resource that return IResourceModifier and TypeMethodDescriptionprotected IResourceCopyProjectChange.getModifiedResource()protected IResourceDeleteResourceChange.getModifiedResource()protected IResourceMoveRenameResourceChange.getModifiedResource()protected IResourceMoveResourceChange.getModifiedResource()protected IResourceRenameResourceChange.getModifiedResource()protected abstract IResourceResourceChange.getModifiedResource()Returns the resource of this change.Methods in org.eclipse.ltk.core.refactoring.resource with parameters of type IResourceModifier and TypeMethodDescriptionprotected static voidResourceChange.checkIfModifiable(RefactoringStatus result, IResource resource, int validationMethod) Utility method to validate a resource to be modified.static IStatusResources.checkInSync(IResource resource) Checks if the given resource is in sync with the underlying file system.static IStatusResources.checkInSync(IResource[] resources) Checks if the given resources are in sync with the underlying file system.static booleanResources.containsOnlyNonProjects(IResource[] resources) static booleanResources.containsOnlyProjects(IResource[] resources) static booleanResources.isReadOnly(IResource resource) static IStatusResources.makeCommittable(IResource[] resources, Object context) Makes the given resources committable.static IStatusResources.makeCommittable(IResource resource, Object context) Makes the given resource committable.voidDeleteResourcesDescriptor.setResources(IResource[] resources) The resources to be deleted.voidMoveResourcesDescriptor.setResourcesToMove(IResource[] resources) Sets the resources to move.Constructors in org.eclipse.ltk.core.refactoring.resource with parameters of type IResourceModifierConstructorDescriptionMoveRenameResourceChange(IResource source, IContainer target, String newName) Creates the change.protectedMoveRenameResourceChange(IResource source, IContainer target, String newName, long stampToRestore, Change restoreSourceChange) Creates the change.MoveResourceChange(IResource source, IContainer target) Creates the change.protectedMoveResourceChange(IResource source, IContainer target, long stampToRestore, Change restoreSourceChange) Creates the change. -
Uses of IResource in org.eclipse.ltk.ui.refactoring.resource
Constructors in org.eclipse.ltk.ui.refactoring.resource with parameters of type IResourceModifierConstructorDescriptionDeleteResourcesWizard(IResource[] resources) Creates aDeleteResourcesWizardMoveResourcesWizard(IResource[] resources) Creates aMoveResourcesWizard.RenameResourceWizard(IResource resource) Creates aRenameResourceWizard.RenameResourceWizard(IResource resource, String newName) Creates aRenameResourceWizardwith the new resource's name set to newName. -
Uses of IResource in org.eclipse.search.core.text
Methods in org.eclipse.search.core.text that return IResourceModifier and TypeMethodDescriptionTextSearchScope.getRoots()Returns the resources that form the root.Methods in org.eclipse.search.core.text with parameters of type IResourceModifier and TypeMethodDescriptionstatic TextSearchScopeTextSearchScope.newSearchScope(IResource[] rootResources, Pattern fileNamePattern, boolean visitDerivedResources) Creates a scope that consists of all files that match thefileNamePatternand that either are one of the roots, or have one of the roots in their parent chain. -
Uses of IResource in org.eclipse.search.ui.text
Methods in org.eclipse.search.ui.text that return IResourceMethods in org.eclipse.search.ui.text with parameters of type IResourceModifier and TypeMethodDescriptionabstract ISearchQueryTextSearchQueryProvider.createQuery(String selectedText, IResource[] resources) Create a query to search for the selected text in the given resources.static FileTextSearchScopeFileTextSearchScope.newSearchScope(IResource[] roots, String[] fileNamePatterns, boolean includeDerived) Returns a scope for the given root resources. -
Uses of IResource in org.eclipse.team.core
Methods in org.eclipse.team.core that return IResourceModifier and TypeMethodDescriptionITeamStatus.getResource()Return the resource associated with this status.TeamStatus.getResource()Return the resource associated with this status.Methods in org.eclipse.team.core with parameters of type IResourceModifier and TypeMethodDescriptionstatic booleanTeam.isIgnoredHint(IResource resource) Returns whether the given file or folder with its content should be ignored.RepositoryProvider.validateCreateLink(IResource resource, int updateFlags, URI location) Method validateCreateLink is invoked by the Platform Core TeamHook when a linked resource is about to be added to the provider's project.RepositoryProvider.validateCreateLink(IResource resource, int updateFlags, IPath location) Deprecated.Constructors in org.eclipse.team.core with parameters of type IResourceModifierConstructorDescriptionTeamStatus(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.history
Methods in org.eclipse.team.core.history with parameters of type IResourceModifier and TypeMethodDescriptionIFileHistoryProvider.getFileHistoryFor(IResource resource, int flags, IProgressMonitor monitor) Returns the file history for the given in resource.IFileHistoryProvider.getWorkspaceFileRevision(IResource resource) Returns the file revision of the passed in resource or null if that file revision cannot be determined -
Uses of IResource in org.eclipse.team.core.mapping
Methods in org.eclipse.team.core.mapping that return IResourceModifier and TypeMethodDescriptionIResourceDiffTree.getAffectedResources()Return all resources that contain diffs in this diff tree.IResourceDiff.getResource()Return the local resource to which this diff applies.IResourceDiffTree.getResource(IDiff diff) Return the resource associated with the given diff.ISynchronizationScope.getRoots()Return the resources that are the roots of this scope.Return the members of the given resource that either have diffs in this tree of contain descendants that have diffs in this tree.Methods in org.eclipse.team.core.mapping with parameters of type IResourceModifier and TypeMethodDescriptionbooleanReturn whether the given resource is contained in this scope.Return the diff for the given resource.IDiff[]Return all the diffs in the tree that are found for the given resource when traversed to the given depth.protected abstract voidChangeTracker.handleChanges(IProject project, IResource[] resources) The given resources of interest have changed in the given project.ISynchronizationScopeParticipant.handleContextChange(ISynchronizationScope scope, IResource[] resources, IProject[] projects) Callback that the manager makes to participants when the state of resources that are contained in the resource mapping context of the manager change.protected abstract booleanChangeTracker.isResourceOfInterest(IResource resource) Return whether the given resource is of interest to the tracker.Return the members of the given resource that either have diffs in this tree of contain descendants that have diffs in this tree. -
Uses of IResource in org.eclipse.team.core.mapping.provider
Methods in org.eclipse.team.core.mapping.provider that return IResourceModifier and TypeMethodDescriptionResourceDiffTree.getAffectedResources()ResourceDiff.getResource()ResourceDiffTree.getResource(IDiff diff) static IResourceResourceDiffTree.getResourceFor(IDiff node) Get the resource for the diff node that was obtained from anIResourceDiffTree.Methods in org.eclipse.team.core.mapping.provider with parameters of type IResourceModifier and TypeMethodDescriptionprotected voidMergeContext.ensureParentsExist(IResource resource, IProgressMonitor monitor) Ensure that the parent folders of the given resource exist.IDiff[]voidRemove the diff associated with the given resource from the tree.Constructors in org.eclipse.team.core.mapping.provider with parameters of type IResourceModifierConstructorDescriptionResourceDiff(IResource resource, int kind) Convenience constructor for creating a simple folder diff that consists of a resource and a kind only.ResourceDiff(IResource resource, int kind, int flags, IFileRevision before, IFileRevision after) Create a two-way resource diff -
Uses of IResource in org.eclipse.team.core.subscribers
Methods in org.eclipse.team.core.subscribers that return IResourceModifier and TypeMethodDescriptionfinal IResource[]SubscriberResourceMappingContext.fetchMembers(IContainer container, IProgressMonitor monitor) ISubscriberChangeEvent.getResource()Return the resource whose state with respect to the subscriber has changed.SubscriberChangeEvent.getResource()abstract IResource[]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 IResourceModifier and TypeMethodDescriptionvoidSubscriber.accept(IResource[] resources, int depth, IDiffVisitor visitor) Visit any out-of-sync resources in the given resources visited to the given depth.static SubscriberChangeEvent[]SubscriberChangeEvent.asSyncChangedDeltas(Subscriber subscriber, IResource[] resources) Returns an array of deltas for the resources withISubscriberChangeEvent.SYNC_CHANGEDas the flag.voidSubscriber.collectOutOfSync(IResource[] resources, int depth, SyncInfoSet set, IProgressMonitor monitor) Adds all out-of-sync resources (getKind() !Returns synchronization info, in the form of anIDifffor the given resource, ornullif there is no synchronization info because the subscriber does not apply to this resource or the resource is in-sync.abstract SyncInfoSubscriber.getSyncInfo(IResource resource) Returns synchronization info for the given resource, ornullif there is no synchronization info because the subscriber does not apply to this resource.protected SyncInfoSubscriberMergeContext.getSyncInfo(IResource resource) Return the sync info for the given resource.booleanSubscriberResourceMappingContext.hasLocalChange(IResource resource, IProgressMonitor monitor) final booleanSubscriberResourceMappingContext.hasRemoteChange(IResource resource, IProgressMonitor monitor) abstract booleanSubscriber.isSupervised(IResource resource) Returnstrueif this resource is supervised by this subscriber.abstract IResource[]Returns all non-transient member resources of the given resource.abstract voidSubscriber.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.protected voidSubscriberResourceMappingContext.refresh(IResource[] resources, int depth, int flags, IProgressMonitor monitor) Refresh the subscriber and cache the fact that the resources were refreshed by calling therefreshedmethod.protected final voidRecord the fact that the resources have been refreshed to the given depth.Constructors in org.eclipse.team.core.subscribers with parameters of type IResourceModifierConstructorDescriptionSubscriberChangeEvent(Subscriber subscriber, int flags, IResource resource) Create a change event with the given flags for the given subscriber and resource. -
Uses of IResource in org.eclipse.team.core.synchronize
Fields in org.eclipse.team.core.synchronize with type parameters of type IResourceMethods in org.eclipse.team.core.synchronize that return IResourceModifier and TypeMethodDescriptionISyncInfoTreeChangeEvent.getAddedSubtreeRoots()Returns the highest parent resources of all newly added elements available in this event by callinggetAddedResources().SyncInfo.getLocal()Returns the state of the local resource.ISyncInfoSetChangeEvent.getRemovedResources()Returns the removedIResourceelements for which the set no longer contains on out-of-syncSyncInfo.SyncInfoSetChangeEvent.getRemovedResources()ISyncInfoTreeChangeEvent.getRemovedSubtreeRoots()Returns the highest parent resources of all newly removed elements available in this event by callinggetRemovedResources().SyncInfoSet.getResources()Return all out-of-sync resources contained in this set.protected IResource[]SyncInfoTree.internalGetOutOfSyncDescendants(IContainer resource) This is an internal method and is not intended to be invoked or overridden by clients.Return the immediate children of the given resource who are either out-of-sync or contain out-of-sync resources.Methods in org.eclipse.team.core.synchronize with parameters of type IResourceModifier and TypeMethodDescriptionSyncInfoSet.getSyncInfo(IResource resource) Return theSyncInfofor the given resource ornullif the resource is not contained in the set.SyncInfo[]SyncInfoTree.getSyncInfos(IResource resource, int depth) Return theSyncInfofor each out-of-sync resource in the subtree rooted at the given resource to the depth specified.booleanSyncInfoTree.hasMembers(IResource resource) Return whether the given resource has any children in the sync set.protected SyncInfoSyncInfoSet.internalRemove(IResource resource) Remove the resource from the set, updating all internal data structures.Return the immediate children of the given resource who are either out-of-sync or contain out-of-sync resources.voidRemove the given local resource from the set.voidvoidRemove from this set theSyncInfofor the given resource and any of its descendants within the specified depth.voidRemove all the given resources from the set.voidConstructors in org.eclipse.team.core.synchronize with parameters of type IResourceModifierConstructorDescriptionSyncInfo(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 IResourceModifier and TypeMethodDescriptionprotected IResource[]AbstractResourceVariantTree.collectChanges(IResource local, IResourceVariant remote, int depth, IProgressMonitor monitor) Collect the changes in the remote tree to the specified depth.protected IResource[]ResourceVariantTree.collectChanges(IResource local, IResourceVariant remote, int depth, IProgressMonitor monitor) protected IResource[]ThreeWayRemoteTree.collectChanges(IResource local, IResourceVariant remote, int depth, IProgressMonitor monitor) 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.Returns the members of the local resource that have resource variants in this tree.abstract IResource[]Return the children of the given resource that have resource variants in this tree.Return the members of the local resource that either have sync bytes or exist locally and are not ignored.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 fromrefresh(IResource[], int, IProgressMonitor monitor)for each resource.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.IResourceVariantTree.roots()Returns the list of root resources for which this tree may have resource variants.ThreeWayRemoteTree.roots()Methods in org.eclipse.team.core.variants with parameters of type IResourceModifier and TypeMethodDescriptionprotected IResource[]AbstractResourceVariantTree.collectChanges(IResource local, IResourceVariant remote, int depth, IProgressMonitor monitor) Collect the changes in the remote tree to the specified depth.protected IResource[]ResourceVariantTree.collectChanges(IResource local, IResourceVariant remote, int depth, IProgressMonitor monitor) protected IResource[]ThreeWayRemoteTree.collectChanges(IResource local, IResourceVariant remote, int depth, IProgressMonitor monitor) 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.booleanIResourceVariantComparator.compare(IResource local, IResourceVariant remote) Returnstrueif the local resource matches the remote resource based on this criteria andfalseotherwise.booleanThreeWayResourceComparator.compare(IResource local, IResourceVariant remote) booleanPersistantResourceVariantByteStore.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.abstract booleanResourceVariantByteStore.deleteBytes(IResource resource) Method called to indicate that it is known that there is no variant associated with the local resource.booleanSessionResourceVariantByteStore.deleteBytes(IResource resource) protected abstract IResourceVariantAbstractResourceVariantTree.fetchVariant(IResource resource, int depth, IProgressMonitor monitor) Fetch the resource variant corresponding to the given resource.voidFlush any cached bytes for the given resource to the depth specified.booleanPersistantResourceVariantByteStore.flushBytes(IResource resource, int depth) abstract booleanResourceVariantByteStore.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.booleanSessionResourceVariantByteStore.flushBytes(IResource resource, int depth) voidIResourceVariantTree.flushVariants(IResource resource, int depth) Flush any variants in the tree for the given resource to the depth specified.voidResourceVariantTree.flushVariants(IResource resource, int depth) byte[]ThreeWaySynchronizer.getBaseBytes(IResource resource) Return the base bytes that are cached for the given resource ornullif no base is cached.byte[]abstract byte[]Return the bytes for the variant corresponding the given local resource.protected byte[]ResourceVariantTree.getBytes(IResource local, IResourceVariant remote) Get the bytes to be stored in theResourceVariantByteStorefrom the given resource variant.byte[]byte[]ThreeWaySynchronizer.getRemoteBytes(IResource resource) Return the remote bytes that are cached for the given resource ornullif no remote is cached.IResourceVariantTree.getResourceVariant(IResource resource) Return the resource variant corresponding to the local resource.ThreeWayRemoteTree.getResourceVariant(IResource resource) abstract IResourceVariantThreeWaySubscriber.getResourceVariant(IResource resource, byte[] bytes) Create the resource variant for the given local resource from the given bytes.ResourceVariantTreeSubscriber.getSyncInfo(IResource resource) protected SyncInfoResourceVariantTreeSubscriber.getSyncInfo(IResource local, IResourceVariant base, IResourceVariant remote) Method that creates an instance of SyncInfo for the provided local, base and remote resource variants.protected voidThreeWaySubscriber.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.booleanIResourceVariantTree.hasResourceVariant(IResource resource) Return whether the local resource has a variant in this tree.booleanResourceVariantTree.hasResourceVariant(IResource resource) booleanThreeWaySynchronizer.hasSyncBytes(IResource resource) Return whether the given resource has sync bytes in the synchronizer.booleanReturns whether the resource has been marked as ignored usingsetIgnored(IResource).booleanThreeWaySynchronizer.isLocallyModified(IResource resource) Return whether the local resource has been modified since the last time the base bytes were set.booleanThreeWaySubscriber.isSupervised(IResource resource) Returnsfalsefor resources that are not children of a subscriber root, are ignored by the subscriber's synchronizer or are ignored by theTeam.ignoreHist(IResource).booleanPersistantResourceVariantByteStore.isVariantKnown(IResource resource) Return whether the resource variant state for this resource is known.Returns the members of the local resource that have resource variants in this tree.abstract IResource[]Return the children of the given resource that have resource variants in this tree.Return the members of the local resource that either have sync bytes or exist locally and are not ignored.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 fromrefresh(IResource[], int, IProgressMonitor monitor)for each resource.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.voidResourceVariantTreeSubscriber.refresh(IResource[] resources, int depth, IProgressMonitor monitor) booleanThreeWaySynchronizer.removeRemoteBytes(IResource resource) Remove the remote bytes associated with the resource.voidPersistantResourceVariantByteStore.run(IResource root, IWorkspaceRunnable runnable, IProgressMonitor monitor) voidResourceVariantByteStore.run(IResource root, IWorkspaceRunnable runnable, IProgressMonitor monitor) Run the given action which may contain multiple modifications to the byte store.voidThreeWaySynchronizer.run(IResource resourceRule, IWorkspaceRunnable runnable, IProgressMonitor monitor) Perform multiple sync state modifications and fire only a single change notification at the end.voidThreeWaySynchronizer.setBaseBytes(IResource resource, byte[] baseBytes) Set the base bytes for the given resource.booleanabstract booleanSet the bytes for the variant corresponding the given local resource.booleanvoidThreeWaySynchronizer.setIgnored(IResource resource) Mark the resource as being ignored.booleanThreeWaySynchronizer.setRemoteBytes(IResource resource, byte[] remoteBytes) Set the remote bytes for the given resource.protected abstract booleanAbstractResourceVariantTree.setVariant(IResource local, IResourceVariant remote) Set the variant associated with the local resource to the newly fetched resource variant.protected booleanResourceVariantTree.setVariant(IResource local, IResourceVariant remote) voidISynchronizerChangeListener.syncStateChanged(IResource[] resources) Notification of synchronization state changes for the given resources.voidThreeWaySubscriber.syncStateChanged(IResource[] resources) -
Uses of IResource in org.eclipse.team.ui.mapping
Methods in org.eclipse.team.ui.mapping that return IResourceModifier and TypeMethodDescriptionITeamStateChangeEvent.getAddedRoots()Return the set of resources that were previously undecorated but are now decorated.ITeamStateChangeEvent.getChangedResources()Return the set of resources whose decorated state has changed.ITeamStateChangeEvent.getRemovedRoots()Return the set of resources that were previously decorated but are now undecorated.Methods in org.eclipse.team.ui.mapping with parameters of type IResource -
Uses of IResource in org.eclipse.team.ui.synchronize
Methods in org.eclipse.team.ui.synchronize that return IResourceModifier and TypeMethodDescriptionTeamStateChangeEvent.getAddedRoots()TeamStateChangeEvent.getChangedResources()TeamStateChangeEvent.getRemovedRoots()ISynchronizeModelElement.getResource()Returns the resource this element is showing synchronization information for ornullif the element does not have an associated local resource.SubscriberParticipant.getResources()Returns the resources supervised by this participant.protected abstract IResource[]ParticipantSynchronizeWizard.getRootResources()Return the resources that are the roots of the resource trees that can be considered for inclusion.ISynchronizeScope.getRoots()Return the root resources that define this scope.ResourceScope.getRoots()WorkingSetScope.getRoots()WorkspaceScope.getRoots()Methods in org.eclipse.team.ui.synchronize with parameters of type IResourceModifier and TypeMethodDescriptionvoidThe given resource has changed state.booleanReturn whether the given resource is within this scope.protected StringSubscriberParticipant.getLongTaskName(IResource[] resources) Returns the long task name to describe the behavior of the refresh operation to the user.static SubscriberParticipantSubscriberParticipant.getMatchingParticipant(String ID, IResource[] resources) Returns a participant that matches the given resource scopingbooleanfinal voidSubscriberParticipant.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.final voidSubscriberParticipant.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.final IStatusSubscriberParticipant.refreshNow(IResource[] resources, String taskName, IProgressMonitor monitor) Refresh a participant.voidThe given root resource has been added.voidTeamStateChangeEvent.rootRemoved(IResource resource) The given root resource has been removed.voidResourceScope.setResources(IResource[] resources) Set the resources that define this scopeConstructors in org.eclipse.team.ui.synchronize with parameters of type IResourceModifierConstructorDescriptionResourceScope(IResource[] resources) Create the resource scope for the given resources -
Uses of IResource in org.eclipse.ui
Methods in org.eclipse.ui that return IResourceModifier and TypeMethodDescriptionIContributorResourceAdapter.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 IResourceModifier and TypeMethodDescriptionReadOnlyStateChecker.checkReadOnlyResources(IResource[] itemsToCheck) Check the supplied resources to see if they are read only.CopyFilesAndFoldersOperation.copyResources(IResource[] resources, IContainer destination) Copies the given resources to the destination.CopyFilesAndFoldersOperation.copyResourcesInCurrentThread(IResource[] resources, IContainer destination, IProgressMonitor monitor) Copies the given resources to the destination in the current Thread without forking a new Thread or blocking using a WorkspaceModifyOperation.protected IResource[]CopyResourceAction.getResources(List<? extends IResource> resourceList) Returns an array of resources to use for the operation from the provided list.protected IResource[]MoveResourceAction.getResources(List<? extends IResource> resourceList) Methods in org.eclipse.ui.actions that return types with arguments of type IResourceModifier and TypeMethodDescriptionBuildAction.getActionResources()RenameResourceAction.getActionResources()Returns the elements that the action is to be performed on.WorkspaceAction.getActionResources()Returns the elements that the action is to be performed on.CloseResourceAction.getSelectedResources()CloseUnrelatedProjectsAction.getSelectedResources()RefreshAction.getSelectedResources()Returns a list containing the workspace root if the selection would otherwise be empty.SelectionListenerAction.getSelectedResources()Returns the elements in the current selection that areIResources.Methods in org.eclipse.ui.actions with parameters of type IResourceModifier and TypeMethodDescriptionReadOnlyStateChecker.checkReadOnlyResources(IResource[] itemsToCheck) Check the supplied resources to see if they are read only.protected voidCopyFilesAndFoldersOperation.copy(IResource[] resources, IPath destination, IProgressMonitor monitor) Deprecated.As of 3.3, the work is performed in the undoable operation created inCopyFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[], IPath)protected voidMoveFilesAndFoldersOperation.copy(IResource[] resources, IPath destination, IProgressMonitor monitor) Deprecated.As of 3.3, the work is performed in the undoable operation created inMoveFilesAndFoldersOperation.getUndoableCopyOrMoveOperation(IResource[], IPath)CopyFilesAndFoldersOperation.copyResources(IResource[] resources, IContainer destination) Copies the given resources to the destination.CopyFilesAndFoldersOperation.copyResourcesInCurrentThread(IResource[] resources, IContainer destination, IProgressMonitor monitor) Copies the given resources to the destination in the current Thread without forking a new Thread or blocking using a WorkspaceModifyOperation.protected StringCopyFilesAndFoldersOperation.getDeepCheckQuestion(IResource source) Returns the message for querying deep copy/move of a linked resource.protected StringMoveFilesAndFoldersOperation.getDeepCheckQuestion(IResource source) Returns the message for querying deep copy/move of a linked resource.protected IFileReturns the resource either casted to or adapted to an IFile.protected IFolderReturns the resource either casted to or adapted to an IFolder.protected AbstractWorkspaceOperationCopyFilesAndFoldersOperation.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 AbstractWorkspaceOperationMoveFilesAndFoldersOperation.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 booleanCopyFilesAndFoldersOperation.homogenousResources(IResource source, IResource destination) Returns whether the given resources are either both linked or both unlinked.protected voidCloseResourceAction.invokeOperation(IResource resource, IProgressMonitor monitor) protected voidOpenResourceAction.invokeOperation(IResource resource, IProgressMonitor monitor) protected voidScrubLocalAction.invokeOperation(IResource resource, IProgressMonitor monitor) Deprecated.protected voidWorkspaceAction.invokeOperation(IResource resource, IProgressMonitor monitor) Deprecated.Since 3.3, subclasses should instead implement the methodWorkspaceAction.createOperation(IStatus[])and provide an empty implementation for this method.protected StringRenameResourceAction.queryNewResourceName(IResource resource) Return the new name to be given to the target resource.protected voidRefreshAction.refreshResource(IResource resource, IProgressMonitor monitor) Refresh the resource (with a check for deleted projects).protected booleanSelectionListenerAction.resourceIsType(IResource resource, int resourceMask) Returns whether the type of the given resource is among those in the given resource type mask.protected voidCopyResourceAction.runOperation(IResource[] resources, IContainer destination) Runs the operation created increateOperationprotected voidMoveResourceAction.runOperation(IResource[] resources, IContainer destination) protected voidRenameResourceAction.runWithNewPath(IPath path, IResource resource) CopyFilesAndFoldersOperation.validateDestination(IContainer destination, IResource[] sourceResources) Checks whether the destination is valid for copying the source resources.MoveFilesAndFoldersOperation.validateDestination(IContainer destination, IResource[] sourceResources) Method parameters in org.eclipse.ui.actions with type arguments of type IResourceModifier and TypeMethodDescriptionprotected IResource[]CopyResourceAction.getResources(List<? extends IResource> resourceList) Returns an array of resources to use for the operation from the provided list.protected IResource[]MoveResourceAction.getResources(List<? extends IResource> resourceList) -
Uses of IResource in org.eclipse.ui.dialogs
Methods in org.eclipse.ui.dialogs that return types with arguments of type IResourceModifier and TypeMethodDescriptionprotected Comparator<IResource> FilteredResourcesSelectionDialog.getItemsComparator()Methods in org.eclipse.ui.dialogs with parameters of type IResourceModifier and TypeMethodDescriptionprotected ISchedulingRuleWizardNewFileCreationPage.createRule(IResource resource) Deprecated.As of 3.3, scheduling rules are provided by the undoable operation that this page creates and executes.protected booleanUse this method to further filter resources.Constructors in org.eclipse.ui.dialogs with parameters of type IResourceModifierConstructorDescriptionResourceListSelectionDialog(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 IResourceModifier and TypeMethodDescriptionprotected voidFileDocumentProvider.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 IFile[]FileBufferOperationAction.collectFiles(IResource[] resources) Collect the files to process.protected IFile[]FileBufferOperationHandler.collectFiles(IResource[] resources) Collects the files out of the given resources.protected longFileDocumentProvider.computeModificationStamp(IResource resource) Computes the initial modification stamp for the given resource.protected ISchedulingRuleTextFileDocumentProvider.computeSchedulingRule(IResource toCreateOrModify) Computes the scheduling rule needed to create or modify a resource.voidFileBufferOperationHandler.initialize(IResource[] resources, IPath location) Initializes this file buffer operation handler with the given resources and the given location. -
Uses of IResource in org.eclipse.ui.ide
Methods in org.eclipse.ui.ide that return IResourceModifier and TypeMethodDescriptionstatic IResourceResourceUtil.getResource(Object element) Returns the resource corresponding to the given model element, ornullif there is no applicable resource.static IResourceResourceUtil.getResource(IEditorInput editorInput) Returns the resource corresponding to the given editor input, ornullif there is no applicable resource.Methods in org.eclipse.ui.ide that return types with arguments of type IResourceModifier and TypeMethodDescriptionIDE.computeSelectedResources(IStructuredSelection originalSelection) Extracts and returns theIResources in the given selection or the resource objects they adapts to.Methods in org.eclipse.ui.ide with parameters of type IResourceModifier and TypeMethodDescriptionstatic booleanResourceSelectionUtil.resourceIsType(IResource resource, int resourceMask) Returns whether the type of the given resource is among the specified resource types.static booleanIDE.saveAllEditors(IResource[] resourceRoots, boolean confirm) Save all dirty editors in the workbench whose editor input is a child resource of one of theIResource's provided.Constructors in org.eclipse.ui.ide with parameters of type IResource -
Uses of IResource in org.eclipse.ui.ide.dialogs
Methods in org.eclipse.ui.ide.dialogs with parameters of type IResourceModifier and TypeMethodDescriptionvoidImportTypeDialog.setResource(IResource resource) Set the project that is the destination of the import operationvoidPathVariableSelectionDialog.setResource(IResource resource) Sets the resource for which the path variable is being edited.Constructors in org.eclipse.ui.ide.dialogs with parameters of type IResourceModifierConstructorDescriptionImportTypeDialog(Shell shell, int dropOperation, IResource[] sources, IContainer target) Creates the Import Type Dialog when resources are dragged and dropped from an Eclipse view.ResourceEncodingFieldEditor(String labelText, Composite parent, IResource charsetResource) Creates a new encoding field editor for setting the encoding on the given resource.ResourceEncodingFieldEditor(String labelText, Composite parent, IResource charsetResource, String groupTitle) Creates a new encoding field editor for setting the encoding on the given resource. -
Uses of IResource in org.eclipse.ui.ide.undo
Fields in org.eclipse.ui.ide.undo declared as IResourceMethods in org.eclipse.ui.ide.undo that return IResourceModifier and TypeMethodDescriptionabstract IResourceResourceDescription.createResource(IProgressMonitor monitor) Deprecated.Create an existent resource from this resource description.abstract IResourceResourceDescription.createResourceHandle()Deprecated.Create a resource handle that can be used to create a resource from this resource description.Methods in org.eclipse.ui.ide.undo with parameters of type IResourceModifier and TypeMethodDescriptionabstract voidResourceDescription.createExistentResourceFromHandle(IResource resource, IProgressMonitor monitor) Deprecated.Given a resource handle, create an actual resource with the attributes of the receiver resource description.static ResourceDescriptionResourceDescription.fromResource(IResource resource) Deprecated.Create a resource description given the specified resource.protected StringCopyProjectOperation.getProposedName(IResource resource, int index) protected StringMoveProjectOperation.getProposedName(IResource resource, int index) protected booleanCopyProjectOperation.isDestinationPathValid(IResource resource, int index) protected booleanMoveProjectOperation.isDestinationPathValid(IResource resource, int index) abstract voidResourceDescription.recordStateFromHistory(IResource resource, IProgressMonitor monitor) Deprecated.Record the appropriate state of this resource description using any available resource history.protected voidAbstractWorkspaceOperation.setTargetResources(IResource[] resources) Set the resources which are affected by this operationConstructors in org.eclipse.ui.ide.undo with parameters of type IResourceModifierConstructorDescriptionCopyResourcesOperation(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.CreateMarkersOperation(String[] types, Map[] attributes, IResource[] resources, String name) Create an undoable operation that can create multiple markers of various types on multiple resources.CreateMarkersOperation(String type, Map[] attributes, IResource[] resources, String name) Create an undoable operation that can create multiple markers of a single type on multiple resources.CreateMarkersOperation(String type, Map attributes, IResource resource, String name) Create an undoable operation that can create a marker of a specific type on a resource.DeleteResourcesOperation(IResource[] resources, String label, boolean deleteContent) Create a DeleteResourcesOperationMoveResourcesOperation(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. -
Uses of IResource in org.eclipse.ui.texteditor
Methods in org.eclipse.ui.texteditor that return IResourceModifier and TypeMethodDescriptionprotected IResourceAddMarkerAction.getResource()Returns the resource on which to create the marker, ornullif there is no applicable resource.protected IResourceMarkerRulerAction.getResource()Returns the resource for which to create the marker, ornullif there is no applicable resource.protected IResourceResourceMarkerAnnotationModel.getResource()Returns the resource serving as the source of markers for this annotation model.protected final IResourceSelectMarkerRulerAction.getResource()Returns the resource for which to create the marker, ornullif there is no applicable resource.Methods in org.eclipse.ui.texteditor with parameters of type IResourceModifier and TypeMethodDescriptionstatic voidCreates a marker on the given resource with the given type and attributes.Constructors in org.eclipse.ui.texteditor with parameters of type IResourceModifierConstructorDescriptionResourceMarkerAnnotationModel(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.markers.internal
Methods in org.eclipse.ui.views.markers.internal that return IResourceModifier and TypeMethodDescriptionConcreteMarker.getResource()protected IResourceDialogMarkerProperties.getResource()Returns the resource to use when creating a new task, ornullif none has been set.Methods in org.eclipse.ui.views.markers.internal with parameters of type IResourceModifier and TypeMethodDescriptionvoidMarkerFilter.setFocusResource(IResource[] resources) Sets the focused resources.voidDialogMarkerProperties.setResource(IResource resource) Sets the resource to use when creating a new task. -
Uses of IResource in org.eclipse.ui.views.properties
Fields in org.eclipse.ui.views.properties declared as IResourceMethods in org.eclipse.ui.views.properties with parameters of type IResourceModifier and TypeMethodDescriptionprotected FileGet the java.io.File equivalent of the passed IFile.Constructors in org.eclipse.ui.views.properties with parameters of type IResourceModifierConstructorDescriptionCreates a PropertySource and stores its IResource -
Uses of IResource in org.eclipse.ui.views.tasklist
Methods in org.eclipse.ui.views.tasklist that return IResourceModifier and TypeMethodDescriptionITaskListResourceAdapter.getAffectedResource(IAdaptable adaptable) Returns the resource to query for the markers to display for the given adaptable.TaskPropertiesDialog.getResource()Returns the resource to use when creating a new task, ornullif none has been set.Methods in org.eclipse.ui.views.tasklist with parameters of type IResourceModifier and TypeMethodDescriptionvoidTaskPropertiesDialog.setResource(IResource resource) Sets the resource to use when creating a new task. -
Uses of IResource in org.eclipse.ui.wizards.datatransfer
Methods in org.eclipse.ui.wizards.datatransfer with parameters of type IResource -
Uses of IResource in org.eclipse.ui.wizards.newresource
Methods in org.eclipse.ui.wizards.newresource with parameters of type IResourceModifier and TypeMethodDescriptionprotected voidBasicNewResourceWizard.selectAndReveal(IResource newResource) Selects and reveals the newly added resource in all parts of the active workbench window's active page.static voidBasicNewResourceWizard.selectAndReveal(IResource resource, IWorkbenchWindow window) Attempts to select and reveal the specified resource in all parts within the supplied workbench window's active page.
RefreshProvider.installMonitor(IResource, IRefreshResult, IProgressMonitor)instead.