/** * Copyright (c) 2015 CEA LIST. * * 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: * CEA LIST - Initial API and implementation * */ package org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Use Context'. * * *

* The following features are supported: *

* * * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getUseContext() * @model * @generated */ public interface UseContext extends EObject { /** * Returns the value of the 'Diagram Type' attribute. * *

* If the meaning of the 'Diagram Type' attribute isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Diagram Type' attribute. * @see #setDiagramType(String) * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getUseContext_DiagramType() * @model required="true" ordered="false" * @generated */ String getDiagramType(); /** * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getDiagramType Diagram Type}' attribute. * * * @param value the new value of the 'Diagram Type' attribute. * @see #getDiagramType() * @generated */ void setDiagramType(String value); /** * Returns the value of the 'Representations' reference list. * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.Representation}. * *

* If the meaning of the 'Representations' reference list isn't clear, * there really should be more of a description here... *

* * * This is all representation that the framework must have to extend or add. * * @return the value of the 'Representations' reference list. * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getUseContext_Representations() * @model required="true" ordered="false" * @generated */ EList getRepresentations(); /** * Returns the value of the 'Name' attribute. * *

* If the meaning of the 'Name' attribute isn't clear, * there really should be more of a description here... *

* * * It is more like a comment, it is no used by interpretors. * * @return the value of the 'Name' attribute. * @see #setName(String) * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getUseContext_Name() * @model required="true" ordered="false" * @generated */ String getName(); /** * Sets the value of the '{@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.UseContext#getName Name}' attribute. * * * @param value the new value of the 'Name' attribute. * @see #getName() * @generated */ void setName(String value); /** * Returns the value of the 'Gmft Representations' containment reference list. * The list contents are of type {@link org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.GMFT_BasedRepresentation}. * *

* If the meaning of the 'Gmft Representations' containment reference list isn't clear, * there really should be more of a description here... *

* * @return the value of the 'Gmft Representations' containment reference list. * @see org.eclipse.papyrus.infra.gmfdiag.common.expansionmodel.ExpansionmodelPackage#getUseContext_GmftRepresentations() * @model containment="true" ordered="false" * @generated */ EList getGmftRepresentations(); } // UseContext