1 package org.lcsim.plugin;
2
3 import org.freehep.application.studio.Studio;
4 import org.freehep.jas.services.DataSource;
5 import org.freehep.swing.wizard.WizardPage;
6
7
8
9
10
11
12 class StdhepDataSource implements DataSource
13 {
14 private Studio app;
15
16 StdhepDataSource(Studio app)
17 {
18 this.app = app;
19 }
20
21 public WizardPage getWizardPage()
22 {
23 return new StdhepFileSelector(app);
24 }
25
26 public String getName()
27 {
28 return "Stdhep Files (.stdhep, .stdhep.filelist)";
29 }
30 }