Package net.sf.jabref.undo

Examples of net.sf.jabref.undo.UndoablePreambleChange


      tp.setText(text.toString());
  }

  public boolean makeChange(BasePanel panel, BibtexDatabase secondary, NamedCompound undoEdit) {
      panel.database().setPreamble(disk);
      undoEdit.addEdit(new UndoablePreambleChange(panel.database(), panel, mem, disk));
      secondary.setPreamble(disk);
      return true;
  }
View Full Code Here


                else
                    set = true;
            }

            if (set) {
                panel.undoManager.addEdit(new UndoablePreambleChange
                        (base, panel, base.getPreamble(), toSet));
                base.setPreamble(toSet);
                if ((toSet != null) && (toSet.length() > 0)) {
                    ed.setLabelColor(GUIGlobals.validFieldColor);
                    ed.setBackground(GUIGlobals.validFieldBackground);
View Full Code Here

TOP

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

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.