/// class ProspectDirector.Web.UI.FeatureSets.Editors.CompositeEditor
/// using ProspectDirector.Web.UI.FeatureSets.MicroEditorBase

/**
[NEEDS DOCUMENTATION]
@constructor
@class CompositeEditor
@namespace Web.UI.FeatureSets.Editors
@extends Web.UI.FeatureSets.MicroEditorBase
**/
ProspectDirector.Web.UI.FeatureSets.Editors.CompositeEditor = ProspectDirector.Web.UI.FeatureSets.MicroEditorBase.extend({
    
    //==============================
    // EVENT HANDLERS
    //==============================

    _button_onClick: function () {
        alert("No dialog has been associated with this editor.");
    },

    //==============================
    // PUBLIC METHODS
    //==============================

    activate: function () {
        this.get_element().find("INPUT[type=button]").on("click", $.proxy(this._button_onClick, this));
    },

    render: function () {
        return "<div id=\"" + this.getId() + "\" class=\"-pd-micro-editor-composite\">" +
                "<input type=\"text\" readonly style=\"color:#AAAAAA;\">" +
                "<input type=\"button\" value=\"...\">" +
                "</div>";
    }

});