I want to set different actions(context menu) for vectors,rasters,etc .