|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.datatools.sqltools.result.ResultManager
public class ResultManager
A standard implementation of IResultManager.
| Method Summary | |
|---|---|
void |
addResultManagerListener(IResultManagerListener listener)
Adds listener |
void |
fireAdded(IResultInstance instance)
Notifies all the listeners of this result instance added event |
void |
fireAppended(IResultInstance instance,
ResultItem r,
int index)
Notifies all the listeners of this append event |
void |
fireInstanceReset(IResultInstance instance)
Notifies all the listeners of this instance reset event |
void |
fireParametersShow(IResultInstance instance,
java.util.List params)
Notifies all the listeners of this parameters show event |
void |
fireStatusUpdated(IResultInstance instance)
Notifies all the listeners of this status change event |
IResultInstance[] |
getAllResults()
Returns all currently available result instances. |
IResultInstance |
getInstance(OperationCommand cmd)
Given the OperationCommand, returns the instance. |
void |
initializeContent(IResultManager manager)
|
void |
removeAllFinished()
Removes all finished result instance. |
void |
removeResultInstance(IResultInstance instance)
Removes the specified result instance. |
void |
removeResultInstances(IResultInstance[] instances)
Removes the specified result instances. |
void |
removeResultManagerListener(IResultManagerListener listener)
Removes listener |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void addResultManagerListener(IResultManagerListener listener)
IResultManager
addResultManagerListener in interface IResultManagerlistener - the listenerpublic void fireAdded(IResultInstance instance)
IResultManager
fireAdded in interface IResultManagerinstance - the result instance
public void fireAppended(IResultInstance instance,
ResultItem r,
int index)
IResultManager
fireAppended in interface IResultManagerinstance - the result instancer - the result itemindex - the index of this itempublic void fireInstanceReset(IResultInstance instance)
IResultManager
fireInstanceReset in interface IResultManagerinstance - the result instance
public void fireParametersShow(IResultInstance instance,
java.util.List params)
IResultManager
fireParametersShow in interface IResultManagerinstance - the result instanceparams - the Parameter instances listpublic void fireStatusUpdated(IResultInstance instance)
IResultManager
fireStatusUpdated in interface IResultManagerinstance - the result instancepublic IResultInstance[] getAllResults()
IResultManager
getAllResults in interface IResultManagerIResultInstance instancespublic IResultInstance getInstance(OperationCommand cmd)
IResultManager
getInstance in interface IResultManagercmd - the operation command
public void removeAllFinished()
IResultManager
removeAllFinished in interface IResultManagerpublic void removeResultInstance(IResultInstance instance)
IResultManager
removeResultInstance in interface IResultManagerinstance - the result instancepublic void removeResultInstances(IResultInstance[] instances)
IResultManager
removeResultInstances in interface IResultManagerinstances - the result instancespublic void removeResultManagerListener(IResultManagerListener listener)
IResultManager
removeResultManagerListener in interface IResultManagerlistener - the listenerpublic void initializeContent(IResultManager manager)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||