Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2014-01-10 12:33:18 +0000
committerCamille Letavernier2014-01-10 12:33:18 +0000
commitf29b886861f04f8b8ea2179cf5fca0d4912144f1 (patch)
tree554a88a4675331000bdf625d31b5820ac06d2084 /plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc
parenta019c4d34a65d731ebc52eda3d9bfcfddc880c54 (diff)
downloadorg.eclipse.papyrus-f29b886861f04f8b8ea2179cf5fca0d4912144f1.tar.gz
org.eclipse.papyrus-f29b886861f04f8b8ea2179cf5fca0d4912144f1.tar.xz
org.eclipse.papyrus-f29b886861f04f8b8ea2179cf5fca0d4912144f1.zip
402655: [Documentation] Diagram Stylesheets (CSS) documentation
https://bugs.eclipse.org/bugs/show_bug.cgi?id=402655 Update installation steps
Diffstat (limited to 'plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc')
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.html26
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.mediawiki10
2 files changed, 13 insertions, 23 deletions
diff --git a/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.html b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.html
index bed22e628e6..9ddfbf414cf 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.html
+++ b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.html
@@ -36,24 +36,18 @@
distribution of Papyrus with a custom theme.</li>
</ul>
<p>
- The release of Eclipse 4 Juno this summer gave us the opportunity to
- rely on their CSS Engine to support Cascading StyleSheets in Papyrus
- diagrams. Just like in web pages, the CSS format is used to separate
- the contents of our diagrams from their appearance. It becomes
- possible to change the appearance of a whole diagram, or even a set of
- diagrams, independently of the number of represented elements, in a
- single click.<br />
+ The release of Eclipse 4 gave us the opportunity to rely on their CSS
+ Engine to support Cascading StyleSheets in Papyrus diagrams. Just like
+ in web pages, the CSS format is used to separate the contents of our
+ diagrams from their appearance. It becomes possible to change the
+ appearance of a whole diagram, or even a set of diagrams,
+ independently of the number of represented elements, in a single
+ click.<br />
</p>
<h1 id="Installation">Installation</h1>
- <p>The CSS Stylesheet support is not shipped in the base
- installation of Papyrus. However, it can be easily installed from the
- Papyrus discovery site. Select “Help”, “Install Papyrus Additional
- Components”, and check “Diagram Stylesheets”.</p>
- <p>
- <img title="Installation" alt="Installation" border="0"
- src="Papyrus_CSS_Installation.png" /><br />
- </p>
- <p>Press finish, restart Eclipse, and that's it.</p>
+ <p>Since Papyrus 1.0 / Luna, the CSS Stylesheet support is now
+ shipped in the base installation of Papyrus. It doesn't require any
+ specific installation step anymore.</p>
<p>Your diagrams should now look like the following:</p>
<p>
<img title="Papyrus diagram without CSS Theme"
diff --git a/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.mediawiki b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.mediawiki
index a397e482448..b831aa40f9d 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.mediawiki
+++ b/plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc/resource/css.mediawiki
@@ -13,21 +13,17 @@ While this allows defining a custom theme for our diagrams, this mechanism suffe
*If we wanted to change the current theme, wed have either to change each objects appearance one by one, or to write an automatic transformation, which could be really complicated.
*It is not easy to export a Theme, as they are stored in the Eclipse preferences. It is almost impossible to ship a ready-to-use distribution of Papyrus with a custom theme.
-The release of Eclipse 4 Juno this summer gave us the opportunity to rely on their CSS Engine to support Cascading StyleSheets in Papyrus diagrams. Just like in web pages, the CSS format is used to separate the contents of our diagrams from their appearance. It becomes possible to change the appearance of a whole diagram, or even a set of diagrams, independently of the number of represented elements, in a single click.<br>
+The release of Eclipse 4 gave us the opportunity to rely on their CSS Engine to support Cascading StyleSheets in Papyrus diagrams. Just like in web pages, the CSS format is used to separate the contents of our diagrams from their appearance. It becomes possible to change the appearance of a whole diagram, or even a set of diagrams, independently of the number of represented elements, in a single click.<br>
= Installation =
-The CSS Stylesheet support is not shipped in the base installation of Papyrus. However, it can be easily installed from the Papyrus discovery site. Select Help, Install Papyrus Additional Components, and check Diagram Stylesheets.
-
-[[Image:Papyrus CSS Installation.png|Installation]]<br>
-
-Press finish, restart Eclipse, and that's it.
+Since Papyrus 1.0 / Luna, the CSS Stylesheet support is now shipped in the base installation of Papyrus. It doesn't require any specific installation step anymore.
Your diagrams should now look like the following:
[[Image:Papyrus CSS no theme.png|Papyrus diagram without CSS Theme]]<br>
-[[Image:Papyrus CSS theme.png|Papyrus Diagram with CSS Theme]]<br>
+[[Image:Papyrus CSS theme.png|Papyrus Diagram with CSS Theme]]<br>
Note: If you opened a diagram which has been created without the CSS Support, it may still have a custom appearance, e.g. without Element icons. This might or might not be a problem, as this may conflict with the CSS Theme. You can reset all custom appearances by pressing the Default style button in the Style tab of the Diagrams properties view.

Back to the top