eclipse / chemclipse

ChemClipse Project
Eclipse Public License 1.0
38 stars 18 forks source link

Provide "Open in Editor" Processor #99

Closed laeubi closed 4 years ago

laeubi commented 5 years ago

Currently one could save a chromatogram to a file, but sometimes it is more feasible to show it inside an editor. That way it is possible to batch process a list of files and then review them in an editor instead of saving to disk and the have to open manually.

eselmeister commented 5 years ago

There is an example to show an "editor" UI in the following OpenChrom peak detector ""Template Peak Detector UI (MSD)".

net.openchrom.xxd.process.supplier.templates.ui.core.PeakDetectorMSD

The template peak detector uses a basic chart from ChemClipse:

public class PeakDetectorChart extends ChromatogramChart {

}

The peak detector UI also can be used in a process method, but only if a UI is available. The drawback is, that a use interaction is required. The batch process is halted until the user clicks on "Finish" to close the dialog.