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

com.github.fge.grappa.debugger.javafx.BasePresenter Maven / Gradle / Ivy

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy