kieker.webgui.domain.pluginDecorators
Class FilterDecorator

java.lang.Object
  extended by kieker.webgui.domain.pluginDecorators.AbstractAnalysisComponentDecorator<T>
      extended by kieker.webgui.domain.pluginDecorators.AbstractPluginDecorator<kieker.analysis.model.analysisMetaModel.MIFilter>
          extended by kieker.webgui.domain.pluginDecorators.FilterDecorator
All Implemented Interfaces:
kieker.analysis.model.analysisMetaModel.MIAnalysisComponent, kieker.analysis.model.analysisMetaModel.MIFilter, kieker.analysis.model.analysisMetaModel.MIPlugin, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject
Direct Known Subclasses:
VisualizationDecorator

public class FilterDecorator
extends AbstractPluginDecorator<kieker.analysis.model.analysisMetaModel.MIFilter>
implements kieker.analysis.model.analysisMetaModel.MIFilter

This is the actual decorator which decorates an MIFilter instance with some more properties and methods. The already existing behavior of the MIFilter instance is not modified.

Author:
Nils Christian Ehmke

Field Summary
 
Fields inherited from class kieker.webgui.domain.pluginDecorators.AbstractAnalysisComponentDecorator
analysisComponent, FACTORY
 
Constructor Summary
FilterDecorator(kieker.analysis.model.analysisMetaModel.MIFilter analysisComponent, Map<String,String> propertiesDescriptions, String description, String dependency, boolean fullyInitialized, Map<String,String> displaysDescriptions)
          Constructor to instantiate the fields of this class.
 
Method Summary
protected  kieker.analysis.model.analysisMetaModel.MIFilter createComponent()
          Inheriting classes should implement this method to deliver the actual copy (without further properties) of the wrapped component.
 org.eclipse.emf.common.util.EList<kieker.analysis.model.analysisMetaModel.MIInputPort> getInputPorts()
           
protected  void refineComponentCopy(kieker.analysis.model.analysisMetaModel.MIFilter componentCopy)
          Inheriting classes should overwrite this method in order to refine the copy of the wrapped component.
 
Methods inherited from class kieker.webgui.domain.pluginDecorators.AbstractPluginDecorator
getDisplayDescription, getDisplays, getOutputPorts, getRepositories
 
Methods inherited from class kieker.webgui.domain.pluginDecorators.AbstractAnalysisComponentDecorator
eAdapters, eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eDeliver, eGet, eGet, eInvoke, eIsProxy, eIsSet, eNotify, eResource, eSet, eSetDeliver, eUnset, getClassname, getDependency, getDescription, getId, getName, getProperties, getPropertyDescription, isFullyInitialized, newCopy, setClassname, setId, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface kieker.analysis.model.analysisMetaModel.MIPlugin
getDisplays, getOutputPorts, getRepositories
 
Methods inherited from interface kieker.analysis.model.analysisMetaModel.MIAnalysisComponent
getClassname, getId, getName, getProperties, setClassname, setId, setName
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 

Constructor Detail

FilterDecorator

public FilterDecorator(kieker.analysis.model.analysisMetaModel.MIFilter analysisComponent,
                       Map<String,String> propertiesDescriptions,
                       String description,
                       String dependency,
                       boolean fullyInitialized,
                       Map<String,String> displaysDescriptions)
Constructor to instantiate the fields of this class.

Parameters:
analysisComponent - The component wrapped by this decorator.
propertiesDescriptions - The descriptions of the properties.
description - The description of the wrapped component.
dependency - The dependency description of the wrapped component.
fullyInitialized - A flag to show whether the component has been fully initialized or not.
displaysDescriptions - The descriptions of the displays.
Method Detail

createComponent

protected final kieker.analysis.model.analysisMetaModel.MIFilter createComponent()
Description copied from class: AbstractAnalysisComponentDecorator
Inheriting classes should implement this method to deliver the actual copy (without further properties) of the wrapped component.

Specified by:
createComponent in class AbstractAnalysisComponentDecorator<kieker.analysis.model.analysisMetaModel.MIFilter>
Returns:
A (non-deep) copy of the wrapped component.

refineComponentCopy

protected final void refineComponentCopy(kieker.analysis.model.analysisMetaModel.MIFilter componentCopy)
Description copied from class: AbstractAnalysisComponentDecorator
Inheriting classes should overwrite this method in order to refine the copy of the wrapped component. The new method should call super.refineComponentCopy(factory, componentCopy) though, in order to make sure that the other properties will be copied as well.

Overrides:
refineComponentCopy in class AbstractPluginDecorator<kieker.analysis.model.analysisMetaModel.MIFilter>
Parameters:
componentCopy - The copy of the wrapped component, which can be refined by inheriting classes.

getInputPorts

public final org.eclipse.emf.common.util.EList<kieker.analysis.model.analysisMetaModel.MIInputPort> getInputPorts()
Specified by:
getInputPorts in interface kieker.analysis.model.analysisMetaModel.MIFilter


Copyright © 2015. All rights reserved.