|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.result.ExternalResultSetViewerProvider
public abstract class ExternalResultSetViewerProvider
Abstract class that external viewers for the long data must implement
Constructor Summary | |
---|---|
ExternalResultSetViewerProvider()
Creates an instance of ExternalResultSetViewer |
Method Summary | |
---|---|
void |
configureViewer()
Configures the viewer. |
void |
configureViewer(Composite parent,
IResultInstance instance,
IResultSetObject result,
boolean showRowCount,
ResultsViewControl control)
Configures the result set viewer |
Table |
getTable()
Gets this viewers table |
TableViewer |
getViewer()
Gets the result set viewer |
void |
setParentComposite(Composite parent)
|
void |
setResult(IResultSetObject result)
Sets the IResultSetObject |
void |
setResultInstance(IResultInstance instance)
Sets the IResultInstance instance |
void |
setResultViewControl(ResultsViewControl control)
Sets the Results view control |
void |
setShowRow(boolean showRow)
Sets whether or not to show the row number in the results view |
void |
setStyle(int style)
Sets the style for the table viewer |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExternalResultSetViewerProvider()
Method Detail |
---|
public void setParentComposite(Composite parent)
public void setStyle(int style)
public void setResultInstance(IResultInstance instance)
instance
- the IResultInstancepublic void setResult(IResultSetObject result)
public void setShowRow(boolean showRow)
showRow
- whether or not to show the row countpublic void setResultViewControl(ResultsViewControl control)
control
- the result view controlpublic void configureViewer()
public void configureViewer(Composite parent, IResultInstance instance, IResultSetObject result, boolean showRowCount, ResultsViewControl control)
parent
- the parent compositeinstance
- the IResultInstanceresult
- the IResultSetObjectshowRowCount
- whether or not to show the row numbers in the resultcontrol
- the ResultsViewControlpublic TableViewer getViewer()
public Table getTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |