blob: bba0c0cf2a1a0594d3c214aafaabe4dcd87bc5d3 [file] [log] [blame]
/*****************************************************************************
* Copyright (c) 2011 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
*
*****************************************************************************/
package org.eclipse.papyrus.sysml.service.types.matcher;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gmf.runtime.emf.type.core.IElementMatcher;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
/**
* This matcher can be used to avoid {@link IElementType} to interfere in commands.
*/
public class NoMatcher implements IElementMatcher {
public boolean matches(EObject eObject) {
return false;
}
}