/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package controller.commands; import model.AdressverwaltungModel; import controller.Interface; import prfourgui.View.AdressbuchView; /** * * @author jechowma68968 */ public class CommandAddRow implements Interface { private final AdressbuchView view; private final AdressverwaltungModel model; public CommandAddRow(AdressbuchView view, AdressverwaltungModel model) { this.view = view; this.model = model; } @Override public void execute() { model.eintragHinzufuegen(); } @Override public void undo() { } }