blob: 6fa7f48e39df1997c8e0c19472d076cc1f962473 [file] [log] [blame]
/******************************************************************************
* Copyright (c) 2004, 2006 IBM Corporation and others.
* 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:
* IBM Corporation - initial API and implementation
****************************************************************************/
package org.eclipse.gmf.runtime.notation;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Size</b></em>'.
* <p>
* The size constraint specifies the extents of a node
* </p>
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.gmf.runtime.notation.Size#getWidth <em>Width</em>}</li>
* <li>{@link org.eclipse.gmf.runtime.notation.Size#getHeight <em>Height</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.gmf.runtime.notation.NotationPackage#getSize()
* @model
* @generated
*/
/*
* @canBeSeenBy %partners
*/
public interface Size extends LayoutConstraint {
/**
* Returns the value of the '<em><b>Width</b></em>' attribute.
* The default value is <code>"-1"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Width</em>' attribute.
* @see #setWidth(int)
* @see org.eclipse.gmf.runtime.notation.NotationPackage#getSize_Width()
* @model default="-1"
* @generated
*/
int getWidth();
/**
* Sets the value of the '{@link org.eclipse.gmf.runtime.notation.Size#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>"-1"</code>.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return the value of the '<em>Height</em>' attribute.
* @see #setHeight(int)
* @see org.eclipse.gmf.runtime.notation.NotationPackage#getSize_Height()
* @model default="-1"
* @generated
*/
int getHeight();
/**
* Sets the value of the '{@link org.eclipse.gmf.runtime.notation.Size#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);
} // Size