blob: 51466db9c6b3ff5ff61407657e5025f84a987e59 [file] [log] [blame]
/**
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
* 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
*
* Based on ideas from Xtext, Xtend, Xcore
*
* Contributors:
* Joerg Riegel - Initial implementation
*
*/
package org.eclipse.osbp.xtext.chart;
import org.eclipse.emf.common.util.EList;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Chart Gauge</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.osbp.xtext.chart.ChartGauge#isLabeled <em>Labeled</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.chart.ChartGauge#getLabelValue <em>Label Value</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.chart.ChartGauge#isHasTicks <em>Has Ticks</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.chart.ChartGauge#getMinValue <em>Min Value</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.chart.ChartGauge#getMaxValue <em>Max Value</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.chart.ChartGauge#isHasIntervals <em>Has Intervals</em>}</li>
* <li>{@link org.eclipse.osbp.xtext.chart.ChartGauge#getIntervals <em>Intervals</em>}</li>
* </ul>
*
* @see org.eclipse.osbp.xtext.chart.ChartDSLPackage#getChartGauge()
* @model
* @generated
*/
public interface ChartGauge extends ChartOption {
/**
* Returns the value of the '<em><b>Labeled</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Labeled</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Labeled</em>' attribute.
* @see #setLabeled(boolean)
* @see org.eclipse.osbp.xtext.chart.ChartDSLPackage#getChartGauge_Labeled()
* @model unique="false"
* @generated
*/
boolean isLabeled();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.chart.ChartGauge#isLabeled <em>Labeled</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Labeled</em>' attribute.
* @see #isLabeled()
* @generated
*/
void setLabeled(boolean value);
/**
* Returns the value of the '<em><b>Label Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Label Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Label Value</em>' attribute.
* @see #setLabelValue(String)
* @see org.eclipse.osbp.xtext.chart.ChartDSLPackage#getChartGauge_LabelValue()
* @model unique="false"
* @generated
*/
String getLabelValue();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.chart.ChartGauge#getLabelValue <em>Label Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Label Value</em>' attribute.
* @see #getLabelValue()
* @generated
*/
void setLabelValue(String value);
/**
* Returns the value of the '<em><b>Has Ticks</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Has Ticks</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Has Ticks</em>' attribute.
* @see #setHasTicks(boolean)
* @see org.eclipse.osbp.xtext.chart.ChartDSLPackage#getChartGauge_HasTicks()
* @model unique="false"
* @generated
*/
boolean isHasTicks();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.chart.ChartGauge#isHasTicks <em>Has Ticks</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Has Ticks</em>' attribute.
* @see #isHasTicks()
* @generated
*/
void setHasTicks(boolean value);
/**
* Returns the value of the '<em><b>Min Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Min Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Min Value</em>' attribute.
* @see #setMinValue(int)
* @see org.eclipse.osbp.xtext.chart.ChartDSLPackage#getChartGauge_MinValue()
* @model unique="false"
* @generated
*/
int getMinValue();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.chart.ChartGauge#getMinValue <em>Min Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Min Value</em>' attribute.
* @see #getMinValue()
* @generated
*/
void setMinValue(int value);
/**
* Returns the value of the '<em><b>Max Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Max Value</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Max Value</em>' attribute.
* @see #setMaxValue(int)
* @see org.eclipse.osbp.xtext.chart.ChartDSLPackage#getChartGauge_MaxValue()
* @model unique="false"
* @generated
*/
int getMaxValue();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.chart.ChartGauge#getMaxValue <em>Max Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Max Value</em>' attribute.
* @see #getMaxValue()
* @generated
*/
void setMaxValue(int value);
/**
* Returns the value of the '<em><b>Has Intervals</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Has Intervals</em>' attribute isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Has Intervals</em>' attribute.
* @see #setHasIntervals(boolean)
* @see org.eclipse.osbp.xtext.chart.ChartDSLPackage#getChartGauge_HasIntervals()
* @model unique="false"
* @generated
*/
boolean isHasIntervals();
/**
* Sets the value of the '{@link org.eclipse.osbp.xtext.chart.ChartGauge#isHasIntervals <em>Has Intervals</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Has Intervals</em>' attribute.
* @see #isHasIntervals()
* @generated
*/
void setHasIntervals(boolean value);
/**
* Returns the value of the '<em><b>Intervals</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.osbp.xtext.chart.ChartInterval}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Intervals</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Intervals</em>' containment reference list.
* @see org.eclipse.osbp.xtext.chart.ChartDSLPackage#getChartGauge_Intervals()
* @model containment="true"
* @generated
*/
EList<ChartInterval> getIntervals();
} // ChartGauge