Esempio n. 1
0
  /**
   * Parse and store the tokenized version of the macro.
   *
   * @layerV the array containing the layer description to be inherited.
   */
  private void macroStore(Vector<LayerDesc> layerV) {
    macro.setLibrary(library); // Inherit the library
    macro.setLayers(layerV); // Inherit the layers
    changed = true;

    if (macroDesc != null) {
      ParserActions pa = new ParserActions(macro);
      pa.parseString(new StringBuffer(macroDesc));
      // Recursive call
    }
  }