Top Description Inners Fields Constructors Methods
org.jabref.gui.preferences.protectedterms

public Class ProtectedTermsTab

extends AbstractPreferenceTabView<ProtectedTermsTabViewModel>
implements PreferencesTab
Class Inheritance
All Implemented Interfaces
org.jabref.gui.preferences.PreferencesTab
Imports
javafx.beans.property.ReadOnlyBooleanWrapper, javafx.fxml.FXML, javafx.scene.control.ContextMenu, .TableColumn, .TableView, javafx.scene.control.cell.CheckBoxTableCell, org.jabref.gui.actions.ActionFactory, .SimpleCommand, .StandardActions, org.jabref.gui.icon.IconTheme, org.jabref.gui.preferences.AbstractPreferenceTabView, .PreferencesTab, org.jabref.gui.util.BindingsHelper, .ValueTableCellFactory, .ViewModelTableRowFactory, org.jabref.logic.l10n.Localization, org.jabref.logic.protectedterms.ProtectedTermsList, .ProtectedTermsLoader, com.airhacks.afterburner.views.ViewLoader, jakarta.inject.Inject

Dialog for managing term list files.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private TableView<ProtectedTermsListItemModel>
private TableColumn<ProtectedTermsListItemModel, Boolean>
private TableColumn<ProtectedTermsListItemModel, String>
private TableColumn<ProtectedTermsListItemModel, Boolean>
private TableColumn<ProtectedTermsListItemModel, Boolean>
private TableColumn<ProtectedTermsListItemModel, String>
private ProtectedTermsLoader
Inherited from org.jabref.gui.preferences.AbstractPreferenceTabView:
dialogServicepreferencesServicetaskExecutorviewModel

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private void
private ContextMenu
private void
public String
getTabName()

Implements org.jabref.gui.preferences.PreferencesTab.getTabName.

Should return the localized identifier to use for the tab.

public void
Inherited from org.jabref.gui.preferences.AbstractPreferenceTabView:
getBuildergetRestartWarningssetValuesstoreSettingsvalidateSettings

Field Detail

filesTableback to summary
private TableView<ProtectedTermsListItemModel> filesTable
Annotations
@FXML
filesTableDeleteColumnback to summary
private TableColumn<ProtectedTermsListItemModel, Boolean> filesTableDeleteColumn
Annotations
@FXML
filesTableDescriptionColumnback to summary
private TableColumn<ProtectedTermsListItemModel, String> filesTableDescriptionColumn
Annotations
@FXML
filesTableEditColumnback to summary
private TableColumn<ProtectedTermsListItemModel, Boolean> filesTableEditColumn
Annotations
@FXML
filesTableEnabledColumnback to summary
private TableColumn<ProtectedTermsListItemModel, Boolean> filesTableEnabledColumn
Annotations
@FXML
filesTableFileColumnback to summary
private TableColumn<ProtectedTermsListItemModel, String> filesTableFileColumn
Annotations
@FXML
termsLoaderback to summary
private ProtectedTermsLoader termsLoader
Annotations
@Inject

Constructor Detail

ProtectedTermsTabback to summary
public ProtectedTermsTab()

Method Detail

addFileback to summary
private void addFile()
Annotations
@FXML
createContextMenuback to summary
private ContextMenu createContextMenu(ProtectedTermsListItemModel file)
createNewFileback to summary
private void createNewFile()
Annotations
@FXML
getTabNameback to summary
public String getTabName()

Implements org.jabref.gui.preferences.PreferencesTab.getTabName.

Doc from org.jabref.gui.preferences.PreferencesTab.getTabName.

Should return the localized identifier to use for the tab.

Returns:String

Identifier for the tab (for instance "General", "Appearance" or "External Files").

Annotations
@Override
initializeback to summary
public void initialize()
Annotations
@FXML
org.jabref.gui.preferences.protectedterms back to summary

private Class ProtectedTermsTab.ContextAction

extends SimpleCommand
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final StandardActions
private final ProtectedTermsListItemModel
Inherited from org.jabref.gui.actions.SimpleCommand:
statusMessage

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from org.jabref.gui.actions.SimpleCommand:
getProgressprogressPropertysetExecutablestatusMessageProperty

Field Detail

commandback to summary
private final StandardActions command
itemModelback to summary
private final ProtectedTermsListItemModel itemModel

Constructor Detail

ContextActionback to summary
public ContextAction(StandardActions command, ProtectedTermsListItemModel itemModel)

Method Detail

executeback to summary
public void execute()
Annotations
@Override