|
||||||||||
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 IResultManager
listener
- the listenerpublic void fireAdded(IResultInstance instance)
IResultManager
fireAdded
in interface IResultManager
instance
- the result instancepublic void fireAppended(IResultInstance instance, ResultItem r, int index)
IResultManager
fireAppended
in interface IResultManager
instance
- the result instancer
- the result itemindex
- the index of this itempublic void fireInstanceReset(IResultInstance instance)
IResultManager
fireInstanceReset
in interface IResultManager
instance
- the result instancepublic void fireParametersShow(IResultInstance instance, java.util.List params)
IResultManager
fireParametersShow
in interface IResultManager
instance
- the result instanceparams
- the Parameter
instances listpublic void fireStatusUpdated(IResultInstance instance)
IResultManager
fireStatusUpdated
in interface IResultManager
instance
- the result instancepublic IResultInstance[] getAllResults()
IResultManager
getAllResults
in interface IResultManager
IResultInstance
instancespublic IResultInstance getInstance(OperationCommand cmd)
IResultManager
getInstance
in interface IResultManager
cmd
- the operation command
public void removeAllFinished()
IResultManager
removeAllFinished
in interface IResultManager
public void removeResultInstance(IResultInstance instance)
IResultManager
removeResultInstance
in interface IResultManager
instance
- the result instancepublic void removeResultInstances(IResultInstance[] instances)
IResultManager
removeResultInstances
in interface IResultManager
instances
- the result instancespublic void removeResultManagerListener(IResultManagerListener listener)
IResultManager
removeResultManagerListener
in interface IResultManager
listener
- the listenerpublic void initializeContent(IResultManager manager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |