|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A listener to changes in a particular source of information. This listener is
notified as the source changes. Typically, workbench services will implement
this interface, and register themselves as listeners to the
ISourceProvider
instances that are registered with them.
ISources
,
ISourceProvider
Method Summary | |
---|---|
void |
sourceChanged(int sourcePriority,
Map sourceValuesByName)
Handles a change to multiple sources. |
void |
sourceChanged(int sourcePriority,
String sourceName,
Object sourceValue)
Handles a change to one source. |
Method Detail |
public void sourceChanged(int sourcePriority, Map sourceValuesByName)
IEvaluationContext
sourcePriority
- A bit mask of all the source priorities that have changed.sourceValuesByName
- A mapping of the source names (String
) to the
source values (Object
). The names should
never be null
, but the values may be. The map
must not be null
, and should contain at least
two elements (one for each source).IEvaluationContext
,
ISources
public void sourceChanged(int sourcePriority, String sourceName, Object sourceValue)
IEvaluationContext
with a single variable.
sourcePriority
- A bit mask of all the source priorities that have changed.sourceName
- The name of the source that changed; must not be
null
.sourceValue
- The new value for that source; may be null
.IEvaluationContext
,
ISources
|
Eclipse Platform Release 3.1 |
|||||||||||
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, 2005. All rights reserved.