blob: 41d059aa5817e284ea93f1d7b2109de2c15acebe (
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
|
/*****************************************************************************
* 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;
/**
* interface for factories that instantiate {@link IConfigurableElementMatcher} 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);
}
|