Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: a7e2cd495b2441e6b4d54ab5c4e0e9ed0a671875 (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
31
32
/*****************************************************************************
 * Copyright (c) 2013 CEA LIST.
 *
 * 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:
 *  Remi Schnekenburger (CEA LIST) - Initial API and implementation
 *
 *****************************************************************************/
package org.eclipse.papyrus.infra.extendedtypes;

import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher;
import org.eclipse.papyrus.infra.extendedtypes.invariantsemantictypeconfiguration.IInvariantElementMatcher;


/**
 * interface for factories that instantiate {@link IInvariantElementMatcher} with their given configuration
 */
public interface IConfigurableElementMatcherFactory<T extends MatcherConfiguration> {

	/**
	 * Creates an element matcher with the specified configuration
	 *
	 * @param configuration
	 *            the configuration of the {@link IElementMatcher}
	 * @return the created element matcher or <code>null</code> if none was created
	 */
	public IConfigurableElementMatcher<T> createElementMatcher(T configuration);
}

Back to the top