1234567891011121314151617181920212223242526272829303132333435363738 |
- /*
- * 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()
- {
- }
- }
|