blob: 68423f598f1dc5e577484e875ce9d63d96cc8291 [file] [log] [blame]
/**
* Copyright (c) 2012 Lunifera GmbH (Austria) and others.
* 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 API and implementation
*/
package org.eclipse.emf.ecp.ecview.common.model.core;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecp.ecview.common.model.binding.YValueBindingEndpoint;
import org.eclipse.emf.ecp.ecview.common.model.core.listeners.YValueChangeListener;
import org.eclipse.emf.ecp.ecview.common.model.validation.YValidator;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>YUi Field</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.emf.ecp.ecview.common.model.core.YField#getValidators <em>Validators</em>}</li>
* <li>{@link org.eclipse.emf.ecp.ecview.common.model.core.YField#getInternalValidators <em>Internal Validators</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.emf.ecp.ecview.common.model.core.CoreModelPackage#getYField()
* @model
* @generated
*/
public interface YField extends YEmbeddable, YEditable, YEnable {
/**
* Returns the value of the '<em><b>Validators</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.emf.ecp.ecview.common.model.validation.YValidator}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Validators</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>Validators</em>' containment reference list.
* @see org.eclipse.emf.ecp.ecview.common.model.core.CoreModelPackage#getYField_Validators()
* @model containment="true" resolveProxies="true"
* @generated
*/
EList<YValidator> getValidators();
/**
* Returns the value of the '<em><b>Internal Validators</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.emf.ecp.ecview.common.model.validation.YValidator}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Internal Validators</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>Internal Validators</em>' containment reference list.
* @see org.eclipse.emf.ecp.ecview.common.model.core.CoreModelPackage#getYField_InternalValidators()
* @model containment="true" resolveProxies="true" transient="true"
* @generated
*/
EList<YValidator> getInternalValidators();
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model listenerDataType="org.eclipse.emf.ecp.ecview.common.model.core.YValueChangeListener"
* @generated
*/
boolean addValueChangeListener(YValueChangeListener listener);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model listenerDataType="org.eclipse.emf.ecp.ecview.common.model.core.YValueChangeListener"
* @generated
*/
boolean removeValueChangeListener(YValueChangeListener listener);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @model
* @generated
*/
void removeAllValueChangListeners();
/**
* Creates a binding endpoint to observe the editable property.
* @return
*/
YValueBindingEndpoint createEditableEndpoint();
/**
* Creates a binding endpoint to observe the enabled property.
* @return
*/
YValueBindingEndpoint createEnabledEndpoint();
} // YUiField