At the very beginning of the tip of the day series, I went over a few tool window docking targets tips. I focused mostly on the docked tool window docking targets (if that makes any sense). What i mean is when a tool window is in a docked state, a set of docking targets will appear in the center when another tool window hovers over it. (check the above link… makes much more sense that way).
But did you know that there are 9 IDE docking targets? These docking targets allow you to pin tool windows to the inner and outer parts of the IDE itself.
Docking Target #1 – this is for putting a tool window into a tabbed document state
Docking Target #7 (yes, i’m jumping around on purpose) – this is for docking a tool window to the outer-right edge
Docking Target #3 – this is for docking a tool window to the inner-right edge.
If there’s no tool window docked on the right, #7 and #3 will seem to be the same. But if you docked a tool window ‘A’ using target #7, then docked a tool window ‘B’ using target #3, you’ll get tool window ‘A’ on the outside and tool window ‘B’ docked to the left side of tool window ‘A’.
You have no idea how crazy it was to test all of these combinations. This is where model based testing really came into play.