org.gudy.azureus2.ui.swt.components.shell
Class ShellFactory

java.lang.Object
  extended by org.gudy.azureus2.ui.swt.components.shell.ShellFactory

public final class ShellFactory
extends Object

Facilitates the creation of SWT Shells with platform-specific additions. All shells normal to the user should be created from ShellFactory

Version:
1.0
Author:
James Yeh

Nested Class Summary
static class ShellFactory.AEShell
          A shell that provides platform-specific behaviour in some methods in order to better suit the user experience
 
Constructor Summary
ShellFactory()
           
 
Method Summary
static org.eclipse.swt.widgets.Shell createMainShell(int styles)
           
static org.eclipse.swt.widgets.Shell createShell(org.eclipse.swt.widgets.Display disp)
          Creates a shell
static org.eclipse.swt.widgets.Shell createShell(org.eclipse.swt.widgets.Display disp, int styles)
          Creates a shell
static org.eclipse.swt.widgets.Shell createShell(int styles)
          Creates a shell
static org.eclipse.swt.widgets.Shell createShell(org.eclipse.swt.widgets.Shell parent)
          Creates a shell
static org.eclipse.swt.widgets.Shell createShell(org.eclipse.swt.widgets.Shell parent, int styles)
          Creates a shell
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellFactory

public ShellFactory()
Method Detail

createMainShell

public static org.eclipse.swt.widgets.Shell createMainShell(int styles)

createShell

public static org.eclipse.swt.widgets.Shell createShell(org.eclipse.swt.widgets.Display disp,
                                                        int styles)

Creates a shell

For platforms that use a unified menu bar, the shell's menu bar is set to the main window's menu bar

See Also:
Shell

createShell

public static org.eclipse.swt.widgets.Shell createShell(org.eclipse.swt.widgets.Display disp)

Creates a shell

For platforms that use a unified menu bar, the shell's menu bar is set to the main window's menu bar

See Also:
Shell

createShell

public static org.eclipse.swt.widgets.Shell createShell(org.eclipse.swt.widgets.Shell parent,
                                                        int styles)

Creates a shell

For platforms that use a unified menu bar, the shell's menu bar is set to the main window's menu bar

See Also:
Shell

createShell

public static org.eclipse.swt.widgets.Shell createShell(org.eclipse.swt.widgets.Shell parent)

Creates a shell

For platforms that use a unified menu bar, the shell's menu bar is set to the main window's menu bar

See Also:
Shell

createShell

public static org.eclipse.swt.widgets.Shell createShell(int styles)

Creates a shell

For platforms that use a unified menu bar, the shell's menu bar is set to the main window's menu bar

See Also:
Shell