View Wrapper actions
backgroundCreateView
The backgroundCreateView action creates the part being wrapped (and its children) on a background thread. If this action is in the middle of being performed and the openWidget action is requested, openWidget will wait until the part creation is complete before it continues.
This action is useful if your application needs to make a server call to retrieve information that it will then display in a view. In such a situation, you can invoke this action just before making the call to the server and then use openWidget after the server call finishes. This way, instead of being idle while waiting for the server call to return, the application can begin creating the part on a background thread. When the server call is finished, openWidget will finish much more quickly, since the part has already been created.
createView
The createView action creates the part being wrapped (and its children). (If you do not create the part explicitly with createView, the openWidget action does so when opening the part.
destroyPart
The destroyPart action destroys the part and its children, and releases all associated resources. You can use this action for both visual and nonvisual parts. All connections to the destroyed part are removed.
destroyView
The destroyView action destroys the part being wrapped (and its children) without destroying the view wrapper itself. If you use destroyView, you can still create and open the part later, and it will function correctly. Compare this to the destroyPart action, which destroys the view wrapper itself, breaking any connections to the part.
Last modified date: 01/29/2015