Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0bd95728f71cccc660bbba643708a2fe55de88bb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Copyright (c) 2007 Borland Software Corp.
 * 
 * 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:
 *    bblajer (Borland) - initial API and implementation
 */

import "http://www.eclipse.org/emf/2002/Ecore";
import "http://www.eclipse.org/gmf/2005/GenModel/2.0";

boolean validationNeeded(gmfgen::GenDiagram diagram) :
	diagram.validationEnabled || (diagram.editorGen.audits != null && diagram.editorGen.audits.rules.size() > 0)
;

Back to the top