Exemplo n.º 1
0
        /// <summary>
        /// Creates a new <see cref="AttributeElementListCompartment"/>.
        /// </summary>
        /// <param name="store">The current <see cref="Store"/> of the model.</param>
        /// <returns>AttributeElementListCompartment</returns>
        public override Compartment CreateCompartment(Store store)
        {
            AttributeElementListCompartment AttributeElementListCompartment = new AttributeElementListCompartment(store, null);

            if (base.IsDefaultCollapsed)
            {
                AttributeElementListCompartment.IsExpanded = false;
            }
            return(AttributeElementListCompartment);
        }
		/// <summary>
		/// Creates a new <see cref="AttributeElementListCompartment"/>.
		/// </summary>
		/// <param name="store">The current <see cref="Store"/> of the model.</param>
		/// <returns>AttributeElementListCompartment</returns>
		public override Compartment CreateCompartment(Store store)
		{
			AttributeElementListCompartment AttributeElementListCompartment = new AttributeElementListCompartment(store, null);
			if (base.IsDefaultCollapsed)
			{
				AttributeElementListCompartment.IsExpanded = false;
			}
			return AttributeElementListCompartment;
		}
		/// <summary>
		/// Creates a new <see cref="AttributeElementListCompartment"/>.
		/// </summary>
		/// <param name="partition">The current <see cref="Partition"/> of the diagram.</param>
		/// <returns>AttributeElementListCompartment</returns>
		public override Compartment CreateCompartment(Partition partition)
		{
			AttributeElementListCompartment AttributeElementListCompartment = new AttributeElementListCompartment(partition, null);
			if (base.IsDefaultCollapsed)
			{
				AttributeElementListCompartment.IsExpanded = false;
			}
			return AttributeElementListCompartment;
		}