| /** |
| * Copyright (c) 2012, 2015 - Lunifera GmbH (Austria), Loetz GmbH&Co.KG and others. |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Florian Pirchner - initial API and implementation |
| */ |
| package org.eclipse.osbp.ecview.core.extension.model.extension; |
| |
| import org.eclipse.emf.common.util.EList; |
| import org.eclipse.osbp.ecview.core.common.model.core.YAlignmentContainer; |
| import org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable; |
| import org.eclipse.osbp.ecview.core.common.model.core.YLayout; |
| import org.eclipse.osbp.ecview.core.common.model.core.YMarginable; |
| import org.eclipse.osbp.ecview.core.common.model.core.YSpacingable; |
| |
| // TODO: Auto-generated Javadoc |
| /** |
| * <!-- begin-user-doc --> A representation of the model object ' |
| * <em><b>YUi Grid Layout</b></em>'. <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YGridLayout#getCellStyles <em>Cell Styles</em>}</li> |
| * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YGridLayout#getColumns <em>Columns</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYGridLayout() |
| * @model |
| * @generated |
| */ |
| public interface YGridLayout extends YLayout, YSpacingable, YMarginable, YAlignmentContainer { |
| /** |
| * Returns the value of the '<em><b>Cell Styles</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.osbp.ecview.core.extension.model.extension.YGridLayoutCellStyle}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Cell Styles</em>' containment reference list |
| * isn't clear, there really should be more of a description here... |
| * |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Cell Styles</em>' containment reference list. |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYGridLayout_CellStyles() |
| * @model containment="true" resolveProxies="true" |
| * @generated |
| */ |
| EList<YGridLayoutCellStyle> getCellStyles(); |
| |
| /** |
| * Returns the value of the '<em><b>Columns</b></em>' attribute. <!-- |
| * begin-user-doc --> <!-- end-user-doc --> <!-- begin-model-doc --> The |
| * number of columns the GridLayout should contain. <!-- end-model-doc --> |
| * |
| * @return the value of the '<em>Columns</em>' attribute. |
| * @see #setColumns(int) |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYGridLayout_Columns() |
| * @model |
| * @generated |
| */ |
| int getColumns(); |
| |
| /** |
| * Sets the value of the ' |
| * {@link org.eclipse.osbp.ecview.core.extension.model.extension.YGridLayout#getColumns |
| * <em>Columns</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc |
| * --> |
| * |
| * @param value |
| * the new value of the '<em>Columns</em>' attribute. |
| * @see #getColumns() |
| * @generated |
| */ |
| void setColumns(int value); |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc -->. |
| * |
| * @param element |
| * the element |
| * @return the y grid layout cell style |
| * @model |
| * @generated |
| */ |
| YGridLayoutCellStyle addGridLayoutCellStyle(YEmbeddable element); |
| |
| /** |
| * Returns the cell style for the given element. |
| * |
| * @param element |
| * the element |
| * @return the cell style |
| */ |
| YGridLayoutCellStyle getCellStyle(YEmbeddable element); |
| |
| } // YUiGridLayout |