|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.jface.window.SameShellProvider
Standard shell provider that always returns the shell containing the given control. This will always return the correct shell for the control, even if the control is reparented.
| Constructor Summary | |
|---|---|
SameShellProvider(Control targetControl)
Returns a shell provider that always returns the current shell for the given control. |
|
| Method Summary | |
|---|---|
Shell |
getShell()
Returns the current shell (or null if none). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SameShellProvider(Control targetControl)
targetControl - control whose shell will be tracked, or null if getShell() should always
return null| Method Detail |
public Shell getShell()
IShellProvider
getShell in interface IShellProvider
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.