TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.tools.internal
Class DObjectArrayContentProvider

java.lang.Object
  extended by org.eclipse.tptp.platform.report.tools.internal.DObjectArrayContentProvider
All Implemented Interfaces:
IDTableContentProvider

Deprecated. As of TPTP 4.5.0, use the TPTP Business Intelligence and Reporting Tools (BIRT) reporting infrastructure (org.eclipse.tptp.platform.report.birt).

public class DObjectArrayContentProvider
extends java.lang.Object
implements IDTableContentProvider

This class provides a tool to map a String array with two dimentions to a table content provider.


Constructor Summary
DObjectArrayContentProvider(java.lang.String[][] array)
          Deprecated. creates a new table content provider mapped on string array
 
Method Summary
 int getColumnCount()
          Deprecated.  
 java.lang.Object[][] getContent()
          Deprecated.  
 int getRowCount()
          Deprecated.  
 java.lang.String getText(int row, int column)
          Deprecated.  
 void setColumnFormat(int column, java.text.Format f)
          Deprecated. sets a java.text.Format for the column
 void setContent(java.lang.String[][] content)
          Deprecated. sets the string array mapped by the table content provider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DObjectArrayContentProvider

public DObjectArrayContentProvider(java.lang.String[][] array)
Deprecated. 
creates a new table content provider mapped on string array

Method Detail

getColumnCount

public int getColumnCount()
Deprecated. 
Specified by:
getColumnCount in interface IDTableContentProvider
Returns:
the number of element
See Also:
IDTableContentProvider.getColumnCount()

getRowCount

public int getRowCount()
Deprecated. 
Specified by:
getRowCount in interface IDTableContentProvider
Returns:
the number of element
See Also:
IDTableContentProvider.getRowCount()

getText

public java.lang.String getText(int row,
                                int column)
Deprecated. 
Specified by:
getText in interface IDTableContentProvider
Returns:
the text for the cell at coordinate row, column
See Also:
Uses toString() method to return the object text string at row, column coordinates

getContent

public java.lang.Object[][] getContent()
Deprecated. 
Returns:
the original array mapped by the table content provider

setContent

public void setContent(java.lang.String[][] content)
Deprecated. 
sets the string array mapped by the table content provider


setColumnFormat

public void setColumnFormat(int column,
                            java.text.Format f)
Deprecated. 
sets a java.text.Format for the column


TPTP 4.5.0 Platform Project
Internal API Specification