Package net.sf.jabref.undo

Examples of net.sf.jabref.undo.NamedCompound.end()


                ce.addEdit(Util.massSetField(entryList, fields[i],
                        set.isSelected() ? toSet : null,
                        overwrite.isSelected()));
            }
        }
        ce.end();
        bp.undoManager.addEdit(ce);
        bp.markBaseChanged();
    }

    private String[] getFieldNames(String s) {
View Full Code Here


            }
        }

        if (entriesChanged > 0) {
            // Add the undo edit:
            ce.end();
            panel.undoManager.addEdit(ce);
        }
    }

View Full Code Here

                allAccepted = c.makeChange(panel, ChangeDisplayDialog.this.secondary, ce);

            if (!allAccepted)
                anyDisabled = true;
        }
        ce.end();
        panel.undoManager.addEdit(ce);
        if (anyDisabled)
            panel.markBaseChanged();
        panel.setUpdatedExternally(false);
        dispose();
View Full Code Here

                    panel.undoManager.addEdit(undo);
                } else {
                    NamedCompound nc = new NamedCompound("Modify Group"); // JZTODO lyrics
                    nc.addEdit(undo);
                    nc.addEdit(undoAddPreviousEntries);
                    nc.end();
                    panel.undoManager.addEdit(nc);
                }
                panel.markBaseChanged();
                frame.output(Globals.lang("Modified group \"%0\".",
                        newGroup.getName()));
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.