Added Between 2 polygons to annulus to Transformations tools menu.
authorilb@NIH.GOV <ilb@NIH.GOV@ba61647d-9d00-f842-95cd-605cb4296b96>
Mon, 11 Dec 2017 21:32:42 +0000 (21:32 +0000)
committerilb@NIH.GOV <ilb@NIH.GOV@ba61647d-9d00-f842-95cd-605cb4296b96>
Mon, 11 Dec 2017 21:32:42 +0000 (21:32 +0000)
git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/trunk@15305 ba61647d-9d00-f842-95cd-605cb4296b96

mipav/src/gov/nih/mipav/view/ViewMenuBar.java

index 5a5cdb0..25abc81 100644 (file)
@@ -559,6 +559,7 @@ public class ViewMenuBar {
                                                                                new JMenuItem[] {\r
                                                                                                menuBuilder.buildMenuItem("Barrel distortion correction", "Barrel", 0,\r
                                                                                                                null, false),\r
+                                                                           menuBuilder.buildMenuItem("Between 2 polygons to annulus", "PolygonsToAnnulus", 0, null, false),\r
                                                                                menuBuilder.buildMenuItem("Circle to rectangle", "CircleToRec", 0, null, false),\r
                                                                                menuBuilder.buildMenuItem("Circular sector to rectangle", "CirToRec", 0, null,\r
                                                                                                false),\r
@@ -1537,6 +1538,7 @@ public class ViewMenuBar {
                        menuBuilder.setMenuItemEnabled("Circular sector to rectangle", false);\r
                        menuBuilder.setMenuItemEnabled("Circle to rectangle", false);\r
                        menuBuilder.setMenuItemEnabled("Polygon to circle", false);\r
+                       menuBuilder.setMenuItemEnabled("Between 2 polygons to annulus", false);\r
                        menuBuilder.setMenuItemEnabled("Polygon to rectangle", false);\r
                        menuBuilder.setMenuItemEnabled("Ellipse to circle", false);\r
                        menuBuilder.setMenuItemEnabled("Ellipse to rectangle", false);\r
@@ -1575,6 +1577,7 @@ public class ViewMenuBar {
                        menuBuilder.setMenuItemEnabled("Circular sector to rectangle", false);\r
                        menuBuilder.setMenuItemEnabled("Circle to rectangle", false);\r
                        menuBuilder.setMenuItemEnabled("Polygon to circle", false);\r
+                       menuBuilder.setMenuItemEnabled("Between 2 polygons to annulus", false);\r
                        menuBuilder.setMenuItemEnabled("Polygon to rectangle", false);\r
                        menuBuilder.setMenuItemEnabled("Ellipse to circle", false);\r
                        menuBuilder.setMenuItemEnabled("Ellipse to rectangle", false);\r
@@ -1861,6 +1864,7 @@ public class ViewMenuBar {
                menuBuilder.setMenuItemEnabled("Circular sector to rectangle", true);\r
                menuBuilder.setMenuItemEnabled("Circle to rectangle", true);\r
                menuBuilder.setMenuItemEnabled("Polygon to circle", true);\r
+               menuBuilder.setMenuItemEnabled("Between 2 polygons to annulus", true);\r
                menuBuilder.setMenuItemEnabled("Polygon to rectangle", true);\r
                menuBuilder.setMenuItemEnabled("Ellipse to circle", true);\r
                menuBuilder.setMenuItemEnabled("Ellipse to rectangle", true);\r