blob: 929f6af9f4c268ca19fa97e39154c36164316ee5 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2010, 2011 E.D.Willink 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:
* E.D.Willink - Initial API and implementation
*******************************************************************************/
package org.eclipse.ocl.examples.xtext.base.cs2as;
import org.eclipse.ocl.examples.xtext.base.basecs.PivotableElementCS;
public class PivotDependency extends AbstractDependency<PivotableElementCS>
{
public PivotDependency(PivotableElementCS csElement) {
super(csElement);
}
@Override
public boolean canExecute() {
return element.getPivot() != null;
}
}