Protected
Readonly
fileProtected
Readonly
fileProtected
Readonly
labelProtected
Readonly
messageProtected
Readonly
openerPrivate
isProtected
saveSaves the current snapshot of the sourceWidget to the target file and replaces the widget with a new one that contains the snapshot content
widget to save as target
.
The new URI for the widget.
This method ensures a few things about
widget
:widget.getResourceUri()
actually returns a URI.widget.saveable.createSnapshot
orwidget.saveable.serialize
is defined.widget.saveable.revert
is defined.