SMS:Dynamic Model Interface Schema: Difference between revisions
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
The dialog is divided into 2 sections, the tree and the widget view. The tree is on the left side of the dialog and it contains groups and items that represent data. Clicking on a group or item will result with the widget view being updated to match the selected tree or group item. | The dialog is divided into 2 sections, the tree and the widget view. The tree is on the left side of the dialog and it contains groups and items that represent data. Clicking on a group or item will result with the widget view being updated to match the selected tree or group item. | ||
* Order of the tree items and groups will match the order defined in the . | * Order of the tree items and groups will match the order defined in the XML file. | ||
* Clicking on group will display all children items in the widget view | * Clicking on group will display all children items in the widget view. | ||
* Clicking on a single item will display associated widgets in widget view | * Clicking on a single item will display associated widgets in widget view. | ||
* Tree item will also display the values in a non-editable field | * Tree item will also display the values in a non-editable field. | ||
* Unique_name use format: file::unique_name#value | * Unique_name use format: file::unique_name#value | ||
* Widgets or groups of widgets can be loaded from an outside file by using <link_to_xml>. | * Widgets or groups of widgets can be loaded from an outside file by using <link_to_xml>. | ||
* Multiple widgets when displayed on right side can be expanded/collapsed | * Multiple widgets when displayed on right side can be expanded/collapsed – TO BE DETERMINED | ||
* Can have nested groups | * Can have nested groups | ||
* Keywords are words SMS has reserved in the schema and can not be used as unique names. All keywords will start with a “#”. Here is a list of available keywords: | * Keywords are words SMS has reserved in the schema and can not be used as unique names. All keywords will start with a “#”. Here is a list of available keywords: | ||
<blockquote> | <blockquote> | ||
* #card_name | * #card_name | ||
* #geom_name | * #geom_name – name of geometry as it shows up in the project explorer | ||
* #project_name | * #project_name | ||
* #value | * #value | ||
* #units | * #units | ||
* #xmdf_path | * #xmdf_path – path inside the XMDF file | ||
* #file_name | * #file_name | ||
* #file_path | * #file_path | ||
* #sms_path | * #sms_path – path in sms project explorer once inside a geometric item | ||
* #count (used for a widget in a table for counting the rows/columns) | * #count (used for a widget in a table for counting the rows/columns) | ||
* #geom_guid | * #geom_guid |
Revision as of 15:56, 30 December 2013
The dynamic model interface provides a way to quickly generate an interface for a numeric model.
Dynamic dialogs are a quick way to generate dialogs without having to compile code. To add or delete a widget on a dynamic dialog, the user simply modifies the XML document. When the modified document is loaded, the new/modified dialog exists. The XML document defines the layout, behavior and the different dialog controls.
The dialog is divided into 2 sections, the tree and the widget view. The tree is on the left side of the dialog and it contains groups and items that represent data. Clicking on a group or item will result with the widget view being updated to match the selected tree or group item.
- Order of the tree items and groups will match the order defined in the XML file.
- Clicking on group will display all children items in the widget view.
- Clicking on a single item will display associated widgets in widget view.
- Tree item will also display the values in a non-editable field.
- Unique_name use format: file::unique_name#value
- Widgets or groups of widgets can be loaded from an outside file by using <link_to_xml>.
- Multiple widgets when displayed on right side can be expanded/collapsed – TO BE DETERMINED
- Can have nested groups
- Keywords are words SMS has reserved in the schema and can not be used as unique names. All keywords will start with a “#”. Here is a list of available keywords:
- #card_name
- #geom_name – name of geometry as it shows up in the project explorer
- #project_name
- #value
- #units
- #xmdf_path – path inside the XMDF file
- #file_name
- #file_path
- #sms_path – path in sms project explorer once inside a geometric item
- #count (used for a widget in a table for counting the rows/columns)
- #geom_guid
Projection keyword:
- #horizontal_datum: NAD83 |NAD27|LOCAL
- #horizontal_system: UTM|STATE_PLANE|GEOGRAPHIC|LOCAL
- #horizontal_units: FEET|METERS|DEGREES
- #horizontal_zone: 3104 etc
- #vertical_datum
- #vertical_units
Additional keywords are defined with the various custom control widgets.
SMS – Surface-water Modeling System | ||
---|---|---|
Modules: | 1D Grid • Cartesian Grid • Curvilinear Grid • GIS • Map • Mesh • Particle • Quadtree • Raster • Scatter • UGrid | |
General Models: | 3D Structure • FVCOM • Generic • PTM | |
Coastal Models: | ADCIRC • BOUSS-2D • CGWAVE • CMS-Flow • CMS-Wave • GenCade • STWAVE • WAM | |
Riverine/Estuarine Models: | AdH • HEC-RAS • HYDRO AS-2D • RMA2 • RMA4 • SRH-2D • TUFLOW • TUFLOW FV | |
Aquaveo • SMS Tutorials • SMS Workflows |