Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 208b50e409f0d0b500a8de7ac2a8c82e0c1abdab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright (c) 2014 CEA and others.
 *
 * 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:
 *   Christian W. Damus (CEA) - Initial API and implementation
 *
 */
package org.eclipse.papyrus.infra.constraints.runtime;

import java.util.EventListener;


/**
 * Protocol for notifications of changes in the constraint listener that may affect its clients.
 */
public interface ConstraintEngineListener extends EventListener {

	/**
	 * Notifies listeners that the engine's constraints have changed, so any remembered calculation results may need to be recomputed.
	 *
	 * @param event
	 *            the notification object
	 */
	void constraintsChanged(ConstraintsChangedEvent event);
}

Back to the top