TPTP 4.2.0 Tracing and Profiling Tools Project
Internal API Specification

org.eclipse.hyades.trace.views.util.internal
Interface IColumnExtension

All Superinterfaces:
org.eclipse.jface.viewers.IBaseLabelProvider, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.jface.viewers.ITableLabelProvider

public interface IColumnExtension
extends org.eclipse.jface.viewers.ITableLabelProvider, org.eclipse.core.runtime.IExecutableExtension

This is an interface to be implemented by any extension of extension point org.eclipse.hyades.trace.views.columnExtension

org.eclipse.hyades.trace.views.columnExtension enables implmenter to contribute columns in TPTP statistics views. ie. Execution Time Statistics, Memory Statistics, and Method Coverage statistics.

Note: This class is going to be deprecated and replaced with an external class in TPTP 4.1.

See Also:
ITableLabelProvider, IExecutableExtension

Method Summary
 int compare(int pos, java.lang.Object e1, java.lang.Object e2)
          Compares two cells of a given column
 
Methods inherited from interface org.eclipse.jface.viewers.ITableLabelProvider
getColumnImage, getColumnText
 
Methods inherited from interface org.eclipse.jface.viewers.IBaseLabelProvider
addListener, dispose, isLabelProperty, removeListener
 
Methods inherited from interface org.eclipse.core.runtime.IExecutableExtension
setInitializationData
 

Method Detail

compare

public int compare(int pos,
                   java.lang.Object e1,
                   java.lang.Object e2)
Compares two cells of a given column

Parameters:
pos - column number
e1 - first cell content link
e2 - second cell content link
Returns:
the result of the comparison

TPTP 4.2.0 Tracing and Profiling Tools Project
Internal API Specification