*
* @return the selected factory node
*/
private SelectedFactoryNode searchSelectedFactoryNode(
SelectionTree selectionTree, Class<? extends Factory<?>> factory) {
SelectedFactoryNode selFacNode = null;
for (SelectedFactoryNode node : selectionTree.getVertices()) {
if (node.getFactoryClass() != null
&& node.getFactoryClass().equals(factory)) {
selFacNode = node;
break;