Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ltk.ui.refactoring.model
Class AbstractSynchronizationContentProvider

java.lang.Object
  extended by 

org.eclipse.team.ui.mapping.SynchronizationContentProvider
      extended by 
org.eclipse.ltk.ui.refactoring.model.AbstractSynchronizationContentProvider
All Implemented Interfaces:
EventListener, IPropertyChangeListener, IContentProvider, IStructuredContentProvider, ITreeContentProvider, IDiffChangeListener, ICommonContentProvider, IMementoAware

public abstract class AbstractSynchronizationContentProvider
extends SynchronizationContentProvider

Partial implementation of a refactoring-aware synchronization content provider.

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.

Since:
3.2
See Also:
SynchronizationContentProvider

Constructor Summary
AbstractSynchronizationContentProvider ()
           
 
Method Summary
protected   RefactoringHistory getRefactorings ( ISynchronizationContext context, IProject project, IProgressMonitor monitor)
          Returns the refactorings for the specified project which are not in sync.
 
Methods inherited from class org.eclipse.team.ui.mapping. SynchronizationContentProvider
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
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractSynchronizationContentProvider

public AbstractSynchronizationContentProvider()
Method Detail

getRefactorings

protected 
RefactoringHistory getRefactorings(
ISynchronizationContext context,
                                             
IProject project,
                                             
IProgressMonitor monitor)
Returns the refactorings for the specified project which are not in sync.

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).

Parameters:
context - the synchronization context to use
project - the project to compute its refactorings
monitor - the progress monitor to use, or null if no progress monitoring or cancelation is desired
Returns:
the refactoring history representing the refactorings

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire