示例#1
0
 @Override
 public void createControl(Composite parent) {
   if (control == null) {
     Composite container = new Composite(parent, SWT.NONE);
     container.setLayout(new FillLayout());
     page.createContent(container, ui);
     control = container;
     remoteObject.set(PROPERTY_CONTROL, WidgetUtil.getId(control));
   }
 }
示例#2
0
 @Override
 public void destroy() {
   page.destroy();
   control.dispose();
   remoteObject.destroy();
 }