Bug 537150 - Subclasses of SaveSessionWhenNoDialectEditorsListener cannot provide their own SaveSessionJob
Summary: Subclasses of SaveSessionWhenNoDialectEditorsListener cannot provide their ow...
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Core (show other bugs)
Version: 5.1.2   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: 6.0.1   Edit
Assignee: Maxime Porhel CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on: 537111
Blocks: 537112
  Show dependency tree
 
Reported: 2018-07-18 10:23 EDT by Maxime Porhel CLA
Modified: 2018-08-27 04:13 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxime Porhel CLA 2018-07-18 10:23:43 EDT
+++ This bug was initially created as a clone of Bug #537111 +++

It is currently possible to provide a specific SaveSessionWhenNoDialectEditorsListener through the SaveSessionWhenNoDialectEditorsListener through the uiSessionFactory. 

However it is not possible to customize the SaveSessionJob triggered by this listener to save the session when the model change if the session was previously SYNC and if there is no open (Sirius) editors on the session. This behavior is enabled/disabled regarding the preference org.eclipse.sirius.ui.business.api.preferences.SiriusUIPreferencesKeys.PREF_SAVE_WHEN_NO_EDITOR.
Comment 1 Eclipse Genie CLA 2018-07-18 10:45:07 EDT
New Gerrit change created: https://git.eclipse.org/r/126265
Comment 2 Eclipse Genie CLA 2018-07-18 10:45:10 EDT
New Gerrit change created: https://git.eclipse.org/r/126267
Comment 5 Jessy Mallet CLA 2018-08-01 10:16:28 EDT
Validated as technical issue for 6.0.1
Comment 6 Pierre-Charles David CLA 2018-08-27 04:13:27 EDT
Available in Sirius 6.0.1, see https://wiki.eclipse.org/Sirius/6.0.1 for details.