diff options
Diffstat (limited to 'org.eclipse.osbp.xtext.table/src/org/eclipse/osbp/xtext/table/TableDSL.xtext')
-rw-r--r-- | org.eclipse.osbp.xtext.table/src/org/eclipse/osbp/xtext/table/TableDSL.xtext | 32 |
1 files changed, 14 insertions, 18 deletions
diff --git a/org.eclipse.osbp.xtext.table/src/org/eclipse/osbp/xtext/table/TableDSL.xtext b/org.eclipse.osbp.xtext.table/src/org/eclipse/osbp/xtext/table/TableDSL.xtext index 0c6570d..cc862ca 100644 --- a/org.eclipse.osbp.xtext.table/src/org/eclipse/osbp/xtext/table/TableDSL.xtext +++ b/org.eclipse.osbp.xtext.table/src/org/eclipse/osbp/xtext/table/TableDSL.xtext @@ -3,9 +3,11 @@ * 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 + * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html + * https://www.eclipse.org/legal/epl-2.0/ + * + * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation @@ -39,22 +41,17 @@ Table: 'as' tabletype=TableOption; TableOption: - TableSelection | TableTable | TableGrid |TableBean; + TableSelection | TableTable | TableGrid; TableSelection: {TableSelection} 'selection' (multiSelection?='multiple' | 'single') - ((selectalways?='alwaysSelected')? & ('rowHeader' headerMode=RowHeaderMode)? & (polling?='polling' pollingTime=Number)? & (filtering?='filtering')? & (embedded?='embedded')? & ('toolbar' toolbar=[action::ActionToolbar])?) + ((selectalways?='alwaysSelected')? & ('rowHeader' headerMode=RowHeaderMode)? & (filtering?='filtering')? & (embedded?='embedded')? & ('toolbar' toolbar=[action::ActionToolbar])?) ('using' source=TableDatamart)?; TableTable: - {TableTable} 'table' - ((selectalways?='alwaysSelected')? & (selectById?='selectById')? & ('rowHeader' headerMode=RowHeaderMode)? & (polling?='polling' pollingTime=Number)? & (filtering?='filtering')? & (embedded?='embedded')? & ('toolbar' toolbar=[action::ActionToolbar])?) - ('using' source=TableDatamart)?; - -TableBean: - {TableBean} 'bean' - ((selectalways?='alwaysSelected')? & (selectById?='selectById')? & ('rowHeader' headerMode=RowHeaderMode)? & (polling?='polling' pollingTime=Number)? & (filtering?='filtering')? & (embedded?='embedded')? & ('toolbar' toolbar=[action::ActionToolbar])?) + {TableTable} 'readOnly' + ((selectalways?='alwaysSelected')? & (selectById?='selectById')? & ('rowHeader' headerMode=RowHeaderMode)? & (filtering?='filtering')? & (embedded?='embedded')? & ('toolbar' toolbar=[action::ActionToolbar])?) ('using' source=TableDatamart)?; TablePreorder: @@ -167,12 +164,7 @@ TableTooltip: // ----------------------------- grid -------------------------------------- TableGrid: - {TableGrid} 'grid' (((selectalways?='selectalways')?) & ('rowheader' headerMode=RowHeaderMode)?) - ((polling?='polling' pollingTime=Number)? & - (filtering?='filtering')? & - (embedded?='embedded')? & - ('toolbar' toolbar=[action::ActionToolbar])?) - ('using' source=TableDtoDatasource)?; + {TableGrid} 'editable' 'using' source=TableDtoDatasource; Property returns CxGridProperty: (editable?='editable')? 'prop' path=NestedField 'style' style=PropertyStyle; @@ -190,7 +182,7 @@ NestedPath returns CxGridNestedPath: PropertyStyle returns style::CxGridPropStyle: PropertyButtonStyle | PropertyHtmlStyle | PropertyProgressbarStyle | PropertyTextStyle | - PropertyBooleanStyle | PropertyDateStyle | PropertyNumberStyle | PropertyImageStyle | GridPropIndicatorStyle /*| + PropertyBooleanStyle | PropertyDateStyle | PropertyNumberStyle | PropertyImageStyle | PropertyBlobImageStyle | GridPropIndicatorStyle /*| PropertyPriceStyle | PropertyQuantityStyle */; PropertyButtonStyle returns style::CxGridPropButtonStyle: @@ -237,6 +229,10 @@ PropertyTextStyle returns style::CxGridPropTextStyle: {style::CxGridPropTextStyle} 'textStyle'; +PropertyBlobImageStyle returns style::CxGridPropBlobImageStyle: + {style::CxGridPropBlobImageStyle} + 'blobImageStyle'; + PropertyImageStyle returns style::CxGridPropImageStyle: {style::CxGridPropImageStyle} 'imageStyle' ('eventTopic' eventTopic=STRING)? '{' |