Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » tabulated vie problem
tabulated vie problem [message #65979] Fri, 21 February 2003 15:25
Laszlo Benedek is currently offline Laszlo BenedekFriend
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.
Previous Topic:Drag and Drop in GEF
Next Topic:Background Color for a Label
Goto Forum:
  


Current Time: Tue Aug 27 23:44:23 GMT 2024

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

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

Back to the top