drools-eclipse/org.kie.eclipse/src/main/java/org/kie/eclipse/wizard/project/IUTreeViewer.java
public List<IInstallableUnit> getSelectedIUs(){
    	List<IInstallableUnit> result = new ArrayList<IInstallableUnit>();
    	for (Object o : getCheckedElements()) {
    		if (o instanceof IUTreeItem) {
    			IUTreeItem item = (IUTreeItem) o;
	    		if (item.parent!=null)
	    			result.add(item.iu);
    		}
    	}
    	return result;
    }
public List<IInstallableUnit> getSelectedIUs(){
    	List<IInstallableUnit> result = new ArrayList<IInstallableUnit>();
    	for (Object o : getCheckedElements()) {
    		if (o instanceof IUTreeItem) {
    			IUTreeItem item = (IUTreeItem) o;
	    		if (item.parent!=null)
	    			result.add(item.iu);
    		}
    	}
    	return result;
    }
public List < IInstallableUnit > getSelectedIUs ( ) { List < IInstallableUnit > result = new ArrayList < IInstallableUnit > ( ) ; for ( Object o : getCheckedElements ( ) ) { if ( o instanceof IUTreeItem ) { IUTreeItem item = ( IUTreeItem ) o ; if ( item . parent != null ) result . add ( item . iu ) ; } } return result ; }
Returns only the installable units that are features, ignoring feature groups.

@return
Returns only the installable units that are features ignoring feature groups .