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.ROI2DPoint; 012 013/** 014 * Plugin class for ROI2DPoint. 015 * 016 * @author Stephane 017 */ 018public class ROI2DPointPlugin extends Plugin implements PluginROI 019{ 020 @Override 021 public String getROIClassName() 022 { 023 return ROI2DPoint.class.getName(); 024 } 025 026 @Override 027 public ROI createROI(Point5D pt) 028 { 029 return new ROI2DPoint(pt); 030 } 031 032 @Override 033 public ROI createROI() 034 { 035 return new ROI2DPoint(); 036 } 037}