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
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