Top Constructors Methods
org.jabref.gui.actions

public Class ActionHelper

extends Object
Class Inheritance
Imports
java.nio.file.Path, java.util.Collections, .List, .Optional, javafx.beans.binding.Binding, .Bindings, .BooleanExpression, javafx.collections.ObservableList, javafx.scene.control.TabPane, org.jabref.gui.StateManager, org.jabref.logic.shared.DatabaseLocation, org.jabref.logic.util.io.FileUtil, org.jabref.model.database.BibDatabaseContext, org.jabref.model.entry.BibEntry, .LinkedFile, org.jabref.model.entry.field.Field, org.jabref.preferences.PreferencesService, com.tobiasdiez.easybind.EasyBind, com.tobiasdiez.easybind.EasyBinding

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static BooleanExpression

Returns:

a boolean binding
hasLinkedFileForSelectedEntries
(StateManager
manager for the state of the GUI
stateManager
)

Check if at least one of the selected entries has linked files Used in org.jabref.gui.maintable.OpenExternalFileAction when multiple entries selected

public static BooleanExpression
public static BooleanExpression
public static BooleanExpression
public static BooleanExpression
public static BooleanExpression
public static BooleanExpression
needsEntriesSelected(int numberOfEntries, StateManager stateManager)

public static BooleanExpression
public static BooleanExpression
public static BooleanExpression
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ActionHelperback to summary
public ActionHelper()

Method Detail

hasLinkedFileForSelectedEntriesback to summary
public static BooleanExpression hasLinkedFileForSelectedEntries(StateManager stateManager)

Check if at least one of the selected entries has linked files
Used in org.jabref.gui.maintable.OpenExternalFileAction when multiple entries selected

Parameters
stateManager:StateManager

manager for the state of the GUI

Returns:BooleanExpression

a boolean binding

isAnyFieldSetForSelectedEntryback to summary
public static BooleanExpression isAnyFieldSetForSelectedEntry(List<Field> fields, StateManager stateManager)
isFieldSetForSelectedEntryback to summary
public static BooleanExpression isFieldSetForSelectedEntry(Field field, StateManager stateManager)
isFilePresentForSelectedEntryback to summary
public static BooleanExpression isFilePresentForSelectedEntry(StateManager stateManager, PreferencesService preferencesService)
needsDatabaseback to summary
public static BooleanExpression needsDatabase(StateManager stateManager)
needsEntriesSelectedback to summary
public static BooleanExpression needsEntriesSelected(StateManager stateManager)
needsEntriesSelectedback to summary
public static BooleanExpression needsEntriesSelected(int numberOfEntries, StateManager stateManager)
needsMultipleDatabasesback to summary
public static BooleanExpression needsMultipleDatabases(TabPane tabbedPane)
needsSharedDatabaseback to summary
public static BooleanExpression needsSharedDatabase(StateManager stateManager)
needsStudyDatabaseback to summary
public static BooleanExpression needsStudyDatabase(StateManager stateManager)