From Protege Wiki

Revision as of 13:04, December 1, 2016 by Csnyulas (Talk | contribs)

Jump to: navigation, search

InstanceGridWidget Layout Configuration

This page provides a basic overview of the different configuration options that can be set in form of parameter-value pairs for the InstanceGridWidget (edu.stanford.bmir.protege.web.client.ui.portlet.propertyForm.InstanceGridWidget) in WebProtege.

The field_type parameter

The field_type parameter sets the "type" of a field (i.e. a data cell) in the grid.
To clearly separate the content of the field from it presentation, and the way these values are edited, we have created separate parameters (field_value_type and field_editor) to control those other aspects.

value meaning
linkicon a link icon that provides a hyperlink to the URL represented by this cell's value
nolink displays a URL without creating a hyperlink to it (which would be the default behavior in the absence of this parameter specification)
checkbox shows a standard checkbox, where the checked checkbox represents the value "true" and the unchcheck checkbox represents the value false (or in case of non-boolean fields, any other value than "true"). Unknown values are represented with a checkbox containing a red question mark.
checkbox_important uses a three-way checkbox to represent "Not allowed"-"Allowed"-"Required" states, as 0-1-2 values. This is used by WHO, in the ICD-11 editor, iCAT.
radio a radio button can represent true and false states for a number of items, with the restriction that always there is only one item is selected as true at a time.

value meaning
ligh_green light green

value meaning
ligh_green light green

value meaning
ligh_green light green

value meaning
ligh_green light green

To get a more up-to-date list of all the supported parameters and values you may want to check out the latest version of the edu.stanford.bmir.protege.web.client.ui.portlet.propertyForm.FormConstants class.

Personal tools