From 88847ff0f98c5820d61058dcb809ec51e20cd8e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9raphin=20Costa?= Date: Wed, 10 Apr 2024 14:13:20 +0200 Subject: [PATCH] [346] Update paste style documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://github.com/eclipse-sirius/sirius-desktop/issues/346 Signed-off-by: Séraphin Costa --- plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.html | 1 + .../org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.textile | 2 ++ 2 files changed, 3 insertions(+) diff --git a/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.html b/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.html index 07c3d3e746..33ca9b03d6 100644 --- a/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.html +++ b/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.html @@ -1385,6 +1385,7 @@

Paste style

+

Note: an edge style cannot be applied to a container or node but a container or node style can be applied to a edge.

Paste image from clipboard

It is also possible to paste an image from the clipboard to a node or container. To do this, copy the image in your clipboard, select a node and click on the button “Paste image from clipboard” (see picture below). The image is saved as a PNG file in the workspace, in an “images” folder and the selected element has a workspace image style that references this image.

diff --git a/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.textile b/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.textile index bee9411913..ac3fa45e26 100644 --- a/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.textile +++ b/plugins/org.eclipse.sirius.doc/doc/user/diagrams/Diagrams.textile @@ -812,6 +812,8 @@ To copy a style from one element to another : !images/diagram_editor_paste_style.png! +Note: an edge style cannot be applied to a container or node but a container or node style can be applied to a edge. + h3(#paste_image). Paste image from clipboard It is also possible to paste an image from the clipboard to a node or container. To do this, copy the image in your clipboard, select a node and click on the button "Paste image from clipboard" (see picture below). The image is saved as a PNG file in the workspace, in an "images" folder and the selected element has a workspace image style that references this image.