[SW2] How to specialize an editCommand