Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/description/PropertiesTests.odesign')
-rw-r--r--plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/description/PropertiesTests.odesign100
1 files changed, 100 insertions, 0 deletions
diff --git a/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/description/PropertiesTests.odesign b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/description/PropertiesTests.odesign
new file mode 100644
index 0000000000..cfaad40330
--- /dev/null
+++ b/plugins/org.eclipse.sirius.tests.rcptt.properties.samples/contents/propertiestests/org.eclipse.sirius.tests.rcptt.properties.design.button/description/PropertiesTests.odesign
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<description:Group
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:description="http://www.eclipse.org/sirius/description/1.1.0"
+ xmlns:properties="http://www.eclipse.org/sirius/properties/1.0.0"
+ xmlns:tool="http://www.eclipse.org/sirius/description/tool/1.1.0"
+ name="PropertiesTests"
+ version="11.0.0.201601261200">
+ <ownedViewpoints
+ name="PropertiesTestsButton"/>
+ <extensions
+ xsi:type="properties:ViewExtensionDescription">
+ <pages identifier=""
+ labelExpression="Button"
+ groups="//@extensions.0/@groups.0"/>
+ <groups
+ identifier="Button"
+ labelExpression="Button"
+ domainClass="">
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Button"
+ helpExpression=""
+ isEnabledExpression=""
+ buttonLabelExpression="Label">
+ <initialOperation>
+ <firstModelOperations
+ xsi:type="tool:SetValue"
+ featureName="stringAttribute"
+ valueExpression="ButtonClicked"/>
+ </initialOperation>
+ </controls>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="ALongLongLongLabel"
+ helpExpression=""
+ isEnabledExpression=""
+ buttonLabelExpression="ALongLongLongLabel"/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="No Label"
+ helpExpression=""
+ isEnabledExpression=""
+ buttonLabelExpression=""/>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Style Button"
+ helpExpression=""
+ isEnabledExpression=""
+ buttonLabelExpression="Label">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='blue']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ </style>
+ </controls>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Conditional Style Button"
+ helpExpression=""
+ isEnabledExpression=""
+ buttonLabelExpression="Label">
+ <conditionalStyles
+ preconditionExpression="aql:true">
+ <style
+ labelFontNameExpression="Times new roman"
+ labelFontSize="12">
+ <labelBackgroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_gray']"/>
+ <labelForegroundColor
+ xsi:type="description:SystemColor"
+ href="environment:/viewpoint#//@systemColors/@entries[name='dark_green']"/>
+ <labelFontFormat>italic</labelFontFormat>
+ <labelFontFormat>bold</labelFontFormat>
+ <labelFontFormat>underline</labelFontFormat>
+ <labelFontFormat>strike_through</labelFontFormat>
+ </style>
+ </conditionalStyles>
+ </controls>
+ <controls
+ xsi:type="properties:ButtonDescription"
+ labelExpression="Disable Button"
+ helpExpression=""
+ isEnabledExpression="aql:false"
+ buttonLabelExpression="Label"/>
+ </groups>
+ </extensions>
+</description:Group>

Back to the top