public class EntryAddChange extends Change
Constructor and Description |
---|
EntryAddChange(BibtexEntry diskEntry) |
Modifier and Type | Method and Description |
---|---|
boolean |
makeChange(BasePanel panel,
BibtexDatabase secondary,
NamedCompound undoEdit)
Perform the change.
|
getName, isAcceptable, isAccepted, setAccepted, toString
add, breadthFirstEnumeration, children, clone, depthFirstEnumeration, getAllowsChildren, getChildAfter, getChildAt, getChildBefore, getChildCount, getDepth, getFirstChild, getFirstLeaf, getIndex, getLastChild, getLastLeaf, getLeafCount, getLevel, getNextLeaf, getNextNode, getNextSibling, getParent, getPath, getPathToRoot, getPreviousLeaf, getPreviousNode, getPreviousSibling, getRoot, getSharedAncestor, getSiblingCount, getUserObject, getUserObjectPath, insert, isLeaf, isNodeAncestor, isNodeChild, isNodeDescendant, isNodeRelated, isNodeSibling, isRoot, pathFromAncestorEnumeration, postorderEnumeration, preorderEnumeration, remove, remove, removeAllChildren, removeFromParent, setAllowsChildren, setParent, setUserObject
public EntryAddChange(BibtexEntry diskEntry)
public boolean makeChange(BasePanel panel, BibtexDatabase secondary, NamedCompound undoEdit)
Change
panel
- BasePanel The tab where the database lives.secondary
- BibtexDatabase The "tmp" database for which the change
should also be made.undoEdit
- NamedCompound The compound to hold the undo edits.