blob: 852426a5cd7c02c55dd5a2b9c8e90160d396b0ed [file] [log] [blame]
/**
* Copyright (c) 2007, 2013 THALES GLOBAL SERVICES.
* 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:
* Obeo - initial API and implementation
*
*/
package org.eclipse.sirius.diagram;
import org.eclipse.sirius.viewpoint.RGBValues;
/**
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>Dot</b></em>'. <!-- end-user-doc -->
*
* <!-- begin-model-doc --> The dot style. <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.sirius.diagram.Dot#getStrokeSizeComputationExpression
* <em>Stroke Size Computation Expression</em>}</li>
* <li>{@link org.eclipse.sirius.diagram.Dot#getBackgroundColor <em>Background
* Color</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.sirius.diagram.DiagramPackage#getDot()
* @model
* @generated
*/
public interface Dot extends NodeStyle {
/**
* Returns the value of the '<em><b>Background Color</b></em>' containment
* reference. <!-- begin-user-doc --> <!-- end-user-doc --> <!--
* begin-model-doc --> The background color. <!-- end-model-doc -->
*
* @return the value of the '<em>Background Color</em>' containment
* reference.
* @see #setBackgroundColor(RGBValues)
* @see org.eclipse.sirius.diagram.DiagramPackage#getDot_BackgroundColor()
* @model containment="true" resolveProxies="true"
* @generated
*/
RGBValues getBackgroundColor();
/**
* Sets the value of the '
* {@link org.eclipse.sirius.diagram.Dot#getBackgroundColor
* <em>Background Color</em>}' attribute. <!-- begin-user-doc --> <!--
* end-user-doc -->
*
* @param value
* the new value of the '<em>Background Color</em>' attribute.
* @see #getBackgroundColor()
* @generated
*/
void setBackgroundColor(RGBValues value);
/**
* Returns the value of the '
* <em><b>Stroke Size Computation Expression</b></em>' attribute. The
* default value is <code>"2"</code>. <!-- begin-user-doc --> <!--
* end-user-doc --> <!-- begin-model-doc --> An expression computing the
* size of a stroke. <!-- end-model-doc -->
*
* @return the value of the '<em>Stroke Size Computation Expression</em>'
* attribute.
* @see #setStrokeSizeComputationExpression(String)
* @see org.eclipse.sirius.diagram.DiagramPackage#getDot_StrokeSizeComputationExpression()
* @model default="2" dataType=
* "org.eclipse.sirius.viewpoint.description.InterpretedExpression"
* annotation=
* "http://www.eclipse.org/sirius/interpreted/expression/returnType returnType='an integer.'"
* @generated
*/
String getStrokeSizeComputationExpression();
/**
* Sets the value of the '
* {@link org.eclipse.sirius.diagram.Dot#getStrokeSizeComputationExpression
* <em>Stroke Size Computation Expression</em>}' attribute. <!--
* begin-user-doc --> <!-- end-user-doc -->
*
* @param value
* the new value of the '
* <em>Stroke Size Computation Expression</em>' attribute.
* @see #getStrokeSizeComputationExpression()
* @generated
*/
void setStrokeSizeComputationExpression(String value);
} // Dot