public class SameShellProvider extends Object implements IShellProvider
Constructor and Description |
---|
SameShellProvider(Control targetControl)
Returns a shell provider that always returns the current
shell for the given control.
|
public SameShellProvider(Control targetControl)
targetControl
- control whose shell will be tracked, or null if getShell() should always
return nullpublic Shell getShell()
IShellProvider
getShell
in interface IShellProvider
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.