Commit 50e6a06f authored by SAPONE Alann's avatar SAPONE Alann

Import sky from file button corrected

parent 717be679
......@@ -182,7 +182,7 @@ public class GroundPanel extends CollapsiblePanel {
addSkyEmissionButton.addActionListener(new java.awt.event.ActionListener() {
@Override
public void actionPerformed(java.awt.event.ActionEvent evt) {
addSkyEmissionButtonActionPerformed(evt);
addSkyEmissionButtonActionPerformed(evt);
}
});
......@@ -557,7 +557,7 @@ public class GroundPanel extends CollapsiblePanel {
private void addSkyEmissionButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_addSkyEmissionButtonActionPerformed
List<Triplet<Class, List<String>, String>> availablePluginList = InfoProviderHolder.getInfoProvider().getAvailablePluginList();
Class pluginClass = null;
String pluginName = "org.cnrs.lam.dis.etc.plugins.skybackground.ImportSkyFromFiles";
String pluginName = "org.cnrs.lam.dis.etc.plugins.skybackground.spectrumfiles.ImportSkyFromFiles";
for (Triplet<Class, List<String>, String> triplet : availablePluginList) {
Class classFromTriplet = triplet.getValue0();
if (pluginName.equals(classFromTriplet.getName()))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment