- All Known Implementing Classes:
FullVSAnnotationReferenceProcessor, UIAnnotationReferenceProcessor, UIPanelAnnotationReferenceProcessor, VSAnnotationReferenceProcessor
Method Summary
Modifier and TypeMethodDescriptiongetReferencePath(GProp<?> comp) Returns the reference path of a component, relative or full depending if it is scoped or not.Returns the class for the scope reference.resolveReference(GProp<?> scope, String reference) Resolves a reference name to a UI component.
Method Details
getScopeClass
resolveReference
Resolves a reference name to a UI component.- Parameters:
scope- The scope, should be instance ofgetScopeClass(), or any property in the Module Model ifgetScopeClass()returns null.reference- The relative name from the component to loop up, or the full reference if not scoped.- Returns:
- The component found, never null.
- Throws:
PropTypeException- If the property is not found or if the property is of wrong type.NotFoundException- If the component is not found.
getReferencePath
Returns the reference path of a component, relative or full depending if it is scoped or not.- Parameters:
comp- The component.- Returns:
- The path.
- Throws:
IllegalStateException- If the tree is invalid.PropTypeException- If the property type is invalid.