(Color c)
| 210 | } |
| 211 | |
| 212 | private void setColor(Color c) { |
| 213 | if (gd==null) |
| 214 | return; |
| 215 | String name = Colors.colorToString2(c); |
| 216 | if (name.length()>0) { |
| 217 | Vector choices = gd.getChoices(); |
| 218 | Choice ch = (Choice)choices.elementAt(0); |
| 219 | ch.select(name); |
| 220 | } |
| 221 | } |
| 222 | |
| 223 | |
| 224 | private void showToolSize(int deltaWidth, ImagePlus imp) { |
no test coverage detected