Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 6b4fb350795839ddca6168b7b67046e1ddc6c247 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?xml version="1.0" encoding="UTF-8"?>
<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9" name="CSS">
  <tabs label="Style" id="style" category="org.eclipse.papyrus" image="" priority="70">
    <sections name="SingleStylableElement" sectionFile="ui/SingleStylableElement.xwt">
      <widget href="ui/SingleStylableElement.xwt#/"/>
    </sections>
    <sections name="MultipleStylableElement" sectionFile="ui/MultipleStylableElement.xwt">
      <widget href="ui/MultipleStylableElement.xwt#/"/>
    </sections>
    <sections name="SingleDiagram" sectionFile="ui/SingleDiagram.xwt">
      <widget href="ui/SingleDiagram.xwt#/"/>
    </sections>
    <sections name="SingleStyleSheetReference" sectionFile="ui/SingleStyleSheetReference.xwt">
      <widget href="ui/SingleStyleSheetReference.xwt#//@widgets.0"/>
    </sections>
    <sections name="SingleEmbeddedStyleSheet" sectionFile="ui/SingleEmbeddedStyleSheet.xwt">
      <widget href="ui/SingleEmbeddedStyleSheet.xwt#//@widgets.0"/>
    </sections>
  </tabs>
  <views name="SingleStylableElement" sections="//@tabs.0/@sections.0">
    <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStylableElement" overrideable="false" overriddenConstraints="//@views.1/@constraints.0">
      <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
      <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
      <properties xsi:type="constraints:ValueProperty" name="className" value="View"/>
    </constraints>
  </views>
  <views elementMultiplicity="-1" name="MultipleStylableElement" sections="//@tabs.0/@sections.1">
    <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStylableElement" overrideable="false">
      <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
      <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
      <properties xsi:type="constraints:ValueProperty" name="className" value="View"/>
    </constraints>
  </views>
  <views name="Diagram" sections="//@tabs.0/@sections.2">
    <constraints xsi:type="constraints:SimpleConstraint" name="isDiagram" overrideable="false" overriddenConstraints="//@views.0/@constraints.0 //@views.1/@constraints.0">
      <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
      <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
      <properties xsi:type="constraints:ValueProperty" name="className" value="Diagram"/>
    </constraints>
  </views>
  <views name="SingleStyleSheetReference" sections="//@tabs.0/@sections.3">
    <constraints xsi:type="constraints:SimpleConstraint" name="isStyleSheetReference">
      <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.constraints/Model/ConstraintEnvironment.xmi#//@constraintTypes.0"/>
      <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/infra/gmfdiag/css"/>
      <properties xsi:type="constraints:ValueProperty" name="className" value="StyleSheetReference"/>
    </constraints>
  </views>
  <views name="SingleEmbeddedStyleSheet" sections="//@tabs.0/@sections.4">
    <constraints xsi:type="constraints:SimpleConstraint" name="isEmbeddedStyleSheet">
      <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.constraints/Model/ConstraintEnvironment.xmi#//@constraintTypes.0"/>
      <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/infra/gmfdiag/css"/>
      <properties xsi:type="constraints:ValueProperty" name="className" value="EmbeddedStyleSheet"/>
    </constraints>
  </views>
  <dataContexts name="CSS" label="CSS">
    <elements name="PapyrusCSSStyle">
      <properties name="cssId" label="CSS ID" description="The CSS ID of this element. The ID should be unique within a Diagram. It can be used to retrieve the style properties applied to this element."/>
      <properties name="cssClass" label="CSS Classes" multiplicity="-1" description="The list of CSS Classes associated to this element. Classes are string identifiers, used by the CSS Stylesheets to identify a set of elements on which styles should be applied."/>
      <properties name="cssStyle" label="CSS Style" description="The list of CSS properties applied to this element. This is a local style, which will only be applied on the selected element."/>
    </elements>
    <elements name="DiagramStyle" supertypes="//@dataContexts.0/@elements.0">
      <properties name="css_stylesheets" label="Diagram style sheets" type="Reference" multiplicity="-1" description="The style sheets associated to this diagram"/>
    </elements>
    <elements name="ModelStyle">
      <properties name="modelStyleSheets" label="Model style sheets" type="Reference" multiplicity="-1" description="The style sheets associated to this model"/>
    </elements>
    <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.css.properties/model/Environment.xmi#//@modelElementFactories.0"/>
  </dataContexts>
  <dataContexts name="modelstylesheets" label="StyleSheets">
    <elements name="StyleSheetReference">
      <properties name="path" label="Path" description="The path to an external style sheet file"/>
    </elements>
    <elements name="EmbeddedStyleSheet">
      <properties name="label" label="" description="The stylesheet's label"/>
      <properties name="content" label="Contents" description="The style sheet contents"/>
    </elements>
    <elements name="ModelStyleSheet">
      <properties name="stylesheets" label="Model style sheets" type="Reference" multiplicity="-1" description="The style sheets associated to the model"/>
    </elements>
    <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@modelElementFactories.0"/>
  </dataContexts>
  <dataContexts name="Preferences" label="Preferences">
    <elements name="org.eclipse.papyrus.infra.gmfdiag.css">
      <properties name="currentTheme" label="" description="The theme currently applied to all Papyrus Diagrams in your workspace. The theme can be changed in the preferences."/>
    </elements>
    <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.css.properties/model/Environment.xmi#//@modelElementFactories.1"/>
  </dataContexts>
</contexts:Context>

Back to the top