blob: ab3aa403d18739395e0e88f646feeddbe8a78add [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018
* IBM Corporation, BfR, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* IBM Corporation - initial API and implementation and new features
* Bundesinstitut für Risikobewertung - Pajek Graph interface, new Veterinary Models
*******************************************************************************/
package org.eclipse.stem.model.ui.editor.vismodel;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Rectangle Element</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.stem.model.ui.editor.vismodel.RectangleElement#getColor <em>Color</em>}</li>
* <li>{@link org.eclipse.stem.model.ui.editor.vismodel.RectangleElement#getX <em>X</em>}</li>
* <li>{@link org.eclipse.stem.model.ui.editor.vismodel.RectangleElement#getY <em>Y</em>}</li>
* <li>{@link org.eclipse.stem.model.ui.editor.vismodel.RectangleElement#getWidth <em>Width</em>}</li>
* <li>{@link org.eclipse.stem.model.ui.editor.vismodel.RectangleElement#getHeight <em>Height</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.stem.model.ui.editor.vismodel.VisualMetamodelPackage#getRectangleElement()
* @model abstract="true"
* @generated
*/
public interface RectangleElement extends VisualElement {
/**
* Returns the value of the '<em><b>Color</b></em>' attribute.
* The default value is <code>"0"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Color</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Color</em>' attribute.
* @see #setColor(int)
* @see org.eclipse.stem.model.ui.editor.vismodel.VisualMetamodelPackage#getRectangleElement_Color()
* @model default="0"
* @generated
*/
int getColor();
/**
* Sets the value of the '{@link org.eclipse.stem.model.ui.editor.vismodel.RectangleElement#getColor <em>Color</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Color</em>' attribute.
* @see #getColor()
* @generated
*/
void setColor(int value);
/**
* Returns the value of the '<em><b>X</b></em>' attribute.
* The default value is <code>"0"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>X</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>X</em>' attribute.
* @see #setX(int)
* @see org.eclipse.stem.model.ui.editor.vismodel.VisualMetamodelPackage#getRectangleElement_X()
* @model default="0"
* @generated
*/
int getX();
/**
* Sets the value of the '{@link org.eclipse.stem.model.ui.editor.vismodel.RectangleElement#getX <em>X</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>X</em>' attribute.
* @see #getX()
* @generated
*/
void setX(int value);
/**
* Returns the value of the '<em><b>Y</b></em>' attribute.
* The default value is <code>"0"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Y</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Y</em>' attribute.
* @see #setY(int)
* @see org.eclipse.stem.model.ui.editor.vismodel.VisualMetamodelPackage#getRectangleElement_Y()
* @model default="0"
* @generated
*/
int getY();
/**
* Sets the value of the '{@link org.eclipse.stem.model.ui.editor.vismodel.RectangleElement#getY <em>Y</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Y</em>' attribute.
* @see #getY()
* @generated
*/
void setY(int value);
/**
* Returns the value of the '<em><b>Width</b></em>' attribute.
* The default value is <code>"0"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Width</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Width</em>' attribute.
* @see #setWidth(int)
* @see org.eclipse.stem.model.ui.editor.vismodel.VisualMetamodelPackage#getRectangleElement_Width()
* @model default="0"
* @generated
*/
int getWidth();
/**
* Sets the value of the '{@link org.eclipse.stem.model.ui.editor.vismodel.RectangleElement#getWidth <em>Width</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Width</em>' attribute.
* @see #getWidth()
* @generated
*/
void setWidth(int value);
/**
* Returns the value of the '<em><b>Height</b></em>' attribute.
* The default value is <code>"0"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Height</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Height</em>' attribute.
* @see #setHeight(int)
* @see org.eclipse.stem.model.ui.editor.vismodel.VisualMetamodelPackage#getRectangleElement_Height()
* @model default="0"
* @generated
*/
int getHeight();
/**
* Sets the value of the '{@link org.eclipse.stem.model.ui.editor.vismodel.RectangleElement#getHeight <em>Height</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Height</em>' attribute.
* @see #getHeight()
* @generated
*/
void setHeight(int value);
} // RectangleElement