if (element instanceof AbstractAsset) {
if (element instanceof Productline) { return ((Productline)element).getKoboldProject().getProject(); } else if (element instanceof AbstractAsset) {
    public Object getParent(Object element)     {        if (element instanceof AbstractAsset) {            return ((AbstractAsset)element).getParent();        } else if (element instanceof User) {            return null; //fix        } else if (element instanceof TreeContainer) {            return ((TreeContainer)element).productline;        }        return null;    }