DynamoDS/Dynamo — pull request #1635 by Benglin (2014-05-09 03:41:41+00:00)
Title: Improved the way node classes hide their preview icons

Background
-----
This pull request improves the way derive node classes (of ```NodeModel``` class) choose to hide their preview bubble. The old way of doing that was through ```NodeModel.Name``` string, which was obviously the incorrect way. The new protected ```NodeModel.ShouldDisplayPreviewCore``` virtual method is the centralized way for derived node classes to show/hide their preview icons.

The following classes (and therefore, their derived classes) have their preview icon suppressed, while all other node classes (e.g. ```DSFunction```) continue to show the preview icons:

```
* DoubleInput
* BoolSelector
* Filename
* DoubleSlider
* IntegerSlider
* Watch
* WatchImageCore
* Watch3D
* ColorRange
* SunPathDirection
* BasicInteractive (and all derived primitive classes)
* DSDropDownBase (and all derived primitive classes)
* ElementsQueryBase (and all derived primitive classes)
* DSSelectionBase (and all derived primitive classes)
```

Latest Visuals
-----
![preview-control-fixes](https://cloud.githubusercontent.com/assets/5086849/2924156/5c23c2d6-d72a-11e3-8e80-d8db3797066e.png)