Community
Participate
Working Groups
The "Export as Image" dialog is defined in the core org.eclipse.sirius.ui plug-in, so it can not access to the SiriusDiagramUiPreferencesKeys stored in org.eclipse.sirius.diagram.ui. These preferences impact the initialization of export dialog (for example PREF_SCALE_DIAGRAMS_ON_EXPORT preference). So the "Export as Image" dialog must not be defined org.eclipse.sirius.ui but rather in org.eclipse.sirius.diagram.ui. For now, to bypassing this constraint, we use the IDialogSetting to tell it the value of the preference (see org.eclipse.sirius.diagram.ui.provider.DiagramUIPlugin class) but if default value are overridden, the new value is not propagate to the export dialog via the change listener.