Examples of JabRef


Examples of net.sf.jabref.JabRef

    assertEquals(2, autoCompleter.complete("Sherry").length);
  }

  public void testEntryEditorForNameFieldAutoCompleter() {
    // construct an EntryEditor ...
    JabRef jabref = TestUtils.getInitializedJabRef();
    BibtexEntry bibtexEntry = new BibtexEntry();
    bibtexEntry.setField("author", "Brigitte Laurant");
    FieldEditor authorTextField = new FieldTextArea("author", "Hans Meiser");
    EntryEditor editor = new EntryEditor(jabref.jrf, jabref.jrf.basePanel(), bibtexEntry);
    // perform action ...
View Full Code Here

Examples of net.sf.jabref.JabRef

    TestUtils.closeJabRef();
  }

  public void testEntryEditorForFieldAnotherAutoCompleter() {
    // construct an EntryEditor ...
    JabRef jabref = TestUtils.getInitializedJabRef();
    BibtexEntry bibtexEntry = new BibtexEntry();
    bibtexEntry.setField("journal", "Testtext");
    FieldEditor authorTextField = new FieldTextArea("journal", "New Testtext");
    EntryEditor editor = new EntryEditor(jabref.jrf, jabref.jrf.basePanel(), bibtexEntry);
    // perform action ...
View Full Code Here

Examples of net.sf.jabref.JabRef

      JabRef.main(args);
    } catch (ExitException e) {
    } finally {
      enableSystemExit();
    }
    JabRef jabref = JabRef.singleton;
    return jabref;
  }
View Full Code Here

Examples of net.sf.jabref.JabRef

  /**
   * Closes the current instance of JabRef.
   */
  public static void closeJabRef() {
    JabRef jabref = JabRef.singleton;
    if (jabref != null) {
      jabref.jrf.dispose();
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.