*General*

- ConfirmLinksContextAction: added SpinnerValidator for Integer number based settings

git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@49560 ebf7c1c2-ba36-0410-9fe8-c592906822b4

Former-commit-id: 8e790ce11b2f03bee07b3dab6e38a62669a10c81
This commit is contained in:
psp 2024-08-09 07:34:41 +00:00
parent 971f55c544
commit 40ad458795

View File

@ -14,6 +14,7 @@ import javax.swing.JList;
import javax.swing.ListCellRenderer;
import org.appwork.storage.config.annotations.LabelInterface;
import org.appwork.storage.config.annotations.SpinnerValidator;
import org.appwork.swing.MigPanel;
import org.appwork.uio.ComboBoxDialogInterface;
import org.appwork.uio.UIOManager;
@ -294,6 +295,7 @@ public class ConfirmLinksContextAction extends CustomizableTableContextAppAction
@Customizer(link = "#getTranslationForConfirmationDialogBehavior")
@Order(40)
@SpinnerValidator(min = 1, max = Integer.MAX_VALUE, step = 1)
public ConfirmationDialogBehavior getConfirmationDialogBehavior() {
return this.confirmationDialogBehavior;
}
@ -308,6 +310,7 @@ public class ConfirmLinksContextAction extends CustomizableTableContextAppAction
@Customizer(link = "#getTranslationForMinNumberofPackagesForMoveToDownloadlistConfirmDialog")
@Order(41)
@SpinnerValidator(min = 1, max = Integer.MAX_VALUE, step = 1)
public int getMinNumberofPackagesForMoveToDownloadlistConfirmDialog() {
return this.minNumberofPackagesForConfirmMoveToDownloadlistDialog;
}