package de.akquinet.engineering.vaadinator.example.address.ui.std.view;

import com.vaadin.ui.Component;

import de.akquinet.engineering.vaadinator.example.address.ui.std.presenter.PresenterFactory;
import de.akquinet.engineering.vaadinator.example.address.ui.std.presenter.PresenterFactoryAware;
import de.akquinet.engineering.vaadinator.example.address.ui.view.FieldInitializer;

public class CommonFieldInitializer implements FieldInitializer {
	private final PresenterFactory presenterFactory;

	public CommonFieldInitializer(PresenterFactory presenterFactory) {
		this.presenterFactory = presenterFactory;
	}

	@Override
	public void initializeField(Component field) {
		if (field instanceof PresenterFactoryAware) {
			((PresenterFactoryAware) field).setPresenterFactory(presenterFactory);
		}
	}
}

@@ -663,16 +663,32 @@
 nt field
+, Component view
 ) %7B%0A%09%09if
@@ -809,13 +809,14 @@
 y);%0A%09%09%7D%0A
+%0A
 %09%7D%0A%7D%0A

Fix merge