editor.run.ProgramRunConfig Maven / Gradle / Ivy
package editor.run;
import editor.util.EditorUtilities;
import javax.swing.*;
import java.util.function.Consumer;
/**
*/
public class ProgramRunConfig extends FqnRunConfig
{
public ProgramRunConfig( ProgramRunConfigParameters params )
{
super( params );
}
// this if for reading from json
@SuppressWarnings("UnusedDeclaration")
public ProgramRunConfig()
{
}
@Override
public Icon getIcon()
{
return EditorUtilities.loadIcon( "images/program.png" );
}
@Override
public JComponent makePanel( ProgramRunConfigParameters params, Consumer changeListener )
{
return new ProgramConfigPanel( params, changeListener );
}
}