Package org.apache.flex.compiler.internal.projects

Examples of org.apache.flex.compiler.internal.projects.ISourceFileHandler


        }

        private ConfigProject(IWorkspace w)
        {
            super((Workspace)w, true);
            getSourceCompilationUnitFactory().addHandler(new ISourceFileHandler()
            {

                @Override
                public String[] getExtensions()
                {
View Full Code Here


     * an empty locale list.
     * @return true if a {@link ICompilationUnit} is needed, false otherwise.
     */
    public boolean needCompilationUnit(File file, String qname, String locale)
    {
        final ISourceFileHandler handler = getHandler(file);
        if (handler == null)
            return false;
        return handler.needCompilationUnit(project, file.getPath(), qname, locale);
    }
View Full Code Here

                                                  DefinitionPriority.BasePriority basePriority,
                                                  int order,
                                                  String qname,
                                                  String locale)
    {
        final ISourceFileHandler handler = getHandler(file);
        if (handler == null)
            return null;
        if (!needCompilationUnit(file, qname, locale))
            return null;
        return handler.createCompilationUnit(project, file.getPath(), basePriority, order, qname, locale);
    }
View Full Code Here

     * @return true if an invisible {@link ICompilationUnit} can be created for
     * the specified file, false otherwise.
     */
    public boolean canCreateInvisibleCompilationUnit(File file)
    {
        final ISourceFileHandler handler = getHandler(file);
        if (handler == null)
            return false;
        return handler.canCreateInvisibleCompilationUnit();
    }
View Full Code Here

        backend = createBackend();
        writer = backend.createWriterBuffer(project);

        try
        {
            ISourceFileHandler sfh = backend.getSourceFileHandlerInstance();
            inputFileExtension = "." + sfh.getExtensions()[0];
        }
        catch (Exception e)
        {
            inputFileExtension = ".as";
        }
View Full Code Here

TOP

Related Classes of org.apache.flex.compiler.internal.projects.ISourceFileHandler

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.