Refactor open editors window

Change-Id: Idf729d85b604ad770339d8d914c5d554d2526221
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Remove unused function in open editors window

Change-Id: I46e7d42fdd9a8c26fc2d60e8f77e0656de36dc84
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>