Class ComboListener
- java.lang.Object
-
- org.palladiosimulator.edp2.distancemetrics.ui.ComboListener
-
- All Implemented Interfaces:
EventListener
,SelectionListener
,SWTEventListener
public class ComboListener extends Object implements SelectionListener
Creates a listener for the combo drop down that contains the distance metrics. It notifies the user, if no distance metric has been selected and he tries to press the calculate button. If a another distance metric is selected, this listener changes the displayed properties to the currently selected distance metric or shows none, if the distance metric doesn't have any.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
widgetDefaultSelected(SelectionEvent e)
void
widgetSelected(SelectionEvent event)
Takes care of displaying all information that is relevant to the currently selected distance metric.
-
-
-
Method Detail
-
widgetSelected
public void widgetSelected(SelectionEvent event)
Takes care of displaying all information that is relevant to the currently selected distance metric.- Specified by:
widgetSelected
in interfaceSelectionListener
-
widgetDefaultSelected
public void widgetDefaultSelected(SelectionEvent e)
- Specified by:
widgetDefaultSelected
in interfaceSelectionListener
-
-