public abstract class HandleObjectManager extends EventManager
A manager of HandleObject
instances. This has some common behaviour
which is shared between all such managers.
Clients may extend.
Modifier and Type | Field and Description |
---|---|
protected Set |
definedHandleObjects
The set of handle objects that are defined.
|
protected Map |
handleObjectsById
The map of identifiers (
String ) to handle objects (
HandleObject ). |
Constructor and Description |
---|
HandleObjectManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkId(String id)
Verifies that the identifier is valid.
|
protected Set |
getDefinedHandleObjectIds()
Returns the set of identifiers for those handle objects that are defined.
|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
protected final Set definedHandleObjects
null
.protected final Map handleObjectsById
String
) to handle objects (
HandleObject
). This collection may be empty, but it is
never null
.protected final void checkId(String id)
id
- The identifier to validate; may be anything.protected final Set getDefinedHandleObjectIds()
null
.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.