I don't believe, for one second, that Komarov would net the return that Shaw got:
1. Shaw was an RFA. Komarov will be a UFA at the end of the deal. So you are trading for 20 games plus playoffs for Komarov vs. years from Shaw
2. Shaw was 24 at the time of the trade. Komarov will be 30.
The only thing swinging things back towards a better return is non-1st round draft picks seem to fly out the door near the deadline. That said, he's not going to get you a 39th and 45th overall pick. At best, he gets you a late 2nd round pick (because the team getting him is a playoff team) and maybe a 4th round pick. Anything beyond that, and I'm game for him getting traded. Anything less than that, and I'd rather have him on our roster for the playoffs.
Note, I say the above with two other things in mind that have been stated here that I don't agree with:
1. We are in LTIR. We don't save a lick of "cap space" by trading Komarov this year. Now, if moving Komarov opens up the door to pick up a player with a much bigger salary at the deadline (ie, we need the room under LTIR)- then it makes sense from a cap space perspective. If we weren't in LTIR, then trading him now would be ideal- we could make room under the cap for our inevitable bonuses that are going to have to be tacked on to next years cap at this point.
2. While Soshnikov or Andreas Johnsson may provide a bit more offense, I don't think they outweigh Komarov's defensive ability surplus over them. Furthermore, while I agree outscoring the opposition is the goal- we have plenty of players who can put the puck in the net, but not quite as many who do a good job preventing it from happening. If we were flush with good defensive forwards and needed more offense, I'd be game to trade Komarov to make room for a player with more offense in his arsenal. This is just my opinion and you are welcome to disagree.