public interface IDebugContextProvider2 extends IDebugContextProvider
IDebugContextProvider
allows clients to specify the scope that the context
provider will apply to. With IDebugContextProvider2
, a provider indicate if it should be a context
provider for the entire IWorkbenchWindow
or only for is given IWorkbenchPart
.
This interface is intended to be implemented by clients
Modifier and Type | Method and Description |
---|---|
boolean |
isWindowContextProvider()
Return whether the provider can be set as an active provider for the
window.
|
addDebugContextListener, getActiveContext, getPart, removeDebugContextListener
boolean isWindowContextProvider()
If true
, when the provider's part is
activated this provider will become the active debug context provider
for the whole window. If false
, this provider will
only set the active context in a given workbench part.
true
if this provider can act as the provider for the entire window, false
if it can
only be the provider for its given part.
provider for a window.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.