else
{
offsetOfFirstEL = -1;
}
final XMLViewDefnAdapter adapter = DTAppManagerUtil
.getXMLViewDefnAdapter(context);
boolean isEL = false;
if (adapter != null && offsetOfFirstEL != -1)
{
try
{
// use the attribute's context plus the offset into the
// whole attribute value to find where we think the el
// expression starts. Add one since the attribute value
// string returned by attrAdapter will have the value quotes
// removed, but the region offsets include the quotes.
IStructuredDocumentContext elContext = IStructuredDocumentContextFactory.INSTANCE
.getContext(context.getStructuredDocument(), context
.getDocumentPosition()
+ offsetOfFirstEL + 1);
final DTELExpression elExpression = adapter
.getELExpression(elContext);
if (elExpression != null)
{
final String elText = elExpression.getText();