Package workspace.elements

Examples of workspace.elements.BuildFile


 
  private void convertTextToDesign()
  {
        String editorText =
            editor.getDocumentProvider().getDocument(editor.getEditorInput()).get();
        BuildFile newBuildFile = Utils.convertTextToBuildFile(editorText);
        designer.setTarget(newBuildFile.getTarget());
        designer.setSrcFolder(newBuildFile.getSourceFolder());
        designer.setOutputFolder(newBuildFile.getOutputFileWithPath());
        designer.setMainFileName(newBuildFile.getMainClass());
  }
View Full Code Here


                    0,
                    mainFilePath.lastIndexOf("."));
            HaxeProject project = HaxeProjectCreator.createProject(name, location);
           
            // creating build file
            BuildFile buildFile = pageOne.getBuildFile();
            project.addBuildFile(buildFile);
            project.createFile(buildFile.getPath().toString(), buildFile.getContent(), false);
           
            // here the initial structure for project should be
            String[] struct = {srcFolder, outFolder, mainFileFolder};
            project.createFolders(struct);
           
View Full Code Here

        return buildFileDesigner.getMainFileName();
    }
   
    public BuildFile getBuildFile()
    {
        BuildFile buildFile = new BuildFile(
                buildFileDesigner.getBuildFileName(),
                buildFileDesigner.getSrcFolder(),
                WorkspaceUtils.getConcatenatedPath(buildFileDesigner.getOutputFolder(),getProjectName()),
                buildFileDesigner.getSelectedTarget(),
                buildFileDesigner.getMainFileName());
View Full Code Here

TOP

Related Classes of workspace.elements.BuildFile

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.