blob: 315780939ab01206fffdf016ee7d39e75deec6dc [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - 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.extension.model;
import org.eclipse.emf.common.util.EList;
import org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>YStrategy Layout</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.osbp.ecview.extension.model.YStrategyLayout#getLayoutingStrategy <em>Layouting Strategy</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.extension.model.YStrategyLayout#getFocusingStrategies <em>Focusing Strategies</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.extension.model.YStrategyLayout#getSuspects <em>Suspects</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.extension.model.YStrategyLayout#getLayoutingInfo <em>Layouting Info</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.extension.model.YStrategyLayout#getDefaultFocusingEnhancerId <em>Default Focusing Enhancer Id</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.osbp.ecview.extension.model.YECviewPackage#getYStrategyLayout()
* @model
* @generated
*/
public interface YStrategyLayout extends YEmbeddable {
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @generated
*/
String copyright = "All rights reserved by Loetz GmbH und CoKG Heidelberg 2015.\n\nContributors:\n Florian Pirchner - initial API and implementation";
/**
* Returns the value of the '<em><b>Layouting Strategy</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Layouting Strategy</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Layouting Strategy</em>' containment reference.
* @see #setLayoutingStrategy(YLayoutingStrategy)
* @see org.eclipse.osbp.ecview.extension.model.YECviewPackage#getYStrategyLayout_LayoutingStrategy()
* @model containment="true"
* @generated
*/
YLayoutingStrategy getLayoutingStrategy();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.extension.model.YStrategyLayout#getLayoutingStrategy <em>Layouting Strategy</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Layouting Strategy</em>' containment reference.
* @see #getLayoutingStrategy()
* @generated
*/
void setLayoutingStrategy(YLayoutingStrategy value);
/**
* Returns the value of the '<em><b>Focusing Strategies</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.osbp.ecview.extension.model.YFocusingStrategy}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Focusing Strategies</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Focusing Strategies</em>' containment reference list.
* @see org.eclipse.osbp.ecview.extension.model.YECviewPackage#getYStrategyLayout_FocusingStrategies()
* @model containment="true"
* @generated
*/
EList<YFocusingStrategy> getFocusingStrategies();
/**
* Returns the value of the '<em><b>Suspects</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.osbp.ecview.extension.model.YSuspect}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Suspects</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Suspects</em>' containment reference list.
* @see org.eclipse.osbp.ecview.extension.model.YECviewPackage#getYStrategyLayout_Suspects()
* @model containment="true"
* @generated
*/
EList<YSuspect> getSuspects();
/**
* Returns the value of the '<em><b>Layouting Info</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Layouting Info</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Layouting Info</em>' containment reference.
* @see #setLayoutingInfo(YLayoutingInfo)
* @see org.eclipse.osbp.ecview.extension.model.YECviewPackage#getYStrategyLayout_LayoutingInfo()
* @model containment="true" transient="true"
* @generated
*/
YLayoutingInfo getLayoutingInfo();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.extension.model.YStrategyLayout#getLayoutingInfo <em>Layouting Info</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Layouting Info</em>' containment reference.
* @see #getLayoutingInfo()
* @generated
*/
void setLayoutingInfo(YLayoutingInfo value);
/**
* Returns the value of the '<em><b>Default Focusing Enhancer Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Default Focusing Enhancer Id</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Default Focusing Enhancer Id</em>' attribute.
* @see #setDefaultFocusingEnhancerId(String)
* @see org.eclipse.osbp.ecview.extension.model.YECviewPackage#getYStrategyLayout_DefaultFocusingEnhancerId()
* @model
* @generated
*/
String getDefaultFocusingEnhancerId();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.extension.model.YStrategyLayout#getDefaultFocusingEnhancerId <em>Default Focusing Enhancer Id</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Default Focusing Enhancer Id</em>' attribute.
* @see #getDefaultFocusingEnhancerId()
* @generated
*/
void setDefaultFocusingEnhancerId(String value);
/**
* Uses the suspect info form layouting info to find the proper suspectinfo
* for the given embeddable.
*
* @param yEmbeddable
* the y embeddable
* @return the y suspect info
*/
YSuspectInfo findInfoFor(YEmbeddable yEmbeddable);
/**
* Tries to find the info without an nextFocus.
*
* @return the y suspect info
*/
YSuspectInfo findLastFocus();
}