Taking selection from Project Explorer and from Navigator View