/* * /// <summary> * /// Tipo de nodo * /// </summary> * public enum NodeType * { * /// <summary>Desconocido. No se debería utilizar</summary> * Unknown, * /// <summary>Raíz de la conexión</summary> * ConnectionRoot, * /// <summary>Conexión</summary> * Connection, * /// <summary>Esquema de una conexión</summary> * SchemaRoot, * /// <summary>Tabla</summary> * Table, * /// <summary>Raíz de la distribución</summary> * DeploymentRoot, * /// <summary>Distribución</summary> * Deployment, * /// <summary>Raíz de archivos de proyecto</summary> * FilesRoot, * /// <summary>Archivo / directorio</summary> * File, * /// <summary>Conexión a storage</summary> * Storage, * /// <summary>Contenedor de storage</summary> * StorageContainer, * /// <summary>Mensaje (transitorio)</summary> * Message, * /// <summary>Almacén de datos</summary> * DataWarehouse, * /// <summary>Raíz de origen de datos</summary> * DataSourcesRoot, * /// <summary>Origen de datos</summary> * DataSource, * /// <summary>Raíz de dimensiones</summary> * DimensionsRoot, * /// <summary>Dimensión</summary> * Dimension, * /// <summary>Raíz de informes</summary> * ReportsRoot, * /// <summary>Informe</summary> * Report * } * /// <summary> * /// Tipo de icono * /// </summary> * public enum IconType * { * Connection, * Deployment, * Project, * Path, * File, * Schema, * Table, * View, * Key, * Field, * Error, * Loading, * Storage, * Report, * DataSourceSql, * Dimension * } * // Variables privadas * private IconType _icon; */ public BaseTreeNodeViewModel(BaseTreeViewModel trvTree, IHierarchicalViewModel parent, string text, string type, string icon, object tag, bool lazyLoad, bool isBold = false, MvvmColor foreground = null) : base(parent, text, tag, lazyLoad, isBold, foreground) { TreeViewModel = trvTree; Type = type; Icon = icon; }
public NodeMessageViewModel(BaseTreeViewModel trvTree, BaseTreeNodeViewModel parent, string message, string type = "Message", string icon = "Loading") : base(trvTree, parent, message, type, icon, null, false, false, BauMvvm.ViewModels.Media.MvvmColor.DarkGreen) { }
public BaseTreeNodeAsyncViewModel(BaseTreeViewModel trvTree, IHierarchicalViewModel parent, string text, string type, string icon, object tag, bool lazyLoad, bool isBold = false, MvvmColor foreground = null) : base(trvTree, parent, text, type, icon, tag, lazyLoad, isBold, foreground) { }