 
 class CompactSpaces extends TransformString
   @extend()
+  @registerToSelectList()
   @description: "Compact multiple spaces to single space"
   displayName: 'Compact space'
   mutateSelection: (selection) ->


class JoinWithKeepingSpace extends TransformString
  @extend()
  input: ''
  requireTarget: false
  trim: false

    @stdoutBySelection.get(selection)

# -------------------------
class TransformStringBySelectList extends TransformString
  @extend()
  @description: "Transform string by specified oprator selected from select-list"
  requireInput: true

  getItems: ->
    @getTransformers().map (klass) ->
      klass = Base.getClass(klass) if _.isString(klass)
      displayName = klass::displayName if klass::hasOwnProperty('displayName')
      displayName ?= _.humanizeEventName(_.dasherize(klass.name))
