This interface is introduced in an attempt to add such functionality in a flexible manner.
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true if the action should be called, false otherwise.The result of the BIB parse operation. pr, DialogService dialogService, CliPreferences preferences)This method is queried in order to find out whether the action needs to be performed or not. |
| public void | performAction(ParserResult
The result of the BIB parse operation. pr, DialogService dialogService, CliPreferences preferences)This method is called after the new database has been added to the GUI, if the isActionNecessary() method returned true. |
| isActionNecessary | back to summary |
|---|---|
| public boolean isActionNecessary(ParserResult pr, DialogService dialogService, CliPreferences preferences) This method is queried in order to find out whether the action needs to be performed or not.
| |
| performAction | back to summary |
|---|---|
| public void performAction(ParserResult pr, DialogService dialogService, CliPreferences preferences) This method is called after the new database has been added to the GUI, if the isActionNecessary() method returned true. Note if several such methods need to be called sequentially, it is important that all implementations of this method do not return until the operation is finished.
| |