Posted By

monkey103 on 11/11/08


Tagged

plugin dialog eclipse non-modal jface swt


Versions (?)

create modeless JFace dialog ...


 / Published in: Java
 

URL: http://www.eclispezone.com/eclipse/forums/m92149780.html

An example of creating non-modal dialog boxes which extend the Dialog class is SWT/Eclipse

  1. public MyDialog(Shell parentShell) {
  2. super(parentShell);
  3. setShellStyle(SWT.CLOSE | SWT.MODELESS | SWT.BORDER | SWT.TITLE);
  4. setBlockOnOpen(false);
  5. }

Report this snippet  

You need to login to post a comment.