How would I get a model to show in the preview window in the inspector when its in a GameObject?

What I want to do is something like this [687-screenShot+5.png|687]

With the gun showing in the preview window but a different model. This is part of a prefab but there isn’t a separate object for the gun it just shows up in the preview window.

Check out “HasPreviewGUI, OnPreviewGUI and OnPreviewSettings”

This way only shows inside scene objects, how to preview a prefab?