com.github.fge.grappa.debugger.javafx.BasePresenter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grappa-debugger Show documentation
Show all versions of grappa-debugger Show documentation
GUI application to debug grappa parsers
The newest version!
package com.github.fge.grappa.debugger.javafx;
import com.github.fge.grappa.internal.NonFinalForTesting;
import javax.annotation.ParametersAreNonnullByDefault;
import java.util.Objects;
@ParametersAreNonnullByDefault
public abstract class BasePresenter
{
protected V view;
@NonFinalForTesting
public void setView(final V view)
{
this.view = Objects.requireNonNull(view);
init();
}
protected void init()
{
}
public abstract void load();
}