public class HandleDuplicateWarnings extends java.lang.Object implements PostOpenAction
Constructor and Description |
---|
HandleDuplicateWarnings() |
Modifier and Type | Method and Description |
---|---|
boolean |
isActionNecessary(ParserResult pr)
This method is queried in order to find out whether the action needs to be
performed or not.
|
void |
performAction(BasePanel panel,
ParserResult pr)
This method is called after the new database has been added to the GUI, if
the isActionNecessary() method returned true.
|
public boolean isActionNecessary(ParserResult pr)
PostOpenAction
isActionNecessary
in interface PostOpenAction
pr
- The result of the bib parse operation.public void performAction(BasePanel panel, ParserResult pr)
PostOpenAction
performAction
in interface PostOpenAction
panel
- The BasePanel where the database is shown.pr
- The result of the bib parse operation.