Example usage for org.eclipse.jface.window Window setBlockOnOpen

List of usage examples for org.eclipse.jface.window Window setBlockOnOpen

Introduction

In this page you can find the example usage for org.eclipse.jface.window Window setBlockOnOpen.

Prototype

public void setBlockOnOpen(boolean shouldBlock) 

Source Link

Document

Sets whether the open method should block until the window closes.

Usage

From source file:net.sf.j2s.ajax.AWindowDelegate.java

License:Open Source License

public static void open(Window win, AWindowRunnable runnable) {
    win.setBlockOnOpen(false);
    new AWindowDelegate(win).nonBlockOpen(null, runnable);
}

From source file:net.sf.j2s.ajax.AWindowDelegate.java

License:Open Source License

static void asyncOpen(Window win, Object oThis, AWindowRunnable runnable) {
    win.setBlockOnOpen(false);
    new AWindowDelegate(win).nonBlockOpen(oThis, runnable);
}

From source file:org.eclipse.jpt.common.ui.tests.internal.jface.DelegatingLabelProviderUiTest.java

License:Open Source License

public static void main(String[] args) {
    Window window = new DelegatingLabelProviderUiTest();
    window.setBlockOnOpen(true);
    window.open();/*from www .j  a  va  2s .  co m*/

    Display.getCurrent().dispose();
    System.exit(0);
}

From source file:org.eclipse.jpt.common.ui.tests.internal.jface.DelegatingTreeContentProviderUiTest.java

License:Open Source License

public static void main(String[] args) {
    Window window = new DelegatingTreeContentProviderUiTest();
    window.setBlockOnOpen(true);
    window.open();/*www. j  a v  a 2s. c o m*/

    Display.getCurrent().dispose();
    System.exit(0);
}

From source file:org.eclipse.jpt.common.ui.tests.internal.swt.TriStateCheckBoxModelAdapterUITest.java

License:Open Source License

public static void main(String[] args) throws Exception {
    Window window = new TriStateCheckBoxModelAdapterUITest(args);
    window.setBlockOnOpen(true);
    window.open();// ww  w . j  a v  a 2  s. c o  m
    Display.getCurrent().dispose();
    System.exit(0);
}

From source file:org.eclipse.jpt.common.ui.tests.internal.utility.swt.BooleanStateControllerUITest.java

License:Open Source License

public static void main(String[] args) throws Exception {
    Window window = new BooleanStateControllerUITest(args);
    window.setBlockOnOpen(true);
    window.open();/*from  www . j ava 2 s. co m*/
    Display.getCurrent().dispose();
    System.exit(0);
}

From source file:org.eclipse.jpt.common.ui.tests.internal.utility.swt.CheckBoxModelBindingUITest.java

License:Open Source License

public static void main(String[] args) throws Exception {
    Window window = new CheckBoxModelBindingUITest(args);
    window.setBlockOnOpen(true);
    window.open();/*w w  w. j a v a 2  s.c o  m*/
    Display.getCurrent().dispose();
    System.exit(0);
}

From source file:org.eclipse.jpt.common.ui.tests.internal.utility.swt.DropDownListBoxModelBindingUITest.java

License:Open Source License

public static void main(String[] args) throws Exception {
    Window window = new DropDownListBoxModelBindingUITest(args);
    window.setBlockOnOpen(true);
    window.open();//from ww w  .java2s  . com
    Display.getCurrent().dispose();
    System.exit(0);
}

From source file:org.eclipse.jpt.common.ui.tests.internal.utility.swt.ListBoxModelBindingUITest.java

License:Open Source License

public static void main(String[] args) throws Exception {
    Window window = new ListBoxModelBindingUITest(args);
    window.setBlockOnOpen(true);
    window.open();//from w  w w . j a  v  a 2  s.c o  m
    Display.getCurrent().dispose();
    System.exit(0);
}

From source file:org.eclipse.jpt.common.ui.tests.internal.utility.swt.TextFieldModelBindingUITest.java

License:Open Source License

public static void main(String[] args) throws Exception {
    Window window = new TextFieldModelBindingUITest();
    window.setBlockOnOpen(true);
    window.open();//from  w ww  .ja  va  2 s  .  c om
    Display.getCurrent().dispose();
    System.exit(0);
}