Package net.sf.jabref.undo

Examples of net.sf.jabref.undo.UndoableRemoveString


      // Delete the strings backwards to avoid moving indexes.

      BibtexString subject = (BibtexString)strings[sel[i]];

      // Store undo information:
      ce.addEdit(new UndoableRemoveString
           (panel, base,
            subject));

      base.removeString(subject.getId());
        }
View Full Code Here


  public boolean makeChange(BasePanel panel, BibtexDatabase secondary, NamedCompound undoEdit) {

    try {
      panel.database().removeString(inMem.getId());
      undoEdit.addEdit(new UndoableRemoveString(panel, panel.database(), string));
    } catch (Exception ex) {
      Globals.logger("Error: could not add string '"+string.getName()+"': "+ex.getMessage());
    }

      // Update tmp database:
View Full Code Here

TOP

Related Classes of net.sf.jabref.undo.UndoableRemoveString

Copyright © 2018 www.massapicom. 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.