|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.common.ui.tableviewer.TableDataContentProvider
public class TableDataContentProvider
An class to content providers for AccessibleTableViewer
.
Constructor Summary | |
---|---|
TableDataContentProvider()
|
Method Summary | |
---|---|
void |
dispose()
|
java.lang.Object[] |
getElements(java.lang.Object inputElement)
Returns the elements to display in the viewer when its input is set to the given element. |
void |
inputChanged(org.eclipse.jface.viewers.Viewer viewer,
java.lang.Object oldInput,
java.lang.Object newInput)
Notifies this content provider that the given viewer's input has been switched to a different element. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableDataContentProvider()
Method Detail |
---|
public void dispose()
dispose
in interface org.eclipse.jface.viewers.IContentProvider
public void inputChanged(org.eclipse.jface.viewers.Viewer viewer, java.lang.Object oldInput, java.lang.Object newInput)
A typical use for this method is registering the content provider as a listener to changes on the new input (using model-specific means), and deregistering the viewer from the old input. In response to these change notifications, the content provider should update the viewer (see the add, remove, update and refresh methods on the viewers).
The viewer should not be updated during this call, as it might be in the process of being disposed.
inputChanged
in interface org.eclipse.jface.viewers.IContentProvider
viewer
- AccessibleTableViewer
oldInput
- the old input element (ITableData
), or null
if the viewer
did not previously have an input.newInput
- the new input element (ITableData
), or null
if the viewer
does not have an inputpublic java.lang.Object[] getElements(java.lang.Object inputElement)
getElements
in interface org.eclipse.jface.viewers.IStructuredContentProvider
inputElement
- the input element (ITableData
)
IRowData
) to display in the viewer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |