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.team.ui.mapping
Interface ISynchronizationCompareInput

All Superinterfaces:
ICompareInput

public interface ISynchronizationCompareInput
extends ICompareInput

This interface defines extensions to the ICompareInput interface that are used for compare inputs that are returned from the ISynchronizationCompareAdapter.asCompareInput(org.eclipse.team.core.mapping.ISynchronizationContext, Object) method.

Clients may implement this interface.

Since:
3.2
See Also:
ISynchronizationCompareAdapter.asCompareInput(org.eclipse.team.core.mapping.ISynchronizationContext, Object)

Method Summary
  String getFullPath ()
          Return a human readable path for the compare input that can be used in a tooltip or other displays that can show more detailed information.
  SaveableComparison getSaveable ()
          Return the saveable for this compare input or null if the input is saved directly to disk when the compare editor input is changed or the compare editor is closed.
 boolean isCompareInputFor ( Object object)
          Return whether this compare input matches the given object for the purpose of change navigation.
 void prepareInput ( CompareConfiguration configuration, IProgressMonitor monitor)
          Prepare the compare input associated with a model element for display using the compare configuration.
 
Methods inherited from interface org.eclipse.compare.structuremergeviewer. ICompareInput
addCompareInputChangeListener, copy, getAncestor, getImage, getKind, getLeft, getName, getRight, removeCompareInputChangeListener
 

Method Detail

getSaveable

SaveableComparison getSaveable()
Return the saveable for this compare input or null if the input is saved directly to disk when the compare editor input is changed or the compare editor is closed.

Returns:
the saveable for this compare input

prepareInput

void prepareInput(
CompareConfiguration configuration,
                  
IProgressMonitor monitor)
                  throws 
CoreException
Prepare the compare input associated with a model element for display using the compare configuration.

Parameters:
configuration - the compare configuration for the editor that will display the input
monitor - a progress monitor
Throws:
CoreException

getFullPath

String getFullPath()
Return a human readable path for the compare input that can be used in a tooltip or other displays that can show more detailed information.

Returns:
a human readable path for the compare input

isCompareInputFor

boolean isCompareInputFor(
Object object)
Return whether this compare input matches the given object for the purpose of change navigation.

Parameters:
object - the object
Returns:
whether

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