blob: 0e2f1d692246234fb193d34d37f8a53c16c18f35 [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
*
* Contributors:
*
* CEA LIST - Initial API and implementation
* Laurent Wouters (CEA LIST) laurent.wouters@cea.fr - Viewpoints application
*
*****************************************************************************/
package org.eclipse.papyrus.sysml.diagram.blockdefinition;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.papyrus.infra.ui.extension.commands.PerspectiveContextDependence;
/**
* BlockDefinitionDiagramCondition to set conditions for the diagram creation
*/
public class BlockDefinitionDiagramCondition extends PerspectiveContextDependence {
/**
* {@inheritDoc}
*/
@Override
public boolean create(EObject selectedElement) {
return false;
}
}