예제 #1
0
 @Override
 protected void configureShell(final Shell shell) {
   super.configureShell(shell);
   shell.addDisposeListener(
       new DisposeListener() {
         @Override
         public void widgetDisposed(final DisposeEvent e) {
           handleClose();
         }
       });
 }
예제 #2
0
 /*
  * Overridden to call the old framework method.
  *
  * @see org.eclipse.jface.dialogs.PopupDialog#fillDialogMenu(IMenuManager)
  * @since 3.2
  */
 protected void fillDialogMenu(IMenuManager dialogMenu) {
   super.fillDialogMenu(dialogMenu);
   fillViewMenu(dialogMenu);
 }
예제 #3
0
 @Override
 protected void handleShellCloseEvent() {
   super.handleShellCloseEvent();
   toolkit.dispose();
 }