From f29b886861f04f8b8ea2179cf5fca0d4912144f1 Mon Sep 17 00:00:00 2001 From: Camille Letavernier Date: Fri, 10 Jan 2014 13:33:18 +0100 Subject: 402655: [Documentation] Diagram Stylesheets (CSS) documentation https://bugs.eclipse.org/bugs/show_bug.cgi?id=402655 Update installation steps--- .../resource/css.html | 26 +++++++++------------- .../resource/css.mediawiki | 10 +++------ 2 files changed, 13 insertions(+), 23 deletions(-) (limited to 'plugins/doc/org.eclipse.papyrus.infra.gmfdiag.css.doc') 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.

- 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.
+ 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.

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”.

-

- Installation
-

-

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:

+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.
= 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]]
- -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]]
-[[Image:Papyrus CSS theme.png|Papyrus Diagram with CSS Theme]]
+[[Image:Papyrus CSS theme.png|Papyrus Diagram with CSS Theme]]
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. -- cgit v1.2.3