Пример #1
0
        /// <summary>
        /// Gets an array of CompartmentDescription for all compartments shown on this shape
        /// (including compartments defined on base shapes).
        /// </summary>
        /// <returns></returns>
        public override DslDiagrams::CompartmentDescription[] GetCompartmentDescriptions()
        {
            if (compartmentDescriptions == null)
            {
                // Initialize the array of compartment descriptions if we haven't done so already.
                // First we get any compartment descriptions in base shapes, and add on any compartments
                // that are defined on this shape.
                DslDiagrams::CompartmentDescription[] baseCompartmentDescriptions = base.GetCompartmentDescriptions();

                int localCompartmentsOffset = 0;
                if (baseCompartmentDescriptions != null)
                {
                    localCompartmentsOffset = baseCompartmentDescriptions.Length;
                }
                compartmentDescriptions = new DslDiagrams::ElementListCompartmentDescription[1 + localCompartmentsOffset];

                if (baseCompartmentDescriptions != null)
                {
                    baseCompartmentDescriptions.CopyTo(compartmentDescriptions, 0);
                }
                {
                    string title = global::ORMSolutions.ORMArchitect.Views.BarkerERView.BarkerERShapeDomainModel.SingletonResourceManager.GetString("BarkerEntityShapeAttributesCompartmentTitle");
                    DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("AttributesCompartment", title,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.LightGray), false,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
                                                                                                                                   null, null,
                                                                                                                                   false);
                    compartmentDescriptions[localCompartmentsOffset + 0] = descriptor;
                }
            }

            return(BarkerEntityShape.compartmentDescriptions);
        }
Пример #2
0
        /// <summary>
        /// Gets an array of CompartmentDescription for all compartments shown on this shape
        /// (including compartments defined on base shapes).
        /// </summary>
        /// <returns></returns>
        public override DslDiagrams::CompartmentDescription[] GetCompartmentDescriptions()
        {
            if (compartmentDescriptions == null)
            {
                // Initialize the array of compartment descriptions if we haven't done so already.
                // First we get any compartment descriptions in base shapes, and add on any compartments
                // that are defined on this shape.
                DslDiagrams::CompartmentDescription[] baseCompartmentDescriptions = base.GetCompartmentDescriptions();

                int localCompartmentsOffset = 0;
                if (baseCompartmentDescriptions != null)
                {
                    localCompartmentsOffset = baseCompartmentDescriptions.Length;
                }
                compartmentDescriptions = new DslDiagrams::ElementListCompartmentDescription[3 + localCompartmentsOffset];

                if (baseCompartmentDescriptions != null)
                {
                    baseCompartmentDescriptions.CopyTo(compartmentDescriptions, 0);
                }
                {
                    DslDiagrams::FontSettings itemFont = new DslDiagrams::FontSettings();
                    itemFont.Style = global::System.Drawing.FontStyle.Italic;
                    itemFont.Size  = 9 / 72.0F;
                    string title = global::Maxsys.VisualLAL.VisualLALDomainModel.SingletonResourceManager.GetString("SimboloCompartmentNocaoCompartmentTitle");
                    DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("NocaoCompartment", title,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.LightGray), false,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
                                                                                                                                   null, itemFont,
                                                                                                                                   false);
                    compartmentDescriptions[localCompartmentsOffset + 0] = descriptor;
                }
                {
                    DslDiagrams::FontSettings itemFont = new DslDiagrams::FontSettings();
                    itemFont.Style = global::System.Drawing.FontStyle.Italic;
                    itemFont.Size  = 9 / 72.0F;
                    string title = global::Maxsys.VisualLAL.VisualLALDomainModel.SingletonResourceManager.GetString("SimboloCompartmentImpactoCompartmentTitle");
                    DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("ImpactoCompartment", title,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.LightGray), false,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
                                                                                                                                   null, itemFont,
                                                                                                                                   false);
                    compartmentDescriptions[localCompartmentsOffset + 1] = descriptor;
                }
                {
                    DslDiagrams::FontSettings itemFont = new DslDiagrams::FontSettings();
                    itemFont.Style = global::System.Drawing.FontStyle.Italic;
                    itemFont.Size  = 9 / 72.0F;
                    string title = global::Maxsys.VisualLAL.VisualLALDomainModel.SingletonResourceManager.GetString("SimboloCompartmentSinonimoCompartmentTitle");
                    DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("SinonimoCompartment", title,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.LightGray), false,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
                                                                                                                                   null, itemFont,
                                                                                                                                   false);
                    compartmentDescriptions[localCompartmentsOffset + 2] = descriptor;
                }
            }

            return(SimboloCompartment.compartmentDescriptions);
        }
Пример #3
0
        /// <summary>
        /// Gets an array of CompartmentDescription for all compartments shown on this shape
        /// (including compartments defined on base shapes).
        /// </summary>
        /// <returns></returns>
        public override DslDiagrams::CompartmentDescription[] GetCompartmentDescriptions()
        {
            if (compartmentDescriptions == null)
            {
                // Initialize the array of compartment descriptions if we haven't done so already.
                // First we get any compartment descriptions in base shapes, and add on any compartments
                // that are defined on this shape.
                DslDiagrams::CompartmentDescription[] baseCompartmentDescriptions = base.GetCompartmentDescriptions();

                int localCompartmentsOffset = 0;
                if (baseCompartmentDescriptions != null)
                {
                    localCompartmentsOffset = baseCompartmentDescriptions.Length;
                }
                compartmentDescriptions = new DslDiagrams::ElementListCompartmentDescription[1 + localCompartmentsOffset];

                if (baseCompartmentDescriptions != null)
                {
                    baseCompartmentDescriptions.CopyTo(compartmentDescriptions, 0);
                }
                {
                    string title = global::Microsoft.EntityFrameworkCore.Modeling.EntityFrameworkCoreDomainModel.SingletonResourceManager.GetString("EntityTypeShapePropertiesTitle");
                    DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("Properties", title,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.LightGray), false,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
                                                                                                                                   null, null,
                                                                                                                                   false);
                    compartmentDescriptions[localCompartmentsOffset + 0] = descriptor;
                }
            }

            return(EntityTypeShape.compartmentDescriptions);
        }
Пример #4
0
        /// <summary>
        /// Gets an array of CompartmentDescription for all compartments shown on this shape
        /// (including compartments defined on base shapes).
        /// </summary>
        /// <returns></returns>
        public override DslDiagrams::CompartmentDescription[] GetCompartmentDescriptions()
        {
            if (compartmentDescriptions == null)
            {
                // Initialize the array of compartment descriptions if we haven't done so already.
                // First we get any compartment descriptions in base shapes, and add on any compartments
                // that are defined on this shape.
                DslDiagrams::CompartmentDescription[] baseCompartmentDescriptions = base.GetCompartmentDescriptions();

                int localCompartmentsOffset = 0;
                if (baseCompartmentDescriptions != null)
                {
                    localCompartmentsOffset = baseCompartmentDescriptions.Length;
                }
                compartmentDescriptions = new DslDiagrams::ElementListCompartmentDescription[3 + localCompartmentsOffset];

                if (baseCompartmentDescriptions != null)
                {
                    baseCompartmentDescriptions.CopyTo(compartmentDescriptions, 0);
                }
                {
                    string title = global::UPM_IPS.MBRDCMDMI_ProyectoIPS.MBRDCMDMI.MBRDCMDMIDomainModel.SingletonResourceManager.GetString("ClasePrincipalShapeidentificadorTitle");
                    DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("identificador", title,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.LightGray), false,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
                                                                                                                                   null, null,
                                                                                                                                   false);
                    compartmentDescriptions[localCompartmentsOffset + 0] = descriptor;
                }
                {
                    string title = global::UPM_IPS.MBRDCMDMI_ProyectoIPS.MBRDCMDMI.MBRDCMDMIDomainModel.SingletonResourceManager.GetString("ClasePrincipalShapeatributosTitle");
                    DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("atributos", title,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.LightGray), false,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
                                                                                                                                   null, null,
                                                                                                                                   false);
                    compartmentDescriptions[localCompartmentsOffset + 1] = descriptor;
                }
                {
                    string title = global::UPM_IPS.MBRDCMDMI_ProyectoIPS.MBRDCMDMI.MBRDCMDMIDomainModel.SingletonResourceManager.GetString("ClasePrincipalShapeoperacionesTitle");
                    DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("operaciones", title,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.LightGray), false,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
                                                                                                                                   null, null,
                                                                                                                                   false);
                    compartmentDescriptions[localCompartmentsOffset + 2] = descriptor;
                }
            }

            return(ClasePrincipalShape.compartmentDescriptions);
        }
Пример #5
0
        /// <summary>
        /// Gets an array of CompartmentDescription for all compartments shown on this shape
        /// (including compartments defined on base shapes).
        /// </summary>
        /// <returns></returns>
        public override DslDiagrams::CompartmentDescription[] GetCompartmentDescriptions()
        {
            if (compartmentDescriptions == null)
            {
                // Initialize the array of compartment descriptions if we haven't done so already.
                // First we get any compartment descriptions in base shapes, and add on any compartments
                // that are defined on this shape.
                DslDiagrams::CompartmentDescription[] baseCompartmentDescriptions = base.GetCompartmentDescriptions();

                int localCompartmentsOffset = 0;
                if (baseCompartmentDescriptions != null)
                {
                    localCompartmentsOffset = baseCompartmentDescriptions.Length;
                }
                compartmentDescriptions = new DslDiagrams::ElementListCompartmentDescription[2 + localCompartmentsOffset];

                if (baseCompartmentDescriptions != null)
                {
                    baseCompartmentDescriptions.CopyTo(compartmentDescriptions, 0);
                }
                {
                    string title = global::AgileFx.AgileModeler.AgileModelerDomainModel.SingletonResourceManager.GetString("ClassShapePropertiesCompartmentTitle");
                    DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("PropertiesCompartment", title,
                                                                                                                                   global::System.Drawing.Color.FromArgb(255, 229, 237, 229), false,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
                                                                                                                                   null, null,
                                                                                                                                   false);
                    compartmentDescriptions[localCompartmentsOffset + 0] = descriptor;
                }
                {
                    string title = global::AgileFx.AgileModeler.AgileModelerDomainModel.SingletonResourceManager.GetString("ClassShapeNavigationPropertiesCompartmentTitle");
                    DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("NavigationPropertiesCompartment", title,
                                                                                                                                   global::System.Drawing.Color.FromArgb(255, 229, 237, 229), false,
                                                                                                                                   global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
                                                                                                                                   null, null,
                                                                                                                                   false);
                    compartmentDescriptions[localCompartmentsOffset + 1] = descriptor;
                }
            }

            return(ClassShape.compartmentDescriptions);
        }
Пример #6
0
		/// <summary>
		/// Gets an array of CompartmentDescription for all compartments shown on this shape
		/// (including compartments defined on base shapes).
		/// </summary>
		/// <returns></returns>
		public override DslDiagrams::CompartmentDescription[] GetCompartmentDescriptions()
		{
			if(compartmentDescriptions == null)
			{
				// Initialize the array of compartment descriptions if we haven't done so already. 
				// First we get any compartment descriptions in base shapes, and add on any compartments
				// that are defined on this shape. 
				DslDiagrams::CompartmentDescription[] baseCompartmentDescriptions = base.GetCompartmentDescriptions();
				
				int localCompartmentsOffset = 0;
				if(baseCompartmentDescriptions!=null)
				{
					localCompartmentsOffset = baseCompartmentDescriptions.Length;
				}
				compartmentDescriptions = new DslDiagrams::ElementListCompartmentDescription[1+localCompartmentsOffset];
				
				if(baseCompartmentDescriptions!=null)
				{
					baseCompartmentDescriptions.CopyTo(compartmentDescriptions, 0);	
				}
				{
					string title = global::LinqToRdf.Design.LinqToRdfDomainModel.SingletonResourceManager.GetString("InterfaceShapeOperationsCompartmentTitle");
					DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("OperationsCompartment", title, 
						global::System.Drawing.Color.FromArgb(255, 235, 235, 235), false, 
						global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
						null, null,
						false);
					compartmentDescriptions[localCompartmentsOffset+0] = descriptor;
				}
			}
			
			return InterfaceShape.compartmentDescriptions;
		}
Пример #7
0
		/// <summary>
		/// Gets an array of CompartmentDescription for all compartments shown on this shape
		/// (including compartments defined on base shapes).
		/// </summary>
		/// <returns></returns>
		public override DslDiagrams::CompartmentDescription[] GetCompartmentDescriptions()
		{
			if(compartmentDescriptions == null)
			{
				// Initialize the array of compartment descriptions if we haven't done so already. 
				// First we get any compartment descriptions in base shapes, and add on any compartments
				// that are defined on this shape. 
				DslDiagrams::CompartmentDescription[] baseCompartmentDescriptions = base.GetCompartmentDescriptions();
				
				int localCompartmentsOffset = 0;
				if(baseCompartmentDescriptions!=null)
				{
					localCompartmentsOffset = baseCompartmentDescriptions.Length;
				}
				compartmentDescriptions = new DslDiagrams::ElementListCompartmentDescription[1+localCompartmentsOffset];
				
				if(baseCompartmentDescriptions!=null)
				{
					baseCompartmentDescriptions.CopyTo(compartmentDescriptions, 0);	
				}
				{
					string title = global::Castle.ActiveWriter.ActiveWriterDomainModel.SingletonResourceManager.GetString("NestedClassShapePropertiesTitle");
					DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("Properties", title, 
						global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.LightGray), false, 
						global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
						null, null,
						false);
					compartmentDescriptions[localCompartmentsOffset+0] = descriptor;
				}
			}
			
			return NestedClassShape.compartmentDescriptions;
		}
Пример #8
0
		/// <summary>
		/// Gets an array of CompartmentDescription for all compartments shown on this shape
		/// (including compartments defined on base shapes).
		/// </summary>
		/// <returns></returns>
		public override DslDiagrams::CompartmentDescription[] GetCompartmentDescriptions()
		{
			if(compartmentDescriptions == null)
			{
				// Initialize the array of compartment descriptions if we haven't done so already. 
				// First we get any compartment descriptions in base shapes, and add on any compartments
				// that are defined on this shape. 
				DslDiagrams::CompartmentDescription[] baseCompartmentDescriptions = base.GetCompartmentDescriptions();
				
				int localCompartmentsOffset = 0;
				if(baseCompartmentDescriptions!=null)
				{
					localCompartmentsOffset = baseCompartmentDescriptions.Length;
				}
				compartmentDescriptions = new DslDiagrams::ElementListCompartmentDescription[1+localCompartmentsOffset];
				
				if(baseCompartmentDescriptions!=null)
				{
					baseCompartmentDescriptions.CopyTo(compartmentDescriptions, 0);	
				}
				{
					string title = global::Microsoft.Practices.ServiceFactory.ServiceContracts.ServiceContractDslDomainModel.SingletonResourceManager.GetString("OperationShapeFaultsTitle");
					DslDiagrams::ElementListCompartmentDescription descriptor = new DslDiagrams::ElementListCompartmentDescription("Faults", title, 
						global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false, 
						global::System.Drawing.Color.FromKnownColor(global::System.Drawing.KnownColor.White), false,
						null, null,
						false);
					compartmentDescriptions[localCompartmentsOffset+0] = descriptor;
				}
			}
			
			return OperationShape.compartmentDescriptions;
		}