Activates the given view, if it is currently hosted in a region.
The view to activate.
Convenience method to create and bind a view model and view. The view will be initially visible, and if a region name is supplied, the view will be activated in that region.
Type name of the view instance to create. If null, ViewBase is used.
Type name of the viewModel to use. The view will be attached to it.
Resource name of the markup file to use with the view.
Optional region name to activate the view in.
The library that this view originates from. This is used primarily for internationalization purposes.
Creates a view and hosts it in a region, if a region is specified.
The {@link geocortex.framework.config.ViewConfigInterface} representing the view to be created.
View instance is already provided under async library mode.
Deactivates the given view.
The view.
Destroys a region, unbinding and destroying any views contained in it.
The region to destroy.
Destroys a view, wiping out its bindings and DOM substructure.
The view to destroy.
Discovers regions in a given DOM element by searching for a data-region-name attribute.
The DOM element to examine.
If passed, any regions discovered will belong to this view.
Gets a hosted region by name.
The name of the region to fetch.
Given a view ID, returns the region that the currently belongs to.
Gets a view by id.
The ID of the view to fetch.
Returns all of the currently known views in the application.
Notifies the system that the dimensions of a view have changed.
This makes it possible for the containing region or some other construct to reposition the view
based on the new dimensions. This method will raise the event ViewDimensionsChangedEvent
, passing
along the view and the region that its hosted in.
The view that's been resized.
Shuts this instance down, freeing all regions and views.
Either activates or deactivates a view based on its isVisible flag.
The view to toggle.
The {@link geocortex.framework.application.Application} that this view manager instance belongs to.