diff options
author | Mickael ADAM | 2014-11-25 14:58:27 +0000 |
---|---|---|
committer | Mickael ADAM | 2014-11-26 13:15:06 +0000 |
commit | 384726cbc865c825f38787894a83057cfeefc10e (patch) | |
tree | c71aa5011d8d1599b7191e6ff5b8b651c728d905 /plugins/infra/gmfdiag/css | |
parent | b65597e9ce0a4df2a0fb4d3f5d31707227015946 (diff) | |
download | org.eclipse.papyrus-384726cbc865c825f38787894a83057cfeefc10e.tar.gz org.eclipse.papyrus-384726cbc865c825f38787894a83057cfeefc10e.tar.xz org.eclipse.papyrus-384726cbc865c825f38787894a83057cfeefc10e.zip |
453082: [Diagram] Use case diagram shapes shall be refactored
https://bugs.eclipse.org/bugs/show_bug.cgi?id=453082
-Use of generic shape for:
-UseCase
-UseCase4Package
-UseCase4Component
-ActorTN
-ActorInComponentEP
-SubjectClassifier
Implement new StyleNameProperty "namePositon" which define the position
of the name of namedNodeEP(left, middle, right)
Change-Id: I591c19406b5a68907c4013daae2ab6c202ab221c
Signed-off-by: Mickael ADAM <mickael.adam@ALL4TEC.net>
Diffstat (limited to 'plugins/infra/gmfdiag/css')
-rw-r--r-- | plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/theme/papyrus_theme.css | 5 | ||||
-rw-r--r-- | plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/resources/base.css | 28 |
2 files changed, 33 insertions, 0 deletions
diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/theme/papyrus_theme.css b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/theme/papyrus_theme.css index 416d090cbca..373a20d3578 100644 --- a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/theme/papyrus_theme.css +++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css.theme/theme/papyrus_theme.css @@ -146,3 +146,8 @@ UseCaseDiagram Actor { TimingDiagram * {
gradient:none;
}
+
+UseCaseDiagram UseCase {
+ fillColor:white;
+}
+
diff --git a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/resources/base.css b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/resources/base.css index 5e13d9b6224..c78bb3f7cc2 100644 --- a/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/resources/base.css +++ b/plugins/infra/gmfdiag/css/org.eclipse.papyrus.infra.gmfdiag.css/resources/base.css @@ -126,4 +126,32 @@ ClassDiagram Dependency gradient:none; } +/*---------- UseCase Diagram ----------*/ +UseCaseDiagram UseCase > Compartment { + lineLengthRatio:"0.70"; +} + +UseCaseDiagram UseCase { + topMarginLabel:10; +} + +UseCaseDiagram Actor +{ + displayBorder:false; + displayName:false; + diplayIcon:false; + displayTag:false; + followSVGSymbol:true; + maintainSymbolRatio:true; + transparency:100; + displayFloatingLabel:true; + maxNumberOfSymbol:1; + useOriginalColors:false; + gradient:none; + fillColor:white; +} +UseCaseDiagram Actor > Compartment[kind="symbol"] +{ + visible:true; +} |