Package org.eclipse.sapphire.modeling.el

Examples of org.eclipse.sapphire.modeling.el.PropertyAccessFunction


                String temp = (String)functionResult.operand(1);
                if (temp.equalsIgnoreCase("text") || temp.equalsIgnoreCase("content"))
                {
                  if (functionResult.function().operand(0) instanceof PropertyAccessFunction)
                  {
                    PropertyAccessFunction nestedFunc = (PropertyAccessFunction)functionResult.function().operand(0);
                    if (nestedFunc.operands().size() == 1 && nestedFunc.operand(0) instanceof Literal)
                    {
                      String propName = (String)((Literal)nestedFunc.operand(0)).value();
                              final Property property = element.property( propName );
                             
                              if( property != null && property instanceof Value && ! property.definition().isReadOnly() )
                              {
                                  return (Value<?>)property;
View Full Code Here

TOP

Related Classes of org.eclipse.sapphire.modeling.el.PropertyAccessFunction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.