Verified Owner
Top Inners Fields Constructors Methods
org.jabref.gui.mergeentries.threewaymerge.toolbar

public Class ThreeWayMergeToolbar

extends AnchorPane
Class Inheritance
Imports
javafx.beans.property.BooleanProperty, .ObjectProperty, .SimpleBooleanProperty, .SimpleObjectProperty, javafx.fxml.FXML, javafx.scene.control.Button, .CheckBox, .ComboBox, .RadioButton, .ToggleGroup, javafx.scene.layout.AnchorPane, javafx.util.StringConverter, org.jabref.gui.mergeentries.MergeDialogPreferences, org.jabref.gui.mergeentries.threewaymerge.DiffMethod, org.jabref.gui.mergeentries.threewaymerge.diffhighlighter.DiffHighlighter.BasicDiffMethod, org.jabref.gui.preferences.GuiPreferences, org.jabref.logic.l10n.Localization, com.airhacks.afterburner.views.ViewLoader, com.google.common.base.Enums, com.tobiasdiez.easybind.EasyBind, com.tobiasdiez.easybind.EasyBinding, jakarta.inject.Inject

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
public static enum

Field Summary

Modifier and TypeField and Description
private final BooleanProperty
private CheckBox
private final ObjectProperty<DiffMethod>
private ToggleGroup
private ComboBox<ThreeWayMergeToolbar.DiffView>
private RadioButton
private RadioButton
private final BooleanProperty
private CheckBox
private ComboBox<ThreeWayMergeToolbar.PlainTextOrDiff>
private GuiPreferences
private Button
private Button
private com.tobiasdiez.easybind.EasyBinding<Boolean>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public ObjectProperty<DiffMethod>
public ObjectProperty<ThreeWayMergeToolbar.DiffView>
public DiffMethod
public ThreeWayMergeToolbar.DiffView
public BooleanProperty
public void
private void
public com.tobiasdiez.easybind.EasyBinding<Boolean>
notShowDiffProperty()

Convenience method used to disable diff related views when diff is not selected.

public void
public void
setDiffHighlightingMethod(DiffMethod diffHighlightingMethod)

public void
public void
public void
public void
setShowDiff(boolean showDiff)

public boolean
public Boolean
public com.tobiasdiez.easybind.EasyBinding<Boolean>
Inherited from javafx.scene.layout.AnchorPane:
clearConstraintscomputeMinHeightcomputeMinWidthcomputePrefHeightcomputePrefWidthgetBottomAnchorgetLeftAnchorgetRightAnchorgetTopAnchorlayoutChildrensetBottomAnchorsetLeftAnchorsetRightAnchorsetTopAnchor

Field Detail

applyToAllEntriesback to summary
private final BooleanProperty applyToAllEntries
applyToAllEntriesCheckback to summary
private CheckBox applyToAllEntriesCheck
Annotations
@FXML
diffHighlightingMethodback to summary
private final ObjectProperty<DiffMethod> diffHighlightingMethod
diffHighlightingMethodToggleGroupback to summary
private ToggleGroup diffHighlightingMethodToggleGroup
Annotations
@FXML
diffViewComboBoxback to summary
private ComboBox<ThreeWayMergeToolbar.DiffView> diffViewComboBox
Annotations
@FXML
highlightCharactersRadioButtonsback to summary
private RadioButton highlightCharactersRadioButtons
Annotations
@FXML
highlightWordsRadioButtonback to summary
private RadioButton highlightWordsRadioButton
Annotations
@FXML
onlyShowChangedFieldsback to summary
private final BooleanProperty onlyShowChangedFields
onlyShowChangedFieldsCheckback to summary
private CheckBox onlyShowChangedFieldsCheck
Annotations
@FXML
plainTextOrDiffComboBoxback to summary
private ComboBox<ThreeWayMergeToolbar.PlainTextOrDiff> plainTextOrDiffComboBox
Annotations
@FXML
preferencesback to summary
private GuiPreferences preferences
Annotations
@Inject
selectLeftEntryValuesButtonback to summary
private Button selectLeftEntryValuesButton
Annotations
@FXML
selectRightEntryValuesButtonback to summary
private Button selectRightEntryValuesButton
Annotations
@FXML
showDiffback to summary
private com.tobiasdiez.easybind.EasyBinding<Boolean> showDiff

Constructor Detail

ThreeWayMergeToolbarback to summary
public ThreeWayMergeToolbar()

Method Detail

diffHighlightingMethodPropertyback to summary
public ObjectProperty<DiffMethod> diffHighlightingMethodProperty()
diffViewPropertyback to summary
public ObjectProperty<ThreeWayMergeToolbar.DiffView> diffViewProperty()
getDiffHighlightingMethodback to summary
public DiffMethod getDiffHighlightingMethod()
getDiffViewback to summary
public ThreeWayMergeToolbar.DiffView getDiffView()
hideEqualFieldsPropertyback to summary
public BooleanProperty hideEqualFieldsProperty()
initializeback to summary
public void initialize()
Annotations
@FXML
loadSavedConfigurationback to summary
private void loadSavedConfiguration()
notShowDiffPropertyback to summary
public com.tobiasdiez.easybind.EasyBinding<Boolean> notShowDiffProperty()

Convenience method used to disable diff related views when diff is not selected.

This method is required because EasyBinding class doesn't have a method to invert a boolean property, like javafx.beans.binding.BooleanExpression#not()

saveToolbarConfigurationback to summary
public void saveToolbarConfiguration()
setDiffHighlightingMethodback to summary
public void setDiffHighlightingMethod(DiffMethod diffHighlightingMethod)
setDiffViewback to summary
public void setDiffView(ThreeWayMergeToolbar.DiffView diffView)
setOnSelectLeftEntryValuesButtonClickedback to summary
public void setOnSelectLeftEntryValuesButtonClicked(Runnable onClick)
setOnSelectRightEntryValuesButtonClickedback to summary
public void setOnSelectRightEntryValuesButtonClicked(Runnable onClick)
setShowDiffback to summary
public void setShowDiff(boolean showDiff)
shouldHideEqualFieldsback to summary
public boolean shouldHideEqualFields()
shouldShowDiffsback to summary
public Boolean shouldShowDiffs()
showDiffPropertyback to summary
public com.tobiasdiez.easybind.EasyBinding<Boolean> showDiffProperty()
org.jabref.gui.mergeentries.threewaymerge.toolbar back to summary

public final Enum ThreeWayMergeToolbar.DiffView

extends Enum<ThreeWayMergeToolbar.DiffView>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final ThreeWayMergeToolbar.DiffView
public static final ThreeWayMergeToolbar.DiffView
private final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ThreeWayMergeToolbar.DiffView
public String
public static ThreeWayMergeToolbar.DiffView
parse(String name)

public static ThreeWayMergeToolbar.DiffView
public static ThreeWayMergeToolbar.DiffView[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

SPLITback to summary
public static final ThreeWayMergeToolbar.DiffView SPLIT
UNIFIEDback to summary
public static final ThreeWayMergeToolbar.DiffView UNIFIED
valueback to summary
private final String value

Constructor Detail

DiffViewback to summary
private DiffView(String value)

Method Detail

fromStringback to summary
public static ThreeWayMergeToolbar.DiffView fromString(String str)
getValueback to summary
public String getValue()
parseback to summary
public static ThreeWayMergeToolbar.DiffView parse(String name)
valueOfback to summary
public static ThreeWayMergeToolbar.DiffView valueOf(String name)
valuesback to summary
public static ThreeWayMergeToolbar.DiffView[] values()
org.jabref.gui.mergeentries.threewaymerge.toolbar back to summary

public final Enum ThreeWayMergeToolbar.PlainTextOrDiff

extends Enum<ThreeWayMergeToolbar.PlainTextOrDiff>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final ThreeWayMergeToolbar.PlainTextOrDiff
public static final ThreeWayMergeToolbar.PlainTextOrDiff
private final String

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ThreeWayMergeToolbar.PlainTextOrDiff
public String
public static ThreeWayMergeToolbar.PlainTextOrDiff
parse(String name)

public static ThreeWayMergeToolbar.PlainTextOrDiff
public static ThreeWayMergeToolbar.PlainTextOrDiff[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

Diffback to summary
public static final ThreeWayMergeToolbar.PlainTextOrDiff Diff
PLAIN_TEXTback to summary
public static final ThreeWayMergeToolbar.PlainTextOrDiff PLAIN_TEXT
valueback to summary
private final String value

Constructor Detail

PlainTextOrDiffback to summary
private PlainTextOrDiff(String value)

Method Detail

fromStringback to summary
public static ThreeWayMergeToolbar.PlainTextOrDiff fromString(String str)
getValueback to summary
public String getValue()
parseback to summary
public static ThreeWayMergeToolbar.PlainTextOrDiff parse(String name)
valueOfback to summary
public static ThreeWayMergeToolbar.PlainTextOrDiff valueOf(String name)
valuesback to summary
public static ThreeWayMergeToolbar.PlainTextOrDiff[] values()