All you need to do is set the Component property to the component you want to edit.
Call the execute method and watch.