001/**
002 * 
003 */
004package plugins.kernel.roi.roi2d.plugin;
005
006import icy.plugin.abstract_.Plugin;
007import icy.plugin.interface_.PluginROI;
008import icy.roi.ROI;
009import icy.type.point.Point5D;
010
011import plugins.kernel.roi.roi2d.ROI2DArea;
012
013/**
014 * Plugin class for ROI2DArea.
015 */
016public class ROI2DAreaPlugin extends Plugin implements PluginROI
017{
018    @Override
019    public String getROIClassName()
020    {
021        return ROI2DArea.class.getName();
022    }
023
024    @Override
025    public ROI createROI(Point5D pt)
026    {
027        return new ROI2DArea(pt);
028    }
029
030    @Override
031    public ROI createROI()
032    {
033        return new ROI2DArea();
034    }
035}