| /****************************************************************************** |
| * * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG, 69115 Heidelberg, Germany * |
| * * |
| * 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 * |
| * * |
| *============================================================================* |
| * Initial contribution: * |
| * Loetz GmbH & Co. KG * |
| * * |
| * generated by xtext * |
| ******************************************************************************/ |
| grammar org.eclipse.osbp.xtext.dialogdsl.DialogDsl with org.eclipse.osbp.xtext.oxtype.OXtype |
| |
| import "http://osbp.eclipse.org/xtext/dialogdsl/DialogDSL" |
| |
| import "http://osbp.eclipse.org/xtext/action/ActionDSL" as action |
| import "http://osbp.eclipse.org/xtext/strategy/StrategyDSL" as strategy |
| import "http://osbp.eclipse.org/dsl/common/types/v1" as types |
| import "http://www.eclipse.org/emf/2002/Ecore" as ecore |
| import "http://osbp.eclipse.org/ecview/dsl/uimodel/core" as uimodel |
| import "http://osbp.eclipse.org/dsl/dto/v1" as dto |
| |
| DialogModel: |
| {DialogModel} |
| importSection=XImportSection? |
| pckg=DialogPackage; |
| |
| DialogPackage: |
| 'package' name=QualifiedName ('{' (dialogs+=Dialog)* '}')?; |
| |
| Dialog: |
| {Dialog} 'dialog' name=ID |
| (description?='describedBy' descriptionValue=TRANSLATABLESTRING)? |
| ('view' uiView=[uimodel::UiView|TYPE_CROSS_REFERENCE] |
| | |
| autowire?='autobinding' dto=[dto::LDto|TYPE_CROSS_REFERENCE] |
| ) |
| ((embedded?='embedded')? & |
| (stateful?='stateful')? & |
| ('toolbar' toolbar=[action::ActionToolbar|TYPE_CROSS_REFERENCE])? & |
| ('layout' layout=[strategy::LayoutingStrategy|TYPE_CROSS_REFERENCE])?); |
| |
| TRANSLATABLESTRING: |
| STRING; |
| |
| TYPE_CROSS_REFERENCE: |
| ID; |
| |