Class PieChartVisualizationInput
- java.lang.Object
-
- org.palladiosimulator.commons.designpatterns.AbstractObservable<IVisualisationInputListener>
-
- org.palladiosimulator.edp2.visualization.AbstractInput
-
- org.palladiosimulator.edp2.visualization.AbstractVisualizationInput<JFreeChartVisualizationSingleDatastreamInput>
-
- org.palladiosimulator.edp2.visualization.jfreechart.input.JFreeChartVisualizationInput
-
- org.palladiosimulator.edp2.visualization.jfreechart.input.pie.PieChartVisualizationInput
-
- All Implemented Interfaces:
IAdaptable
,ISelection
,IEditorInput
,IPersistable
,IPersistableElement
,org.palladiosimulator.commons.designpatterns.IAbstractObservable<IVisualisationInputListener>
,IPropertyConfigurable
,IVisualisationInput<JFreeChartVisualizationSingleDatastreamInput>
- Direct Known Subclasses:
ExecutionResultPieChartVisualizationInput
public class PieChartVisualizationInput extends JFreeChartVisualizationInput
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.edp2.visualization.AbstractVisualizationInput
inputs
-
-
Constructor Summary
Constructors Constructor Description PieChartVisualizationInput()
PieChartVisualizationInput(AbstractDataSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canAccept(IDataSource dataSource)
protected PropertyConfigurable
createConfiguration()
protected org.jfree.data.general.AbstractDataset
generateDataset()
protected org.jfree.chart.plot.Plot
generatePlot(PropertyConfigurable config, org.jfree.data.general.AbstractDataset dataset)
String
getFactoryId()
protected Set<String>
getPropertyKeysTriggeringUpdate()
void
saveState(IMemento memento)
-
Methods inherited from class org.palladiosimulator.edp2.visualization.jfreechart.input.JFreeChartVisualizationInput
configureSeriesColors, createChart, createNewInput, exists, getAxisDefaultLabel, getImageDescriptor, getName, getPersistable, getToolTipText, isEmpty, reloadData
-
Methods inherited from class org.palladiosimulator.edp2.visualization.AbstractVisualizationInput
addInput, firstChildInputAdded, getInputs, removeInput
-
Methods inherited from class org.palladiosimulator.edp2.visualization.AbstractInput
getAdapter, getConfiguration, getDefaultConfiguration, getKeys, getProperties, getPropertyType, isPropertyNotSet, setProperties, unsetProperty
-
Methods inherited from class org.palladiosimulator.commons.designpatterns.AbstractObservable
addObserver, getEventDispatcher, getObservers, removeAllObserver, removeObserver
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.palladiosimulator.commons.designpatterns.IAbstractObservable
addObserver, removeObserver
-
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
-
Methods inherited from interface org.palladiosimulator.edp2.visualization.IVisualisationInput
getConfiguration
-
-
-
-
Constructor Detail
-
PieChartVisualizationInput
public PieChartVisualizationInput()
-
PieChartVisualizationInput
public PieChartVisualizationInput(AbstractDataSource source)
-
-
Method Detail
-
saveState
public void saveState(IMemento memento)
- Specified by:
saveState
in interfaceIPersistable
- Overrides:
saveState
in classJFreeChartVisualizationInput
-
getFactoryId
public String getFactoryId()
-
generatePlot
protected org.jfree.chart.plot.Plot generatePlot(PropertyConfigurable config, org.jfree.data.general.AbstractDataset dataset)
- Specified by:
generatePlot
in classJFreeChartVisualizationInput
-
generateDataset
protected org.jfree.data.general.AbstractDataset generateDataset()
- Specified by:
generateDataset
in classJFreeChartVisualizationInput
-
getPropertyKeysTriggeringUpdate
protected Set<String> getPropertyKeysTriggeringUpdate()
- Specified by:
getPropertyKeysTriggeringUpdate
in classAbstractInput
-
createConfiguration
protected PropertyConfigurable createConfiguration()
- Overrides:
createConfiguration
in classJFreeChartVisualizationInput
-
canAccept
public boolean canAccept(IDataSource dataSource)
- Specified by:
canAccept
in classAbstractVisualizationInput<JFreeChartVisualizationSingleDatastreamInput>
-
-