/// using ProspectDirector.Types.Core.Dialog
/// using ProspectDirector.Types.Core.FeaturedObject

/**
<span style="font-size:60px;color:red;font-weight:bold;">DOCUMENT ME PLEASE!</span>
@class Dialog
@namespace ProspectDirector.Modules.EntityTypes
**/
ProspectDirector.Modules.EntityTypes.Dialog = {};

/**
@property ExplorerFolderProperties {ProspectDirector.Types.Core.Dialog}
**/
ProspectDirector.Modules.EntityTypes.Dialog.ExplorerFolderNew =
new (ProspectDirector.Types.Core.Dialog.extend({
    init: function () {
        this._super("ExplorerFolderNew",
                "New Folder",
                ProspectDirector.RUNTIME.resolveUrl("~/explorerfolder/new"));
    }
}));

/**
@property EntityTypeProperties {ProspectDirector.Types.Core.Dialog}
**/
ProspectDirector.Modules.EntityTypes.Dialog.EntityTypeProperties =
ProspectDirector.Types.Core.FeaturedObject.Dialog("EntityTypeProperties", "Entity Type Properties", "~/entitytype/properties", 550, 602);

/**
@property EntityTypeProperties {ProspectDirector.Types.Core.Dialog}
**/
ProspectDirector.Modules.EntityTypes.Dialog.EntityTypeRelationships =
new (ProspectDirector.Types.Core.Dialog.extend({
    init: function () {
        this._super("EntityTypeRelationships",
                "Entity Type Relationships",
                ProspectDirector.RUNTIME.resolveUrl("~/entitytype/relationships"));
    }
}));

/**
@property EntityTypeNew {ProspectDirector.Types.Core.Dialog}
**/
ProspectDirector.Modules.EntityTypes.Dialog.EntityTypeNew =
new (ProspectDirector.Types.Core.Dialog.extend({
    init: function () {
        this._super("EntityTypeNew",
                "New Entity Type",
                ProspectDirector.RUNTIME.resolveUrl("~/entitytype/new"));
    }
}));

/**
@property FormDeisgn {ProspectDirector.Types.Core.Dialog}
**/
ProspectDirector.Modules.EntityTypes.Dialog.FormDeisgn =
new (ProspectDirector.Types.Core.Dialog.extend({
    init: function () {
        this._super("FormDesign",
                "Form Design",
                ProspectDirector.RUNTIME.resolveUrl("~/formdesign"));
    }
}));

/**
@property FormElementProperties {ProspectDirector.Types.Core.Dialog}
**/
ProspectDirector.Modules.EntityTypes.Dialog.FormElementProperties =
ProspectDirector.Types.Core.FeaturedObject.Dialog("FormElementProperties", "Form Element Properties", "~/formdesign/properties", 400, 550);

ProspectDirector.Modules.EntityTypes.AclDialog = new (ProspectDirector.Types.Core.Dialog.extend({
    init: function () {
        this._super("acldialog",
                "Access Control List",
            ProspectDirector.RUNTIME.resolveUrl("~/entitytype/acl"), {
                    config: {
                        height: 600,
                        width: 450
                    }
                });
    }
}));
