Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas FAUVERGUE2017-05-18 12:06:07 -0400
committerNicolas FAUVERGUE2017-05-22 10:03:42 -0400
commitb4ac4fd6cf7e495f11e975582440b746df56ab95 (patch)
tree04bde354087c83f36ae15b40693a4acabc3abf26 /plugins/doc
parent6a31aef52fa2b0e33ce8a6a83b6cc6312899aca8 (diff)
downloadorg.eclipse.papyrus-b4ac4fd6cf7e495f11e975582440b746df56ab95.tar.gz
org.eclipse.papyrus-b4ac4fd6cf7e495f11e975582440b746df56ab95.tar.xz
org.eclipse.papyrus-b4ac4fd6cf7e495f11e975582440b746df56ab95.zip
Bug 516893: [Internationalization][Performances] Load of
internationalization of external files decrease performances https://bugs.eclipse.org/bugs/show_bug.cgi?id=516893 Add preferences for internationalization: - Load internationalization files of model (default: true) - Load internationalization of external files (default: false) + Set Read-only the internationalization preferences of model when the load internationalization files of model is disabled. Change-Id: I5b666b581e3b56ef7e8459ef912698f213ae4911 Signed-off-by: Nicolas FAUVERGUE <nicolas.fauvergue@cea.fr>
Diffstat (limited to 'plugins/doc')
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/images/InternationalizationPreferences.pngbin15707 -> 33304 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/images/InternationalizationPreferencesForModel.pngbin0 -> 15707 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/internationalizationDev.mediawiki13
3 files changed, 12 insertions, 1 deletions
diff --git a/plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/images/InternationalizationPreferences.png b/plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/images/InternationalizationPreferences.png
index a3796931ef1..73c2313dcbb 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/images/InternationalizationPreferences.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/images/InternationalizationPreferences.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/images/InternationalizationPreferencesForModel.png b/plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/images/InternationalizationPreferencesForModel.png
new file mode 100644
index 00000000000..a3796931ef1
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/images/InternationalizationPreferencesForModel.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/internationalizationDev.mediawiki b/plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/internationalizationDev.mediawiki
index 81b3deda1c7..9bbaab7b18f 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/internationalizationDev.mediawiki
+++ b/plugins/doc/org.eclipse.papyrus.infra.internationalization.doc/src/site/mediawiki/internationalizationDev.mediawiki
@@ -134,6 +134,7 @@ The <code>UMLLabelInternationalization</code> class contains following needed me
|}
== Internationalization preferences ==
+===Preferences for internationalization usability===
Two preferences are managed in the Papyrus model:
* useInternationalization: Boolean to determinate if the internationalization must be used
* language: String to define the selected language for the internationalization
@@ -144,13 +145,23 @@ The preferences are stored as EAnnotation:
* in the metadata in this is not a private storage
-[[Image:images/InternationalizationPreferences.png|frame|none|Internationalization preferences management]]
+[[Image:images/InternationalizationPreferencesForModel.png|frame|none|Internationalization model preferences management]]
Those preferences are managed in a <code>PreferenceStore</code> in the activator of org.eclipse.papyrus.infra.internationalization.common plugin.
The <code>PapyrusProjectScope</code> allows to manage the preferences for the Eclipse project with Papyrus model name.
+===Preferences for internationalization activation===
+Two preferences are managed for the internationalization activation:
+* Load internationalization files for model
+* Load internationalization of external files (profiles, imported packages)
+
+[[Image:images/InternationalizationPreferences.png|frame|none|Internationalization preferences management]]
+
+Thoses preferences are stored in the <code>PreferenceStore</code> in the activator of org.eclipse.papyrus.infra.internationalization.common plugin and are managed by the org.eclipse.papyrus.infra.internationalization.common plugin.
+
+
== Control mode ==
The sub-models are managed with the properties files.
Indeed, when an object is created as sub-model, the key representing this object or its descendance in the properties files must be moved in sub-properties files corresponding to the controlled object.

Back to the top