| 1 | package de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.reportitems; |
| 2 | |
| 3 | import de.uka.ipd.sdq.sensorframework.visualisation.rvisualisation.utils.RConnection; |
| 4 | |
| 5 | /**Abstract class describing R report item which are generated. |
| 6 | * @author groenda |
| 7 | */ |
| 8 | public abstract class AbstractGeneratedTextRReportItem |
| 9 | extends AbstractRReportItem { |
| 10 | |
| 11 | /**Initializes items of this class. |
| 12 | * @param description Description of the item represented by this object. |
| 13 | */ |
| 14 | public AbstractGeneratedTextRReportItem(final String description) { |
| 15 | super(description); |
| 16 | } |
| 17 | |
| 18 | /**Used to calculate the data in R. |
| 19 | * {@inheritDoc} |
| 20 | */ |
| 21 | public abstract void generateData(RConnection re); |
| 22 | |
| 23 | /** {@inheritDoc} |
| 24 | */ |
| 25 | @Override |
| 26 | public abstract void visit(IReportRenderingVisitor renderingVisitor); |
| 27 | |
| 28 | /** |
| 29 | * @return The textual representation of this report item. |
| 30 | */ |
| 31 | public abstract String getText(); |
| 32 | } |