Add comments to grid controls

This commit is contained in:
YNH Webdev
2013-09-22 14:35:26 +02:00
parent 57dd4ce259
commit f360e8a867
12 changed files with 85 additions and 72 deletions

View File

@@ -10,7 +10,7 @@ class
create
make
feature {NONE}
feature {NONE} -- Initialization
make (a_header, a_field: STRING)
do
@@ -19,7 +19,19 @@ feature {NONE}
sorting_name := a_field
end
feature
feature -- Render
render_column (e: WSF_ENTITY): STRING
-- Return the rendered column cell for a specific entity (row)
do
if attached e.item (field_name) as data then
Result := data.out
else
Result := "[VOID]"
end
end
feature -- Properties
header: STRING
@@ -29,13 +41,4 @@ feature
field_name: STRING
render_column (e: WSF_ENTITY): STRING
do
if attached e.item (field_name) as data then
Result := data.out
else
Result := "[VOID]"
end
end
end