/** * Copyright (c) 2007, 2013 THALES GLOBAL SERVICES. * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 * which accompanies this distribution, and is available at * https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 * * Contributors: * Obeo - initial API and implementation * */ package org.eclipse.sirius.diagram.description.style; import org.eclipse.emf.ecore.EObject; /** * A representation of the model object ' Size Computation Container Style * Description'. * *
* The following features are supported: *
*"-1"
. Expression that
* computes the size of the node.
*
* @return the value of the 'Width Computation Expression' attribute.
* @see #setWidthComputationExpression(String)
* @see org.eclipse.sirius.diagram.description.style.StylePackage#getSizeComputationContainerStyleDescription_WidthComputationExpression()
* @model default="-1" dataType= "org.eclipse.sirius.viewpoint.description.InterpretedExpression" annotation=
* "http://www.eclipse.org/sirius/interpreted/expression/returnType returnType='an integer.'"
* @generated
*/
String getWidthComputationExpression();
/**
* Sets the value of the
* '{@link org.eclipse.sirius.diagram.description.style.SizeComputationContainerStyleDescription#getWidthComputationExpression
* Width Computation Expression}' attribute.
*
* @param value
* the new value of the 'Width Computation Expression' attribute.
* @see #getWidthComputationExpression()
* @generated
*/
void setWidthComputationExpression(String value);
/**
* Returns the value of the 'Height Computation Expression' attribute. The default value is
* "-1"
. Expression that
* computes the size of the node.
*
* @return the value of the 'Height Computation Expression' attribute.
* @see #setHeightComputationExpression(String)
* @see org.eclipse.sirius.diagram.description.style.StylePackage#getSizeComputationContainerStyleDescription_HeightComputationExpression()
* @model default="-1" dataType= "org.eclipse.sirius.viewpoint.description.InterpretedExpression" annotation=
* "http://www.eclipse.org/sirius/interpreted/expression/returnType returnType='an integer.'"
* @generated
*/
String getHeightComputationExpression();
/**
* Sets the value of the
* '{@link org.eclipse.sirius.diagram.description.style.SizeComputationContainerStyleDescription#getHeightComputationExpression
* Height Computation Expression}' attribute.
*
* @param value
* the new value of the 'Height Computation Expression' attribute.
* @see #getHeightComputationExpression()
* @generated
*/
void setHeightComputationExpression(String value);
} // SizeComputationContainerStyleDescription