Package org.dawnsci.plotting.services
Class RegionServiceImpl
java.lang.Object
org.dawnsci.plotting.services.RegionServiceImpl
- All Implemented Interfaces:
IRegionService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateRegion(IPlottingSystem<?> plottingSystem, IROI roi, String roiName) Method attempts to make the best IRegion it can for the ROI.final IRegion.RegionTypeGet the UI RegionType for a given IROIGet the UI RegionType which best fits the class of IROI
-
Constructor Details
-
RegionServiceImpl
public RegionServiceImpl()
-
-
Method Details
-
forROI
Description copied from interface:IRegionServiceGet the UI RegionType for a given IROI- Specified by:
forROIin interfaceIRegionService- Parameters:
iroi-- Returns:
-
getRegion
Description copied from interface:IRegionServiceGet the UI RegionType which best fits the class of IROI- Specified by:
getRegionin interfaceIRegionService- Parameters:
clazz-- Returns:
-
createRegion
public IRegion createRegion(IPlottingSystem<?> plottingSystem, IROI roi, String roiName) throws Exception Method attempts to make the best IRegion it can for the ROI.- Specified by:
createRegionin interfaceIRegionService- Parameters:
plottingSystem-roi-roiName-- Returns:
- Throws:
Exception
-