mirror of
https://github.com/mirror/jdownloader.git
synced 2024-11-23 12:09:43 +00:00
*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:
parent
971f55c544
commit
40ad458795
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user