Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dtp-dev] Nightly build and bug counts

> In order to implement the refresh support for the SQL Model in the
> DSE, I need a way to refresh a node in the DSE so that the tree will
> sync up with the underlying model.  In WTP, CommonViewer.
> refresh(Object, boolean) was called.  Is there currently a way to
> get to the CommonViewer of the DSE?  If not, can we add support for
> getting a handle to the DSE and the underlying CommonViewer or add a
> refresh method to the DSE that will proprogate the call to the
> underlying CommonViewer?

Larry, shouldn't support for this be added to the SQL model content
provider.  The content provider has access to the view and can register a
model listener against each of the SQLObjects it displays.  This should
allow the view to be updated directly in response to any changes in the SQL
model.  (I'm not sure how to go about implementing this as I'm assuming an
AdapterContentProviderFactory is not being used by the SQL model, but that
is the approach I would take.)

Let me know if that will work or not.  I'll look into it further this
afternoon.

Rob



Back to the top