| /* |
| * Copyright (c) 2007 Borland Software Corporation |
| * |
| * 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: |
| * Dmitry Stadnik (Borland) - initial API and implementation |
| */ |
| package org.eclipse.gmf.sketch; |
| |
| import org.eclipse.emf.common.util.EList; |
| |
| import org.eclipse.emf.ecore.EClass; |
| |
| /** |
| * <!-- begin-user-doc --> |
| * A representation of the model object '<em><b>Diagram</b></em>'. |
| * <!-- end-user-doc --> |
| * |
| * <p> |
| * The following features are supported: |
| * <ul> |
| * <li>{@link org.eclipse.gmf.sketch.SketchDiagram#getNodes <em>Nodes</em>}</li> |
| * <li>{@link org.eclipse.gmf.sketch.SketchDiagram#getLinks <em>Links</em>}</li> |
| * <li>{@link org.eclipse.gmf.sketch.SketchDiagram#getType <em>Type</em>}</li> |
| * </ul> |
| * </p> |
| * |
| * @see org.eclipse.gmf.sketch.SketchPackage#getSketchDiagram() |
| * @model |
| * @generated |
| */ |
| public interface SketchDiagram extends SketchDiagramElement { |
| |
| /** |
| * Returns the value of the '<em><b>Nodes</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.gmf.sketch.SketchNode}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Nodes</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>Nodes</em>' containment reference list. |
| * @see org.eclipse.gmf.sketch.SketchPackage#getSketchDiagram_Nodes() |
| * @model type="org.eclipse.gmf.sketch.SketchNode" containment="true" |
| * @generated |
| */ |
| EList<SketchNode> getNodes(); |
| |
| /** |
| * Returns the value of the '<em><b>Links</b></em>' containment reference list. |
| * The list contents are of type {@link org.eclipse.gmf.sketch.SketchLink}. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Links</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>Links</em>' containment reference list. |
| * @see org.eclipse.gmf.sketch.SketchPackage#getSketchDiagram_Links() |
| * @model type="org.eclipse.gmf.sketch.SketchLink" containment="true" |
| * @generated |
| */ |
| EList<SketchLink> getLinks(); |
| |
| /** |
| * Returns the value of the '<em><b>Type</b></em>' reference. |
| * <!-- begin-user-doc --> |
| * <p> |
| * If the meaning of the '<em>Type</em>' reference isn't clear, |
| * there really should be more of a description here... |
| * </p> |
| * <!-- end-user-doc --> |
| * @return the value of the '<em>Type</em>' reference. |
| * @see #setType(EClass) |
| * @see org.eclipse.gmf.sketch.SketchPackage#getSketchDiagram_Type() |
| * @model |
| * @generated |
| */ |
| EClass getType(); |
| |
| /** |
| * Sets the value of the '{@link org.eclipse.gmf.sketch.SketchDiagram#getType <em>Type</em>}' reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @param value the new value of the '<em>Type</em>' reference. |
| * @see #getType() |
| * @generated |
| */ |
| void setType(EClass value); |
| |
| } // SketchDiagram |