package ima.fx.entityControl.controllers.listControllers;

import java.util.function.Consumer;
import ima.fx.entityControl.controllers.base.ViewButton;
import ima.fx.entityControl.entityFormStructure.EntityForm;
import ima.fx.entityControl.entityListStructure.EntityList;
import ima.repositoryService.dataStructure.Entity;

/**
 *
 * @author Netto
 * @param <T>
 */
public class ListViewButton<T extends Entity> extends ViewButton{
        
    public ListViewButton(EntityList<T> list, Consumer<EntityForm> cons) {
        super(
                list.selectedEntityProperty(),
                cons
        );
    }
    
}
