|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.datatools.sqltools.result.internal.ui.view.ResultSection
org.eclipse.datatools.sqltools.result.internal.ui.view.MultipleTabsModeSection
public abstract class MultipleTabsModeSection
Parent class of MultipleTabsTextSection
and MultipleTabsGridSection
.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.datatools.sqltools.result.internal.ui.view.ResultSection |
---|
ResultSection.OutputThread |
Constructor Summary | |
---|---|
MultipleTabsModeSection(org.eclipse.swt.widgets.Composite composite,
IResultInstance instance,
ResultsViewControl resultsViewControl)
|
|
MultipleTabsModeSection(org.eclipse.swt.widgets.Composite composite,
ResultsViewControl resultsViewControl)
|
Method Summary | |
---|---|
org.eclipse.swt.widgets.Composite |
getControl()
Returns the outer control of this UI section |
int |
getRowCount()
Returns the row count of the current displaying result set. |
void |
onInstanceFinished()
Does some jobs when resultInstanceFinish event occurs for the current result instance, for example, when using single window display mode, we need to display the parameters at the end |
void |
onInstanceReseted()
Refreshes UI when resultInstanceReset event occurs for the current result instance |
void |
onNewItemAppended(ResultItem item,
int index)
Shows the newly-appended result item (when resultInstanceAppended event occurs) for the current result instance |
void |
onParametersShown(java.util.List params)
Shows the parameters for the current result instance, do nothing in single window display mode, because we need to display the parameters at the end in this mode |
void |
showDetail(IResultInstance instance)
Shows the selected instance (when user clicks the history results item). |
void |
showResultSet(IResultSetObject result)
Sets focus to the given result set |
void |
showTab(int tabType)
Sets focus to the given tab |
void |
showTab(int tabType,
int tabNumber)
Sets focus to the given message/result tab with the given number |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultipleTabsModeSection(org.eclipse.swt.widgets.Composite composite, IResultInstance instance, ResultsViewControl resultsViewControl)
public MultipleTabsModeSection(org.eclipse.swt.widgets.Composite composite, ResultsViewControl resultsViewControl)
Method Detail |
---|
public void showDetail(IResultInstance instance)
ResultSection
showDetail
in class ResultSection
instance
- the selected result instancepublic org.eclipse.swt.widgets.Composite getControl()
ResultSection
getControl
in class ResultSection
public void onNewItemAppended(ResultItem item, int index)
ResultSection
onNewItemAppended
in class ResultSection
item
- the newly-appended result itemindex
- the index of this itempublic void onParametersShown(java.util.List params)
ResultSection
onParametersShown
in class ResultSection
params
- the parameterspublic void onInstanceReseted()
ResultSection
onInstanceReseted
in class ResultSection
public void onInstanceFinished()
ResultSection
onInstanceFinished
in class ResultSection
public void showTab(int tabType)
ResultSection
showTab
in class ResultSection
tabType
- the type of the tab to be set focusResultsViewUIAccessor.STATUS_TAB
,
ResultsViewUIAccessor.PARAM_TAB
,
ResultsViewUIAccessor.MESSAGE_TAB
,
ResultsViewUIAccessor.RESULT_TAB
public void showResultSet(IResultSetObject result)
ResultSection
showResultSet
in class ResultSection
result
- the result setpublic void showTab(int tabType, int tabNumber)
ResultSection
showTab
in class ResultSection
tabType
- the type of the tab to be set focustabNumber
- the number of the tab for the given typeResultsViewUIAccessor.MESSAGE_TAB
,
ResultsViewUIAccessor.RESULT_TAB
public int getRowCount()
ResultSection
getRowCount
in class ResultSection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |