page header

Typed View Editor, Code Generation Info Tab

The Code Generation Info tab contains the information and editors for the code generation related data of the typed view definition and its containing elements like fields. Per element selected in the Element combo box, there are at most three sub-tabs available for settings, and code generation related data. Each sub-tab is described below. For typed view definitions, the Additional namespaces tab and the Additional interfaces tab are disabled as they're not used in the generated code.

Setting values sub-tab

This sub-tab contains all settings defined by the chosen target framework for the element selected in the Element combo box. Each setting has its value set according to the default in the project specific settings available in the Project Properties Editor. Changing the value will change it for the element chosen in the Element combo box, changing the default in the Project Properties editor afterwards isn't affecting the element specific value. It's recommended to set the defaults in the Project Properties Editor first, and then tweak the individual element's setting if it's required to specify a different value from the default.

Custom properties sub-tab

This sub-tab allows you to specify name-value text pairs for the selected element, which can be used during code generation in template logic and which are emitted in XML DOC comments in the generated code.

Attributes sub-tab

The attributes sub-tab is divided into two parts: the attributes inherited from the project, which are specified in the Project Properties Editor, and the attributes defined for the specific element selected in the Element combo-box. Attributes are defined using Attribute Definition Macros and are generated as attribute definitions using the target language specific constructs on the code-element representing the element chosen in the Element combo box. Attribute definitions don't need [] or <> around the definitions, these are added automatically by the code generator.

By default, an attribute which is defined for a given element type, e.g. 'typed view definition', is automatically inherited by all instances of that type, e.g. all typed view definitions. You can decide not to inherit a particular attribute definition for a particular element by selecting the element in the Element combo box and unchecking the checkbox in the 'Inherit' column next to the attribute definition you don't want to inherit for that particular element

To define a new attribute, add the new definition in the top-row of the grid at the bottom half of the sub-tab and hit Enter to add it. To remove an attribute definition added manually for an element, select it using the row header and press DEL.


LLBLGen Pro Designer v3.0 documentation. ©2002-2010 Solutions Design