blob: 6ca4c00a4ecd705de0d49fd90ffdad8f93275c33 [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 v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* 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.YConverter;
import org.eclipse.osbp.ecview.core.common.model.core.YElement;
import org.eclipse.osbp.ecview.core.common.model.core.YFlatAlignment;
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>YColumn</b></em>'. <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getIcon <em>Icon</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#isVisible <em>Visible</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getDatadescription <em>Datadescription</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getOrphanDatadescriptions <em>Orphan Datadescriptions</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#isOrderable <em>Orderable</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#isCollapsed <em>Collapsed</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#isCollapsible <em>Collapsible</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getAlignment <em>Alignment</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getExpandRatio <em>Expand Ratio</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getPropertyPath <em>Property Path</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getConverter <em>Converter</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getType <em>Type</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getTypeQualifiedName <em>Type Qualified Name</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn()
* @model
* @generated
*/
public interface YColumn extends YElement {
/**
* Returns the value of the '<em><b>Icon</b></em>' attribute. <!--
* begin-user-doc -->
* <p>
* If the meaning of the '<em>Icon</em>' attribute isn't clear, there really
* should be more of a description here...
*
* <!-- end-user-doc -->
*
* @return the value of the '<em>Icon</em>' attribute.
* @see #setIcon(String)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_Icon()
* @model
* @generated
*/
String getIcon();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getIcon <em>Icon</em>}' attribute.
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @param value the new value of the '<em>Icon</em>' attribute.
* @see #getIcon()
* @generated
*/
void setIcon(String value);
/**
* Returns the value of the '<em><b>Visible</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Visible</em>' attribute isn't clear, there
* really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Visible</em>' attribute.
* @see #setVisible(boolean)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_Visible()
* @model default="true"
* @generated
*/
boolean isVisible();
/**
* Sets the value of the '
* {@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#isVisible
* <em>Visible</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
* @param value
* the new value of the '<em>Visible</em>' attribute.
* @see #isVisible()
* @generated
*/
void setVisible(boolean value);
/**
* 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#getYColumn_Datadescription()
* @model
* @generated
*/
YDatadescription getDatadescription();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#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>Orphan Datadescriptions</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.osbp.ecview.core.common.model.datatypes.YDatadescription}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Orphan Datadescriptions</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>Orphan Datadescriptions</em>' containment reference list.
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_OrphanDatadescriptions()
* @model containment="true" resolveProxies="true"
* @generated
*/
EList<YDatadescription> getOrphanDatadescriptions();
/**
* Returns the value of the '<em><b>Orderable</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Orderable</em>' attribute isn't clear, there
* really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Orderable</em>' attribute.
* @see #setOrderable(boolean)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_Orderable()
* @model default="true"
* @generated
*/
boolean isOrderable();
/**
* Sets the value of the '
* {@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#isOrderable
* <em>Orderable</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
* @param value
* the new value of the '<em>Orderable</em>' attribute.
* @see #isOrderable()
* @generated
*/
void setOrderable(boolean value);
/**
* Returns the value of the '<em><b>Collapsed</b></em>' attribute.
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Collapsed</em>' attribute isn't clear, there
* really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Collapsed</em>' attribute.
* @see #setCollapsed(boolean)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_Collapsed()
* @model default="false"
* @generated
*/
boolean isCollapsed();
/**
* Sets the value of the '
* {@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#isCollapsed
* <em>Collapsed</em>}' attribute. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
* @param value
* the new value of the '<em>Collapsed</em>' attribute.
* @see #isCollapsed()
* @generated
*/
void setCollapsed(boolean value);
/**
* Returns the value of the '<em><b>Collapsible</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Collapsible</em>' attribute isn't clear, there
* really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Collapsible</em>' attribute.
* @see #setCollapsible(boolean)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_Collapsible()
* @model default="true"
* @generated
*/
boolean isCollapsible();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#isCollapsible <em>Collapsible</em>}' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
* @param value the new value of the '<em>Collapsible</em>' attribute.
* @see #isCollapsible()
* @generated
*/
void setCollapsible(boolean value);
/**
* Returns the value of the '<em><b>Alignment</b></em>' attribute.
* The default value is <code>"LEFT"</code>.
* The literals are from the enumeration {@link org.eclipse.osbp.ecview.core.common.model.core.YFlatAlignment}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Alignment</em>' attribute isn't clear, there
* really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Alignment</em>' attribute.
* @see org.eclipse.osbp.ecview.core.common.model.core.YFlatAlignment
* @see #setAlignment(YFlatAlignment)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_Alignment()
* @model default="LEFT"
* @generated
*/
YFlatAlignment getAlignment();
/**
* Sets the value of the '
* {@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#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.YFlatAlignment
* @see #getAlignment()
* @generated
*/
void setAlignment(YFlatAlignment value);
/**
* Returns the value of the '<em><b>Expand Ratio</b></em>' attribute.
* The default value is <code>"-1.0f"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Expand Ratio</em>' attribute isn't clear,
* there really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Expand Ratio</em>' attribute.
* @see #setExpandRatio(float)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_ExpandRatio()
* @model default="-1.0f"
* @generated
*/
float getExpandRatio();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getExpandRatio <em>Expand Ratio</em>}' attribute.
* <!-- begin-user-doc --> <!--
* end-user-doc -->
* @param value the new value of the '<em>Expand Ratio</em>' attribute.
* @see #getExpandRatio()
* @generated
*/
void setExpandRatio(float value);
/**
* Returns the value of the '<em><b>Property Path</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Property Path</em>' attribute isn't clear,
* there really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Property Path</em>' attribute.
* @see #setPropertyPath(String)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_PropertyPath()
* @model
* @generated
*/
String getPropertyPath();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getPropertyPath <em>Property Path</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Property Path</em>' attribute.
* @see #getPropertyPath()
* @generated
*/
void setPropertyPath(String value);
/**
* Returns the value of the '<em><b>Converter</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Converter</em>' containment reference isn't clear,
* there really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Converter</em>' containment reference.
* @see #setConverter(YConverter)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_Converter()
* @model containment="true" resolveProxies="true"
* @generated
*/
YConverter getConverter();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getConverter <em>Converter</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Converter</em>' containment reference.
* @see #getConverter()
* @generated
*/
void setConverter(YConverter value);
/**
* Returns the value of the '<em><b>Type</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type</em>' attribute isn't clear,
* there really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Type</em>' attribute.
* @see #setType(Class)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_Type()
* @model
* @generated
*/
Class<?> getType();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getType <em>Type</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type</em>' attribute.
* @see #getType()
* @generated
*/
void setType(Class<?> value);
/**
* Returns the value of the '<em><b>Type Qualified Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Type Qualified Name</em>' attribute isn't clear,
* there really should be more of a description here...
*
* <!-- end-user-doc -->
* @return the value of the '<em>Type Qualified Name</em>' attribute.
* @see #setTypeQualifiedName(String)
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYColumn_TypeQualifiedName()
* @model
* @generated
*/
String getTypeQualifiedName();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn#getTypeQualifiedName <em>Type Qualified Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Type Qualified Name</em>' attribute.
* @see #getTypeQualifiedName()
* @generated
*/
void setTypeQualifiedName(String value);
/**
* Sets the label by creating a new datadescription.
*
* @param label
* the new label
*/
public void setLabel(String label);
/**
* Sets the label i18nKey by creating a new datadescription.
*
* @param i18nKey
* the new label i18n key
*/
public void setLabelI18nKey(String i18nKey);
} // YColumn