In my eclipse plugin I want to embed another frame. This frame should always have the same size as the view. So I want to find the current size of the view. But I couldn't find any method to do it. Any hints?
This is how I embed the frame:
public void createPartControl(Composite parent) {
final Composite composite = new Composite(parent, SWT.EMBEDDED);
final Frame frame = SWT_AWT.new_Frame(composite);
// frame.setResizable(true);
ProcessingEmbedded pap = new ProcessingEmbedded();
Panel panel = new Panel();
panel.add(pap);
frame.add(panel);
pap.init();
}