Use the Morph Into window to change the class or type of a component.
Bean morphing How classes and beans are related Connections Variable Morph Into