protected boolean removeLayer ( Layer layer ) { int index = getLayerIndex ( layer ) ; if ( index >= 0 ) { //contentPanel.remove(index); view . removeWidget ( index ) ; return true ; } return false ; }
Remove a layer from the drop down content panel again .