Verified Owner
Top Description Fields Constructors Methods
org.jabref.gui.walkthrough.declarative.sideeffect

public Class OpenPreferencesSideEffect

extends Object
implements WalkthroughSideEffect
Class Inheritance
All Implemented Interfaces
org.jabref.gui.walkthrough.declarative.sideeffect.WalkthroughSideEffect
Annotations
@NullMarked
Imports
org.jabref.gui.DialogService, org.jabref.gui.preferences.PreferencesDialogView, org.jabref.gui.walkthrough.Walkthrough, com.airhacks.afterburner.injection.Injector, org.jspecify.annotations.NonNull, .NullMarked

Opens the preferences dialog for a walkthrough and closes it when the walkthrough is reverted.

Field Summary

Modifier and TypeField and Description
private final DialogService
private final PreferencesDialogView

Constructor Summary

AccessConstructor and Description
public
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
public @NonNull String
description()

Implements org.jabref.gui.walkthrough.declarative.sideeffect.WalkthroughSideEffect.description.

Gets a description of what this side effect does (for logging and debugging).

public @NonNull ExpectedCondition
expectedCondition()

Implements org.jabref.gui.walkthrough.declarative.sideeffect.WalkthroughSideEffect.expectedCondition.

Expected condition that determines when this side effect can be executed.

public boolean
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dialogServiceback to summary
private final DialogService dialogService
preferencesDialogback to summary
private final PreferencesDialogView preferencesDialog

Constructor Detail

OpenPreferencesSideEffectback to summary
public OpenPreferencesSideEffect()
OpenPreferencesSideEffectback to summary
pack-priv OpenPreferencesSideEffect(DialogService dialogService, PreferencesDialogView preferencesDialog)

Method Detail

backwardback to summary
public boolean backward(@NonNull Walkthrough walkthrough)
Annotations
@Override
descriptionback to summary
public @NonNull String description()

Implements org.jabref.gui.walkthrough.declarative.sideeffect.WalkthroughSideEffect.description.

Doc from org.jabref.gui.walkthrough.declarative.sideeffect.WalkthroughSideEffect.description.

Gets a description of what this side effect does (for logging and debugging).

Annotations
@Override
expectedConditionback to summary
public @NonNull ExpectedCondition expectedCondition()

Implements org.jabref.gui.walkthrough.declarative.sideeffect.WalkthroughSideEffect.expectedCondition.

Doc from org.jabref.gui.walkthrough.declarative.sideeffect.WalkthroughSideEffect.expectedCondition.

Expected condition that determines when this side effect can be executed.

Annotations
@Override
forwardback to summary
public boolean forward(@NonNull Walkthrough walkthrough)
Annotations
@Override