Package | Description |
---|---|
org.eclipse.core.resources.mapping |
Provides APIs for integrating application models with the workspace
Package Specification
This package specifies the APIs in the Resources plug-in that are used to integrate
application models with the workspace.
|
org.eclipse.ltk.core.refactoring.model |
Application programming interface to support logical models.
|
org.eclipse.team.core.mapping |
Application programming interfaces for working with resource mappings.
|
org.eclipse.team.core.mapping.provider |
Application programming interfaces for working with resource mappings.
|
org.eclipse.team.core.subscribers |
Application programming interfaces for generating and refreshing
synchronization state.
|
org.eclipse.team.ui.mapping |
Application programming interfaces for working with resource mappings.
|
org.eclipse.team.ui.synchronize |
Contains the team synchronization presentation framework and support
for the Synchronize View.
|
org.eclipse.ui.ide |
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeResourceMapping
A resource mapping that obtains the traversals for its model object
from a set of child mappings.
|
Modifier and Type | Method and Description |
---|---|
ResourceMapping[] |
CompositeResourceMapping.getMappings()
Return the resource mappings contained in this composite.
|
ResourceMapping[] |
ModelProvider.getMappings(IResource[] resources,
ResourceMappingContext context,
IProgressMonitor monitor)
Return the set of mappings that cover the given resources.
|
ResourceMapping[] |
ModelProvider.getMappings(IResource resource,
ResourceMappingContext context,
IProgressMonitor monitor)
Return the resource mappings that cover the given resource.
|
ResourceMapping[] |
ModelProvider.getMappings(ResourceTraversal[] traversals,
ResourceMappingContext context,
IProgressMonitor monitor)
Return the set of mappings that overlap with the given resource traversals.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ResourceMapping.contains(ResourceMapping mapping)
Return whether this resource mapping contains all the resources
of the given mapping.
|
boolean |
CompositeResourceMapping.contains(ResourceMapping mapping) |
ResourceTraversal[] |
ModelProvider.getTraversals(ResourceMapping[] mappings,
ResourceMappingContext context,
IProgressMonitor monitor)
Return a set of traversals that cover the given resource mappings.
|
Constructor and Description |
---|
CompositeResourceMapping(String providerId,
Object modelObject,
ResourceMapping[] mappings)
Create a composite mapping that obtains its traversals from a set of sub-mappings.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractRefactoringDescriptorResourceMapping
Partial implementation of a resource mapping for a refactoring descriptor
object.
|
class |
AbstractRefactoringHistoryResourceMapping
Partial implementation of a resource mapping for a refactoring history
object.
|
Modifier and Type | Method and Description |
---|---|
ResourceMapping[] |
IMergeStatus.getConflictingMappings()
Returns the set of resource mappings for which an auto-merge was
not performed.
|
ResourceMapping[] |
ISynchronizationScope.getInputMappings()
Return the array of mappings that acted as the input to the scope builder
that was used to build this scope.
|
ResourceMapping |
ISynchronizationScope.getMapping(Object modelObject)
Return the resource mapping in the scope associated with the given model
object or
null if there isn't one. |
ResourceMapping[] |
ISynchronizationScope.getMappings()
Return an array of all of the mappings to be operated on.
|
ResourceMapping[] |
ISynchronizationScope.getMappings(String modelProviderId)
Return all the mappings to be operated on for the given model provider
id.
|
ResourceMapping[] |
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.
|
Modifier and Type | Method and Description |
---|---|
ResourceTraversal[] |
ISynchronizationScope.getTraversals(ResourceMapping mapping)
Return an array of traversals that cover the given resource mapping to be
operated on.
|
void |
ISynchronizationScope.refresh(ResourceMapping[] mappings)
Refresh the given mapping asynchronously.
|
void |
ISynchronizationContext.refresh(ResourceMapping[] mappings,
IProgressMonitor monitor)
Refresh the portion of the context related to the given resource
mappings.
|
ResourceTraversal[] |
ISynchronizationScopeManager.refresh(ResourceMapping[] mappings,
IProgressMonitor monitor)
Refresh the scope of this manager for the given mappings.
|
void |
ISynchronizationScopeChangeListener.scopeChanged(ISynchronizationScope scope,
ResourceMapping[] mappings,
ResourceTraversal[] traversals)
Notification that the scope has changed.
|
Modifier and Type | Method and Description |
---|---|
ResourceMapping[] |
MergeStatus.getConflictingMappings() |
static ResourceMapping[] |
SynchronizationScopeManager.getMappingsFromProviders(ResourceTraversal[] traversals,
ResourceMappingContext context,
IProgressMonitor monitor)
Convenience method for obtaining the set of resource
mappings from all model providers that overlap
with the given resources.
|
Modifier and Type | Method and Description |
---|---|
protected ResourceTraversal[] |
SynchronizationScopeManager.addMappingToScope(ResourceMapping mapping,
ResourceTraversal[] traversals)
Add the mapping and its calculated traversals to the scope.
|
protected ISynchronizationScope |
SynchronizationScopeManager.createScope(ResourceMapping[] inputMappings)
Create the scope that will be populated and returned by the builder.
|
void |
SynchronizationScopeManager.refresh(ResourceMapping[] mappings)
Refresh the given mappings by recalculating the traversals for the
mappings and adjusting the scope accordingly.
|
ResourceTraversal[] |
SynchronizationScopeManager.refresh(ResourceMapping[] mappings,
IProgressMonitor monitor) |
void |
SynchronizationContext.refresh(ResourceMapping[] mappings,
IProgressMonitor monitor)
Refresh the portion of the context related to the given resource
mappings.
|
Constructor and Description |
---|
MergeStatus(String pluginId,
String message,
ResourceMapping[] conflictingMappings)
Create a merge status for reporting that some of the resource mappings
for which a merge was attempted were not auto-mergable.
|
SynchronizationScopeManager(String name,
ResourceMapping[] inputMappings,
ResourceMappingContext resourceMappingContext,
boolean consultModels)
Create a scope manager that uses the given context to
determine what resources should be included in the scope.
|
Modifier and Type | Method and Description |
---|---|
int |
Subscriber.getState(ResourceMapping mapping,
int stateMask,
IProgressMonitor monitor)
Return the synchronization state of the given resource mapping.
|
ResourceTraversal[] |
SubscriberScopeManager.refresh(ResourceMapping[] mappings,
IProgressMonitor monitor) |
Constructor and Description |
---|
SubscriberScopeManager(String name,
ResourceMapping[] inputMappings,
Subscriber subscriber,
boolean consultModels)
Create a manager for the given subscriber and input.
|
SubscriberScopeManager(String name,
ResourceMapping[] inputMappings,
Subscriber subscriber,
RemoteResourceMappingContext context,
boolean consultModels)
Create a manager for the given subscriber and input.
|
Modifier and Type | Method and Description |
---|---|
ResourceMapping[] |
ISynchronizationCompareAdapter.restore(IMemento memento)
Restore the previously saved resource mappings.
|
Modifier and Type | Method and Description |
---|---|
ImageDescriptor |
SynchronizationCompareAdapter.getImageDescriptor(ResourceMapping mapping) |
ImageDescriptor |
ISynchronizationCompareAdapter.getImageDescriptor(ResourceMapping mapping)
Return an image descriptor that can be displayed as an icon for the
model object of the given resource mapping.
|
String |
SynchronizationCompareAdapter.getName(ResourceMapping mapping) |
String |
ISynchronizationCompareAdapter.getName(ResourceMapping mapping)
Get the name associated with the model object of the given mapping.
|
String |
SynchronizationCompareAdapter.getPathString(ResourceMapping mapping) |
String |
ISynchronizationCompareAdapter.getPathString(ResourceMapping mapping)
Get the path associated with the model object
of the given mapping.
|
int |
SynchronizationCompareAdapter.getSynchronizationState(ITeamStateProvider provider,
ResourceMapping mapping,
int stateMask,
IProgressMonitor monitor)
Return the synchronization state of the resource mapping with respect to
the given team state provider.
|
int |
ISynchronizationCompareAdapter.getSynchronizationState(ITeamStateProvider provider,
ResourceMapping mapping,
int stateMask,
IProgressMonitor monitor)
Return the synchronization state of the resource mapping with respect to
the given team state provider.
|
void |
ISynchronizationCompareAdapter.save(ResourceMapping[] mappings,
IMemento memento)
Save the given resource mappings from this adapters
model provider into the given memento in a form
that can be restored at a future time.
|
Modifier and Type | Method and Description |
---|---|
ResourceMapping[] |
AbstractSynchronizeScope.getMappings()
Return the resource mappings that define this scope.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ISynchronizeParticipant |
ModelParticipantWizard.createParticipant(ResourceMapping[] selectedMappings)
Method called from
ModelParticipantWizard.createParticipant() to create a
ModelSynchronizeParticipant for the given resource mappings. |
protected ISynchronizationScopeManager |
ModelSynchronizeParticipant.createScopeManager(ResourceMapping[] mappings)
Create and return a scope manager that can be used to build the scope of this
participant when it is restored after a restart.
|
protected String |
ModelSynchronizeParticipant.getLongTaskName(ResourceMapping[] mappings)
Returns the long task name to describe the behavior of the refresh
operation to the user.
|
void |
ModelSynchronizeParticipant.refresh(IWorkbenchSite site,
ResourceMapping[] mappings)
Refresh a participant in the background the result of the refresh are shown in the progress view.
|
Modifier and Type | Method and Description |
---|---|
ResourceMapping |
IContributorResourceAdapter2.getAdaptedResourceMapping(IAdaptable adaptable)
Return the resource mapping that the supplied adaptable
adapts to.
|
static ResourceMapping |
ResourceUtil.getResourceMapping(Object element)
Returns the resource mapping corresponding to the given model element, or
null
if there is no applicable resource mapping. |
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.