| tabulated vie problem [message #65979] | 
Fri, 21 February 2003 10:25  | 
 
Eclipse User  | 
 | 
 | 
   | 
 
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.03123 seconds