示例#1
0
/*----------------------------------------------------------------------------
 * update the internal graphviz graph-structure, then redraw the graph on the 
 * canvas
 */
void
cls_inherit_update (AnjutaClassInheritance *plugin)
{
	g_return_if_fail (plugin != NULL);

	if (plugin->top_dir == NULL)
	{
		/* No project, delete all nodes */
		g_hash_table_foreach_remove (plugin->nodes,
		                             (GHRFunc) on_cls_node_delete,
		                             NULL);
		cls_inherit_draw (plugin);
	}
	else
	{
		/* Get all classes */
		ianjuta_symbol_query_search_all (plugin->query_project, NULL);
	}
}
示例#2
0
static void
on_system_symbol_scanned (IAnjutaSymbolManager *manager, guint process, IAnjutaSymbolQuery *query_system)
{
	ianjuta_symbol_query_search_all (query_system, NULL);
}