|[wtp-dev] Support for outline views..|
I'm copying a msg I sent to the forums. This might be a more appropriate place.
For Virgo, we want to support an outline for the Server editor. First, I'm surprised that this isn't provided OOTB. Perhaps there is something we need to implement that we haven't? I also couldn't find any extension points to plug into the outline provider.
I was able to adapt generically for the server editor to our own outline page implementation, e.g.:
Code: [Select all] [Show/ hide]
But then when implementing the adapter itself, I discovered that there doesn't seem to be any easy way in API to determine what the server type is? So if I implement this, I'm going to really be providing an outline view for any server editors, which of course we shouldn't be doing.
What if anything is the pattern for this? Ideally, WTP would provide an outline with a parent node for each page and then perhaps allow page contributions to provide a content provider or something..
In fact, we could contribute such a thing to WTP proper, but a concern would be how quickly a patch might be able to get through the process, esp. given proximity to Juno.
Miles T. Parker
Back to the top