Class AbstractVisualizationInput<T extends AbstractVisualizationSingleDatastreamInput>
java.lang.Object
org.palladiosimulator.commons.designpatterns.AbstractObservable<IVisualisationInputListener>
org.palladiosimulator.edp2.visualization.AbstractInput
org.palladiosimulator.edp2.visualization.AbstractVisualizationInput<T>
- All Implemented Interfaces:
IAdaptable
,ISelection
,IEditorInput
,IPersistable
,IPersistableElement
,org.palladiosimulator.commons.designpatterns.IAbstractObservable<IVisualisationInputListener>
,IPropertyConfigurable
,IVisualisationInput<T>
- Direct Known Subclasses:
JFreeChartVisualizationInput
public abstract class AbstractVisualizationInput<T extends AbstractVisualizationSingleDatastreamInput>
extends AbstractInput
implements ISelection, IVisualisationInput<T>
Interface for classes that are being displayed by implementations of
AbstractEditor
.
Possibly manages multiple inputs as indicated by #supportsMultipleInputs()
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
Adds anIDataSink
to thisAbstractVisualizationInput
's list of inputs.abstract boolean
canAccept
(IDataSource dataSource) protected void
firstChildInputAdded
(T newChildInput) Method to retrieve all containedIDataSink
s.final void
removeInput
(T newChildInput) Removes anIDataSink
from thisAbstractVisualizationInput
's list of inputs.Methods inherited from class org.palladiosimulator.edp2.visualization.AbstractInput
createConfiguration, getAdapter, getConfiguration, getDefaultConfiguration, getKeys, getProperties, getPropertyKeysTriggeringUpdate, 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.eclipse.ui.IEditorInput
exists, getImageDescriptor, getName, getPersistable, getToolTipText
Methods inherited from interface org.eclipse.ui.IPersistable
saveState
Methods inherited from interface org.eclipse.ui.IPersistableElement
getFactoryId
Methods inherited from interface org.eclipse.jface.viewers.ISelection
isEmpty
Methods inherited from interface org.palladiosimulator.edp2.visualization.IVisualisationInput
createNewInput, getConfiguration, reloadData
-
Field Details
-
inputs
The list of inputs managed by this handle.
-
-
Constructor Details
-
AbstractVisualizationInput
public AbstractVisualizationInput()
-
-
Method Details
-
addInput
Description copied from interface:IVisualisationInput
Adds anIDataSink
to thisAbstractVisualizationInput
's list of inputs.- Specified by:
addInput
in interfaceIVisualisationInput<T extends AbstractVisualizationSingleDatastreamInput>
- Parameters:
newChildInput
- theIDataSink
to add.
-
firstChildInputAdded
-
getInputs
Description copied from interface:IVisualisationInput
Method to retrieve all containedIDataSink
s. These are intended to be displayed by the sameIVisualization
.- Specified by:
getInputs
in interfaceIVisualisationInput<T extends AbstractVisualizationSingleDatastreamInput>
- Returns:
- the contained
IDataSink
s
-
removeInput
Description copied from interface:IVisualisationInput
Removes anIDataSink
from thisAbstractVisualizationInput
's list of inputs.- Specified by:
removeInput
in interfaceIVisualisationInput<T extends AbstractVisualizationSingleDatastreamInput>
- Parameters:
newChildInput
- theIDataSink
to add.
-
canAccept
-