def METHOD_NAME( nodeEditor, node, menuDefinition ) :
	if not isinstance( node, ( GafferScene.FilteredSceneProcessor, GafferScene.Filter ) ) :
		return
	menuDefinition.append( "/FilteredSceneProcessorDivider", { "divider" : True } )
	menuDefinition.append( "/Select Affected Objects", { "command" : functools.partial( __selectAffected, node, nodeEditor.getContext() ) } )