Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Maggi2017-11-24 05:23:46 -0500
committerBenoit Maggi2017-12-14 03:38:21 -0500
commitac3c027356a20993ee782d09486c33df0456c5a3 (patch)
treede44ac6d3f53fd9f3e0a7b23d5a5b3b902363b56 /examples
parent9e0e11f6bf5ca4222f9eefcfd4f65b0307e18636 (diff)
downloadorg.eclipse.papyrus-ac3c027356a20993ee782d09486c33df0456c5a3.tar.gz
org.eclipse.papyrus-ac3c027356a20993ee782d09486c33df0456c5a3.tar.xz
org.eclipse.papyrus-ac3c027356a20993ee782d09486c33df0456c5a3.zip
Bug 518317 - [UMLPropertiesView] Autocompletion for type of properties
- new auto-completion editor: - no binding to uml element - available in example for property type - add a predicate filter for INameResolutionHelper - add completion proposal and processor for UML NamedElements - fix a bunch of quality warnings for Java 8 Change-Id: I38722b6782c13fb8de511c8d0e253ba491c27136 Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
Diffstat (limited to 'examples')
-rw-r--r--examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/PropertyExample.xwt6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/PropertyExample.xwt b/examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/PropertyExample.xwt
index 738b6f4c795..02e5037363e 100644
--- a/examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/PropertyExample.xwt
+++ b/examples/uml/org.eclipse.papyrus.uml.textual.editors.example/model/UML/ui/PropertyExample.xwt
@@ -2,6 +2,7 @@
<Composite xmlns:ppe="clr-namespace:org.eclipse.papyrus.infra.properties.ui.widgets"
xmlns:ppel="clr-namespace:org.eclipse.papyrus.infra.properties.ui.widgets.layout"
xmlns:xtexteditor="clr-namespace:org.eclipse.papyrus.uml.properties.xtext.widget.property"
+ xmlns:uml="clr-namespace:org.eclipse.papyrus.uml.properties.editors"
xmlns="http://www.eclipse.org/xwt/presentation" xmlns:x="http://www.eclipse.org/xwt">
<Composite.layout>
<ppel:PropertiesLayout></ppel:PropertiesLayout>
@@ -30,15 +31,14 @@
<ppe:EnumCombo input="{Binding}" property="UML:NamedElement:visibility"></ppe:EnumCombo>
<ppe:ReferenceDialog input="{Binding}" property="UML:TypedElement:type"
customLabel="Classic Type"></ppe:ReferenceDialog>
- <ppe:CompletionStyledTextReferenceDialog
- input="{Binding}" property="UML:TypedElement:type" customLabel="Auto-fill Type"></ppe:CompletionStyledTextReferenceDialog>
+ <ppe:CompletionStyledTextReferenceDialog input="{Binding}" property="UML:TypedElement:type" customLabel="Auto-fill Type"></ppe:CompletionStyledTextReferenceDialog>
+ <uml:AutoCompletePropertyEditor input="{Binding}" property="UML:TypedElement:type" customLabel="Auto-fill Type 2"></uml:AutoCompletePropertyEditor>
<xtexteditor:MultiplicityXTextDialog
property="Multiplicity:multiplicity" input="{Binding}"></xtexteditor:MultiplicityXTextDialog>
<ppe:ReferenceDialog input="{Binding}"
property="UML:Property:defaultValue"></ppe:ReferenceDialog>
<xtexteditor:UMLStyledTextReferenceDialog
property="UML:Property:defaultValue" input="{Binding}" directEditorConfiguration="org.eclipse.papyrus.uml.textedit.valuespecification.xtext.ui.contribution.ValueSpecificationXtextDirectEditorConfiguration"></xtexteditor:UMLStyledTextReferenceDialog>
- <ppe:EnumCombo input="{Binding}" property="UML:Property:aggregation"></ppe:EnumCombo>
<ppe:MultiReference input="{Binding}"
property="UML:Property:subsettedProperty"></ppe:MultiReference>
<ppe:MultiReference input="{Binding}"

Back to the top