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
Answertopia.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.compare
Interface ICompareInputLabelProvider

All Superinterfaces:
IBaseLabelProvider, ILabelProvider

public interface ICompareInputLabelProvider
extends ILabelProvider

A label provider that provides the label and image for the left, right and ancestor sides for a compare input being shown in compare/merge viewers.

This interface may be implemented by clients.

Since:
3.3

Method Summary
  Image getAncestorImage ( Object input)
          Returns the image for the ancestor side of compare/merge viewers.
  String getAncestorLabel ( Object input)
          Returns the label for the ancestor side of compare/merge viewers.
  Image getLeftImage ( Object input)
          Returns the image for the left hand side of compare/merge viewers.
  String getLeftLabel ( Object input)
          Returns the label for the left hand side of compare/merge viewers.
  Image getRightImage ( Object input)
          Returns the image for the right hand side of compare/merge viewers.
  String getRightLabel ( Object input)
          Returns the label for the right hand side of compare/merge viewers.
 
Methods inherited from interface org.eclipse.jface.viewers. ILabelProvider
getImage, getText
 
Methods inherited from interface org.eclipse.jface.viewers. IBaseLabelProvider
addListener, dispose, isLabelProperty, removeListener
 

Method Detail

getAncestorLabel


String getAncestorLabel(
Object input)
Returns the label for the ancestor side of compare/merge viewers. This label is typically shown in the title of the ancestor area in a compare viewer.

Parameters:
input - the input object of a compare/merge viewer or null
Returns:
the label for the ancestor side or null

getAncestorImage


Image getAncestorImage(
Object input)
Returns the image for the ancestor side of compare/merge viewers. This image is typically shown in the title of the ancestor area in a compare viewer.

Parameters:
input - the input object of a compare/merge viewer or null
Returns:
the image for the ancestor side or null

getLeftLabel


String getLeftLabel(
Object input)
Returns the label for the left hand side of compare/merge viewers. This label is typically shown in the title of the left side of a compare viewer.

Parameters:
input - the input object of a compare/merge viewer or null
Returns:
the label for the left hand side or null

getLeftImage


Image getLeftImage(
Object input)
Returns the image for the left hand side of compare/merge viewers. This image is typically shown in the title of the left side of a compare viewer.

Parameters:
input - the input object of a compare/merge viewer or null
Returns:
the image for the left hand side or null

getRightLabel


String getRightLabel(
Object input)
Returns the label for the right hand side of compare/merge viewers. This label is typically shown in the title of the right side of a compare viewer.

Parameters:
input - the input object of a compare/merge viewer or null
Returns:
the label for the right hand side or null

getRightImage


Image getRightImage(
Object input)
Returns the image for the right hand side of compare/merge viewers. This image is typically shown in the title of the right side of a compare viewer.

Parameters:
input - the input object of a compare/merge viewer or null
Returns:
the image for the right hand side or null

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