Examples of FXGInvalidChildNodeProblem


Examples of org.apache.flex.compiler.problems.FXGInvalidChildNodeProblem

        {
            problems.add(new FXGChildNodeNotSupportedProblem(getDocumentPath(), getStartLine(), getStartColumn(), getNodeName()));
        }
        else
        {
            problems.add(new FXGInvalidChildNodeProblem(getDocumentPath(), child.getStartLine(), child.getStartColumn(), child.getNodeName(), getNodeName()));           
        }
    }
View Full Code Here

Examples of org.apache.flex.compiler.problems.FXGInvalidChildNodeProblem

    @Override
    public void addChild(IFXGNode child, Collection<ICompilerProblem> problems)
    {
        if (!(delegate instanceof ITextNode))
        {
            problems.add(new FXGInvalidChildNodeProblem(getDocumentPath(), child.getStartLine(),
                    child.getStartColumn(), getNodeName(), delegate.getNodeName()));   
        }
        else if (delegate instanceof ITextNode && child instanceof ITextNode)
        {
            ((ITextNode)delegate).addTextProperty(getNodeName(), (ITextNode)child, problems);
        }
        else   
        {
            problems.add(new FXGInvalidChildNodeProblem(getDocumentPath(), getStartLine(),
                    getStartColumn(), child.getNodeName(), getNodeName()))
        }
    }
View Full Code Here

Examples of org.apache.flex.compiler.problems.FXGInvalidChildNodeProblem

    @Override
    public void setDelegate(IFXGNode delegate, Collection<ICompilerProblem> problems)
    {
        if (!(delegate instanceof ITextNode))
        {
            problems.add(new FXGInvalidChildNodeProblem(getDocumentPath(), getStartLine(),
                    getStartColumn(), getNodeName(), delegate.getNodeName()));
            return
        }
       
        if (delegate instanceof RichTextNode && ((RichTextNode)delegate).content != null)
View Full Code Here

Examples of org.apache.flex.compiler.problems.FXGInvalidChildNodeProblem

        {
            ((RichTextNode)delegate).addContentChild(child, problems);
        }
        else
        {
            problems.add(new FXGInvalidChildNodeProblem(getDocumentPath(), getStartLine(),
                    getStartColumn(), child.getNodeName(), getNodeName()));
        }
    }
View Full Code Here

Examples of org.apache.flex.compiler.problems.FXGInvalidChildNodeProblem

     * complex property values that cannot be set via a simple attribute.
     */
    @Override
    public void addTextProperty(String propertyName, ITextNode node, Collection<ICompilerProblem> problems)
    {
        problems.add(new FXGInvalidChildNodeProblem(getDocumentPath(), node.getStartLine(),
                node.getStartColumn(), node.getNodeName(), propertyName));       
    }
View Full Code Here

Examples of org.apache.flex.compiler.problems.FXGInvalidChildNodeProblem

            content.add((ITextNode)child);
        }
        else
        {
            problems.add(new FXGInvalidChildNodeProblem(child.getDocumentPath(),
                    child.getStartLine(), child.getStartColumn(), child.getNodeName(), getNodeName()));
            return;
        }

        if (child instanceof AbstractRichTextNode)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.