public abstract class AbstractSynchronizationContentProvider extends SynchronizationContentProvider
This class provides a method
getRefactorings(ISynchronizationContext, IProject, IProgressMonitor)
which may be used in subclasses to render refactorings in team
synchronization views.
Note: this class is designed to be extended by clients. Programming language implementers who need refactoring support in a synchronization content provider used in team synchronization views may use this class as a basis for refactoring-aware synchronization content providers.
SynchronizationContentProvider
Constructor and Description |
---|
AbstractSynchronizationContentProvider() |
Modifier and Type | Method and Description |
---|---|
protected RefactoringHistory |
getRefactorings(ISynchronizationContext context,
IProject project,
IProgressMonitor monitor)
Returns the refactorings for the specified project which are not in sync.
|
diffsChanged, dispose, getChildren, getChildrenInContext, getChildrenInScope, getConfiguration, getContext, getDelegateChildren, getDelegateContentProvider, getElements, getExtensionSite, getModelProvider, getModelProviderId, getModelRoot, getParent, getScope, getTraversals, getViewer, handleException, hasChildren, hasChildrenInContext, hasChildrenInScope, includeDirection, init, inputChanged, isFlatLayout, isInitialized, isInScope, isVisible, isVisible, propertyChange, propertyChanged, refresh, requestInitialization, restoreState, saveState
public AbstractSynchronizationContentProvider()
protected RefactoringHistory getRefactorings(ISynchronizationContext context, IProject project, IProgressMonitor monitor)
This method fetches refactoring information for all refactorings which are not in sync for a project (e.g. have not yet been checked into the repository, or are pending refactorings to execute on the local workspace).
context
- the synchronization context to useproject
- the project to compute its refactoringsmonitor
- the progress monitor to use, or null
if no
progress monitoring or cancelation is desired
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.