[EMF Forms] Integration with tabbed property sheet [message #1742579] |
Mon, 05 September 2016 08:29  |
Eclipse User |
|
|
|
Hi,
I am trying to integrate an EMF Forms property view inside a tabbed property sheet and I was able to render a view on a single tab with relative ease. The next step would be to create separate tabs on the property sheet. Is this possible with ECPSWTRenderer and ViewModelContext? From what i understand, the ViewProviderHelper can only load a single VView for an EObject. Is there any way to perhaps load several different views for a single EObject based on some key?
Thanks for your help,
Robert
|
|
|
|
Re: [EMF Forms] Integration with tabbed property sheet [message #1742624 is a reply to message #1742602] |
Tue, 06 September 2016 04:20   |
Eclipse User |
|
|
|
Hi Jonas,
thanks for your answer. We have already tried out the tab-based renderer, but here we are aiming at a bit different aspect: we have a complex form specified as a View, but the view is quite complex, so we want to break it up into different tabs. We are including this form into the Properties view and have implemented this using the calls ViewModelContextFactory#createViewModelContext and ViewProviderHelper#getView.
We have noticed that the latter call allows setting up some VViewModelProperties for the selection. We believe, using such view properties would allow us to define different views for the properties view, and include them into the properties view; however, we could not figure out how to set them up correctly.
Our question is two-folds: (1) are we correct in our assumption that these properties can be used to create separate views that we could assign to the different tabs of the Tabbed properties view, and (2) is there any example or documentation available how to use them correctly?
About contributing what we do, it is likely we can do it (at least as an example usage scenario), but we have to get a permission to do that.
Best regards,
Zoltán
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04412 seconds