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

editor.run.IRunConfig Maven / Gradle / Ivy

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

import gw.lang.reflect.json.IJsonIO;

import javax.swing.*;
import java.util.function.Consumer;

/**
 */
public interface IRunConfig> extends IJsonIO
{
  T getParams();
  void setParams( T params );

  default String getName()
  {
    return getParams().getName();
  }

  boolean isValid();
  Icon getIcon();

  JComponent makePanel( T params, Consumer changeListener );

  boolean isRunnable();
  IProcessRunner run();

  boolean isDebuggable();
  IProcessRunner debug();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy