| /** |
| * Copyright 2011-2019 Jonathan Nash and others |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| * |
| * Contributors: |
| * Jonathan Nash - initial implementation |
| * Compex Systemhaus GmbH - adaptions for OSBP |
| */ |
| package org.eclipse.osbp.xtext.table.common.export; |
| |
| import com.vaadin.data.Property; |
| import com.vaadin.ui.Table; |
| |
| public class PropertyFormatTable extends Table implements ExportableFormattedProperty { |
| private static final long serialVersionUID = 3155836832984769425L; |
| |
| @Override |
| public String getFormattedPropertyValue(final Object rowId, final Object colId, |
| final Property property) { |
| return this.formatPropertyValue(rowId, colId, property); |
| } |
| } |