Andrew Hubbs Messages: 9 Registered: April 2010 Location: Dallas TX
I am trying to build a tabbed ViewPart with eclipse.ui.forms.
The goal is essentially something that looks similar to the Eclipse IDE Manifest.mf editor but as a view rather than an editor and any editing within the view will be to an EMF model.
Is there support already built into the eclipse forms to create this sort of view like there is for an editor?
Below is the approach I have taken so far but this could be barking up the wrong tree.
What I have done so far:
In a class extending ViewPart
Create a ManagedForm
Add a CTabFolder to it
Create several CTabItems on the folder
This is where I am running into trouble. How should I set the CTabItem data to change the view content when the tab is changed?
I can post code if it helps clarify my problem.
Thank you for any suggestions and I will post any solutions I come up with for others trying to do something similar.