Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/OperationExample.xwt')
-rw-r--r--examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/OperationExample.xwt51
1 files changed, 51 insertions, 0 deletions
diff --git a/examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/OperationExample.xwt b/examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/OperationExample.xwt
new file mode 100644
index 00000000000..413bc6c02f7
--- /dev/null
+++ b/examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/OperationExample.xwt
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Composite
+ xmlns:ppel="clr-namespace:org.eclipse.papyrus.views.properties.widgets.layout"
+ xmlns:ppe="clr-namespace:org.eclipse.papyrus.views.properties.widgets"
+ xmlns:umlXtext="clr-namespace:org.eclipse.papyrus.uml.properties.xtext"
+ xmlns:j="clr-namespace:java.lang" xmlns="http://www.eclipse.org/xwt/presentation"
+ xmlns:xtext="clr-namespace:org.eclipse.papyrus.infra.widgets.xtext.creation"
+ xmlns:x="http://www.eclipse.org/xwt">
+ <Composite.layout>
+ <ppel:PropertiesLayout></ppel:PropertiesLayout>
+ </Composite.layout>
+ <Composite>
+ <Composite.layout>
+ <ppel:PropertiesLayout></ppel:PropertiesLayout>
+ </Composite.layout>
+ <ppe:StringEditor input="{Binding}" property="UML:NamedElement:name"></ppe:StringEditor>
+ </Composite>
+ <Composite>
+ <Composite.layout>
+ <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout>
+ </Composite.layout>
+ <ppe:BooleanRadio input="{Binding}"
+ property="UML:BehavioralFeature:isAbstract"></ppe:BooleanRadio>
+ <ppe:BooleanRadio input="{Binding}"
+ property="UML:RedefinableElement:isLeaf"></ppe:BooleanRadio>
+ <ppe:BooleanRadio input="{Binding}" property="UML:Operation:isQuery"></ppe:BooleanRadio>
+ <ppe:BooleanRadio input="{Binding}" property="UML:Feature:isStatic"></ppe:BooleanRadio>
+ </Composite>
+ <Composite>
+ <Composite.layout>
+ <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout>
+ </Composite.layout>
+ <ppe:ReferenceDialog input="{Binding}"
+ property="UML:Operation:bodyCondition"></ppe:ReferenceDialog>
+ <ppe:EnumCombo input="{Binding}" property="UML:NamedElement:visibility"></ppe:EnumCombo>
+ <ppe:EnumCombo input="{Binding}" property="UML:BehavioralFeature:concurrency"></ppe:EnumCombo>
+ </Composite>
+ <Composite>
+ <Composite.layout>
+ <ppel:PropertiesLayout numColumns="2"></ppel:PropertiesLayout>
+ </Composite.layout>
+ <ppe:MultiReference input="{Binding}"
+ property="UML:BehavioralFeature:method"></ppe:MultiReference>
+ <ppe:MultiReference input="{Binding}"
+ property="UML:BehavioralFeature:ownedParameter"></ppe:MultiReference>
+ <ppe:MultiReference input="{Binding}" property="UML:Operation:precondition" customLabel="oldPreCondition"></ppe:MultiReference>
+ <ppe:CompletionStyledTextMultiReference input="{Binding}" property="UML:Operation:precondition" customLabel="NewPreCondition"></ppe:CompletionStyledTextMultiReference>
+ <ppe:MultiReference input="{Binding}"
+ property="UML:Operation:postcondition"></ppe:MultiReference>
+ </Composite>
+</Composite> \ No newline at end of file

Back to the top