InstanceGridWidget

From Protege Wiki
Revision as of 17:07, November 30, 2016 by Csnyulas (talk | contribs) (Set up a template for documenting the field_type parameter)

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 aspects.

field_type
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
checkbox_important
radio
combobox
class_browsertext
instance_browsertext
instance_property


field_value_type
value meaning
ligh_green light green


field_editor
value meaning
ligh_green light green


field_align
value meaning
ligh_green light green


field_bg_color
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.