def METHOD_NAME(self, context, layout):
    col = layout.column()
    col.prop(self, "activate", text="Update")
    col.prop_search(self, 'nodegroup_name', bpy.data, 'node_groups', text='', icon='NODETREE')
    node_group = bpy.data.node_groups.get(self.nodegroup_name)
    if node_group:
        row = col.row(align=True)
        row.prop_search(self, 'node_name', node_group, 'nodes', text='', icon='SETTINGS')
        row.operator('node.pickup_active_node', text='', icon='EYEDROPPER')
        if self.node_name:
            node = node_group.nodes[self.node_name]
            if node_group.bl_idname == "ScNodeTree":
                # [['int',1,1,'prop_int'],['float',2,2,'prop_float'],['angle',3,3,'prop_angle']]
                col.prop(self, 'input_Sc',text='') #, text='', icon='DRIVER')
            else:
                col.prop_search(self, 'input_idx', node, 'inputs', text='', icon='DRIVER')