G'day, I've just committed some changes that add support for optional minimum/maximum bounds on NumberParameters.
You can optionally specify a minimum or maximum (either can be null) when creating a NumberParameter. If either is non-null then an InputVerifier is set on the parameter's text field. If the user enters an invalid value then the field won't yield focus (it beeps and resets the valid value too). I've made use of this for the BaselineCorrectionParameter and NistMsSearchParameter. All other usages of NumberParameter are unaffected. I also made some minor changes to the class that were suggested by my IDE's code inspection tool. Please let me know if there are any issues. Regards, Chris. Syngenta Limited, Registered in England No 2710846 Registered Office : Syngenta Limited, European Regional Centre, Priestley Road, Surrey Research Park, Guildford, Surrey, GU2 7YH, United Kingdom message may contain confidential information. If you are not the designated recipient, please notify the sender immediately, and delete the original and any copies. Any use of the message by you is prohibited. ------------------------------------------------------------------------------ Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ _______________________________________________ Mzmine-devel mailing list Mzmine-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mzmine-devel