system/src/sc/lang/java/JavaModel.java
public void saveModel() {
      if (transformed) {
         System.err.println("*** Error: saveModel should not be used to save a transformed model");
         return;
      }

      validateSavedModel(false);

      SrcEntry src = getSrcFile();
      if (src == null || src.absFileName == null)
         System.err.println("*** No source file for model");
      else
         FileUtil.saveStringAsFile(src.absFileName, toLanguageString(), true);
   }
/**
    * Save the model source into its original location.  We get the layer's main directory and write the model into
    * the source file at that location
    */
Save the model source into its original location.  We get the layer's main directory and write the model into
the source file at that location
Save the model source into its original location . We get the layer ' s main directory and write the model into the source file at that location
public void saveModel() {
      if (transformed) {
         System.err.println("*** Error: saveModel should not be used to save a transformed model");
         return;
      }
      validateSavedModel(false);
      SrcEntry src = getSrcFile();
      if (src == null || src.absFileName == null)
         System.err.println("*** No source file for model");
      else
         FileUtil.saveStringAsFile(src.absFileName, toLanguageString(), true);
   }
public void saveModel ( ) { if ( transformed ) { System . err . println ( "*** Error: saveModel should not be used to save a transformed model" ) ; return ; } validateSavedModel ( false ) ; SrcEntry src = getSrcFile ( ) ; if ( src == null || src . absFileName == null ) System . err . println ( "*** No source file for model" ) ; else FileUtil . saveStringAsFile ( src . absFileName , toLanguageString ( ) , true ) ; }
Save the model source into its original location.
Save the model source into its original location .