This method saves the currently references Citations in the citationIds Vector,
by id, as the name suggests, so that this Vector can be serialized without
serializing the Citations themselves (which get serialized at a later stage)
This method saves the currently references Citations in the citationIds Vector,
by id, as the name suggests, so that this Vector can be serialized without
serializing the Citations themselves (which get serialized at a later stage)
SaveFlagChangeListener
This is a Listener object, designed to keep the Model elements (such as the CiteBook) from
having to know about GUi things like toolbars, while enabling toolbars and menus to keep
informed of whether there has been a change in the status of the needsSaving flag of the
CiteBook.
Changing the name of an Author involves resorting the AuthorCollection, so we remove the
Author from the list, then re-add it to make it sort properly under its new name.
The classes derived from this superclass can be used to compare two citations on a given field, and to signal listeners that the compared field is not equal (i.e. that there has been a change from, e.g. one author or one book to another between the compared Citations.
This is the 3rd version of SwingWorker (also known as
SwingWorker 3), an abstract class that you subclass to
perform GUI-related work in a dedicated thread.