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

editor.run.ProgramRunConfigFactory Maven / Gradle / Ivy

There is a newer version: 1.18.1
Show newest version
package editor.run;

import editor.util.EditorUtilities;

import javax.swing.*;

/**
 */
public class ProgramRunConfigFactory implements IRunConfigFactory
{
  private static ProgramRunConfigFactory INSTANCE = new ProgramRunConfigFactory();

  public static ProgramRunConfigFactory instance()
  {
    return INSTANCE;
  }

  @Override
  public String getName()
  {
    return "Program";
  }

  @Override
  public ProgramRunConfigParameters makeParameters()
  {
    return new ProgramRunConfigParameters();
  }

  @Override
  public ProgramRunConfig newRunConfig( ProgramRunConfigParameters params )
  {
    return new ProgramRunConfig( params );
  }

  @Override
  public Icon getIcon()
  {
    return EditorUtilities.loadIcon( "images/program.png" );
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy