Class: GUIIMPL
Defined in: | web-src/coffee/gui/guiimpl.coffee |
Overview
Central GUI do-it-all class...
Instance Method Summary
- # (void) disable()
- # (void) enable()
- # (void) set_graph(graph)
- # (void) set_paper(paper)
- # (void) set_urlprefix(str)
- # (void) to_metamodel()
- # (void) switch_to_erd()
- # (void) to_erd()
- # (void) update_translation(data)
- # (void) update_metamodel(data)
- # (void) on_cell_clicked(cellview, event, x, y) What to do when the user clicked on a cellView.
- # (void) clear_relationship() Clear inputs from relationships form.
- # (void) update_satisfiable(data) Update the interface with satisfiable information.
- # (void) update_full_reasoning(data) Update traffic light and models after full reasoning Draft version: only update textarea with data
- # (void) set_trafficlight(obj) Set the traffic-light according to the JSON object recived by the server.
- # (void) check_satisfiable() Send a POST to the server for checking if the diagram is satisfiable.
- # (void) update_translation(data) Update the translation information on the GUI and show it to the user.
- # (void) translate_formal(strategy, syntax) Translate the current model into a formalization.
- # (void) full_reasoning(strategy, reasoner) Full reasoning on the current model and selecting a reasoner.
- # (void) translate_owllink() Deprecated Deprecated. Use translate_formal() instead.
- # (void) change_to_details_page()
- # (void) change_to_diagram_page()
- # (void) hide_toolbar()
- # (void) hide_umldiagram_page()
- # (void) show_umldiagram_page()
- # (void) hide_eerdiagram_page()
- # (void) show_eerdiagram_page()
- # (void) set_association_state(class_id, mult, roles, name, w_class, assoc_t) Change the interface into a "new association" state.
- # (void) set_isa_state(class_id, disjoint = false, covering = false) Change to the IsA GUI State so the user can select the child for the parent.
- # (void) set_selection_state() Change the interface into a "selection" state.
- # (void) show_insert_owllink() # Show the "Insert OWLlink" section.
Constructor Details
#
(void)
constructor(graph = null, paper = null)
Instance Method Details
#
(void)
disable()
#
(void)
enable()
#
(void)
set_graph(graph)
#
(void)
set_paper(paper)
#
(void)
set_urlprefix(str)
#
(void)
to_metamodel()
#
(void)
switch_to_erd()
#
(void)
to_erd()
#
(void)
update_translation(data)
#
(void)
update_metamodel(data)
#
(void)
on_cell_clicked(cellview, event, x, y)
What to do when the user clicked on a cellView.
#
(void)
clear_relationship()
Clear inputs from relationships form.
#
(void)
update_satisfiable(data)
Update the interface with satisfiable information.
#
(void)
update_full_reasoning(data)
Update traffic light and models after full reasoning
Draft version: only update textarea with data
#
(void)
set_trafficlight(obj)
Set the traffic-light according to the JSON object recived by the server.
#
(void)
check_satisfiable()
Send a POST to the server for checking if the diagram is satisfiable.
#
(void)
update_translation(data)
Update the translation information on the GUI and show it to the user.
Depending on the format selected by the user show it as HTML or inside a textarea tag.
string.
#
(void)
translate_formal(strategy, syntax)
Translate the current model into a formalization.
#
(void)
full_reasoning(strategy, reasoner)
Full reasoning on the current model and selecting a reasoner.
#
(void)
translate_owllink()
# Event handler for translate diagram to OWLlink using Ajax and the api/translate/berardi.php translator URL.
#
(void)
change_to_details_page()
#
(void)
change_to_diagram_page()
#
(void)
hide_toolbar()
#
(void)
hide_umldiagram_page()
#
(void)
show_umldiagram_page()
#
(void)
hide_eerdiagram_page()
#
(void)
show_eerdiagram_page()
#
(void)
set_association_state(class_id, mult, roles, name, w_class, assoc_t)
Change the interface into a "new association" state.
#
(void)
set_isa_state(class_id, disjoint = false, covering = false)
Change to the IsA GUI State so the user can select the child for the parent.
#
(void)
set_selection_state()
Change the interface into a "selection" state.
#
(void)
show_insert_owllink()
# Show the "Insert OWLlink" section.