protected IWorkbenchPartReference partToActivate(List<IWorkbenchPartReference> partReferences) {
		IWorkbenchPartReference activePartReference = activePage().getActivePartReference();

		if(activePartReference instanceof IEditorReference) {
			partReferences.remove(activePartReference);
			partReferences.add(0, activePartReference);
			
			if(partReferences.size() > 1)
				return partReferences.get(1);
			
			return partReferences.get(0);
		}
		
		return activePartReference;
	}