public interface EObjectIndex
Modifier and Type | Interface and Description |
---|---|
static class |
EObjectIndex.Side
An enumeration used in the API to specify sides.
|
Modifier and Type | Method and Description |
---|---|
Map<EObjectIndex.Side,EObject> |
findClosests(Comparison inProgress,
EObject eObj,
EObjectIndex.Side side)
Return the closest EObjects found in other sides than the one given.
|
Iterable<EObject> |
getValuesStillThere(EObjectIndex.Side side)
return the list of EObjects of a given side still available in the index.
|
void |
index(EObject eObj,
EObjectIndex.Side side)
Register an Object in the index with the given side.
|
void |
remove(EObject eObj,
EObjectIndex.Side side)
Remove an object from the index.
|
Iterable<EObject> getValuesStillThere(EObjectIndex.Side side)
side
- the side we are looking for.Map<EObjectIndex.Side,EObject> findClosests(Comparison inProgress, EObject eObj, EObjectIndex.Side side)
inProgress
- the comparison currently being computed. It will not be changed directly but only queried to
know if some element has already been matched or not.eObj
- the base EObject used to lookup similar ones.side
- the side of the passed EObject.void remove(EObject eObj, EObjectIndex.Side side)
eObj
- object to remove.side
- Side in which this object was.void index(EObject eObj, EObjectIndex.Side side)
eObj
- the EObject
to register.side
- the side in which it should be registered.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.