Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2014-11-07 03:20:13 +0000
committerChristian W. Damus2014-11-07 03:20:13 +0000
commit893264d2e7cc35baa6a87bc8a6e60494d9d8b9fe (patch)
treee5da6475f0f1e90b4f6e99e176d0c9030b1bc6e9 /plugins/doc
parentab364889e916291cc675c79a9301bdc755619eb9 (diff)
downloadorg.eclipse.papyrus-893264d2e7cc35baa6a87bc8a6e60494d9d8b9fe.tar.gz
org.eclipse.papyrus-893264d2e7cc35baa6a87bc8a6e60494d9d8b9fe.tar.xz
org.eclipse.papyrus-893264d2e7cc35baa6a87bc8a6e60494d9d8b9fe.zip
399859: [Profile Applications] Papyrus shall enable to manage profile applications in separate files
https://bugs.eclipse.org/bugs/show_bug.cgi?id=399859 User help documentation for externalized profile applications.
Diffstat (limited to 'plugins/doc')
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/.project22
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/META-INF/MANIFEST.MF12
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/about.html28
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/build.properties20
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/documentation.pdoc4
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/plugin.properties14
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/plugin.xml16
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/pom.xml14
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/customize_dlg.pngbin0 -> 48232 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/customize_view.pngbin0 -> 58171 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/decorator_model.pngbin0 -> 211622 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicate_button.pngbin0 -> 43066 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicate_dlg.pngbin0 -> 64336 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicated.pngbin0 -> 61446 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalize_button.pngbin0 -> 37755 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalize_dlg.pngbin0 -> 65240 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalized.pngbin0 -> 198411 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/init_model_menu.pngbin0 -> 156043 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/internalize_button.pngbin0 -> 40890 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/internalize_menu.pngbin0 -> 116143 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_button.pngbin0 -> 38034 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_dlg.pngbin0 -> 51145 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_menu.pngbin0 -> 90765 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/loaded.pngbin0 -> 189864 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/preferences.pngbin0 -> 110657 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/profile.pngbin0 -> 196746 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/refactor_externalize_menu.pngbin0 -> 127074 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/show_in_explorer.pngbin0 -> 36337 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_button.pngbin0 -> 37723 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_dlg.pngbin0 -> 53445 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_menu.pngbin0 -> 90583 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unloaded.pngbin0 -> 180479 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/variant2.pngbin0 -> 212221 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications-main-toc.xml8
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications-toc.xml10
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications.html3
-rw-r--r--plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications.mediawiki176
38 files changed, 330 insertions, 0 deletions
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/.project b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/.project
new file mode 100644
index 00000000000..d9f1933bece
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/.project
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.uml.decoratormodel.doc</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/.settings/org.eclipse.core.resources.prefs b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 00000000000..be4bb130864
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+eclipse.preferences.version=1
+encoding//resource/profileapplications-toc.xml=utf-8
+encoding//resource/profileapplications.html=utf-8
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/META-INF/MANIFEST.MF b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..04317b214ff
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/META-INF/MANIFEST.MF
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Require-Bundle: org.eclipse.help;bundle-version="3.6.0",
+ org.eclipse.papyrus.infra.doc;bundle-version="1.1.0"
+Bundle-Vendor: %vendorName
+Bundle-ActivationPolicy: lazy
+Bundle-Version: 1.1.0.qualifier
+Bundle-Localization: plugin
+Bundle-Name: %pluginName
+Bundle-ManifestVersion: 2
+Bundle-SymbolicName: org.eclipse.papyrus.uml.decoratormodel.doc;singleton:=true
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/about.html b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/about.html
new file mode 100644
index 00000000000..3ce4e7e75bf
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+
+<p>November 20, 2008</p>
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
+at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content. Check the Redistributor's license that was
+provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
+
+</body>
+</html> \ No newline at end of file
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/build.properties b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/build.properties
new file mode 100644
index 00000000000..3800c32ae21
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/build.properties
@@ -0,0 +1,20 @@
+#
+# Copyright (c) 2014 Christian W. Damus and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Christian W. Damus - Initial API and implementation
+#
+
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml,\
+ plugin.properties,\
+ about.html,\
+ resource/,\
+ documentation.pdoc
+src.includes = about.html
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/documentation.pdoc b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/documentation.pdoc
new file mode 100644
index 00000000000..d65ffe1a98a
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/documentation.pdoc
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<doc:Documentation xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:doc="http://www.eclipse.org/papyrus/documentation/plugin/documentation" description="User documentation for externalized profile applications.">
+ <referent firstName="Christian" lastName="Damus" eMail="give.a.damus@gmail.com" currentCompany="independent"/>
+</doc:Documentation>
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/plugin.properties b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/plugin.properties
new file mode 100644
index 00000000000..4082d4aef1a
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/plugin.properties
@@ -0,0 +1,14 @@
+#
+# Copyright (c) 2014 Christian W. Damus and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Christian W. Damus - Initial API and implementation
+#
+
+pluginName=Papyrus Profile Applications Documentation
+vendorName=Eclipse Modeling Project
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/plugin.xml b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/plugin.xml
new file mode 100644
index 00000000000..a73d0128793
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/plugin.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+ <extension
+ point="org.eclipse.help.toc">
+ <toc
+ file="resource/profileapplications-main-toc.xml"
+ primary="false">
+ </toc>
+ <toc
+ file="resource/profileapplications-toc.xml"
+ primary="false">
+ </toc>
+ </extension>
+
+</plugin>
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/pom.xml b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/pom.xml
new file mode 100644
index 00000000000..21fe9d68963
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/pom.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project>
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <artifactId>org.eclipse.papyrus</artifactId>
+ <groupId>org.eclipse.papyrus</groupId>
+ <version>1.1.0-SNAPSHOT</version>
+ <relativePath>../../../releng/top-pom-main.xml</relativePath>
+ </parent>
+ <artifactId>org.eclipse.papyrus.uml.decoratormodel.doc</artifactId>
+ <groupId>org.eclipse.papyrus</groupId>
+ <version>1.1.0-SNAPSHOT</version>
+ <packaging>eclipse-plugin</packaging>
+</project> \ No newline at end of file
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/customize_dlg.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/customize_dlg.png
new file mode 100644
index 00000000000..312df7e2391
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/customize_dlg.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/customize_view.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/customize_view.png
new file mode 100644
index 00000000000..22819978c30
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/customize_view.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/decorator_model.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/decorator_model.png
new file mode 100644
index 00000000000..2fca2550784
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/decorator_model.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicate_button.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicate_button.png
new file mode 100644
index 00000000000..a4193bb0f5b
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicate_button.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicate_dlg.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicate_dlg.png
new file mode 100644
index 00000000000..f6f60ecdf5b
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicate_dlg.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicated.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicated.png
new file mode 100644
index 00000000000..834abb61e53
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/duplicated.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalize_button.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalize_button.png
new file mode 100644
index 00000000000..d18bc8fe6d6
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalize_button.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalize_dlg.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalize_dlg.png
new file mode 100644
index 00000000000..e063163ccdf
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalize_dlg.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalized.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalized.png
new file mode 100644
index 00000000000..725764128eb
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/externalized.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/init_model_menu.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/init_model_menu.png
new file mode 100644
index 00000000000..defe383c63f
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/init_model_menu.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/internalize_button.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/internalize_button.png
new file mode 100644
index 00000000000..3a991ba54c1
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/internalize_button.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/internalize_menu.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/internalize_menu.png
new file mode 100644
index 00000000000..35519abfa1b
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/internalize_menu.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_button.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_button.png
new file mode 100644
index 00000000000..38a9f345475
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_button.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_dlg.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_dlg.png
new file mode 100644
index 00000000000..33f2a58a85a
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_dlg.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_menu.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_menu.png
new file mode 100644
index 00000000000..9ddce651aad
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/load_menu.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/loaded.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/loaded.png
new file mode 100644
index 00000000000..2954c31e9b2
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/loaded.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/preferences.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/preferences.png
new file mode 100644
index 00000000000..8bfdbaddb01
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/preferences.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/profile.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/profile.png
new file mode 100644
index 00000000000..12e20f6e27f
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/profile.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/refactor_externalize_menu.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/refactor_externalize_menu.png
new file mode 100644
index 00000000000..3c697c8be94
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/refactor_externalize_menu.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/show_in_explorer.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/show_in_explorer.png
new file mode 100644
index 00000000000..1f9da7bed31
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/show_in_explorer.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_button.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_button.png
new file mode 100644
index 00000000000..b48e47d5f0f
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_button.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_dlg.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_dlg.png
new file mode 100644
index 00000000000..0d05c1d8bb8
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_dlg.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_menu.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_menu.png
new file mode 100644
index 00000000000..3d0043534c8
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unload_menu.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unloaded.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unloaded.png
new file mode 100644
index 00000000000..d59bdd20d75
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/unloaded.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/variant2.png b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/variant2.png
new file mode 100644
index 00000000000..3369e67eb58
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/images/variant2.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications-main-toc.xml b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications-main-toc.xml
new file mode 100644
index 00000000000..2dc316ffd7d
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications-main-toc.xml
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<toc label="Externalized Profile Applications" link_to="../org.eclipse.papyrus.uml.diagram.profile.doc/resource/profile-main-toc.xml#profiles">
+ <topic href="resource/profileapplications.html" label="Externalizing Profile Applications">
+ <link toc="resource/profileapplications-toc.xml"/>
+ <anchor id="profileapplications"/>
+ </topic>
+
+</toc>
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications-toc.xml b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications-toc.xml
new file mode 100644
index 00000000000..f043391eee1
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications-toc.xml
@@ -0,0 +1,10 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<toc label="profileapplications" topic="resource/profileapplications.html">
+ <topic href="resource/profileapplications.html" label="About Externalized Profile Applications"></topic>
+ <topic href="resource/profileapplications.html#Externalizing_a_Profile_Application" label="Externalizing a Profile Application"></topic>
+ <topic href="resource/profileapplications.html#Loading_and_Unloading_Profile_Applications" label="Loading and Unloading Profile Applications"></topic>
+ <topic href="resource/profileapplications.html#Duplicating_Profile_Applications" label="Duplicating Profile Applications"></topic>
+ <topic href="resource/profileapplications.html#Opening_Profile_Application_Models" label="Opening Profile Application Models"></topic>
+ <topic href="resource/profileapplications.html#Reintegrating_Profile_Applications" label="Reintegrating Profile Applications"></topic>
+ <topic href="resource/profileapplications.html#Preferences" label="Preferences"></topic>
+</toc>
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications.html b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications.html
new file mode 100644
index 00000000000..f934950f191
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications.html
@@ -0,0 +1,3 @@
+<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body><h1 id="About_Externalized_Profile_Applications">About Externalized Profile Applications</h1><p>Ordinarily, profile applications in UML models are owned by the packages to which they apply profiles. However, Papyrus provides an extended
+semantics that externalizes the application of profiles, letting profile applications be defined separately from the packages that apply them.
+This has a few advantages:</p><ul><li>profile applications may be loaded and unloaded as required, to present extended attributes of model elements (as defined by stereotypes) when and if they are needed by the modeling user</li><li>multiple applications of the same profile to a package can provide alternative values for stereotype extensions of model elements</li></ul><h1 id="Externalizing_a_Profile_Application">Externalizing a Profile Application</h1><p>Consider the following small example of a model that has the Ecore profile applied: </p><p><img border="0" src="images/profile.png"/> </p><p>This model has two classes, both stereotyped as <tt>«eClass»</tt>. A CSS stylesheet paints EClasses yellow that specify the <tt>xmlName</tt> attribute and red that do not. Initially, this profile application is owned by the model. To separate it out into its own resource, invoke the <b>Refactor &rarr; Externalize Profile Applications...</b> context menu action on the applying package:</p><p><img border="0" src="images/refactor_externalize_menu.png"/></p><p>or select the profile application in the applying package's properties and press the externalize action button:</p><p><img border="0" src="images/externalize_button.png"/></p><p>Either way brings up the <b>Externalize Profile Applications</b> dialog:</p><p><img border="0" src="images/externalize_dlg.png"/></p><p>In this dialog, you must:</p><ul><li>select which profile applications to externalize (there may be more than one)</li><li>enter or browse to a model resource in which to put the profile application. It may be a new resource, or it may be an existing resource<ul><li><b><i>Note</i></b> that in the case of an existing resource, it must be a "profile application model". Profile applications may not be added to regular UML models</li></ul></li><li>enter a name for the profile application model (if it is new)<ul><li>if an existing profile application model is chosen to add the profile application to, then the name field is not editable as the model already has a name</li></ul></li></ul><p>After completing this dialog, it is recommended to save to create the new profile application model. This is similar to sub-model units, which are created when saving the parent model. The result is something like this:</p><p><img border="0" src="images/externalized.png"/></p><p>Note the new elements in the user interface, indicated by the arrows in the graphic above:</p><ul><li>a new UML resource is created containing the profile application. It shows a decoration indicating that it is a special kind of model, a <i>profile application model</i></li><li>the Model Explorer decorates the applying package (in this case, the root package) with the names of all of its externalized profile applications that are currently loaded</li><li>the properties of the applying package decorate the names of externalized profile applications to show which profile application model they are loaded from</li></ul><p>Moreover, the applying package has a new tab in its property sheet listing available and loaded profile applications. This is discussed further in the next section.</p><p>Note that in this example, the profile application model was created in the same project as the model to which it applies profiles. Profile application models may be created in any project in the workspace; they do not have to be in the same project as the models that they extend. Also, a profile application model may contain applications of any number of profiles on any number of packages in any number of models. The only restriction is that a single profile application model may not apply the same profile more than once to the same package. Two or more different profile application models may apply the profile to the same package in a user model, but then only one of them may be loaded at any one time in the context of that package.</p><h1 id="Loading_and_Unloading_Profile_Applications">Loading and Unloading Profile Applications</h1><p>Once a profile application has been externalized (see the preceding section), it may be unloaded and loaded again as needed. There are two ways to unload profile applications.</p><h2 id="Unload_In_Model_Explorer_View">Unload In Model Explorer View</h2><p>In the Model Explorer, select a package that has profile applications loaded and choose the <b>Unload Profile Applications...</b> action in the context menu:</p><p><img border="0" src="images/unload_menu.png"/></p><p>This brings up a dialog that lets you choose which profile application models to unload:</p><p><img border="0" src="images/unload_dlg.png"/></p><p>Finish the dialog to unload the selected models.</p><h2 id="Unload_in_Properties_View">Unload in Properties View</h2><p>Alternatively, in the <b>Applications</b> tab of the property sheet for a package that has externalized profile applications, select one or more loaded profile applications and press the unload button to quickly unload them:</p><p><img border="0" src="images/unload_button.png"/></p><p>The result on our example Ecore-profiled model is this:</p><p><img border="0" src="images/unloaded.png"/></p><p>The default styling in the diagram suggests that the <tt>«eClass»</tt> stereotype applications are now unloaded and the profile application's state in the property sheet is changed to <b>Unloaded</b>. Also, the root package no longer shows the decoration indicating loaded profile applications.</p><h2 id="Load_in_Model_Explorer_View">Load in Model Explorer View</h2><p>For packages that have available unloaded profile applications, the Model Explorer provides a <b>Load Profile Applications...</b> context menu action:</p><p><img border="0" src="images/load_menu.png"/></p><p>This brings up the <b>Load Profile Applications</b> dialog in which you may select the profile applications to load:</p><p><img border="0" src="images/load_dlg.png"/></p><p>Select the profile applications to load and finish the dialog to load them.</p><h2 id="Load_in_Properties_View">Load in Properties View</h2><p>In addition to any profile applications that are already loaded, the <b>Applications</b> tab in the property sheet shows those that are currently available to load:</p><p><img border="0" src="images/load_button.png"/></p><p>Select one or more unloaded profile applications and press the load action button to load them:</p><p><img border="0" src="images/loaded.png"/></p><p>As a quick alternative, you can double-click on an unloaded profile application to load it.</p><h2 id="Profile_Application_Resources">Profile Application Resources</h2><p>An externalized profile application is defined in a UML package in its own, separate, resource. As such, when it is loaded into the Papyrus editor, it appears in many respects like any other UML package. For convenience, the packages containing profile applications are hidden in the Model Explorer. However, they can be revealed if necessary by disabling the filter in the <b>Customize View...</b> view menu action:</p><p><img border="0" src="images/customize_view.png"/></p><p>Uncheck the <b>Profile Applications</b> filter and complete the dialog to see the loaded profile application models in the explorer:</p><p><img border="0" src="images/show_in_explorer.png"/></p><h1 id="Duplicating_Profile_Applications">Duplicating Profile Applications</h1><p>Using externalized profile applications, not only is it possible to apply multiple profiles externally to a package, but the same profile may be applied multiple times to the same package. This facilitates development of alternative extensions of the same model elements, such as for "what if" analysis or other comparisons.</p><p>The simplest way to create another application of the same profile is to duplicate an existing one. Simply select a profile application in the property sheet (it may be either loaded or unloaded) and press the duplicate action button:</p><p><img border="0" src="images/duplicate_button.png"/></p><p>This opens the <b>Duplicate Profile Application</b> dialog in which you select which of the profile applications in the model that you are duplicating you want to copy (you don't have to duplicate all of them) and then specify a new file name and profile-application model name:</p><p><img border="0" src="images/duplicate_dlg.png"/></p><p>The result looks something like this:</p><p><img border="0" src="images/duplicated.png"/></p><p>If the original profile application was loaded, then the new duplicate is loaded in its place (because the new profile application applies at least one of the same profiles as the original to the same package, only one can be loaded at a time). Otherwise, you can proceed by opening the new profile application and configuring its stereotype applications differently than in the original:</p><p><img border="0" src="images/variant2.png"/></p><h2 id="Restrictions">Restrictions</h2><p>There are certain restrictions in working with multiple profile applications, especially when they concern the same combinations of profiles and applying packages:</p><ul><li>a profile application model cannot be loaded if it applies a profile to a package that already has that profile applied<ul><li>this is concerned only with the actual package that the profile is applied to. A package may apply a profile that is also applied to some package containing it</li><li>this applies equally to the case where the package already owns an application of the profile and also the case where an externalized application of the profile is already loaded. However, in the latter case, there is a remedy available: the current profile application model may be unloaded. Papyrus will prompt to unload the conflicting profile application, with the option to just automatically unload it in the future, which is convenient for quickly switching between alternative configurations of stereotypes</li></ul></li><li>a profile application may not be externalized into a model that already has an application of the same profile for the same package. A different model must be selected or created</li></ul><h1 id="Opening_Profile_Application_Models">Opening Profile Application Models</h1><p>Profile application models may be opened in their own editors to provide convenient access to the perspective that they offer on the models that they extend. Ordinarily, they contain only stereotype applications extending elements in the user model, but it may be useful in some circumstances to create diagrams in a profile application model that are specific to the profile applications that it contains. It is <b>highly recommended</b> never to add UML content to a profile application model; only stereotype applications extending UML content. </p><p>The <b>New &rarr; Papyrus Model</b> wizard may be used to initialize a complete Papyrus model from the UML resource of a profile application:</p><p><img border="0" src="images/init_model_menu.png"/></p><p>Complete the wizard, creating for example a class diagram, and you can drag and drop elements from the profiled model onto the diagram to visualize them in some way specific to the profile application:</p><p><img border="0" src="images/decorator_model.png"/></p><p>Note that the Model Explorer shows the profile model, not the profile application model itself, simply by virtue of the latter being filtered out of the view by default (see above for details). In this way, various different perspectives on the same user model may be revealed in separate editors through the profile applications. Of course, the same caveats apply for making changes to the same UML content in multiple such editors as would normally apply to editing shared "library" models.</p><h1 id="Reintegrating_Profile_Applications">Reintegrating Profile Applications</h1><p>The opposite process to externalizing a profile application is reintegrating it into the model proper. There are two ways to reintegrate a loaded profile application: using the <b>Refactor &rarr; Internalize Profile Applications...</b> action in the context menu:</p><p><img border="0" src="images/internalize_menu.png"/></p><p>or by selecting one or more profile applications in the property sheet and pressing the internalize action button:</p><p><img border="0" src="images/internalize_button.png"/></p><p>The context menu action opens a dialog in which you may choose which profile applications, for the selected package, that are currently loaded should be reintegrated. Upon saving the model, then, these profile applications and the stereotype applications that they define are stored once more in the same resources as the UML elements that they extend.</p><h1 id="Preferences">Preferences</h1><p>A few preference options are available to control how Papyrus behaves in working with externalized profile applications. These are:</p><p><img border="0" src="images/preferences.png"/></p><ol><li>Whether Papyrus should automatically prompt you to select one or more profile applications to load when opening a model that has externalized profile applications available for one or more packages within the model.</li><li>When loading a profile application model, whether Papyrus should prompt to confirm that applications of the same profile(s) to the same package(s) that are already loaded should first be unloaded, or else cancel loading the new profile application. Disabling this prompt makes for quick switching of profile applications by double-clicking in the property sheet to load alternatives.</li><li>What to do when a profile application model is emptied of all profile applications by reintegration. Ordinarily, no useful data besides stereotype applications is stored in a profile application model, and these are simply moved into the main model resource by reintegration, so it is safe and practical to delete the profile application model when it is no longer needed. However, in the case that it has specialized diagrams or (though not recommended) other UML content, it may be important to retain that model.</li></ol></body></html> \ No newline at end of file
diff --git a/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications.mediawiki b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications.mediawiki
new file mode 100644
index 00000000000..b27836c410c
--- /dev/null
+++ b/plugins/doc/org.eclipse.papyrus.uml.decoratormodel.doc/resource/profileapplications.mediawiki
@@ -0,0 +1,176 @@
+=About Externalized Profile Applications=
+
+Ordinarily, profile applications in UML models are owned by the packages to which they apply profiles. However, Papyrus provides an extended
+semantics that externalizes the application of profiles, letting profile applications be defined separately from the packages that apply them.
+This has a few advantages:
+
+* profile applications may be loaded and unloaded as required, to present extended attributes of model elements (as defined by stereotypes) when and if they are needed by the modeling user
+* multiple applications of the same profile to a package can provide alternative values for stereotype extensions of model elements
+
+=Externalizing a Profile Application=
+
+Consider the following small example of a model that has the Ecore profile applied:
+
+[[image:images/profile.png]]
+
+This model has two classes, both stereotyped as <tt>«eClass»</tt>. A CSS stylesheet paints EClasses yellow that specify the <tt>xmlName</tt> attribute and red that do not. Initially, this profile application is owned by the model. To separate it out into its own resource, invoke the '''Refactor &rarr; Externalize Profile Applications...''' context menu action on the applying package:
+
+[[image:images/refactor_externalize_menu.png]]
+
+or select the profile application in the applying package's properties and press the externalize action button:
+
+[[image:images/externalize_button.png]]
+
+Either way brings up the '''Externalize Profile Applications''' dialog:
+
+[[image:images/externalize_dlg.png]]
+
+In this dialog, you must:
+
+* select which profile applications to externalize (there may be more than one)
+* enter or browse to a model resource in which to put the profile application. It may be a new resource, or it may be an existing resource
+** '''''Note''''' that in the case of an existing resource, it must be a "profile application model". Profile applications may not be added to regular UML models
+* enter a name for the profile application model (if it is new)
+** if an existing profile application model is chosen to add the profile application to, then the name field is not editable as the model already has a name
+
+After completing this dialog, it is recommended to save to create the new profile application model. This is similar to sub-model units, which are created when saving the parent model. The result is something like this:
+
+[[image:images/externalized.png]]
+
+Note the new elements in the user interface, indicated by the arrows in the graphic above:
+
+* a new UML resource is created containing the profile application. It shows a decoration indicating that it is a special kind of model, a ''profile application model''
+* the Model Explorer decorates the applying package (in this case, the root package) with the names of all of its externalized profile applications that are currently loaded
+* the properties of the applying package decorate the names of externalized profile applications to show which profile application model they are loaded from
+
+Moreover, the applying package has a new tab in its property sheet listing available and loaded profile applications. This is discussed further in the next section.
+
+Note that in this example, the profile application model was created in the same project as the model to which it applies profiles. Profile application models may be created in any project in the workspace; they do not have to be in the same project as the models that they extend. Also, a profile application model may contain applications of any number of profiles on any number of packages in any number of models. The only restriction is that a single profile application model may not apply the same profile more than once to the same package. Two or more different profile application models may apply the profile to the same package in a user model, but then only one of them may be loaded at any one time in the context of that package.
+
+=Loading and Unloading Profile Applications=
+
+Once a profile application has been externalized (see the preceding section), it may be unloaded and loaded again as needed. There are two ways to unload profile applications.
+
+==Unload In Model Explorer View==
+
+In the Model Explorer, select a package that has profile applications loaded and choose the '''Unload Profile Applications...''' action in the context menu:
+
+[[image:images/unload_menu.png]]
+
+This brings up a dialog that lets you choose which profile application models to unload:
+
+[[image:images/unload_dlg.png]]
+
+Finish the dialog to unload the selected models.
+
+==Unload in Properties View==
+
+Alternatively, in the '''Applications''' tab of the property sheet for a package that has externalized profile applications, select one or more loaded profile applications and press the unload button to quickly unload them:
+
+[[image:images/unload_button.png]]
+
+The result on our example Ecore-profiled model is this:
+
+[[image:images/unloaded.png]]
+
+The default styling in the diagram suggests that the <tt>«eClass»</tt> stereotype applications are now unloaded and the profile application's state in the property sheet is changed to '''Unloaded'''. Also, the root package no longer shows the decoration indicating loaded profile applications.
+
+==Load in Model Explorer View==
+
+For packages that have available unloaded profile applications, the Model Explorer provides a '''Load Profile Applications...''' context menu action:
+
+[[image:images/load_menu.png]]
+
+This brings up the '''Load Profile Applications''' dialog in which you may select the profile applications to load:
+
+[[image:images/load_dlg.png]]
+
+Select the profile applications to load and finish the dialog to load them.
+
+==Load in Properties View==
+
+In addition to any profile applications that are already loaded, the '''Applications''' tab in the property sheet shows those that are currently available to load:
+
+[[image:images/load_button.png]]
+
+Select one or more unloaded profile applications and press the load action button to load them:
+
+[[image:images/loaded.png]]
+
+As a quick alternative, you can double-click on an unloaded profile application to load it.
+
+==Profile Application Resources==
+
+An externalized profile application is defined in a UML package in its own, separate, resource. As such, when it is loaded into the Papyrus editor, it appears in many respects like any other UML package. For convenience, the packages containing profile applications are hidden in the Model Explorer. However, they can be revealed if necessary by disabling the filter in the '''Customize View...''' view menu action:
+
+[[image:images/customize_view.png]]
+
+Uncheck the '''Profile Applications''' filter and complete the dialog to see the loaded profile application models in the explorer:
+
+[[image:images/show_in_explorer.png]]
+
+=Duplicating Profile Applications=
+
+Using externalized profile applications, not only is it possible to apply multiple profiles externally to a package, but the same profile may be applied multiple times to the same package. This facilitates development of alternative extensions of the same model elements, such as for "what if" analysis or other comparisons.
+
+The simplest way to create another application of the same profile is to duplicate an existing one. Simply select a profile application in the property sheet (it may be either loaded or unloaded) and press the duplicate action button:
+
+[[image:images/duplicate_button.png]]
+
+This opens the '''Duplicate Profile Application''' dialog in which you select which of the profile applications in the model that you are duplicating you want to copy (you don't have to duplicate all of them) and then specify a new file name and profile-application model name:
+
+[[image:images/duplicate_dlg.png]]
+
+The result looks something like this:
+
+[[image:images/duplicated.png]]
+
+If the original profile application was loaded, then the new duplicate is loaded in its place (because the new profile application applies at least one of the same profiles as the original to the same package, only one can be loaded at a time). Otherwise, you can proceed by opening the new profile application and configuring its stereotype applications differently than in the original:
+
+[[image:images/variant2.png]]
+
+==Restrictions==
+
+There are certain restrictions in working with multiple profile applications, especially when they concern the same combinations of profiles and applying packages:
+
+* a profile application model cannot be loaded if it applies a profile to a package that already has that profile applied
+** this is concerned only with the actual package that the profile is applied to. A package may apply a profile that is also applied to some package containing it
+** this applies equally to the case where the package already owns an application of the profile and also the case where an externalized application of the profile is already loaded. However, in the latter case, there is a remedy available: the current profile application model may be unloaded. Papyrus will prompt to unload the conflicting profile application, with the option to just automatically unload it in the future, which is convenient for quickly switching between alternative configurations of stereotypes
+* a profile application may not be externalized into a model that already has an application of the same profile for the same package. A different model must be selected or created
+
+=Opening Profile Application Models=
+
+Profile application models may be opened in their own editors to provide convenient access to the perspective that they offer on the models that they extend. Ordinarily, they contain only stereotype applications extending elements in the user model, but it may be useful in some circumstances to create diagrams in a profile application model that are specific to the profile applications that it contains. It is '''highly recommended''' never to add UML content to a profile application model; only stereotype applications extending UML content.
+
+The '''New &rarr; Papyrus Model''' wizard may be used to initialize a complete Papyrus model from the UML resource of a profile application:
+
+[[image:images/init_model_menu.png]]
+
+Complete the wizard, creating for example a class diagram, and you can drag and drop elements from the profiled model onto the diagram to visualize them in some way specific to the profile application:
+
+[[image:images/decorator_model.png]]
+
+Note that the Model Explorer shows the profile model, not the profile application model itself, simply by virtue of the latter being filtered out of the view by default (see above for details). In this way, various different perspectives on the same user model may be revealed in separate editors through the profile applications. Of course, the same caveats apply for making changes to the same UML content in multiple such editors as would normally apply to editing shared "library" models.
+
+=Reintegrating Profile Applications=
+
+The opposite process to externalizing a profile application is reintegrating it into the model proper. There are two ways to reintegrate a loaded profile application: using the '''Refactor &rarr; Internalize Profile Applications...''' action in the context menu:
+
+[[image:images/internalize_menu.png]]
+
+or by selecting one or more profile applications in the property sheet and pressing the internalize action button:
+
+[[image:images/internalize_button.png]]
+
+The context menu action opens a dialog in which you may choose which profile applications, for the selected package, that are currently loaded should be reintegrated. Upon saving the model, then, these profile applications and the stereotype applications that they define are stored once more in the same resources as the UML elements that they extend.
+
+=Preferences=
+
+A few preference options are available to control how Papyrus behaves in working with externalized profile applications. These are:
+
+[[image:images/preferences.png]]
+
+# Whether Papyrus should automatically prompt you to select one or more profile applications to load when opening a model that has externalized profile applications available for one or more packages within the model.
+# When loading a profile application model, whether Papyrus should prompt to confirm that applications of the same profile(s) to the same package(s) that are already loaded should first be unloaded, or else cancel loading the new profile application. Disabling this prompt makes for quick switching of profile applications by double-clicking in the property sheet to load alternatives.
+# What to do when a profile application model is emptied of all profile applications by reintegration. Ordinarily, no useful data besides stereotype applications is stored in a profile application model, and these are simply moved into the main model resource by reintegration, so it is safe and practical to delete the profile application model when it is no longer needed. However, in the case that it has specialized diagrams or (though not recommended) other UML content, it may be important to retain that model.
+

Back to the top