Class: GUIEER
Defined in: | web-src/coffee/gui/eer/gui.coffee |
Inherits: | gui.GUIIMPL |
Overview
Central GUI do-it-all class...
Instance Method Summary
- # (void) disable()
- # (void) enable()
- # (void) set_urlprefix(str)
- # (void) on_cell_clicked(cellview, event, x, y) # What to do when the user clicked on a cellView.
- # (void) clear_relationship()
- # (void) set_editclass_classid(model_id)
- # (void) update_satisfiable(data) Update the interface with satisfiable information.
- # (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_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() Hide the left side "Tools" toolbar
- # (void) hide_eerdiagram_page()
- # (void) show_eerdiagram_page()
- # (void) set_association_state(class_id, mult, roles, name) 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.
- # (void) update_metamodel(data)
Constructor Details
#
(void)
constructor(graph, paper)
Create a GUIERR instance.
Instance Method Details
#
(void)
disable()
#
(void)
enable()
#
(void)
set_urlprefix(str)
#
(void)
on_cell_clicked(cellview, event, x, y)
# What to do when the user clicked on a cellView.
#
(void)
clear_relationship()
#
(void)
set_editclass_classid(model_id)
#
(void)
update_satisfiable(data)
Update the interface with satisfiable information.
#
(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_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()
Hide the left side "Tools" toolbar
#
(void)
hide_eerdiagram_page()
#
(void)
show_eerdiagram_page()
#
(void)
set_association_state(class_id, mult, roles, name)
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.
#
(void)
update_metamodel(data)