} else if ("-prefix".equalsIgnoreCase(token)) { myPrefix = nextTokenValue(token, tokenizer);
  public void readFromString(String _str) throws ParseException {    myModels.clear();    myRefModels.clear();    myDefines.clear();    myCustomSettings.clear();    CommandLineTokenizer tokenizer = new CommandLineTokenizer(_str);    while (tokenizer.hasMoreTokens()) {      String token = tokenizer.nextToken();      if (myEOGeneratorPath == null) {        myEOGeneratorPath = token;      }      else if (token.startsWith("-")) {        if ("-destination".equalsIgnoreCase(token)) {          myDestination = nextTokenValue(token, tokenizer);        }        else if ("-java".equalsIgnoreCase(token)) {          myJava = Boolean.TRUE;        }        else if ("-javaTemplate".equalsIgnoreCase(token)) {          myJavaTemplate = nextTokenValue(token, tokenizer);        }        else if ("-model".equalsIgnoreCase(token)) {          String modelPath = nextTokenValue(token, tokenizer);          myModels.add(new EOModelReference(modelPath));        }        else if ("-packagedirs".equalsIgnoreCase(token)) {          myPackageDirs = Boolean.TRUE;        }        else if ("-refmodel".equalsIgnoreCase(token)) {          String refModelPath = nextTokenValue(token, tokenizer);          myRefModels.add(new EOModelReference(refModelPath));        }        else if ("-subclassDestination".equalsIgnoreCase(token)) {          mySubclassDestination = nextTokenValue(token, tokenizer);        }        else if ("-subclassJavaTemplate".equalsIgnoreCase(token)) {          mySubclassJavaTemplate = nextTokenValue(token, tokenizer);        }        else if ("-templatedir".equalsIgnoreCase(token)) {          myTemplateDir = nextTokenValue(token, tokenizer);        }        else if ("-verbose".equalsIgnoreCase(token)) {          myVerbose = Boolean.TRUE;        }        else if (token.startsWith("-define-")) {          String name = token.substring("-define-".length());          String value = nextTokenValue(token, tokenizer);          Define define = new Define(name, value);          myDefines.add(define);        }        else {          myCustomSettings.add(token);        }      }      else {        myCustomSettings.add(token);      }    }    myDirty = false;  }