private FLyrVect getLayerFromTOC() {
   String layerName = Preferences.LAYERNAME;
   TOCLayerManager toc = new TOCLayerManager();
   return toc.getLayerByName(layerName);
 }
 private FLyrVect getLayerFromTOC(String actionCommand) {
   final TOCLayerManager toc = new TOCLayerManager();
   return toc.getLayerByName(actionCommand);
 }