Пример #1
0
  /**
   * Create the form page.
   *
   * @param editor
   * @param id
   * @param title
   */
  public PrintPreviewPage(FormEditor editor, String id, String title, PrintFactory print) {
    super(editor, id, title);

    NonPlayerCharacter character = Shr5managementFactory.eINSTANCE.createNonPlayerCharacter();
    character.setPersona(Shr5Factory.eINSTANCE.createMudanPersona());
    this.print = print;
  }
Пример #2
0
  /**
   * Create the form page.
   *
   * @param editor
   * @param id
   * @param title
   * @wbp.parser.constructor
   * @wbp.eval.method.parameter id "Some id"
   * @wbp.eval.method.parameter title "Some title"
   */
  public PrintPreviewPage(FormEditor editor, String id, String title) {
    super(editor, id, title);

    NonPlayerCharacter character = Shr5managementFactory.eINSTANCE.createNonPlayerCharacter();
    character.setPersona(Shr5Factory.eINSTANCE.createMudanPersona());
    // print = PersonaPrinter.getInstance().printCharacterSheet(character);
  }