eclipse: plugin: draw a directedgraph in a view

V

Vivek Nallur

I've got a class which creates a new window and draws a directedgraph
using somewhat the following code

final Shell = new Shell();
final LightweightSystem lws = new LightweightSystem(shell);
Panel p = new Panel();
......
p.add(stuff)
.....
lws.setContents(p);
shell.open();

How do I convert this such that it renders inside a view? I know that
the actual drawing of the View must be done inside
createControl(Composite parent). But I don't understand how to attach a
panel (say) to this composite?

Any help in this regard would be appreciated. Thanks in advance.

regards
Vivek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,022
Latest member
MaybelleMa

Latest Threads

Top