Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dtp-dev] reExecuteScript extension point...reference implementation?

Title: reExecuteScript extension point...reference implementation?

I am trying to implement the ability to reexecute queries from the Result Set view.  I have found the org.eclipse.datatools.sqltools.result.reExecuteScript extension point that appears to be what should be used to implement such a feature.

I am able to get the IReExecutionRunnable.reExecute method called when I select the "Re-execute" menu item for queries run from the Database Id/Consumer Name items specified in the extension point.

I am having trouble figuring out how I should rerun the operation.  I'm able to rerun the operation but it enters a new entry in the results list and leaves the item that was reexecuted with the Running status.  I need to figure out how to reexecute the operation and have it be associated with the original entry (which, I guess, is expected to replace the results associated with that operation).

So, my question is:  Is there a reference implementation of the reExecuteScript extension point that can give me pointers to the way this extension point is supposed to be implemented?  Or perhaps some other documentation?

Thanks.

--Charles Eutsler


Back to the top