org.eclipse.datatools.sqltools.result.ui
Class ResultsViewUIPlugin.ResultViewControlListener

java.lang.Object
  extended by org.eclipse.datatools.sqltools.result.ui.ResultsViewUIPlugin.ResultViewControlListener
All Implemented Interfaces:
IResultManagerListener
Enclosing class:
ResultsViewUIPlugin

public static class ResultsViewUIPlugin.ResultViewControlListener
extends java.lang.Object
implements IResultManagerListener

check result view first, then fire listener and delegate work to ResultViewConstrol

Author:
linsong

Constructor Summary
ResultsViewUIPlugin.ResultViewControlListener()
           
 
Method Summary
 void allResultInstancesRemoved()
          Will be invoked when all instances are removed
 boolean equals(java.lang.Object obj)
           
 void parametersShow(IResultInstance instance, java.util.List params)
          Will be invoked when showing the parameters in a result instance
 void resultInstanceAppended(IResultInstance instance, ResultItem result, int index)
          Will be invoked when the instance is appended
 void resultInstanceCreated(IResultInstance instance)
          Will be invoked when a new instance is created
 void resultInstanceRemoved(IResultInstance instance)
          Will be invoked when an instance is removed
 void resultInstanceReset(IResultInstance instance)
          Will be invoked when an instance if reseted
 void resultInstancesRemoved(IResultInstance[] instances)
          Will be invoked when an arry of instances is removed
 void resultInstanceStatusUpdated(IResultInstance instance)
          Will be invoked when the status of the instance is changed
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsViewUIPlugin.ResultViewControlListener

public ResultsViewUIPlugin.ResultViewControlListener()
Method Detail

allResultInstancesRemoved

public void allResultInstancesRemoved()
Description copied from interface: IResultManagerListener
Will be invoked when all instances are removed

Specified by:
allResultInstancesRemoved in interface IResultManagerListener

parametersShow

public void parametersShow(IResultInstance instance,
                           java.util.List params)
Description copied from interface: IResultManagerListener
Will be invoked when showing the parameters in a result instance

Specified by:
parametersShow in interface IResultManagerListener
Parameters:
instance - the result instance
params - the Parameter instances list
See Also:
Parameter

resultInstanceAppended

public void resultInstanceAppended(IResultInstance instance,
                                   ResultItem result,
                                   int index)
Description copied from interface: IResultManagerListener
Will be invoked when the instance is appended

Specified by:
resultInstanceAppended in interface IResultManagerListener
Parameters:
instance - the result instance
result - the result item
index - the index of the result item

resultInstanceCreated

public void resultInstanceCreated(IResultInstance instance)
Description copied from interface: IResultManagerListener
Will be invoked when a new instance is created

Specified by:
resultInstanceCreated in interface IResultManagerListener
Parameters:
instance - the result instance

resultInstanceRemoved

public void resultInstanceRemoved(IResultInstance instance)
Description copied from interface: IResultManagerListener
Will be invoked when an instance is removed

Specified by:
resultInstanceRemoved in interface IResultManagerListener
Parameters:
instance - the result instance

resultInstanceReset

public void resultInstanceReset(IResultInstance instance)
Description copied from interface: IResultManagerListener
Will be invoked when an instance if reseted

Specified by:
resultInstanceReset in interface IResultManagerListener
Parameters:
instance - the result instance

resultInstanceStatusUpdated

public void resultInstanceStatusUpdated(IResultInstance instance)
Description copied from interface: IResultManagerListener
Will be invoked when the status of the instance is changed

Specified by:
resultInstanceStatusUpdated in interface IResultManagerListener
Parameters:
instance - the result instance

resultInstancesRemoved

public void resultInstancesRemoved(IResultInstance[] instances)
Description copied from interface: IResultManagerListener
Will be invoked when an arry of instances is removed

Specified by:
resultInstancesRemoved in interface IResultManagerListener
Parameters:
instances - the result instances

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object