-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#753 Update the RichText editor status properly
The rich text editor status is now only based on the Session status. In the scope of kitalpha/capella, AbstractMDERichTextWidget is only used from MDERichTextEditor.isDirty(). So MDERichTextWidget.isDirty() can be removed. Nevertheless, to keep the lock of the EObject being edited, a "change" Listener has been added to be notified when the content of the editor is changed. The first change will call widget.saveContents() to be sure that the model is modified a soon as possible. (before it was done a little differently with the "key" listener) Like eclipse "Save", now "Save All" properly reinitialize setDirtyStateUpdated(false). #753 Signed-off-by: Laurent Fasani <[email protected]>
- Loading branch information
Showing
6 changed files
with
128 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters