blob: 5dc5ca6cbf4464042807a2ed0537bcb91d429477 [file] [log] [blame]
/**
* 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.ecore.EObject;
import org.eclipse.osbp.ecview.core.common.model.core.YAlignment;
import org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable;
// TODO: Auto-generated Javadoc
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>YUi Grid Layout Cell Style</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YGridLayoutCellStyle#getTarget <em>Target</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YGridLayoutCellStyle#getAlignment <em>Alignment</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YGridLayoutCellStyle#getSpanInfo <em>Span Info</em>}</li>
* </ul>
*
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYGridLayoutCellStyle()
* @model
* @generated
*/
public interface YGridLayoutCellStyle extends EObject {
/**
* Returns the value of the '<em><b>Target</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Target</em>' reference isn't clear,
* there really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Target</em>' reference.
* @see #setTarget(YEmbeddable)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYGridLayoutCellStyle_Target()
* @model required="true"
* @generated
*/
YEmbeddable getTarget();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YGridLayoutCellStyle#getTarget <em>Target</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Target</em>' reference.
* @see #getTarget()
* @generated
*/
void setTarget(YEmbeddable value);
/**
* Returns the value of the '<em><b>Alignment</b></em>' attribute.
* The default value is <code>"UNDEFINED"</code>.
* The literals are from the enumeration {@link org.eclipse.osbp.ecview.core.common.model.core.YAlignment}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The alignment of the ui element relative to its grid cell.
* <!-- end-model-doc -->
* @return the value of the '<em>Alignment</em>' attribute.
* @see org.eclipse.osbp.ecview.core.common.model.core.YAlignment
* @see #setAlignment(YAlignment)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYGridLayoutCellStyle_Alignment()
* @model default="UNDEFINED"
* @generated
*/
YAlignment getAlignment();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YGridLayoutCellStyle#getAlignment <em>Alignment</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Alignment</em>' attribute.
* @see org.eclipse.osbp.ecview.core.common.model.core.YAlignment
* @see #getAlignment()
* @generated
*/
void setAlignment(YAlignment value);
/**
* Returns the value of the '<em><b>Span Info</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Span Info</em>' containment reference isn't clear,
* there really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Span Info</em>' containment reference.
* @see #setSpanInfo(YSpanInfo)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYGridLayoutCellStyle_SpanInfo()
* @model containment="true" resolveProxies="true"
* @generated
*/
YSpanInfo getSpanInfo();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YGridLayoutCellStyle#getSpanInfo <em>Span Info</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Span Info</em>' containment reference.
* @see #getSpanInfo()
* @generated
*/
void setSpanInfo(YSpanInfo value);
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @param col1
* the col1
* @param row1
* the row1
* @param col2
* the col2
* @param row2
* the row2
* @return the y span info
* @model
* @generated
*/
YSpanInfo addSpanInfo(int col1, int row1, int col2, int row2);
} // YUiGridLayoutCellStyle