[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.dtp] Re: Reusing the server explorer in a ContainerCheckedTreeViewer
|
Hey Philippe...
Glad you're making some progress!
As for Expand All, we used to have an Expand All action in DTP 1.5. If you
take a look in the DataTools CVS repository, you can find it at:
>HEAD/org.eclipse.datatools.connectivity/R1.5/org.eclipse.datatools.connectivity.ui.dse/src/org/eclipse/datatools/connectivity/ui/dse/actions/ExpandAllActionDelegate.java
As a word of caution, this was removed because it is UGLY... It's very
painful to trigger the tree to expand all of these levels down the line, so
you'd need to be careful in how you used it. It's very time consuming (and
process/threads), but it was the best of a bad solution.
It may not play well in 1.6 without some work, but it should get you
started.
Let me know if you have further questions.
--Fitz
"Philippe Girard" <philippe.girard@xxxxxxxxx> wrote in message
news:afc137a6ac599675eacbb00511e6c408$1@xxxxxxxxxxxxxxxxxx
> Following up on this. I used the Common Navigator and realized that the
> tree is not built until the user expands the nodes to get to the sql
> objects. So to be able to use it I would need to build the whole tree
> before presenting it to the user. I checked and while there is a collapse
> all action. I could not find an expand all action.
>
> I was wondering if such a functionality (building the whole sql model tree
> in the common navigator viewer) exists that I missed or if I would have to
> code such a functionality.
>
> Again, any pointer than you might have is much appreciated.
>