Class: CommonWidgets
Defined in: | web-src/coffee/gui/widgetmgr.coffee |
Inherits: | WidgetMgr |
Overview
Common widgets used in all GUIs (UML, EER, etc.).
Instance Method Summary
- # (void) show_error(status, error) Report an error to the user.
- # (void) show_donewidget(cellid, callback = null) Show a "done" widget on a Joint cell.
- # (void) traffic_light_green() Put the traffic light on green.
- # (void) traffic_light_red() Put the traffic light on red.
- # (void) traffic_light_yellow() Put the traffic light on red.
- # (void) show_import_json() Show the "Import JSON" modal dialog.
- # (void) set_insert_owllink(str) Set the OWLlink dara at the "Insert OWLlink" section.
- # (void) show_export_json() Update and show the "Export JSON String" section.
- # (void) refresh_export_json() Refresh the content of the "Export JSON String" section.
- # (void) refresh_ns()
- # (void) reset_ns()
Constructor Details
#
(void)
constructor()
Instance Method Details
#
(void)
show_error(status, error)
Report an error to the user.
#
(void)
show_donewidget(cellid, callback = null)
Show a "done" widget on a Joint cell.
#
(void)
traffic_light_green()
Put the traffic light on green.
#
(void)
traffic_light_red()
Put the traffic light on red.
#
(void)
traffic_light_yellow()
Put the traffic light on red.
#
(void)
show_import_json()
Show the "Import JSON" modal dialog.
#
(void)
set_insert_owllink(str)
Set the OWLlink dara at the "Insert OWLlink" section.
#
(void)
show_export_json()
Update and show the "Export JSON String" section.
#
(void)
refresh_export_json()
Refresh the content of the "Export JSON String" section.
No need to show it.
#
(void)
refresh_ns()
#
(void)
reset_ns()