tabulated vie problem [message #65979] |
Fri, 21 February 2003 15:25 |
Laszlo Benedek Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Hi All,
For an Eclipse project I'm trying to add a new tab to an existing
tabulated view that would open the logic diagram editor that comes with
the GEF distribution.
Here is a code snippet for one of the views I use.
ViewerPane viewerPane =
new ViewerPane(getSite().getPage(), this) {
public Viewer createViewer(Composite composite) {
return new TreeViewer(composite);
}
};
treeViewer = (TreeViewer)viewerPane.getViewer();
treeViewer.setContentProvider(...);
treeViewer.setLabelProvider(...);
I have tried to use an EditPartViewers as a Viewer but their interfaces
are different.
Any idea how to approach this is welcome.
|
|
|
Powered by
FUDForum. Page generated in 0.44489 seconds