def find( menu ) :

	s = scope( menu )

	try :
		findDialogue = s.scriptWindow.__findDialogue
	except __HOLE__ :
		findDialogue = GafferUI.NodeFinderDialogue( s.parent )
		s.scriptWindow.addChildWindow( findDialogue )
		s.scriptWindow.__findDialogue = findDialogue

	findDialogue.setScope( s.parent )
	findDialogue.setVisible( True )

## A function suitable as the command for an Edit/Arrange menu item.  It must
# be invoked from a menu that has a ScriptWindow in its ancestry.
dataset/ETHPy150Open ImageEngine/gaffer/python/GafferUI/EditMenu.py/find