diff options
author | Francois Le Fevre - CEA | 2016-01-14 16:47:48 +0000 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org | 2016-01-15 17:33:58 +0000 |
commit | 3a41319fac08cc45719df3aaf47026df1d416d47 (patch) | |
tree | c4fbd5944bac9b7f45009e80dd4597ac6d5355a4 /plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme | |
parent | ef5de8dfb744b9d292052b312ab017ed8699ce5f (diff) | |
download | org.eclipse.papyrus-3a41319fac08cc45719df3aaf47026df1d416d47.tar.gz org.eclipse.papyrus-3a41319fac08cc45719df3aaf47026df1d416d47.tar.xz org.eclipse.papyrus-3a41319fac08cc45719df3aaf47026df1d416d47.zip |
Bug 485751 - [UML Diagram Frame] Papyrus should be able to display root
elements of a diagram with a frame
- workdone based upon gerrit https://git.eclipse.org/r/#/c/61780/
- adding a new style frame
Change-Id: Id3ff8a5f14bdca7abb8f66406021c2ef5c6a7d64
Signed-off-by: Francois Le Fevre - CEA <francois.le-fevre@cea.fr>
Diffstat (limited to 'plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme')
-rw-r--r-- | plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/plugin.xml | 65 | ||||
-rw-r--r-- | plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/theme/frame_theme.css | 18 |
2 files changed, 59 insertions, 24 deletions
diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/plugin.xml b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/plugin.xml index e34c719cd0f..4276e1aab5c 100644 --- a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/plugin.xml +++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/plugin.xml @@ -1,24 +1,41 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension
- point="org.eclipse.papyrus.infra.gmfdiag.css.theme">
- <themeDefinition
- icon="icons/papyrus.png"
- id="org.eclipse.papyrus.css.papyrus_theme"
- label="Papyrus Theme">
- </themeDefinition>
- <themeContribution
- id="org.eclipse.papyrus.css.papyrus_theme">
- <stylesheet
- stylesheetPath="theme/papyrus_theme.css">
- </stylesheet>
- </themeContribution>
- <themeDefinition
- icon="icons/papyrus.png"
- id="org.eclipse.papyrus.css.blacknwhite_theme"
- label="Black & White">
- </themeDefinition>
- </extension>
-
-</plugin>
+<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.4"?> +<plugin> + <extension + point="org.eclipse.papyrus.infra.gmfdiag.css.theme"> + <themeDefinition + icon="icons/papyrus.png" + id="org.eclipse.papyrus.css.papyrus_theme" + label="Papyrus Theme"> + </themeDefinition> + <themeContribution + id="org.eclipse.papyrus.css.papyrus_theme"> + <stylesheet + stylesheetPath="theme/papyrus_theme.css"> + </stylesheet> + </themeContribution> + <themeDefinition + icon="icons/papyrus.png" + id="org.eclipse.papyrus.css.blacknwhite_theme" + label="Black & White"> + </themeDefinition> + <themeDefinition + icon="icons/papyrus.png" + id="org.eclipse.papyrus.css.frame_theme" + label="Frame Theme"> + </themeDefinition> + <themeContribution + id="org.eclipse.papyrus.css.frame_theme"> + <stylesheet + stylesheetPath="theme/papyrus_theme.css"> + </stylesheet> + </themeContribution> + <themeContribution + id="org.eclipse.papyrus.css.frame_theme"> + <stylesheet + stylesheetPath="theme/frame_theme.css"> + </stylesheet> + </themeContribution> + </extension> + +</plugin> diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/theme/frame_theme.css b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/theme/frame_theme.css new file mode 100644 index 00000000000..ac381060ced --- /dev/null +++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/theme/frame_theme.css @@ -0,0 +1,18 @@ +/***************************************************************************** + * Copyright (c) 2012 CEA LIST. + * + * 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: + * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr + *****************************************************************************/ + + +/* Display name with an header*/ +[isFrame="true"]{ + textAlignment:"left"; + displayHeader:true; +}
\ No newline at end of file |