return PlatformUI.getWorkbench( ).getDisplay( ).getActiveShell( );
shell = PlatformUI.getWorkbench( ).getDisplay( ).getActiveShell( ); if ( shell == null ) { shell = Display.getCurrent( ).getActiveShell( ); } if ( shell == null ) { shell = PlatformUI.getWorkbench( ) .getActiveWorkbenchWindow( ) .getShell( ); }
	public static Shell getDefaultShell( )	{		try		{			return PlatformUI.getWorkbench( ).getDisplay( ).getActiveShell( );		}		catch ( Exception e )		{			return new Shell( );		}	}