Class DistanceMetricExtensionHandler
- java.lang.Object
-
- org.palladiosimulator.edp2.distancemetrics.ui.DistanceMetricExtensionHandler
-
public final class DistanceMetricExtensionHandler extends Object
This class is loaded during startup of an Eclipse instance and loads all extensions which are connected to the extension point org.palladiosimulator.edp2.distancemetrics.ui If there is an issue with the extension (e.g. wrong implementation) it won't be loaded.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
This method is executed during startup.List<DistanceMetricExtension>
getDistanceMetricExtensionList()
Returns the initialized distance metric extensions.static DistanceMetricExtensionHandler
getInstance()
-
-
-
Method Detail
-
execute
@Execute public void execute()
This method is executed during startup.
-
getDistanceMetricExtensionList
public List<DistanceMetricExtension> getDistanceMetricExtensionList()
Returns the initialized distance metric extensions.- Returns:
- Empty, if no distance metric extensions have been initialized. Otherwise contains the initialized distance metric extensions.
-
getInstance
public static DistanceMetricExtensionHandler getInstance()
- Returns:
- Returns a singleton object of DistanceMetricExtensionHandler class.
-
-