Hi all MZmine developers, Last few weeks I have been working on redesigning the way parameters are defined, set and saved in the whole project. The reason is that the whole parameter system has been full of looong ugly classes with overlapping functionality (for example, we have many different implementations of ParameterSetupDialog, and many ParameterSet implementations have their own way of saving/loading their values into XML). This redesign does not change so much for the end user, but it is very important for the future expansion of MZmine functionality.
I designed new interfaces for parameter types, where each parameter type is responsible for its own JComponent (for editing the parameter) and for loading/saving its value to XML. This allows for very flexible design of parameters - for example, "m/z tolerance" parameter now provides its own editing component, which allows the user to specify the tolerance as either absolute value or ppm. Modules may provide their own specialized parameter types. This way there is no need for additional implementations of ParameterSetupDialog. At this point, I submitted the code to a new branch (http://mzmine.svn.sourceforge.net/viewvc/mzmine/branches/Tomas/). The code compiles but is still full of bugs, therefore this branch cannot be used for real data processing at this point. I will keep working on this until the code is stable, and then merge it to the trunk together with new improvements from the Syngenta branch by Chris. Please take a look at the new implementation. I will be happy to hear your comments :) Tomas =============================================== Tomas Pluskal G0 Cell Unit, Okinawa Institute of Science and Technology 1919-1 Tancha, Onna-son, Okinawa 904-0412, Japan TEL: +81-98-966-8684
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Mzmine-devel mailing list Mzmine-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mzmine-devel