// Generated by CoffeeScript 1.12.7
var extend = function(child, parent) { for (var key in parent) { if (hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor(); child.__super__ = parent.prototype; return child; },
  hasProp = {}.hasOwnProperty;

ez5.ExampleMaskSplitterSimple = (function(superClass) {
  extend(ExampleMaskSplitterSimple, superClass);

  function ExampleMaskSplitterSimple() {
    return ExampleMaskSplitterSimple.__super__.constructor.apply(this, arguments);
  }

  ExampleMaskSplitterSimple.prototype.isSimpleSplit = function() {
    return true;
  };

  ExampleMaskSplitterSimple.prototype.getOptions = function() {
    return [
      {
        form: {
          label: "Splitter Title"
        },
        type: CUI.Input,
        name: "title"
      }
    ];
  };

  ExampleMaskSplitterSimple.prototype.renderField = function(opts) {
    return new CUI.Label({
      appearance: "title",
      text: this.getDataOptions().title || "<no title>"
    });
  };

  ExampleMaskSplitterSimple.prototype.isEnabledForNested = function() {
    return true;
  };

  return ExampleMaskSplitterSimple;

})(CustomMaskSplitter);

MaskSplitter.plugins.registerPlugin(ez5.ExampleMaskSplitterSimple);
