/******************************************************************************* * Copyright (c) 2008, 2011 Obeo. * 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: * Obeo - initial API and implementation *******************************************************************************/ package org.eclipse.emf.eef.views; import org.eclipse.emf.eef.toolkits.Widget; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>View Element</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.emf.eef.views.ViewElement#getRepresentation <em>Representation</em>}</li> * <li>{@link org.eclipse.emf.eef.views.ViewElement#getContainer <em>Container</em>}</li> * <li>{@link org.eclipse.emf.eef.views.ViewElement#getName <em>Name</em>}</li> * </ul> * </p> * * @see org.eclipse.emf.eef.views.ViewsPackage#getViewElement() * @model abstract="true" * @generated */ public interface ViewElement extends DocumentedElement { /** * Returns the value of the '<em><b>Representation</b></em>' reference. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Representation</em>' reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Representation</em>' reference. * @see #setRepresentation(Widget) * @see org.eclipse.emf.eef.views.ViewsPackage#getViewElement_Representation() * @model * @generated */ Widget getRepresentation(); /** * Sets the value of the '{@link org.eclipse.emf.eef.views.ViewElement#getRepresentation <em>Representation</em>}' reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Representation</em>' reference. * @see #getRepresentation() * @generated */ void setRepresentation(Widget value); /** * Returns the value of the '<em><b>Container</b></em>' container reference. * It is bidirectional and its opposite is '{@link org.eclipse.emf.eef.views.Container#getElements <em>Elements</em>}'. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Container</em>' container reference isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Container</em>' container reference. * @see #setContainer(Container) * @see org.eclipse.emf.eef.views.ViewsPackage#getViewElement_Container() * @see org.eclipse.emf.eef.views.Container#getElements * @model opposite="elements" transient="false" * @generated */ Container getContainer(); /** * Sets the value of the '{@link org.eclipse.emf.eef.views.ViewElement#getContainer <em>Container</em>}' container reference. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Container</em>' container reference. * @see #getContainer() * @generated */ void setContainer(Container value); /** * Returns the value of the '<em><b>Name</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Name</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Name</em>' attribute. * @see #setName(String) * @see org.eclipse.emf.eef.views.ViewsPackage#getViewElement_Name() * @model required="true" * @generated */ String getName(); /** * Sets the value of the '{@link org.eclipse.emf.eef.views.ViewElement#getName <em>Name</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Name</em>' attribute. * @see #getName() * @generated */ void setName(String value); } // ViewElement