Examples of ASProject


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

            // Only ASProject and its descendents support
            // source attachments to SWCs.
            if (!(project instanceof ASProject))
                return null;

            final ASProject flashProject = (ASProject)project;
            final String swcFilePath = filePath;

            String attachedSourceDirectory = flashProject.getAttachedSourceDirectory(swcFilePath);
            if (attachedSourceDirectory == null)
                return null;
            return LibraryPathManager.getAttachedSourceFilename(attachedSourceDirectory, qName);
        }
View Full Code Here

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

        public IASDocComment getComment(ICompilerProject project, IDocumentableDefinition def)
        {
            if (!(project instanceof ASProject))
                return null;
            ASProject flashProject = (ASProject)project;
            return flashProject.getASDocBundleDelegate().getComment(def, getContainingPath());
        }
View Full Code Here

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

        // only file on the source path are encoded, and only ASProject's have
        // source path, so bail if it's not an ASProject
        if (!(getProject() instanceof ASProject))
            return Collections.<String, String>emptyMap();

        ASProject asProject = (ASProject)getProject();

        // bail if the file isn't on the source path
        File sourceFile = new File(getAbsoluteFilename());
        if (!asProject.isFileOnSourcePath(sourceFile))
            return Collections.<String, String>emptyMap();

        // as we're only dealing with AS or MXML compilation units on the source path,
        // there should only ever be one definition, so just grab the first def.
        IDefinition def = Iterables.getOnlyElement(getAllDefinitions());
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.