All Downloads are FREE. Search and download functionalities are using the official Maven repository.

editor.run.ProgramRunConfig Maven / Gradle / Ivy

There is a newer version: 1.18.1
Show newest version
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 );
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy