Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2803 Update documentation to highlight new Sirius features
Diagram related documentation is updated * layout children * layout ports * "move pinned elements" option * color feature * other Signed-off-by: lfasani <laurent.fasani@obeo.fr>
- Loading branch information
Showing
34 changed files
with
375 additions
and
173 deletions.
There are no files selected for viewing
Binary file removed
BIN
-106 KB
doc/plugins/org.polarsys.capella.tipsandtricks.doc/html/Images/Tips71.png
Binary file not shown.
Binary file added
BIN
+17 KB
...rsys.capella.tipsandtricks.doc/html/Images/color_palette_popup_4_categories.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-31.5 KB
...gins/org.polarsys.capella.tipsandtricks.doc/html/Images/copy_paste_layout_1.png
Binary file not shown.
Binary file added
BIN
+47 KB
....polarsys.capella.tipsandtricks.doc/html/Images/copy_paste_layout_edit_menu.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.9 KB
...ys.capella.tipsandtricks.doc/html/Images/layout_actions_menus_nodeSelection.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
73 changes: 73 additions & 0 deletions
73
...ml/Tips and tricks/19_DiagramElementColorManagement/19_DiagramElementColorManagement.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?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"/> | ||
<title>19_DiagramElementColorManagement</title> | ||
<link type="text/css" rel="stylesheet" href="PLUGINS_ROOT/org.polarsys.capella.doc/html/styles.css"/> | ||
</head> | ||
<body> | ||
<h1 id="Diagram_Element_Color_Management">Diagram Element Color Management</h1> | ||
<p>There are 3 menu items that allow to change the color of an element:</p> | ||
<ul> | ||
<li> | ||
<b>Font Color</b> menu allows you to change the font color of the label of the selected element(s). | ||
</li> | ||
<li> | ||
<b>Fill Color</b> menu allows you to change the background color of the selected element(s). | ||
</li> | ||
<li> | ||
<b>Line Color</b> menu allows you to change the border color of a Node or Container, or the color of the Edge for the selected element(s). | ||
</li> | ||
</ul> | ||
<p> | ||
<img border="0" src="../../Images/color_palette_popup_4_categories.png"/> | ||
</p> | ||
<p>When one of the color-change menus is clicked, a popup dialog with color palettes appears, allowing you to choose which color to apply among four categories provided:</p> | ||
<ul> | ||
<li> | ||
<b>Last used</b> colors category displays the ten last colors used by the user. | ||
</li> | ||
<li> | ||
<b>Custom</b> colors category displays the ten first colors defined by the user. Additional colors can be created by clicking on the "More..." button. Users can also reorder the set of custom colors, choosing which colors to display in the popup dialog. | ||
</li> | ||
<li> | ||
<b>Suggested</b> colors category displays the ten "preferred colors" defined by the user which are a subset of the colors defined in the Viewpoint Specification Model (odesign). This category is not displayed if no colors are defined in the VSM. Users can modify their ten "preferred colors" by clicking on the "More..." button. Here's an example of colors defined in the VSM: !images/VSM_user_fixed_colors.png! | ||
</li> | ||
<li> | ||
<b>Basic</b> colors category displays ten application-defined colors for use in most contexts. This color palette cannot be modified by the user. | ||
</li> | ||
</ul> | ||
<table border="1"> | ||
<tr> | ||
<td> | ||
<p> | ||
<img height="48" width="48" border="0" src="../../Images/InfoIcon.png"/> | ||
</p> | ||
</td> | ||
<td> | ||
<p> | ||
<b>Custom</b> and | ||
<b>Suggested</b> colors categories are persisted in the aird file. | ||
|
||
<b>Last used</b> colors category is persisted in the workspace preferences. | ||
</p> | ||
</td> | ||
</tr> | ||
</table> | ||
<table border="1"> | ||
<tr> | ||
<td> | ||
<p> | ||
<img height="48" width="48" border="0" src="../../Images/InfoIcon.png"/> | ||
</p> | ||
</td> | ||
<td> | ||
<p>The colors saved for "Custom" and "Suggested" categories are persisted | ||
<b>separately</b> for "Font Color", "Fill Color" and "Line Color". | ||
This is useful because you usually different colors for label and background for example. | ||
</p> | ||
</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
35 changes: 35 additions & 0 deletions
35
...cks/19_DiagramElementColorManagement/19_DiagramElementColorManagement.mediawiki
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
=Diagram Element Color Management= | ||
|
||
There are 3 menu items that allow to change the color of an element: | ||
* '''Font Color''' menu allows you to change the font color of the label of the selected element(s). | ||
* '''Fill Color''' menu allows you to change the background color of the selected element(s). | ||
* '''Line Color''' menu allows you to change the border color of a Node or Container, or the color of the Edge for the selected element(s). | ||
|
||
[[Image:../../Images/color_palette_popup_4_categories.png]] | ||
|
||
When one of the color-change menus is clicked, a popup dialog with color palettes appears, allowing you to choose which color to apply among four categories provided: | ||
* '''Last used''' colors category displays the ten last colors used by the user. | ||
* '''Custom''' colors category displays the ten first colors defined by the user. Additional colors can be created by clicking on the "More..." button. Users can also reorder the set of custom colors, choosing which colors to display in the popup dialog. | ||
* '''Suggested''' colors category displays the ten "preferred colors" defined by the user which are a subset of the colors defined in the Viewpoint Specification Model (odesign). This category is not displayed if no colors are defined in the VSM. Users can modify their ten "preferred colors" by clicking on the "More..." button. Here's an example of colors defined in the VSM: !images/VSM_user_fixed_colors.png! | ||
* '''Basic''' colors category displays ten application-defined colors for use in most contexts. This color palette cannot be modified by the user. | ||
|
||
{| border="1" | ||
|- | ||
| | ||
[[Image:../../Images/InfoIcon.png|48x48px]] | ||
| | ||
'''Custom''' and '''Suggested''' colors categories are persisted in the aird file. | ||
'''Last used''' colors category is persisted in the workspace preferences. | ||
|} | ||
|
||
{| border="1" | ||
|- | ||
| | ||
[[Image:../../Images/InfoIcon.png|48x48px]] | ||
| | ||
The colors saved for "Custom" and "Suggested" categories are persisted '''separately''' for "Font Color", "Fill Color" and "Line Color". | ||
This is useful because you usually different colors for label and background for example. | ||
|} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.