/******************************************************************************* * Copyright (c) 2013 Obeo. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Obeo - initial API and implementation *******************************************************************************/ package org.eclipse.emf.compare.rcp.ui.internal.configuration.impl; import org.eclipse.emf.compare.rcp.ui.configuration.ICompareEvent; /** * @author <a href="mailto:mikael.barbero@obeo.fr">Mikael Barbero</a> */ public class CompareEvent<T> implements ICompareEvent { private final T oldValue; private final T newValue; protected CompareEvent(T oldValue, T newValue) { this.oldValue = oldValue; this.newValue = newValue; } public T getOldValue() { return oldValue; } public T getNewValue() { return newValue; } }