getShell

Return the shell described by the specified adaptable, or the active
shell if no shell has been specified in the adaptable.

Parameters:

uiInfo - the IAdaptable (or null) provided by the
caller in order to supply UI information for prompting the
user if necessary. When this parameter is not
null, it contains an adapter for the
org.eclipse.swt.widgets.Shell.class