Top Constructors Methods
org.jabref.gui.importer.actions

public Class MergeReviewIntoCommentAction

extends Object
implements GUIPostOpenAction
Class Inheritance
All Implemented Interfaces
org.jabref.gui.importer.actions.GUIPostOpenAction
Imports
java.util.List, org.jabref.gui.DialogService, org.jabref.logic.importer.ParserResult, org.jabref.migrations.MergeReviewIntoCommentMigration, org.jabref.model.entry.BibEntry, org.jabref.preferences.PreferencesService

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
isActionNecessary(ParserResult
The result of the BIB parse operation.
parserResult
,
PreferencesService preferencesService)

Implements org.jabref.gui.importer.actions.GUIPostOpenAction.isActionNecessary.

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.
parserResult
,
DialogService dialogService, PreferencesService preferencesService)

Implements org.jabref.gui.importer.actions.GUIPostOpenAction.performAction.

This method is called after the new database has been added to the GUI, if the isActionNecessary() method returned true.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

MergeReviewIntoCommentActionback to summary
public MergeReviewIntoCommentAction()

Method Detail

isActionNecessaryback to summary
public boolean isActionNecessary(ParserResult parserResult, PreferencesService preferencesService)

Implements org.jabref.gui.importer.actions.GUIPostOpenAction.isActionNecessary.

Doc from org.jabref.gui.importer.actions.GUIPostOpenAction.isActionNecessary.

This method is queried in order to find out whether the action needs to be performed or not.

Parameters
parserResult:ParserResult

The result of the BIB parse operation.

Returns:boolean

true if the action should be called, false otherwise.

Annotations
@Override
performActionback to summary
public void performAction(ParserResult parserResult, DialogService dialogService, PreferencesService preferencesService)

Implements org.jabref.gui.importer.actions.GUIPostOpenAction.performAction.

Doc from org.jabref.gui.importer.actions.GUIPostOpenAction.performAction.

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.

Parameters
parserResult:ParserResult

The result of the BIB parse operation.

Annotations
@Override