code: @Override
      public Layer setListening(final boolean listening)
      {
          super.setListening(listening);
  
          if (listening)
          {
              if (isShowSelectionLayer())
              {
                  if (null != getSelectionLayer())
                  {
                      doShowSelectionLayer(true);
                  }
              }
          }
          else
          {
              if (isShowSelectionLayer())
              {
                  doShowSelectionLayer(false);
              }
              m_select = null;
          }
          return this;
      }
docs: Enables event handling on this object.
  
  @param listening
  @param Layer