Package org.eclipse.handly.model.adapter
Interface ICorrespondingElementProvider
-
public interface ICorrespondingElementProviderDefines a one-to-one mapping (injection) of elements from a Handly-based model to elements in some other model.For every
IElementesuch thatgetCorrespondingElement(e) != null, the following must hold:e.equals(getCorrespondingElement(e).getAdapter(IElement.class))
This interface may be implemented by clients.
- See Also:
DefaultContentAdapter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.eclipse.core.runtime.IAdaptablegetCorrespondingElement(IElement element)Returns the element that corresponds to the givenIElement.
-