Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » Tree-like property editor
Tree-like property editor [message #1691788] Thu, 09 April 2015 16:01 Go to next message
Eclipse UserFriend
I guess this might be related to the existing request: https://bugs.eclipse.org/bugs/show_bug.cgi?id=373163

I'm trying to figure out what's the best way to present a hierarchical model structure in case I don't want or even can't at all use the Outline master/detail (if I understand correctly, Sapphire doesn't provide any kind a tree presentation except the Outline part).

There are two use-cases in our app I'm now not sure how to handle using Sapphire:
1) Inside a dialog. The UI should be simple and ideally consist of something like a treeview to select an element and a detail section to provide specific options for such element.
2) Inside an editor. The model is quite complex and the Outline thing is already used for - let's say - a different part of it. I still need to be able to view a group of arbitrary elements with its children inside a detail node.

What's the best way to do this in Sapphire?

[Updated on: Thu, 09 April 2015 16:02] by Moderator

Report message to a moderator

Re: Tree-like property editor [message #1691798 is a reply to message #1691788] Thu, 09 April 2015 17:21 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
Sapphire does not currently include a tree property editor. Note that the adopter can implement a custom property editor where needed and plug it into the overall Sapphire UI.
Re: Tree-like property editor [message #1691846 is a reply to message #1691798] Fri, 10 April 2015 06:52 Go to previous messageGo to next message
Eclipse UserFriend
Ok, thanks! Do you think it's possible to make a generally usable tree property editor or should I stick with one or more model-specific implementations? Could you share a little more about the design decision to omit the tree editor in Sapphire? I'm just thinking about possible issues I may face.
Re: Tree-like property editor [message #1691951 is a reply to message #1691846] Fri, 10 April 2015 17:28 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
A tree property editor doesn't exist primarily because there wasn't a strong enough need for one to drive development. It would be a very complicated property editor, if it is to cover a variety of usecases. A custom property editor for a specific model and requirements would be much simpler.
Previous Topic:Loss of data when changing detail part too quickly
Next Topic:"DateTimeBrowseActionHandler" is not a valid Java type name
Goto Forum:
  


Current Time: Sat Nov 09 01:29:56 GMT 2024

Powered by FUDForum. Page generated in 0.03099 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top