| /** |
| * Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf, Austria), 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 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 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.YEmbeddable; |
| import org.eclipse.osbp.ecview.core.common.model.core.YLayout; |
| import org.eclipse.osbp.ecview.core.common.model.datatypes.YDatadescription; |
| |
| // TODO: Auto-generated Javadoc |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>YSplit Panel</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * </p> |
| * <ul> |
| * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSplitPanel#getDatadescription <em>Datadescription</em>}</li> |
| * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSplitPanel#getCellStyles <em>Cell Styles</em>}</li> |
| * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSplitPanel#isFillHorizontal <em>Fill Horizontal</em>}</li> |
| * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSplitPanel#getSplitPosition <em>Split Position</em>}</li> |
| * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSplitPanel#isVertical <em>Vertical</em>}</li> |
| * </ul> |
| * |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYSplitPanel() |
| * @model |
| * @generated |
| */ |
| public interface YSplitPanel extends YLayout { |
| /** |
| * Returns the value of the '<em><b>Datadescription</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Datadescription</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Datadescription</em>' reference. |
| * @see #setDatadescription(YDatadescription) |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYSplitPanel_Datadescription() |
| * @model |
| * @generated |
| */ |
| YDatadescription getDatadescription(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSplitPanel#getDatadescription <em>Datadescription</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Datadescription</em>' reference. |
| * @see #getDatadescription() |
| * @generated |
| */ |
| void setDatadescription(YDatadescription value); |
| |
| /** |
| * 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.YHorizontalLayoutCellStyle}. |
| * <!-- 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#getYSplitPanel_CellStyles() |
| * @model containment="true" resolveProxies="true" |
| * @generated |
| */ |
| EList<YHorizontalLayoutCellStyle> getCellStyles(); |
| |
| /** |
| * Returns the value of the '<em><b>Fill Horizontal</b></em>' attribute. |
| * The default value is <code>"true"</code>. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * <!-- begin-model-doc --> |
| * If false, then the width of all elements contained in the grid layout will be decreased to their preferred width or their miminum width. If no alignment is defined for a child, this setting will become its default. |
| * Eg if child has not a alignment, the horizontal alignment will become FILL if fillHorizontal is true. Otherwise the ui-kit default will be used as the horizontal alignment. |
| * <!-- end-model-doc --> |
| * @return the value of the '<em>Fill Horizontal</em>' attribute. |
| * @see #setFillHorizontal(boolean) |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYSplitPanel_FillHorizontal() |
| * @model default="true" |
| * @generated |
| */ |
| boolean isFillHorizontal(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSplitPanel#isFillHorizontal <em>Fill Horizontal</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Fill Horizontal</em>' attribute. |
| * @see #isFillHorizontal() |
| * @generated |
| */ |
| void setFillHorizontal(boolean value); |
| |
| /** |
| * Returns the value of the '<em><b>Split Position</b></em>' attribute. |
| * The default value is <code>"50"</code>. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Split Position</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Split Position</em>' attribute. |
| * @see #setSplitPosition(int) |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYSplitPanel_SplitPosition() |
| * @model default="50" |
| * @generated |
| */ |
| int getSplitPosition(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSplitPanel#getSplitPosition <em>Split Position</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Split Position</em>' attribute. |
| * @see #getSplitPosition() |
| * @generated |
| */ |
| void setSplitPosition(int value); |
| |
| /** |
| * Returns the value of the '<em><b>Vertical</b></em>' attribute. |
| * The default value is <code>"true"</code>. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Vertical</em>' attribute isn't clear, |
| * there really should be more of a description here... |
| * |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Vertical</em>' attribute. |
| * @see #setVertical(boolean) |
| * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYSplitPanel_Vertical() |
| * @model default="true" |
| * @generated |
| */ |
| boolean isVertical(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSplitPanel#isVertical <em>Vertical</em>}' attribute. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Vertical</em>' attribute. |
| * @see #isVertical() |
| * @generated |
| */ |
| void setVertical(boolean value); |
| |
| /** |
| * <!-- begin-user-doc --> <!-- end-user-doc -->. |
| * |
| * @param element |
| * the element |
| * @return the cell style |
| * @model |
| * @generated |
| */ |
| YHorizontalLayoutCellStyle getCellStyle(YEmbeddable element); |
| |
| } // YSplitPanel |