Reimplemented from Impala::Visualization::GUI::PreviewBarSelectionListener. Definition at line 66 of file ScreenQuery.h. References AddComponent(), AddConceptToQuery(), ILOG_USER, RemoveComponent(), RemoveConceptFromQuery(), SEL_FROMSET, and SEL_FROMTREE. 00067 { 00068 if (userData == (void*) SEL_FROMTREE) { 00069 if (selected) { 00070 ILOG_USER( "selected concept from tree: " << concept ); 00071 AddConceptToQuery(concept); 00072 } else { 00073 ILOG_USER( "deselected concept from tree: " << concept ); 00074 RemoveConceptFromQuery(concept); 00075 } 00076 } 00077 if (userData == (void*) SEL_FROMSET) { 00078 if (selected) { 00079 ILOG_USER( concept << " selected in suggested set." ); 00080 AddComponent("CONCEPT:" + concept); 00081 } else { 00082 ILOG_USER( concept << " deselected in suggested set." ); 00083 RemoveComponent("CONCEPT:" + concept); 00084 } 00085 } 00086 }
Here is the call graph for this function:
|