Label List: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Label lists contain text/value pairs, like C enumerations. Table columns and attributes can be formatted to display and accept input using a label list. | |||
The advantages of using a label list include: | The advantages of using a label list include: | ||
Line 7: | Line 7: | ||
*A label can be renamed and all references to it will be instantly updated | *A label can be renamed and all references to it will be instantly updated | ||
A number of [[Routine Operations]] provide methods to create and modify labels and | A number of [[Routine Operations]] provide methods to create and modify labels and label lists. The [[DataSet]] mechanism handles saving, loading and merging of labels along with other data that uses them. | ||
====Modeller Created Label Lists==== | |||
====Default Label Lists==== | |||
{{main|Default Label Lists}} | |||
Planimate includes a number of [[Default Label Lists]] with useful enumerations that the modeller can extend. | Planimate includes a number of [[Default Label Lists]] with useful enumerations that the modeller can extend. | ||
====System Label Lists==== | |||
{{main|System Label Lists}} | |||
A set of [[System Label Lists]] enable the model to access its own internal structure,. Unlike the default label lists, these cannot be altered as label lists; they are defined by another structure, for example broadcasts. | A set of [[System Label Lists]] enable the model to access its own internal structure,. Unlike the default label lists, these cannot be altered as label lists; they are defined by another structure, for example broadcasts. | ||
====[[Label SubSet|Label SubSets]]==== | |||
====[[MultiLabel List|MultiLabel Lists]]==== | |||
[[Category:~TBD]] | [[Category:~TBD]] | ||
[[Category:Labellist]] | [[Category:Labellist]] | ||
[[Category:Data]] | [[Category:Data]] |
Latest revision as of 12:13, 15 July 2008
Label lists contain text/value pairs, like C enumerations. Table columns and attributes can be formatted to display and accept input using a label list.
The advantages of using a label list include:
- A given string is stored only once, reducing replication and chances of errors
- Tables with millions of rows can use labels without wasting memory for for individual cell strings
- They are convenient for creating selection lists (eg: combo-box selection cells) and menus
- A label can be renamed and all references to it will be instantly updated
A number of Routine Operations provide methods to create and modify labels and label lists. The DataSet mechanism handles saving, loading and merging of labels along with other data that uses them.
Modeller Created Label Lists
Default Label Lists
- Main article: Default Label Lists
Planimate includes a number of Default Label Lists with useful enumerations that the modeller can extend.
System Label Lists
- Main article: System Label Lists
A set of System Label Lists enable the model to access its own internal structure,. Unlike the default label lists, these cannot be altered as label lists; they are defined by another structure, for example broadcasts.