/* * 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; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Diagram Element</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * <ul> * <li>{@link org.eclipse.gmf.sketch.SketchDiagramElement#getName <em>Name</em>}</li> * <li>{@link org.eclipse.gmf.sketch.SketchDiagramElement#getShape <em>Shape</em>}</li> * <li>{@link org.eclipse.gmf.sketch.SketchDiagramElement#getVisualID <em>Visual ID</em>}</li> * </ul> * </p> * * @see org.eclipse.gmf.sketch.SketchPackage#getSketchDiagramElement() * @model abstract="true" * @generated */ public interface SketchDiagramElement extends SketchElement { /** * 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.gmf.sketch.SketchPackage#getSketchDiagramElement_Name() * @model * @generated */ String getName(); /** * Sets the value of the '{@link org.eclipse.gmf.sketch.SketchDiagramElement#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); /** * Returns the value of the '<em><b>Shape</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Shape</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Shape</em>' attribute. * @see #setShape(String) * @see org.eclipse.gmf.sketch.SketchPackage#getSketchDiagramElement_Shape() * @model * @generated */ String getShape(); /** * Sets the value of the '{@link org.eclipse.gmf.sketch.SketchDiagramElement#getShape <em>Shape</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Shape</em>' attribute. * @see #getShape() * @generated */ void setShape(String value); /** * Returns the value of the '<em><b>Visual ID</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Visual 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>Visual ID</em>' attribute. * @see #setVisualID(int) * @see org.eclipse.gmf.sketch.SketchPackage#getSketchDiagramElement_VisualID() * @model * @generated */ int getVisualID(); /** * Sets the value of the '{@link org.eclipse.gmf.sketch.SketchDiagramElement#getVisualID <em>Visual ID</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Visual ID</em>' attribute. * @see #getVisualID() * @generated */ void setVisualID(int value); } // SketchDiagramElement