@Override
 public void storeSettings(WizardDescriptor wiz) {
   ParserDebuggerWizardOptions.setProperty(wiz, INPUT_FILE, getInputFile());
   ParserDebuggerWizardOptions.setProperty(wiz, START_RULE, getStartRule());
   ParserDebuggerWizardOptions.setBooleanProperty(wiz, ENCODING_SPECIFIED, isEncodingSpecified());
   ParserDebuggerWizardOptions.setProperty(wiz, ENCODING, getEncoding());
 }
  @Override
  public void readSettings(WizardDescriptor wiz) {
    String[] availableRules = (String[]) wiz.getProperty(AVAILABLE_RULES);
    if (availableRules != null) {
      _availableRules.clear();
      _availableRules.addAll(Arrays.asList(availableRules));
    }

    setInputFile(ParserDebuggerWizardOptions.getProperty(wiz, INPUT_FILE, ""));
    setStartRule(ParserDebuggerWizardOptions.getProperty(wiz, START_RULE, ""));
    setEncodingSpecified(
        ParserDebuggerWizardOptions.getBooleanProperty(wiz, ENCODING_SPECIFIED, false));
    setEncoding(
        ParserDebuggerWizardOptions.getProperty(wiz, ENCODING, Charset.defaultCharset().name()));
  }