Eiffel code and ECFs update to support new agent notations.

Removed contrib/library/.../json library.
This commit is contained in:
2016-01-18 16:41:10 +01:00
parent 3bb9101b07
commit 1a4db1d7c6
207 changed files with 226 additions and 7818 deletions

View File

@@ -9,7 +9,7 @@ deferred class
feature --Event handling
set_on_update_agent (f: PROCEDURE [ANY, TUPLE])
set_on_update_agent (f: PROCEDURE)
-- Set update listener
do
on_update_agent := f
@@ -74,7 +74,7 @@ feature -- Properties
deferred
end
on_update_agent: detachable PROCEDURE [ANY, TUPLE]
on_update_agent: detachable PROCEDURE
;note
copyright: "2011-2014, Yassin Hassan, Severin Munger, Jocelyn Fiat, Eiffel Software and others"

View File

@@ -16,7 +16,7 @@ inherit
feature -- Event handling
set_on_update_page_agent (f: PROCEDURE [ANY, TUPLE])
set_on_update_page_agent (f: PROCEDURE)
-- Set paging update listener
do
on_update_page_agent := f
@@ -77,7 +77,7 @@ feature -- Properties
Result := (row_count / page_size).ceiling
end
on_update_page_agent: detachable PROCEDURE [ANY, TUPLE]
on_update_page_agent: detachable PROCEDURE
;note
copyright: "2011-2014, Yassin Hassan, Severin Munger, Jocelyn Fiat, Eiffel Software and others"

View File

@@ -35,7 +35,7 @@ feature {NONE} -- Initialization
end
end
make_with_agent (c: FUNCTION [ANY, TUPLE [READABLE_STRING_GENERAL], JSON_ARRAY])
make_with_agent (c: FUNCTION [READABLE_STRING_GENERAL, JSON_ARRAY])
-- Initialize with autocompletion function
do
make_input ("")
@@ -67,7 +67,7 @@ feature -- Callback
feature -- Properties
create_json_list: FUNCTION [ANY, TUPLE [READABLE_STRING_GENERAL], JSON_ARRAY]
create_json_list: FUNCTION [READABLE_STRING_GENERAL, JSON_ARRAY]
-- The function which is called to give a list of suggestions to a given user input
template: READABLE_STRING_32

View File

@@ -100,7 +100,7 @@ feature -- Properties
checked_value: STRING_32
-- The value of this checkbox
change_event: detachable PROCEDURE [ANY, TUPLE]
change_event: detachable PROCEDURE
-- Function to be executed on change
;note

View File

@@ -224,13 +224,13 @@ feature -- Properties
file: detachable WSF_FILE_DEFINITION
-- Text to be displayed
change_event: detachable PROCEDURE [ANY, TUPLE]
change_event: detachable PROCEDURE
-- Procedure to be execued on change
upload_done_event: detachable PROCEDURE [ANY, TUPLE]
upload_done_event: detachable PROCEDURE
-- Procedure to be execued when upload was successful
upload_function: detachable FUNCTION [ANY, TUPLE [ITERABLE [WSF_UPLOADED_FILE]], detachable STRING_32]
upload_function: detachable FUNCTION [ITERABLE [WSF_UPLOADED_FILE], detachable STRING_32]
-- Store uploaded file and return server side file id
;note

View File

@@ -156,7 +156,7 @@ feature -- Properties
type: READABLE_STRING_32
-- Type of this input control
change_event: detachable PROCEDURE [ANY, TUPLE]
change_event: detachable PROCEDURE
-- Procedure to be execued on change
;note

View File

@@ -40,7 +40,7 @@ feature -- Implementation
feature -- Properties
handler: FUNCTION [ANY, TUPLE [G], BOOLEAN]
handler: FUNCTION [G, BOOLEAN]
-- The function which is used to validate inputs
end

View File

@@ -125,7 +125,7 @@ feature -- Properties
text: STRING_32
-- The text currently displayed on this button
click_event: detachable PROCEDURE [ANY, TUPLE]
click_event: detachable PROCEDURE
-- Event that is executed when button is clicked
;note