blob: 028c4b8a7c2a1c04a364e7472e1fcac92506bf3e [file] [log] [blame]
/*
* Copyright (c) 2008, 2010 Borland Software Corporation 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:
* Artem Tikhomirov (Borland) - initial API and implementation
*/
modeltype gmfgen uses "http://www.eclipse.org/gmf/2009/GenModel";
library ValueExpression;
// next two methods are likely to be removed soon as well
// (once we completely support expression caching inside factory
helper sourceConstraintFieldName(l : gmfgen::GenLink) : String {
return l.getUniqueIdentifier() + '_SourceExpression'
}
helper targetConstraintFieldName(l : gmfgen::GenLink) : String {
return l.getUniqueIdentifier() + '_TargetExpression'
}