blob: cec7af282da1ed86c87674a61f3d30ea4d6fe15a [file] [log] [blame]
/*********************************************************************
* Copyright (c) 2005, 2019 SAP SE
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* SAP SE - initial API, implementation and documentation
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package org.eclipse.graphiti.mm.algorithms.styles;
import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Abstract Style</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getBackground <em>Background</em>}</li>
* <li>{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getForeground <em>Foreground</em>}</li>
* <li>{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getLineWidth <em>Line Width</em>}</li>
* <li>{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getLineStyle <em>Line Style</em>}</li>
* <li>{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getFilled <em>Filled</em>}</li>
* <li>{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getLineVisible <em>Line Visible</em>}</li>
* <li>{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getRenderingStyle <em>Rendering Style</em>}</li>
* <li>{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getTransparency <em>Transparency</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.graphiti.mm.algorithms.styles.StylesPackage#getAbstractStyle()
* @model abstract="true"
* @generated
*/
public interface AbstractStyle extends EObject {
/**
* Returns the value of the '<em><b>Background</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Background</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Background</em>' reference.
* @see #setBackground(Color)
* @see org.eclipse.graphiti.mm.algorithms.styles.StylesPackage#getAbstractStyle_Background()
* @model ordered="false"
* @generated
*/
Color getBackground();
/**
* Sets the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getBackground <em>Background</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Background</em>' reference.
* @see #getBackground()
* @generated
*/
void setBackground(Color value);
/**
* Returns the value of the '<em><b>Foreground</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Foreground</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Foreground</em>' reference.
* @see #setForeground(Color)
* @see org.eclipse.graphiti.mm.algorithms.styles.StylesPackage#getAbstractStyle_Foreground()
* @model ordered="false"
* @generated
*/
Color getForeground();
/**
* Sets the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getForeground <em>Foreground</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Foreground</em>' reference.
* @see #getForeground()
* @generated
*/
void setForeground(Color value);
/**
* Returns the value of the '<em><b>Line Width</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Line 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>Line Width</em>' attribute.
* @see #setLineWidth(Integer)
* @see org.eclipse.graphiti.mm.algorithms.styles.StylesPackage#getAbstractStyle_LineWidth()
* @model unique="false" ordered="false"
* @generated
*/
Integer getLineWidth();
/**
* Sets the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getLineWidth <em>Line Width</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Line Width</em>' attribute.
* @see #getLineWidth()
* @generated
*/
void setLineWidth(Integer value);
/**
* Returns the value of the '<em><b>Line Style</b></em>' attribute.
* The literals are from the enumeration {@link org.eclipse.graphiti.mm.algorithms.styles.LineStyle}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Line Style</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Line Style</em>' attribute.
* @see org.eclipse.graphiti.mm.algorithms.styles.LineStyle
* @see #setLineStyle(LineStyle)
* @see org.eclipse.graphiti.mm.algorithms.styles.StylesPackage#getAbstractStyle_LineStyle()
* @model unique="false" ordered="false"
* @generated
*/
LineStyle getLineStyle();
/**
* Sets the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getLineStyle <em>Line Style</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Line Style</em>' attribute.
* @see org.eclipse.graphiti.mm.algorithms.styles.LineStyle
* @see #getLineStyle()
* @generated
*/
void setLineStyle(LineStyle value);
/**
* Returns the value of the '<em><b>Filled</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Filled</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Filled</em>' attribute.
* @see #isSetFilled()
* @see #unsetFilled()
* @see #setFilled(Boolean)
* @see org.eclipse.graphiti.mm.algorithms.styles.StylesPackage#getAbstractStyle_Filled()
* @model default="true" unique="false" unsettable="true" ordered="false"
* @generated
*/
Boolean getFilled();
/**
* Sets the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getFilled <em>Filled</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Filled</em>' attribute.
* @see #isSetFilled()
* @see #unsetFilled()
* @see #getFilled()
* @generated
*/
void setFilled(Boolean value);
/**
* Unsets the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getFilled <em>Filled</em>}' attribute.
* <!-- begin-user-doc -->
*
* @since 0.9 <!-- end-user-doc -->
* @see #isSetFilled()
* @see #getFilled()
* @see #setFilled(Boolean)
* @generated
*/
void unsetFilled();
/**
* Returns whether the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getFilled <em>Filled</em>}' attribute is set.
* <!-- begin-user-doc -->
*
* @since 0.9 <!-- end-user-doc -->
* @return whether the value of the '<em>Filled</em>' attribute is set.
* @see #unsetFilled()
* @see #getFilled()
* @see #setFilled(Boolean)
* @generated
*/
boolean isSetFilled();
/**
* Returns the value of the '<em><b>Line Visible</b></em>' attribute.
* The default value is <code>"true"</code>.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Line Visible</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Line Visible</em>' attribute.
* @see #isSetLineVisible()
* @see #unsetLineVisible()
* @see #setLineVisible(Boolean)
* @see org.eclipse.graphiti.mm.algorithms.styles.StylesPackage#getAbstractStyle_LineVisible()
* @model default="true" unique="false" unsettable="true" ordered="false"
* @generated
*/
Boolean getLineVisible();
/**
* Sets the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getLineVisible <em>Line Visible</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Line Visible</em>' attribute.
* @see #isSetLineVisible()
* @see #unsetLineVisible()
* @see #getLineVisible()
* @generated
*/
void setLineVisible(Boolean value);
/**
* Unsets the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getLineVisible <em>Line Visible</em>}' attribute.
* <!-- begin-user-doc -->
*
* @since 0.9 <!-- end-user-doc -->
* @see #isSetLineVisible()
* @see #getLineVisible()
* @see #setLineVisible(Boolean)
* @generated
*/
void unsetLineVisible();
/**
* Returns whether the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getLineVisible <em>Line Visible</em>}' attribute is set.
* <!-- begin-user-doc -->
*
* @since 0.9 <!-- end-user-doc -->
* @return whether the value of the '<em>Line Visible</em>' attribute is set.
* @see #unsetLineVisible()
* @see #getLineVisible()
* @see #setLineVisible(Boolean)
* @generated
*/
boolean isSetLineVisible();
/**
* Returns the value of the '<em><b>Rendering Style</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Rendering Style</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Rendering Style</em>' containment reference.
* @see #setRenderingStyle(RenderingStyle)
* @see org.eclipse.graphiti.mm.algorithms.styles.StylesPackage#getAbstractStyle_RenderingStyle()
* @model containment="true" resolveProxies="true" ordered="false"
* @generated
*/
RenderingStyle getRenderingStyle();
/**
* Sets the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getRenderingStyle <em>Rendering Style</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Rendering Style</em>' containment reference.
* @see #getRenderingStyle()
* @generated
*/
void setRenderingStyle(RenderingStyle value);
/**
* Returns the value of the '<em><b>Transparency</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Transparency</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Transparency</em>' attribute.
* @see #setTransparency(Double)
* @see org.eclipse.graphiti.mm.algorithms.styles.StylesPackage#getAbstractStyle_Transparency()
* @model unique="false" ordered="false"
* @generated
*/
Double getTransparency();
/**
* Sets the value of the '{@link org.eclipse.graphiti.mm.algorithms.styles.AbstractStyle#getTransparency <em>Transparency</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Transparency</em>' attribute.
* @see #getTransparency()
* @generated
*/
void setTransparency(Double value);
} // AbstractStyle