/// class ProspectDirector.Web.UI.FeatureSets.NHibTargetEditorDialog
/// using ProspectDirector.Web.UI.FeatureSets.TargetEditorDialog

/**
@class NHibTargetEditorDialog
@namespace Web.UI.Canvas
@constructor
**/
ProspectDirector.Web.UI.FeatureSets.NHibTargetEditorDialog = ProspectDirector.Web.UI.FeatureSets.TargetEditorDialog.extend({

    //================================
    // PROTECTED OVERRIDDEN METHODS
    //================================

    _getArbiter: function () {

        var data = this.get_options().data

        return {
            "initialized": false,
            "arbiter": {
                type: data.targetArbiter,
                targetType: data.targetType,
                id: data.targetId,
                attributes: data.attributes,
                properties: data.properties
            }
        };

    }

});

//================================
// SHARED METHODS
//================================

/**
@method open
@static
@return {Web.UI.Canvas.PropertiesDialog}
**/
ProspectDirector.Web.UI.FeatureSets.NHibTargetEditorDialog.open = function (options) {
    return new ProspectDirector.Web.UI.FeatureSets.NHibTargetEditorDialog(options);
};