Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.view.datatable
Class ISeriesDataTableViewProvider

java.lang.Object
  extended by com.ibm.etools.iseries.rse.ui.view.datatable.ISeriesDataTableViewProvider

public class ISeriesDataTableViewProvider
extends Object

Content Provider class for the Data Table View.


Field Summary
static String copyright
           
 boolean isSequentialFile
           
 int numberOfFlds
           
 int numberOfKeys
           
protected  Viewer viewer
           
 
Constructor Summary
ISeriesDataTableViewProvider(ISeriesDataTableView idtv, Shell shell)
           
 
Method Summary
 void addListener(ILabelProviderListener listener)
           
 void dispose()
           
 Image getColumnImage(Object element, int column)
           
 ISeriesDataTableColumnAdapter[] getColumns()
           
 String getColumnText(Object element, int column)
           
 Object[] getElements(Object input)
           
 ISeriesDataTableColumnAdapter[] getKeyCA()
           
static Image getNullfieldImage()
           
 void init(MemberElement target)
           
 void inputChanged(Viewer viewer, Object oldInput, Object newInput)
           
 boolean isLabelProperty(Object element, String property)
           
 void pageResized(int newPageLen)
           
 void positionToNextPage()
           
 void positionToNextRecord()
           
 void positionToPreviousPage()
           
 void positionToPreviousRecord()
           
 void positionToRecord(Object[] keys)
           
 void refresh()
           
 void removeListener(ILabelProviderListener listener)
           
 void widgetDefaultSelected(SelectionEvent e)
           
 void widgetSelected(SelectionEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

viewer

protected Viewer viewer

isSequentialFile

public boolean isSequentialFile

numberOfFlds

public int numberOfFlds

numberOfKeys

public int numberOfKeys
Constructor Detail

ISeriesDataTableViewProvider

public ISeriesDataTableViewProvider(ISeriesDataTableView idtv,
                                    Shell shell)
Method Detail

getNullfieldImage

public static Image getNullfieldImage()

getColumnImage

public Image getColumnImage(Object element,
                            int column)

getColumnText

public String getColumnText(Object element,
                            int column)
See Also:
For a cell in the data table, return the field data value for that column for that record. For a sequential (non-keyed) file, the first column is the record number, not a field in the file.

isLabelProperty

public boolean isLabelProperty(Object element,
                               String property)

dispose

public void dispose()

addListener

public void addListener(ILabelProviderListener listener)

removeListener

public void removeListener(ILabelProviderListener listener)

inputChanged

public void inputChanged(Viewer viewer,
                         Object oldInput,
                         Object newInput)

getElements

public Object[] getElements(Object input)

pageResized

public void pageResized(int newPageLen)

refresh

public void refresh()

positionToNextPage

public void positionToNextPage()

positionToPreviousPage

public void positionToPreviousPage()

positionToNextRecord

public void positionToNextRecord()

positionToPreviousRecord

public void positionToPreviousRecord()

positionToRecord

public void positionToRecord(Object[] keys)

init

public void init(MemberElement target)
          throws Exception
Throws:
Exception

getColumns

public ISeriesDataTableColumnAdapter[] getColumns()

getKeyCA

public ISeriesDataTableColumnAdapter[] getKeyCA()

widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent e)

widgetSelected

public void widgetSelected(SelectionEvent e)

Rational Developer for Power Systems Software
V7.6

Copyright 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.