Package editor.util

Class SourceFileCreator

java.lang.Object
editor.util.SourceFileCreator

public class SourceFileCreator extends Object
  • Field Details

  • Constructor Details

    • SourceFileCreator

      private SourceFileCreator()
  • Method Details

    • instance

      public static SourceFileCreator instance()
    • getCreated

      public Path getCreated()
    • clearCreated

      public void clearCreated()
    • getOrMakeUntitledProgram

      public Path getOrMakeUntitledProgram(Experiment experiment)
    • create

      public void create(ClassType classType)
    • create

      public void create(ITypeFactory factory)
    • createNamespace

      public void createNamespace()
    • createTextFile

      public void createTextFile()
    • getParentContext

      private Path getParentContext()
    • create

      public void create(Path file, ITypeFactory factory, String typeName)
    • create

      public void create(Path selectedFile, ClassType classType)
    • writeStub

      private boolean writeStub(Path file, ClassType classType)
    • writeClassStub

      private boolean writeClassStub(Path file, ClassType classType)
    • writeJavaStub

      private boolean writeJavaStub(Path file, ClassType classType)
    • writeTempateStub

      private boolean writeTempateStub(Path file)
    • displayTypeWarning

      private int displayTypeWarning(Path file)
    • writeEnhancementStub

      private boolean writeEnhancementStub(Path file)