public interface SpiProfileRecognizer
EarProfile recognizer for a Worksapce element may use this to identify individual Projects before determining if an EarProfile can be created for that workspace.
Without this gateway, the Recognizer could fall into an endless loop if one of the Projects were also identifiable as an EarProfile.
| Modifier and Type | Method and Description |
|---|---|
AbstractBuilder[] |
createBuilder(Element element, java.lang.Class classOrIntf)
Create a builder for
element with the original IDE context. |
AbstractBuilder[] |
createBuilder(Element element, Context context, java.lang.Class classOrIntf)
Create a builder for
element with a new IDE context. |
AbstractBuilder[] |
narrow(AbstractBuilder[] builders)
Returns a set of builders that are unique with respect to their class heirarchy.
|
AbstractBuilder[] createBuilder(Element element, java.lang.Class classOrIntf)
element with the original IDE context.classOrIntf - the requested type. The profile that will be built by the returned AbstractBuilder should be a assignable to this type.AbstractBuilder[] createBuilder(Element element, Context context, java.lang.Class classOrIntf)
element with a new IDE context.
The returned Builder will be created in this context and will continue to use the new context when its asked to create a Profile.
element -context -classOrIntf - the requested type. The profile that will be built by the returned AbstractBuilder should be a assignable to this type.AbstractBuilder[] narrow(AbstractBuilder[] builders)
builders -