| /***************************************************************************** |
| * Copyright (c) 2017 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: |
| * |
| * Mauricio Alferez (mauricio.alferez@cea.fr) CEA LIST - Initial API and implementation |
| * |
| *****************************************************************************/ |
| module org.eclipse.papyrus.requirements.sysml14.GenerateBoilerplateText |
| |
| import org.eclipse.xtext.xtext.generator.* |
| import org.eclipse.xtext.xtext.generator.model.project.* |
| |
| var rootPath = ".." |
| |
| Workflow { |
| |
| component = XtextGenerator { |
| configuration = { |
| project = StandardProjectConfig { |
| baseName = "org.eclipse.papyrus.requirements.sysml14.boilerplatetext" |
| rootPath = rootPath |
| eclipsePlugin = { |
| enabled = true |
| } |
| createEclipseMetaData = true |
| } |
| code = { |
| encoding = "windows-1252" |
| fileHeader = |
| "/***************************************************************************** |
| * Copyright (c) 2017 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: |
| * |
| * Mauricio Alferez (mauricio.alferez@cea.fr) CEA LIST - Initial API and implementation |
| * |
| *****************************************************************************/ |
| /*\n * generated by Xtext \${version}\n */" |
| } |
| } |
| language = StandardLanguage { |
| name = "org.eclipse.papyrus.requirements.sysml14.BoilerplateText" |
| fileExtensions = "boil" |
| |
| serializer = { |
| generateStub = false |
| } |
| validator = { |
| // composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator" |
| } |
| } |
| } |
| } |