Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGoulwen Le Fur2013-09-11 13:03:56 +0000
committerGoulwen Le Fur2013-09-11 13:03:56 +0000
commit886f07c6cdb95285399857590705a80142d17679 (patch)
tree6deeac17299bc72fd9369d45bc7ef195a91cf484 /tests
parent6f25e6929534e123fb8c8653947c0549c3fabec3 (diff)
parent12bd15bb57b5e48e46cf735d9998aafd71b548ba (diff)
downloadorg.eclipse.eef-886f07c6cdb95285399857590705a80142d17679.tar.gz
org.eclipse.eef-886f07c6cdb95285399857590705a80142d17679.tar.xz
org.eclipse.eef-886f07c6cdb95285399857590705a80142d17679.zip
Merge branch 'v1_3_0_BRANCH'
Conflicts: plugins/org.eclipse.emf.eef.mapping/model/mapping.ecore plugins/org.eclipse.emf.eef.modelingbot.edit/pom.xml plugins/org.eclipse.emf.eef.modelingbot.editor/pom.xml plugins/org.eclipse.emf.eef.modelingbot/META-INF/MANIFEST.MF plugins/org.eclipse.emf.eef.runtime.tests/META-INF/MANIFEST.MF plugins/org.eclipse.emf.eef.views/model/views.ecore plugins/org.eclipse.emf.modelingbot.xtext.ui/pom.xml plugins/org.eclipse.emf.modelingbot.xtext/pom.xml releng/org.eclipse.emf.eef.releng.parent/pom.xml releng/org.eclipse.emf.eef.update/category.xml releng/org.eclipse.emf.eef.update/pom.xml tests/org.eclipse.emf.eef.tests.nonreg.edit/pom.xml tests/org.eclipse.emf.eef.tests.nonreg.editor/pom.xml tests/org.eclipse.emf.eef.tests.nonreg.junit/pom.xml tests/org.eclipse.emf.eef.tests.nonreg/pom.xml tests/org.eclipse.emf.examples.eef.edit/pom.xml tests/org.eclipse.emf.examples.eef.editor/pom.xml tests/org.eclipse.emf.examples.eef.tests.junit/Conf AllTests.launch tests/org.eclipse.emf.examples.eef.tests.junit/pom.xml tests/org.eclipse.emf.examples.eef/pom.xml
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample1.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample2.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample3.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample1.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample2.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample3.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping_ConcreteReferenceTargetSample3.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_ConcreteReferenceTargetSample3.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_EReferencesViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_LinkEObjectFlatComboViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_LinkEReferenceViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_ConcreteReferenceTargetSample3.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_EReferencesViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_LinkEObjectFlatComboViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_LinkEReferenceViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_ConcreteReferenceTargetSample3.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_EReferencesViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_LinkEObjectFlatComboViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_LinkEReferenceViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_ConcreteReferenceTargetSample3.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_EReferencesViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_LinkEObjectFlatComboViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_LinkEReferenceViewerSample.gifbin0 -> 223 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/ConcreteReferenceTargetSample3.gifbin0 -> 129 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/EReferencesViewerSample.gifbin0 -> 129 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/LinkEObjectFlatComboViewerSample.gifbin0 -> 129 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/LinkEReferenceViewerSample.gifbin0 -> 129 bytes
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/models/eefnr.components116
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/plugin.properties15
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/plugin.xml36
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/pom.xml6
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/eefnr_properties.plugin.xml18
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedEObjectFlatComboViewerSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedReferencesTableSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedTableCompositionEditorSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/CheckboxSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EMFComboViewerSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EObjectFlatComboViewerSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EReferencesViewerSamplePropertiesEditionComponent.java246
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/FlatReferenceTableSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/ImageViewerSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/LinkEObjectFlatComboViewerSamplePropertiesEditionComponent.java294
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/LinkEReferenceViewerSamplePropertiesEditionComponent.java351
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/MultiValuedEditorSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/RadioSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/ReferencesTableSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/RootPropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SelectionDialogSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SingleCompositionEditorSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SingleCompositionViewerSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TableCompositionEditorSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TableCompositionExtensionEditorSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextareaSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TotalSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/ConcreteReferenceOwnerSamplePropertiesEditionPart.java88
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/FiltersViewsRepository.java6
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/forms/ConcreteReferenceOwnerSamplePropertiesEditionPartForm.java418
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/impl/ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.java419
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/FiltersMessages.java6
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/FiltersPropertiesEditionPartProvider.java28
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/filtersMessages.properties8
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/filtersMessages_fr.properties8
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/parts/SimpleSamplePropertiesEditionPart.java.lost114
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/Interface_PropertiesEditionPartProvider.java12
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/interface_Messages.properties2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/interface_Messages_fr.properties2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/parts/forms/OwnerPropertiesEditionPartForm.java12
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/parts/impl/OwnerPropertiesEditionPartImpl.java12
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/NamingPropertiesEditionPartProvider.java20
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/NavigationPropertiesEditionPartProvider.java64
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/namingMessages.properties2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/namingMessages_fr.properties2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/navigationMessages.properties12
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/navigationMessages_fr.properties12
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/EReferencesViewerSamplePropertiesEditionPart.java170
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/EefnrViewsRepository.java63
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/LinkEObjectFlatComboViewerSamplePropertiesEditionPart.java187
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/LinkEReferenceViewerSamplePropertiesEditionPart.java187
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.java24
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/EReferencesViewerSamplePropertiesEditionPartForm.java645
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.java537
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/LinkEReferenceViewerSamplePropertiesEditionPartForm.java537
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.java24
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/EReferencesViewerSamplePropertiesEditionPartImpl.java629
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.java521
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/LinkEReferenceViewerSamplePropertiesEditionPartImpl.java521
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedEObjectFlatComboViewerSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedReferencesTableSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedTableCompositionEditorSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/CheckboxSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EMFComboViewerSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EObjectFlatComboViewerSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EReferencesViewerSamplePropertiesEditionProvider.java150
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrEEFAdapterFactory.java36
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrMessages.java54
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrPropertiesEditionPartProvider.java132
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/FlatReferenceTableSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/ImageViewerSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/LinkEObjectFlatComboViewerSamplePropertiesEditionProvider.java150
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/LinkEReferenceViewerSamplePropertiesEditionProvider.java150
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/MultiValuedEditorSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/RadioSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/ReferencesTableSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/RootPropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SelectionDialogSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SingleCompositionEditorSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SingleCompositionViewerSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TableCompositionEditorSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TableCompositionExtensionEditorSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextSampleWithTwoTabsPropertiesEditionProvider.java44
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextareaSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TotalSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/eefnrMessages.properties60
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/eefnrMessages_fr.properties60
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/ReferencesPropertiesEditionPartProvider.java28
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/referencesMessages.properties6
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/referencesMessages_fr.properties6
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/CheckBoxExtendedEditorSampleBasePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/FlatReferenceExtendedEditorSampleBasePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/FlatReferenceExtendedEditorSampleSecondFlatReferenceExtendedEditorSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/TableCompositionTargetExtensionEditorSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/CheckBoxExtendedEditorSamplePropertiesEditionProvider.java46
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/EefnrextEEFAdapterFactory.java18
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/EefnrextPropertiesEditionPartProvider.java32
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/FlatReferenceExtendedEditorSamplePropertiesEditionProvider.java48
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/TableCompositionTargetExtensionEditorSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/eefnrextMessages.properties6
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/eefnrextMessages_fr.properties6
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceOwnerSamplePropertiesEditionComponent.java173
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceTargetSample1PropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceTargetSample2PropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceOwnerSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceTargetSample1PropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceTargetSample2PropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/FiltersEEFAdapterFactory.java8
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/components/EventPropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/providers/EventPropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/providers/NamingEEFAdapterFactory.java8
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/AnotherSubtypeBasePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/AttributeNavigationSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/DeferedFlatReferencesTableSampleEditorPropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/DeferedReferencesTableSampleEditorPropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/ElementBasePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/FirstModelNavigationSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/NamedElementPropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/OwnerPropertiesEditionComponent.java8
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SecondModelNavigationSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SmartModelNavigationSampleSmartNavigationSampleOnglet2PropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SmartModelNavigationSampleSmartNavigationSamplePropertiesEditionComponent.java282
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SubtypeBasePropertiesEditionComponent.java8
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/AnotherSubtypePropertiesEditionProvider.java46
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/AttributeNavigationSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/DeferedFlatReferencesTableSampleEditorPropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/DeferedReferencesTableSampleEditorPropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/ElementPropertiesEditionProvider.java44
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/FirstModelNavigationSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/NamedElementPropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/NavigationEEFAdapterFactory.java18
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/OwnerPropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/SecondModelNavigationSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/SmartModelNavigationSamplePropertiesEditionProvider.java44
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/providers/SubtypePropertiesEditionProvider.java44
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/references/components/AbstractEnabledSampleBasePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/references/components/AbstractSamplePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/references/components/ReferenceEnabledSampleBasePropertiesEditionComponent.java2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/references/providers/AbstractEnabledSamplePropertiesEditionProvider.java44
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/references/providers/AbstractSamplePropertiesEditionProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/references/providers/ReferenceEnabledSamplePropertiesEditionProvider.java44
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/references/providers/ReferencesEEFAdapterFactory.java18
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src/org/eclipse/emf/eef/eefnr/filters/provider/ConcreteReferenceOwnerSampleItemProvider.java63
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src/org/eclipse/emf/eef/eefnr/filters/provider/ConcreteReferenceTargetSample3ItemProvider.java114
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src/org/eclipse/emf/eef/eefnr/filters/provider/FiltersItemProviderAdapterFactory.java24
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src/org/eclipse/emf/eef/eefnr/provider/EReferencesViewerSampleItemProvider.java185
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src/org/eclipse/emf/eef/eefnr/provider/EefnrItemProviderAdapterFactory.java72
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src/org/eclipse/emf/eef/eefnr/provider/LinkEObjectFlatComboViewerSampleItemProvider.java185
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src/org/eclipse/emf/eef/eefnr/provider/LinkEReferenceViewerSampleItemProvider.java185
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src/org/eclipse/emf/eef/eefnr/provider/RootItemProvider.java20
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src/org/eclipse/emf/eef/eefnr/provider/SingleCompositionEditorSampleItemProvider.java20
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src/org/eclipse/emf/eef/eefnr/provider/SingleCompositionViewerSampleItemProvider.java40
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.edit/src/org/eclipse/emf/eef/eefnr/provider/TextSampleItemProvider.java4
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.editor/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.editor/pom.xml6
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.junit/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg.junit/pom.xml6
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore29
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/model/eefnr.genmodel18
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/pom.xml6
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/EReferencesViewerSample.java78
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/EefnrFactory.java27
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/EefnrPackage.java398
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/LinkEObjectFlatComboViewerSample.java107
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/LinkEReferenceViewerSample.java107
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/filters/ConcreteReferenceOwnerSample.java34
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/filters/ConcreteReferenceTargetSample3.java21
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/filters/FiltersFactory.java9
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/filters/FiltersPackage.java107
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/filters/impl/ConcreteReferenceOwnerSampleImpl.java71
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/filters/impl/ConcreteReferenceTargetSample3Impl.java43
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/filters/impl/FiltersFactoryImpl.java11
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/filters/impl/FiltersPackageImpl.java44
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/filters/util/FiltersAdapterFactory.java18
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/filters/util/FiltersSwitch.java23
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/impl/EReferencesViewerSampleImpl.java204
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/impl/EefnrFactoryImpl.java33
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/impl/EefnrPackageImpl.java165
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/impl/LinkEObjectFlatComboViewerSampleImpl.java281
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/impl/LinkEReferenceViewerSampleImpl.java281
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/util/EefnrAdapterFactory.java54
-rw-r--r--tests/org.eclipse.emf.eef.tests.nonreg/src/org/eclipse/emf/eef/eefnr/util/EefnrSwitch.java66
-rw-r--r--tests/org.eclipse.emf.examples.eef.edit/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.emf.examples.eef.edit/pom.xml6
-rw-r--r--tests/org.eclipse.emf.examples.eef.editor/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.emf.examples.eef.editor/pom.xml6
-rw-r--r--tests/org.eclipse.emf.examples.eef.tests.junit/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.emf.examples.eef.tests.junit/pom.xml6
-rw-r--r--tests/org.eclipse.emf.examples.eef/META-INF/MANIFEST.MF2
-rw-r--r--tests/org.eclipse.emf.examples.eef/pom.xml6
225 files changed, 11314 insertions, 1524 deletions
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/META-INF/MANIFEST.MF b/tests/org.eclipse.emf.eef.tests.nonreg.edit/META-INF/MANIFEST.MF
index afa040314..44d438f6b 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.emf.eef.tests.nonreg.edit;singleton:=true
-Bundle-Version: 1.2.0.qualifier
+Bundle-Version: 1.3.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: org.eclipse.emf.eef.eefnr.provider.EefnrEditPlugin$Implementation
Bundle-Vendor: %providerName
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample1.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample1.gif
new file mode 100644
index 000000000..60148743b
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample1.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample2.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample2.gif
new file mode 100644
index 000000000..90f4828ff
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample2.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample3.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample3.gif
new file mode 100644
index 000000000..b822374d0
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping2_ConcreteReferenceTargetSample3.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample1.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample1.gif
new file mode 100644
index 000000000..60148743b
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample1.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample2.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample2.gif
new file mode 100644
index 000000000..90f4828ff
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample2.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample3.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample3.gif
new file mode 100644
index 000000000..b822374d0
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping3_ConcreteReferenceTargetSample3.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping_ConcreteReferenceTargetSample3.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping_ConcreteReferenceTargetSample3.gif
new file mode 100644
index 000000000..b822374d0
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateConcreteReferenceOwnerSample_strictTyping_ConcreteReferenceTargetSample3.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_ConcreteReferenceTargetSample3.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_ConcreteReferenceTargetSample3.gif
new file mode 100644
index 000000000..2f17416e6
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_ConcreteReferenceTargetSample3.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_EReferencesViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_EReferencesViewerSample.gif
new file mode 100644
index 000000000..c7e3de09e
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_EReferencesViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_LinkEObjectFlatComboViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_LinkEObjectFlatComboViewerSample.gif
new file mode 100644
index 000000000..352de32cb
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_LinkEObjectFlatComboViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_LinkEReferenceViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_LinkEReferenceViewerSample.gif
new file mode 100644
index 000000000..1875b139e
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateRoot_samples_LinkEReferenceViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_ConcreteReferenceTargetSample3.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_ConcreteReferenceTargetSample3.gif
new file mode 100644
index 000000000..5f2cec76f
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_ConcreteReferenceTargetSample3.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_EReferencesViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_EReferencesViewerSample.gif
new file mode 100644
index 000000000..77b5f03cd
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_EReferencesViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_LinkEObjectFlatComboViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_LinkEObjectFlatComboViewerSample.gif
new file mode 100644
index 000000000..7a6da4c5c
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_LinkEObjectFlatComboViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_LinkEReferenceViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_LinkEReferenceViewerSample.gif
new file mode 100644
index 000000000..a84730960
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_LinkEReferenceViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_ConcreteReferenceTargetSample3.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_ConcreteReferenceTargetSample3.gif
new file mode 100644
index 000000000..885be3ddf
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_ConcreteReferenceTargetSample3.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_EReferencesViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_EReferencesViewerSample.gif
new file mode 100644
index 000000000..0f74a7e4d
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_EReferencesViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_LinkEObjectFlatComboViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_LinkEObjectFlatComboViewerSample.gif
new file mode 100644
index 000000000..2a7113645
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_LinkEObjectFlatComboViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_LinkEReferenceViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_LinkEReferenceViewerSample.gif
new file mode 100644
index 000000000..4d57a2bcf
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiOptionalProperty_LinkEReferenceViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_ConcreteReferenceTargetSample3.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_ConcreteReferenceTargetSample3.gif
new file mode 100644
index 000000000..885be3ddf
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_ConcreteReferenceTargetSample3.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_EReferencesViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_EReferencesViewerSample.gif
new file mode 100644
index 000000000..0f74a7e4d
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_EReferencesViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_LinkEObjectFlatComboViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_LinkEObjectFlatComboViewerSample.gif
new file mode 100644
index 000000000..2a7113645
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_LinkEObjectFlatComboViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_LinkEReferenceViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_LinkEReferenceViewerSample.gif
new file mode 100644
index 000000000..4d57a2bcf
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/ctool16/CreateSingleCompositionViewerSample_singlecompositionviewMultiRequiredProperty_LinkEReferenceViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/ConcreteReferenceTargetSample3.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/ConcreteReferenceTargetSample3.gif
new file mode 100644
index 000000000..c00aedf41
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/ConcreteReferenceTargetSample3.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/EReferencesViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/EReferencesViewerSample.gif
new file mode 100644
index 000000000..db7414e93
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/EReferencesViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/LinkEObjectFlatComboViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/LinkEObjectFlatComboViewerSample.gif
new file mode 100644
index 000000000..be22463d2
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/LinkEObjectFlatComboViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/LinkEReferenceViewerSample.gif b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/LinkEReferenceViewerSample.gif
new file mode 100644
index 000000000..739ebbfa6
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/icons/full/obj16/LinkEReferenceViewerSample.gif
Binary files differ
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/models/eefnr.components b/tests/org.eclipse.emf.eef.tests.nonreg.edit/models/eefnr.components
index d0457ba6f..a0763d6e5 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/models/eefnr.components
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/models/eefnr.components
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ASCII"?>
-<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:eef-components="http://www.eclipse.org/emf/eef/components/1.0.0" xmlns:eef-mapping-filters="http://www.eclipse.org/emf/eef/mapping/filters/1.0.0" xmlns:eef-mapping-navigation="http://www.eclipse.org/emf/eef/mapping/navigation/1.0.0" xmlns:eef-views="http://www.eclipse.org/emf/eef/views/1.0.0">
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:eef-components="http://www.eclipse.org/emf/eef/components/1.0.0" xmlns:eef-mapping-filters="http://www.eclipse.org/emf/eef/mapping/filters/1.0.0" xmlns:eef-mapping-navigation="http://www.eclipse.org/emf/eef/mapping/navigation/1.0.0" xmlns:eef-mapping-settings="http://www.eclipse.org/emf/eef/mapping/settings/1.0.0" xmlns:eef-views="http://www.eclipse.org/emf/eef/views/1.0.0">
<eef-components:PropertiesEditionContext xmi:id="_Fx_LAAwvEd-uP4lw9e0IMw" documentation="Edition Context for eefnr GenPackage">
<categories xmi:id="_Fx_LAQwvEd-uP4lw9e0IMw" name="eefnr">
<bindings xsi:type="eef-components:PropertiesEditionComponent" xmi:id="_Fx_LAgwvEd-uP4lw9e0IMw" name="Root" views="_Fx_LQwwvEd-uP4lw9e0IMw">
@@ -335,6 +335,54 @@
</properties>
<model xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//SingleCompositionEditorSample"/>
</bindings>
+ <bindings xsi:type="eef-components:PropertiesEditionComponent" xmi:id="_4xsQkAs5EeOafYLGlDwoXA" name="EReferencesViewerSample" views="_rdf2oAs5EeOafYLGlDwoXA">
+ <properties xsi:type="eef-components:PropertiesEditionElement" xmi:id="_4xsQkQs5EeOafYLGlDwoXA" name="ereferencesviewerRequiredProperty" views="_rdf2ogs5EeOafYLGlDwoXA">
+ <model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//EReferencesViewerSample/ereferencesviewerRequiredProperty"/>
+ </properties>
+ <properties xsi:type="eef-components:PropertiesEditionElement" xmi:id="_4xsQkgs5EeOafYLGlDwoXA" name="advancedreferencestableOptionalProperty" views="_rdf2ows5EeOafYLGlDwoXA">
+ <model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//EReferencesViewerSample/ereferencesviewerOptionalProperty"/>
+ </properties>
+ <properties xsi:type="eef-components:PropertiesEditionElement" xmi:id="_4xsQkws5EeOafYLGlDwoXA" name="ereferencesviewerROProperty" views="_rdf2pAs5EeOafYLGlDwoXA">
+ <model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//EReferencesViewerSample/ereferencesviewerROProperty"/>
+ </properties>
+ <model xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//EReferencesViewerSample"/>
+ </bindings>
+ <bindings xsi:type="eef-components:PropertiesEditionComponent" xmi:id="_X8m_oA_IEeOtnotRHILiPg" name="LinkEObjectFlatComboViewerSample" views="_vpdhYQ_GEeOmeoHjPcUG7Q">
+ <properties xsi:type="eef-components:PropertiesEditionElement" xmi:id="_X8m_oQ_IEeOtnotRHILiPg" name="linkeobjectflatcomboviewerRequiredProperty" views="_vpdhYw_GEeOmeoHjPcUG7Q">
+ <model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//LinkEObjectFlatComboViewerSample/linkeobjectflatcomboviewerRequiredProperty"/>
+ </properties>
+ <properties xsi:type="eef-components:PropertiesEditionElement" xmi:id="_X8m_og_IEeOtnotRHILiPg" name="linkeobjectflatcomboviewerOptionalProperty" views="_vpdhZA_GEeOmeoHjPcUG7Q">
+ <model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//LinkEObjectFlatComboViewerSample/linkeobjectflatcomboviewerOptionalProperty"/>
+ </properties>
+ <properties xsi:type="eef-components:PropertiesEditionElement" xmi:id="_X8m_ow_IEeOtnotRHILiPg" name="linkeobjectflatcomboviewerROProperty" views="_vpdhZQ_GEeOmeoHjPcUG7Q">
+ <model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//LinkEObjectFlatComboViewerSample/linkeobjectflatcomboviewerROPropery"/>
+ </properties>
+ <model xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//LinkEObjectFlatComboViewerSample"/>
+ </bindings>
+ <bindings xsi:type="eef-components:PropertiesEditionComponent" xmi:id="_u5QhkA_IEeOtnotRHILiPg" name="LinkEReferenceViewerSample" views="_NKsVMA_IEeOtnotRHILiPg">
+ <properties xsi:type="eef-components:PropertiesEditionElement" xmi:id="_u5QhkQ_IEeOtnotRHILiPg" name="linkereferenceviewerRequiredProperty" views="_NKsVMg_IEeOtnotRHILiPg">
+ <model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//LinkEReferenceViewerSample/linkereferenceviewerRequiredProperty"/>
+ <editorSetting xsi:type="eef-mapping-settings:EReferenceViewerSettings" xmi:id="_8Zj_sQ_aEeOSFvLuOKidPw">
+ <model href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//Root/samples"/>
+ <filter xsi:type="eef-mapping-filters:JavaBodyStepFilter" xmi:id="_Iktt8A_bEeOSFvLuOKidPw" body="return semanticObject.eContainer();"/>
+ </editorSetting>
+ </properties>
+ <properties xsi:type="eef-components:PropertiesEditionElement" xmi:id="_u5RIoA_IEeOtnotRHILiPg" name="linkereferenceviewerOptionalProperty" views="_NKsVMw_IEeOtnotRHILiPg">
+ <model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//LinkEReferenceViewerSample/linkereferenceviewerOptionalProperty"/>
+ <editorSetting xsi:type="eef-mapping-settings:EReferenceViewerSettings" xmi:id="_Q_hXEA_bEeOSFvLuOKidPw">
+ <model href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//Root/samples"/>
+ <filter xsi:type="eef-mapping-filters:JavaBodyStepFilter" xmi:id="_Q_hXEQ_bEeOSFvLuOKidPw" body="return semanticObject.eContainer();"/>
+ </editorSetting>
+ </properties>
+ <properties xsi:type="eef-components:PropertiesEditionElement" xmi:id="_u5RIoQ_IEeOtnotRHILiPg" name="linkereferenceviewerROProperty" views="_NKsVNA_IEeOtnotRHILiPg">
+ <model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//LinkEReferenceViewerSample/linkereferenceviewerROPropery"/>
+ <editorSetting xsi:type="eef-mapping-settings:EReferenceViewerSettings" xmi:id="_ROC7QA_bEeOSFvLuOKidPw">
+ <model href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//Root/samples"/>
+ <filter xsi:type="eef-mapping-filters:JavaBodyStepFilter" xmi:id="_ROC7QQ_bEeOSFvLuOKidPw" body="return semanticObject.eContainer();"/>
+ </editorSetting>
+ </properties>
+ <model xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//LinkEReferenceViewerSample"/>
+ </bindings>
</categories>
<model href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.genmodel#//eefnr"/>
</eef-components:PropertiesEditionContext>
@@ -671,6 +719,24 @@
</bindingFilters>
<model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//filters/ConcreteReferenceOwnerSample/strictTyping"/>
</properties>
+ <properties xsi:type="eef-components:PropertiesEditionElement" xmi:id="_AyErYBF4EeOaZubmM6as9Q" name="strictTypingMultipleOnTableComposition" views="_8OaS8BF3EeOaZubmM6as9Q">
+ <bindingFilters xsi:type="eef-mapping-filters:StrictTypingFilter" xmi:id="_GPWzcBF4EeOaZubmM6as9Q" name="StrictTyping">
+ <type xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//filters/ConcreteReferenceTargetSample2"/>
+ </bindingFilters>
+ <bindingFilters xsi:type="eef-mapping-filters:StrictTypingFilter" xmi:id="_GnnicBF4EeOaZubmM6as9Q" name="StrictTyping2">
+ <type xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//filters/ConcreteReferenceTargetSample3"/>
+ </bindingFilters>
+ <model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//filters/ConcreteReferenceOwnerSample/strictTyping2"/>
+ </properties>
+ <properties xsi:type="eef-components:PropertiesEditionElement" xmi:id="_Kd0X8BF4EeOaZubmM6as9Q" name="strictTypingMultipleOnAdvancedTableComposition" views="_8U5VcBF3EeOaZubmM6as9Q">
+ <bindingFilters xsi:type="eef-mapping-filters:StrictTypingFilter" xmi:id="_Kd0_ABF4EeOaZubmM6as9Q" name="StrictTyping">
+ <type xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//filters/ConcreteReferenceTargetSample2"/>
+ </bindingFilters>
+ <bindingFilters xsi:type="eef-mapping-filters:StrictTypingFilter" xmi:id="_Kd0_ARF4EeOaZubmM6as9Q" name="StrictTyping2">
+ <type xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//filters/ConcreteReferenceTargetSample1"/>
+ </bindingFilters>
+ <model xsi:type="ecore:EReference" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//filters/ConcreteReferenceOwnerSample/strictTyping3"/>
+ </properties>
<model xsi:type="ecore:EClass" href="platform:/resource/org.eclipse.emf.eef.tests.nonreg/model/eefnr.ecore#//filters/ConcreteReferenceOwnerSample"/>
</bindings>
<bindings xsi:type="eef-components:PropertiesEditionComponent" xmi:id="_Z3Siby1SEeCoYry1ltbGrg" name="ConcreteReferenceTargetSample1" views="_Z3TwjC1SEeCoYry1ltbGrg">
@@ -1131,6 +1197,48 @@
</elements>
</elements>
</views>
+ <views xmi:id="_rdf2oAs5EeOafYLGlDwoXA" name="EReferencesViewerSample">
+ <elements xsi:type="eef-views:Container" xmi:id="_rdf2oQs5EeOafYLGlDwoXA" name="properties">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/SWT.toolkits#//@widgets.4"/>
+ <elements xsi:type="eef-views:ElementEditor" xmi:id="_rdf2ogs5EeOafYLGlDwoXA" name="ereferencesviewerRequiredProperty">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.17"/>
+ </elements>
+ <elements xsi:type="eef-views:ElementEditor" xmi:id="_rdf2ows5EeOafYLGlDwoXA" name="ereferencesviewerOptionalProperty">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.17"/>
+ </elements>
+ <elements xsi:type="eef-views:ElementEditor" xmi:id="_rdf2pAs5EeOafYLGlDwoXA" name="ereferencesviewerROProperty" readOnly="true">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.17"/>
+ </elements>
+ </elements>
+ </views>
+ <views xmi:id="_vpdhYQ_GEeOmeoHjPcUG7Q" name="LinkEObjectFlatComboViewerSample">
+ <elements xsi:type="eef-views:Container" xmi:id="_vpdhYg_GEeOmeoHjPcUG7Q" name="properties">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/SWT.toolkits#//@widgets.4"/>
+ <elements xsi:type="eef-views:ElementEditor" xmi:id="_vpdhYw_GEeOmeoHjPcUG7Q" name="linkeobjectflatcomboviewerRequiredPropery">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.15"/>
+ </elements>
+ <elements xsi:type="eef-views:ElementEditor" xmi:id="_vpdhZA_GEeOmeoHjPcUG7Q" name="linkeobjectflatcomboviewerOptionalPropery">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.15"/>
+ </elements>
+ <elements xsi:type="eef-views:ElementEditor" xmi:id="_vpdhZQ_GEeOmeoHjPcUG7Q" name="linkeobjectflatcomboviewerROPropery" readOnly="true">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.15"/>
+ </elements>
+ </elements>
+ </views>
+ <views xmi:id="_NKsVMA_IEeOtnotRHILiPg" name="LinkEReferenceViewerSample">
+ <elements xsi:type="eef-views:Container" xmi:id="_NKsVMQ_IEeOtnotRHILiPg" name="properties">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/SWT.toolkits#//@widgets.4"/>
+ <elements xsi:type="eef-views:ElementEditor" xmi:id="_NKsVMg_IEeOtnotRHILiPg" name="linkereferenceviewerRequiredPropery">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.16"/>
+ </elements>
+ <elements xsi:type="eef-views:ElementEditor" xmi:id="_NKsVMw_IEeOtnotRHILiPg" name="linkereferenceviewerOptionalPropery">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.16"/>
+ </elements>
+ <elements xsi:type="eef-views:ElementEditor" xmi:id="_NKsVNA_IEeOtnotRHILiPg" name="linkereferenceviewerROPropery" readOnly="true">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.16"/>
+ </elements>
+ </elements>
+ </views>
</categories>
</eef-views:ViewsRepository>
<eef-views:ViewsRepository xmi:id="_IPsHCz1-Ed-LLuOHydFNYe" documentation="Views repository for references GenPackage" name="references">
@@ -1410,6 +1518,12 @@
<elements xsi:type="eef-views:ElementEditor" xmi:id="_wF62UC3oEeCjCeyEYuXGRQ" name="strictTyping">
<representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.7"/>
</elements>
+ <elements xsi:type="eef-views:ElementEditor" xmi:id="_8OaS8BF3EeOaZubmM6as9Q" name="strictTypingMultipleOnTableComposition">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.4"/>
+ </elements>
+ <elements xsi:type="eef-views:ElementEditor" xmi:id="_8U5VcBF3EeOaZubmM6as9Q" name="strictTypingMultipleOnAdvancedTableComposition">
+ <representation href="platform:/plugin/org.eclipse.emf.eef.views/std/EMFProperties.toolkits#//@widgets.7"/>
+ </elements>
</elements>
</views>
<views xmi:id="_Z3TwjC1SEeCoYry1ltbGrg" name="ConcreteReferenceTargetSample1">
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/plugin.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/plugin.properties
index 878b31806..b607b9d6f 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/plugin.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/plugin.properties
@@ -237,3 +237,18 @@ _UI_SingleCompositionEditorSample_singlecompositioneditorRequiredProperty_featur
_UI_SingleCompositionEditorSample_singlecompositioneditorOptionalProperty_feature = Singlecompositioneditor Optional Property
_UI_SingleCompositionEditorSample_singlecompositioneditorROPropery_feature = Singlecompositioneditor RO Propery
_UI_SingleCompositionEditorSample_singlecompositioneditorOnAbstractOptionalProperty_feature = Singlecompositioneditor On Abstract Optional Property
+_UI_EReferencesViewerSample_type = EReferences Viewer Sample
+_UI_EReferencesViewerSample_ereferencesviewerRequiredProperty_feature = Ereferencesviewer Required Property
+_UI_EReferencesViewerSample_ereferencesviewerOptionalProperty_feature = Ereferencesviewer Optional Property
+_UI_EReferencesViewerSample_ereferencesviewerROProperty_feature = Ereferencesviewer RO Property
+_UI_LinkEObjectFlatComboViewerSample_type = Link EObject Flat Combo Viewer Sample
+_UI_LinkEObjectFlatComboViewerSample_linkeobjectflatcomboviewerRequiredProperty_feature = Linkeobjectflatcomboviewer Required Property
+_UI_LinkEObjectFlatComboViewerSample_linkeobjectflatcomboviewerOptionalProperty_feature = Linkeobjectflatcomboviewer Optional Property
+_UI_LinkEObjectFlatComboViewerSample_linkeobjectflatcomboviewerROPropery_feature = Linkeobjectflatcomboviewer RO Propery
+_UI_LinkEReferenceViewerSample_type = Link EReference Viewer Sample
+_UI_LinkEReferenceViewerSample_linkereferenceviewerRequiredProperty_feature = Linkereferenceviewer Required Property
+_UI_LinkEReferenceViewerSample_linkereferenceviewerOptionalProperty_feature = Linkereferenceviewer Optional Property
+_UI_LinkEReferenceViewerSample_linkereferenceviewerROPropery_feature = Linkereferenceviewer RO Propery
+_UI_ConcreteReferenceTargetSample3_type = Concrete Reference Target Sample3
+_UI_ConcreteReferenceOwnerSample_strictTyping2_feature = Strict Typing2
+_UI_ConcreteReferenceOwnerSample_strictTyping3_feature = Strict Typing3
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/plugin.xml b/tests/org.eclipse.emf.eef.tests.nonreg.edit/plugin.xml
index 8ce01af10..7902d6f48 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/plugin.xml
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/plugin.xml
@@ -301,6 +301,12 @@
id="org.eclipse.emf.eef.eefnr.section.AdvancedReferencesTableSample"
tab="Base">
</propertySection>
+ <propertySection
+ class="org.eclipse.emf.eef.eefnr.parts.forms.EReferencesViewerSamplePropertiesEditionPartForm"
+ filter="org.eclipse.emf.eef.eefnr.providers.EReferencesViewerSamplePropertiesEditionProvider$EditionFilter"
+ id="org.eclipse.emf.eef.eefnr.section.EReferencesViewerSample"
+ tab="Base">
+ </propertySection>
<propertySection
class="org.eclipse.emf.eef.eefnr.parts.forms.AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm"
filter="org.eclipse.emf.eef.eefnr.providers.AdvancedEObjectFlatComboViewerSamplePropertiesEditionProvider$EditionFilter"
@@ -361,6 +367,18 @@
id="org.eclipse.emf.eef.eefnr.section.SingleCompositionViewerSample"
tab="Base">
</propertySection>
+ <propertySection
+ class="org.eclipse.emf.eef.eefnr.parts.forms.LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm"
+ filter="org.eclipse.emf.eef.eefnr.providers.LinkEObjectFlatComboViewerSamplePropertiesEditionProvider$EditionFilter"
+ id="org.eclipse.emf.eef.eefnr.section.LinkEObjectFlatComboViewerSample"
+ tab="Base">
+ </propertySection>
+ <propertySection
+ class="org.eclipse.emf.eef.eefnr.parts.forms.LinkEReferenceViewerSamplePropertiesEditionPartForm"
+ filter="org.eclipse.emf.eef.eefnr.providers.LinkEReferenceViewerSamplePropertiesEditionProvider$EditionFilter"
+ id="org.eclipse.emf.eef.eefnr.section.LinkEReferenceViewerSample"
+ tab="Base">
+ </propertySection>
</propertySections>
</extension>
@@ -948,6 +966,12 @@
id="org.eclipse.emf.eef.eefnr.section.AdvancedReferencesTableSample"
tab="Base">
</propertySection>
+ <propertySection
+ class="org.eclipse.emf.eef.eefnr.parts.forms.EReferencesViewerSamplePropertiesEditionPartForm"
+ filter="org.eclipse.emf.eef.eefnr.providers.EReferencesViewerSamplePropertiesEditionProvider$EditionFilter"
+ id="org.eclipse.emf.eef.eefnr.section.EReferencesViewerSample"
+ tab="Base">
+ </propertySection>
<propertySection
class="org.eclipse.emf.eef.eefnr.parts.forms.AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm"
filter="org.eclipse.emf.eef.eefnr.providers.AdvancedEObjectFlatComboViewerSamplePropertiesEditionProvider$EditionFilter"
@@ -1008,6 +1032,18 @@
id="org.eclipse.emf.eef.eefnr.section.SingleCompositionViewerSample"
tab="Base">
</propertySection>
+ <propertySection
+ class="org.eclipse.emf.eef.eefnr.parts.forms.LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm"
+ filter="org.eclipse.emf.eef.eefnr.providers.LinkEObjectFlatComboViewerSamplePropertiesEditionProvider$EditionFilter"
+ id="org.eclipse.emf.eef.eefnr.section.LinkEObjectFlatComboViewerSample"
+ tab="Base">
+ </propertySection>
+ <propertySection
+ class="org.eclipse.emf.eef.eefnr.parts.forms.LinkEReferenceViewerSamplePropertiesEditionPartForm"
+ filter="org.eclipse.emf.eef.eefnr.providers.LinkEReferenceViewerSamplePropertiesEditionProvider$EditionFilter"
+ id="org.eclipse.emf.eef.eefnr.section.LinkEReferenceViewerSample"
+ tab="Base">
+ </propertySection>
</propertySections>
</extension>
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/pom.xml b/tests/org.eclipse.emf.eef.tests.nonreg.edit/pom.xml
index 5e1bbc565..04cc4b798 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/pom.xml
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/pom.xml
@@ -15,9 +15,9 @@
<parent>
<groupId>org.eclipse.emf</groupId>
- <artifactId>org.eclipse.emf.eef.releng.bridge.xtext-intent.parent</artifactId>
- <relativePath>../../releng/org.eclipse.emf.eef.releng.parent/bridges/xtext-intent</relativePath>
- <version>1.2.0-SNAPSHOT</version>
+ <artifactId>org.eclipse.emf.eef.releng.parent</artifactId>
+ <relativePath>../../releng/org.eclipse.emf.eef.releng.parent</relativePath>
+ <version>1.3.0-SNAPSHOT</version>
</parent>
<artifactId>org.eclipse.emf.eef.tests.nonreg.edit</artifactId>
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/eefnr_properties.plugin.xml b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/eefnr_properties.plugin.xml
index 92faa8706..9f4d92b47 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/eefnr_properties.plugin.xml
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/eefnr_properties.plugin.xml
@@ -237,6 +237,24 @@
id="org.eclipse.emf.eef.eefnr.section.SingleCompositionEditorSample"
tab="Base">
</propertySection>
+ <propertySection
+ class="org.eclipse.emf.eef.eefnr.parts.forms.EReferencesViewerSamplePropertiesEditionPartForm"
+ filter="org.eclipse.emf.eef.eefnr.providers.EReferencesViewerSamplePropertiesEditionProvider$EditionFilter"
+ id="org.eclipse.emf.eef.eefnr.section.EReferencesViewerSample"
+ tab="Base">
+ </propertySection>
+ <propertySection
+ class="org.eclipse.emf.eef.eefnr.parts.forms.LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm"
+ filter="org.eclipse.emf.eef.eefnr.providers.LinkEObjectFlatComboViewerSamplePropertiesEditionProvider$EditionFilter"
+ id="org.eclipse.emf.eef.eefnr.section.LinkEObjectFlatComboViewerSample"
+ tab="Base">
+ </propertySection>
+ <propertySection
+ class="org.eclipse.emf.eef.eefnr.parts.forms.LinkEReferenceViewerSamplePropertiesEditionPartForm"
+ filter="org.eclipse.emf.eef.eefnr.providers.LinkEReferenceViewerSamplePropertiesEditionProvider$EditionFilter"
+ id="org.eclipse.emf.eef.eefnr.section.LinkEReferenceViewerSample"
+ tab="Base">
+ </propertySection>
</propertySections>
</extension>
</plugin>
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedEObjectFlatComboViewerSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedEObjectFlatComboViewerSamplePropertiesEditionComponent.java
index 9951a6aaf..47535b527 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedEObjectFlatComboViewerSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedEObjectFlatComboViewerSamplePropertiesEditionComponent.java
@@ -280,4 +280,6 @@ public class AdvancedEObjectFlatComboViewerSamplePropertiesEditionComponent exte
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedReferencesTableSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedReferencesTableSamplePropertiesEditionComponent.java
index 1396a8f8e..72be2bfd2 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedReferencesTableSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedReferencesTableSamplePropertiesEditionComponent.java
@@ -260,4 +260,6 @@ public class AdvancedReferencesTableSamplePropertiesEditionComponent extends Sin
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedTableCompositionEditorSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedTableCompositionEditorSamplePropertiesEditionComponent.java
index 7086368f7..e09a7acc6 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedTableCompositionEditorSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/AdvancedTableCompositionEditorSamplePropertiesEditionComponent.java
@@ -324,4 +324,6 @@ public class AdvancedTableCompositionEditorSamplePropertiesEditionComponent exte
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/CheckboxSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/CheckboxSamplePropertiesEditionComponent.java
index 8189c481a..ad3c3b2b0 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/CheckboxSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/CheckboxSamplePropertiesEditionComponent.java
@@ -228,4 +228,6 @@ public class CheckboxSamplePropertiesEditionComponent extends SinglePartProperti
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EMFComboViewerSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EMFComboViewerSamplePropertiesEditionComponent.java
index 8e2682733..687ba4639 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EMFComboViewerSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EMFComboViewerSamplePropertiesEditionComponent.java
@@ -230,4 +230,6 @@ public class EMFComboViewerSamplePropertiesEditionComponent extends SinglePartPr
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EObjectFlatComboViewerSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EObjectFlatComboViewerSamplePropertiesEditionComponent.java
index 178b06b4d..0ac5f009b 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EObjectFlatComboViewerSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EObjectFlatComboViewerSamplePropertiesEditionComponent.java
@@ -318,4 +318,6 @@ public class EObjectFlatComboViewerSamplePropertiesEditionComponent extends Sing
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EReferencesViewerSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EReferencesViewerSamplePropertiesEditionComponent.java
new file mode 100644
index 000000000..d218d1523
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/EReferencesViewerSamplePropertiesEditionComponent.java
@@ -0,0 +1,246 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.components;
+
+// Start of user code for imports
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.common.util.Diagnostic;
+import org.eclipse.emf.common.util.WrappedException;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.eef.eefnr.EReferencesViewerSample;
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.TotalSample;
+import org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart;
+import org.eclipse.emf.eef.eefnr.parts.EefnrViewsRepository;
+import org.eclipse.emf.eef.runtime.api.notify.EStructuralFeatureNotificationFilter;
+import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
+import org.eclipse.emf.eef.runtime.api.notify.NotificationFilter;
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+import org.eclipse.emf.eef.runtime.impl.components.SinglePartPropertiesEditingComponent;
+import org.eclipse.emf.eef.runtime.impl.filters.EObjectFilter;
+import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
+import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings;
+
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class EReferencesViewerSamplePropertiesEditionComponent extends SinglePartPropertiesEditingComponent {
+
+
+ public static String BASE_PART = "Base"; //$NON-NLS-1$
+
+
+ /**
+ * Settings for ereferencesviewerRequiredProperty EReferencesViewer
+ */
+ private ReferencesTableSettings ereferencesviewerRequiredPropertySettings;
+
+ /**
+ * Settings for advancedreferencestableOptionalProperty EReferencesViewer
+ */
+ private ReferencesTableSettings advancedreferencestableOptionalPropertySettings;
+
+ /**
+ * Settings for ereferencesviewerROProperty EReferencesViewer
+ */
+ private ReferencesTableSettings ereferencesviewerROPropertySettings;
+
+
+ /**
+ * Default constructor
+ *
+ */
+ public EReferencesViewerSamplePropertiesEditionComponent(PropertiesEditingContext editingContext, EObject eReferencesViewerSample, String editing_mode) {
+ super(editingContext, eReferencesViewerSample, editing_mode);
+ parts = new String[] { BASE_PART };
+ repositoryKey = EefnrViewsRepository.class;
+ partKey = EefnrViewsRepository.EReferencesViewerSample.class;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent#initPart(java.lang.Object, int, org.eclipse.emf.ecore.EObject,
+ * org.eclipse.emf.ecore.resource.ResourceSet)
+ *
+ */
+ public void initPart(Object key, int kind, EObject elt, ResourceSet allResource) {
+ setInitializing(true);
+ if (editingPart != null && key == partKey) {
+ editingPart.setContext(elt, allResource);
+
+ final EReferencesViewerSample eReferencesViewerSample = (EReferencesViewerSample)elt;
+ final EReferencesViewerSamplePropertiesEditionPart basePart = (EReferencesViewerSamplePropertiesEditionPart)editingPart;
+ // init values
+ if (isAccessible(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty)) {
+ ereferencesviewerRequiredPropertySettings = new ReferencesTableSettings(eReferencesViewerSample, EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerRequiredProperty());
+ basePart.initEreferencesviewerRequiredProperty(ereferencesviewerRequiredPropertySettings);
+ }
+ if (isAccessible(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty)) {
+ advancedreferencestableOptionalPropertySettings = new ReferencesTableSettings(eReferencesViewerSample, EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerOptionalProperty());
+ basePart.initEreferencesviewerOptionalProperty(advancedreferencestableOptionalPropertySettings);
+ }
+ if (isAccessible(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty)) {
+ ereferencesviewerROPropertySettings = new ReferencesTableSettings(eReferencesViewerSample, EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerROProperty());
+ basePart.initEreferencesviewerROProperty(ereferencesviewerROPropertySettings);
+ }
+ // init filters
+ if (isAccessible(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty)) {
+ basePart.addFilterToEreferencesviewerRequiredProperty(new EObjectFilter(EefnrPackage.Literals.TOTAL_SAMPLE));
+ // Start of user code for additional businessfilters for ereferencesviewerRequiredProperty
+ // End of user code
+ }
+ if (isAccessible(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty)) {
+ basePart.addFilterToEreferencesviewerOptionalProperty(new EObjectFilter(EefnrPackage.Literals.TOTAL_SAMPLE));
+ // Start of user code for additional businessfilters for advancedreferencestableOptionalProperty
+ // End of user code
+ }
+ if (isAccessible(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty)) {
+ basePart.addFilterToEreferencesviewerROProperty(new EObjectFilter(EefnrPackage.Literals.TOTAL_SAMPLE));
+ // Start of user code for additional businessfilters for ereferencesviewerROProperty
+ // End of user code
+ }
+ // init values for referenced views
+
+ // init filters for referenced views
+
+ }
+ setInitializing(false);
+ }
+
+
+
+
+
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#associatedFeature(java.lang.Object)
+ */
+ public EStructuralFeature associatedFeature(Object editorKey) {
+ if (editorKey == EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty) {
+ return EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerRequiredProperty();
+ }
+ if (editorKey == EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty) {
+ return EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerOptionalProperty();
+ }
+ if (editorKey == EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty) {
+ return EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerROProperty();
+ }
+ return super.associatedFeature(editorKey);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#updateSemanticModel(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public void updateSemanticModel(final IPropertiesEditionEvent event) {
+ EReferencesViewerSample eReferencesViewerSample = (EReferencesViewerSample)semanticObject;
+ if (EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty == event.getAffectedEditor()) {
+ if (event.getKind() == PropertiesEditionEvent.ADD) {
+ if (event.getNewValue() instanceof TotalSample) {
+ ereferencesviewerRequiredPropertySettings.addToReference((EObject) event.getNewValue());
+ }
+ } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
+ ereferencesviewerRequiredPropertySettings.removeFromReference((EObject) event.getNewValue());
+ } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
+ ereferencesviewerRequiredPropertySettings.move(event.getNewIndex(), (TotalSample) event.getNewValue());
+ }
+ }
+ if (EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty == event.getAffectedEditor()) {
+ if (event.getKind() == PropertiesEditionEvent.ADD) {
+ if (event.getNewValue() instanceof TotalSample) {
+ advancedreferencestableOptionalPropertySettings.addToReference((EObject) event.getNewValue());
+ }
+ } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
+ advancedreferencestableOptionalPropertySettings.removeFromReference((EObject) event.getNewValue());
+ } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
+ advancedreferencestableOptionalPropertySettings.move(event.getNewIndex(), (TotalSample) event.getNewValue());
+ }
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#updatePart(org.eclipse.emf.common.notify.Notification)
+ */
+ public void updatePart(Notification msg) {
+ super.updatePart(msg);
+ if (editingPart.isVisible()) {
+ EReferencesViewerSamplePropertiesEditionPart basePart = (EReferencesViewerSamplePropertiesEditionPart)editingPart;
+ if (EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerRequiredProperty().equals(msg.getFeature()) && isAccessible(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty))
+ basePart.updateEreferencesviewerRequiredProperty();
+ if (EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerOptionalProperty().equals(msg.getFeature()) && isAccessible(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty))
+ basePart.updateEreferencesviewerOptionalProperty();
+ if (EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerROProperty().equals(msg.getFeature()) && isAccessible(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty))
+ basePart.updateEreferencesviewerROProperty();
+
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#getNotificationFilters()
+ */
+ @Override
+ protected NotificationFilter[] getNotificationFilters() {
+ NotificationFilter filter = new EStructuralFeatureNotificationFilter(
+ EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerRequiredProperty(),
+ EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerOptionalProperty(),
+ EefnrPackage.eINSTANCE.getEReferencesViewerSample_EreferencesviewerROProperty() );
+ return new NotificationFilter[] {filter,};
+ }
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#isRequired(java.lang.Object, int)
+ *
+ */
+ public boolean isRequired(Object key, int kind) {
+ return key == EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent#validateValue(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public Diagnostic validateValue(IPropertiesEditionEvent event) {
+ Diagnostic ret = Diagnostic.OK_INSTANCE;
+ if (event.getNewValue() != null) {
+ try {
+ } catch (IllegalArgumentException iae) {
+ ret = BasicDiagnostic.toDiagnostic(iae);
+ } catch (WrappedException we) {
+ ret = BasicDiagnostic.toDiagnostic(we);
+ }
+ }
+ return ret;
+ }
+
+
+
+
+
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/FlatReferenceTableSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/FlatReferenceTableSamplePropertiesEditionComponent.java
index c94077246..7142866d8 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/FlatReferenceTableSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/FlatReferenceTableSamplePropertiesEditionComponent.java
@@ -285,4 +285,6 @@ public class FlatReferenceTableSamplePropertiesEditionComponent extends SinglePa
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/ImageViewerSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/ImageViewerSamplePropertiesEditionComponent.java
index d8d1c4421..b54b68da1 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/ImageViewerSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/ImageViewerSamplePropertiesEditionComponent.java
@@ -246,4 +246,6 @@ public class ImageViewerSamplePropertiesEditionComponent extends SinglePartPrope
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/LinkEObjectFlatComboViewerSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/LinkEObjectFlatComboViewerSamplePropertiesEditionComponent.java
new file mode 100644
index 000000000..be13d4cb3
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/LinkEObjectFlatComboViewerSamplePropertiesEditionComponent.java
@@ -0,0 +1,294 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.components;
+
+// Start of user code for imports
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.common.util.Diagnostic;
+import org.eclipse.emf.common.util.WrappedException;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.resource.ResourceSet;
+
+import org.eclipse.emf.ecore.util.EcoreUtil;
+
+import org.eclipse.emf.eef.eefnr.EefnrFactory;
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.LinkEObjectFlatComboViewerSample;
+import org.eclipse.emf.eef.eefnr.TextSample;
+import org.eclipse.emf.eef.eefnr.TotalSample;
+
+import org.eclipse.emf.eef.eefnr.parts.EefnrViewsRepository;
+import org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart;
+
+import org.eclipse.emf.eef.runtime.api.notify.EStructuralFeatureNotificationFilter;
+import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
+import org.eclipse.emf.eef.runtime.api.notify.NotificationFilter;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.context.impl.EObjectPropertiesEditionContext;
+
+import org.eclipse.emf.eef.runtime.impl.components.SinglePartPropertiesEditingComponent;
+
+import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFConverterUtil;
+
+import org.eclipse.emf.eef.runtime.policies.PropertiesEditingPolicy;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ButtonsModeEnum;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.eobjflatcombo.EObjectFlatComboSettings;
+
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class LinkEObjectFlatComboViewerSamplePropertiesEditionComponent extends SinglePartPropertiesEditingComponent {
+
+
+ public static String BASE_PART = "Base"; //$NON-NLS-1$
+
+
+ /**
+ * Settings for linkeobjectflatcomboviewerRequiredProperty LinkEObjectFlatComboViewer
+ */
+ private EObjectFlatComboSettings linkeobjectflatcomboviewerRequiredPropertySettings;
+
+ /**
+ * Settings for linkeobjectflatcomboviewerOptionalProperty LinkEObjectFlatComboViewer
+ */
+ private EObjectFlatComboSettings linkeobjectflatcomboviewerOptionalPropertySettings;
+
+ /**
+ * Settings for linkeobjectflatcomboviewerROProperty LinkEObjectFlatComboViewer
+ */
+ private EObjectFlatComboSettings linkeobjectflatcomboviewerROPropertySettings;
+
+
+ /**
+ * Default constructor
+ *
+ */
+ public LinkEObjectFlatComboViewerSamplePropertiesEditionComponent(PropertiesEditingContext editingContext, EObject linkEObjectFlatComboViewerSample, String editing_mode) {
+ super(editingContext, linkEObjectFlatComboViewerSample, editing_mode);
+ parts = new String[] { BASE_PART };
+ repositoryKey = EefnrViewsRepository.class;
+ partKey = EefnrViewsRepository.LinkEObjectFlatComboViewerSample.class;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent#initPart(java.lang.Object, int, org.eclipse.emf.ecore.EObject,
+ * org.eclipse.emf.ecore.resource.ResourceSet)
+ *
+ */
+ public void initPart(Object key, int kind, EObject elt, ResourceSet allResource) {
+ setInitializing(true);
+ if (editingPart != null && key == partKey) {
+ editingPart.setContext(elt, allResource);
+
+ final LinkEObjectFlatComboViewerSample linkEObjectFlatComboViewerSample = (LinkEObjectFlatComboViewerSample)elt;
+ final LinkEObjectFlatComboViewerSamplePropertiesEditionPart basePart = (LinkEObjectFlatComboViewerSamplePropertiesEditionPart)editingPart;
+ // init values
+ if (isAccessible(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery)) {
+ // init part
+ linkeobjectflatcomboviewerRequiredPropertySettings = new EObjectFlatComboSettings(linkEObjectFlatComboViewerSample, EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerRequiredProperty());
+ basePart.initLinkeobjectflatcomboviewerRequiredPropery(linkeobjectflatcomboviewerRequiredPropertySettings);
+ // set the button mode
+ basePart.setLinkeobjectflatcomboviewerRequiredProperyButtonMode(ButtonsModeEnum.BROWSE);
+ }
+ if (isAccessible(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery)) {
+ // init part
+ linkeobjectflatcomboviewerOptionalPropertySettings = new EObjectFlatComboSettings(linkEObjectFlatComboViewerSample, EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerOptionalProperty());
+ basePart.initLinkeobjectflatcomboviewerOptionalPropery(linkeobjectflatcomboviewerOptionalPropertySettings);
+ // set the button mode
+ basePart.setLinkeobjectflatcomboviewerOptionalProperyButtonMode(ButtonsModeEnum.BROWSE);
+ }
+ if (isAccessible(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery)) {
+ // init part
+ linkeobjectflatcomboviewerROPropertySettings = new EObjectFlatComboSettings(linkEObjectFlatComboViewerSample, EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerROPropery());
+ basePart.initLinkeobjectflatcomboviewerROPropery(linkeobjectflatcomboviewerROPropertySettings);
+ // set the button mode
+ basePart.setLinkeobjectflatcomboviewerROProperyButtonMode(ButtonsModeEnum.BROWSE);
+ }
+ // init filters
+
+
+
+ // init values for referenced views
+
+ // init filters for referenced views
+
+ }
+ setInitializing(false);
+ }
+
+
+
+
+
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#associatedFeature(java.lang.Object)
+ */
+ public EStructuralFeature associatedFeature(Object editorKey) {
+ if (editorKey == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery) {
+ return EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerRequiredProperty();
+ }
+ if (editorKey == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery) {
+ return EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerOptionalProperty();
+ }
+ if (editorKey == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery) {
+ return EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerROPropery();
+ }
+ return super.associatedFeature(editorKey);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#updateSemanticModel(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public void updateSemanticModel(final IPropertiesEditionEvent event) {
+ LinkEObjectFlatComboViewerSample linkEObjectFlatComboViewerSample = (LinkEObjectFlatComboViewerSample)semanticObject;
+ if (EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery == event.getAffectedEditor()) {
+ if (event.getKind() == PropertiesEditionEvent.SET) {
+ linkeobjectflatcomboviewerRequiredPropertySettings.setToReference((TextSample)event.getNewValue());
+ } else if (event.getKind() == PropertiesEditionEvent.EDIT) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(editingContext, this, (EObject) event.getNewValue(), editingContext.getAdapterFactory());
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt((EObject) event.getNewValue(), PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy editionPolicy = provider.getPolicy(context);
+ if (editionPolicy != null) {
+ editionPolicy.execute();
+ }
+ }
+ } else if (event.getKind() == PropertiesEditionEvent.ADD) {
+ TextSample eObject = EefnrFactory.eINSTANCE.createTextSample();
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(editingContext, this, eObject, editingContext.getAdapterFactory());
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt(eObject, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy != null) {
+ policy.execute();
+ }
+ }
+ linkeobjectflatcomboviewerRequiredPropertySettings.setToReference(eObject);
+ }
+ }
+ if (EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery == event.getAffectedEditor()) {
+ if (event.getKind() == PropertiesEditionEvent.SET) {
+ linkeobjectflatcomboviewerOptionalPropertySettings.setToReference((TextSample)event.getNewValue());
+ } else if (event.getKind() == PropertiesEditionEvent.EDIT) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(editingContext, this, (EObject) event.getNewValue(), editingContext.getAdapterFactory());
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt((EObject) event.getNewValue(), PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy editionPolicy = provider.getPolicy(context);
+ if (editionPolicy != null) {
+ editionPolicy.execute();
+ }
+ }
+ } else if (event.getKind() == PropertiesEditionEvent.ADD) {
+ TextSample eObject = EefnrFactory.eINSTANCE.createTextSample();
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(editingContext, this, eObject, editingContext.getAdapterFactory());
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt(eObject, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy != null) {
+ policy.execute();
+ }
+ }
+ linkeobjectflatcomboviewerOptionalPropertySettings.setToReference(eObject);
+ }
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#updatePart(org.eclipse.emf.common.notify.Notification)
+ */
+ public void updatePart(Notification msg) {
+ super.updatePart(msg);
+ if (editingPart.isVisible()) {
+ LinkEObjectFlatComboViewerSamplePropertiesEditionPart basePart = (LinkEObjectFlatComboViewerSamplePropertiesEditionPart)editingPart;
+ if (EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerRequiredProperty().equals(msg.getFeature()) && basePart != null && isAccessible(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery))
+ basePart.setLinkeobjectflatcomboviewerRequiredPropery((EObject)msg.getNewValue());
+ if (EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerOptionalProperty().equals(msg.getFeature()) && basePart != null && isAccessible(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery))
+ basePart.setLinkeobjectflatcomboviewerOptionalPropery((EObject)msg.getNewValue());
+ if (EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerROPropery().equals(msg.getFeature()) && basePart != null && isAccessible(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery))
+ basePart.setLinkeobjectflatcomboviewerROPropery((EObject)msg.getNewValue());
+
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#getNotificationFilters()
+ */
+ @Override
+ protected NotificationFilter[] getNotificationFilters() {
+ NotificationFilter filter = new EStructuralFeatureNotificationFilter(
+ EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerRequiredProperty(),
+ EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerOptionalProperty(),
+ EefnrPackage.eINSTANCE.getLinkEObjectFlatComboViewerSample_LinkeobjectflatcomboviewerROPropery() );
+ return new NotificationFilter[] {filter,};
+ }
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#isRequired(java.lang.Object, int)
+ *
+ */
+ public boolean isRequired(Object key, int kind) {
+ return key == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent#validateValue(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public Diagnostic validateValue(IPropertiesEditionEvent event) {
+ Diagnostic ret = Diagnostic.OK_INSTANCE;
+ if (event.getNewValue() != null) {
+ try {
+ } catch (IllegalArgumentException iae) {
+ ret = BasicDiagnostic.toDiagnostic(iae);
+ } catch (WrappedException we) {
+ ret = BasicDiagnostic.toDiagnostic(we);
+ }
+ }
+ return ret;
+ }
+
+
+
+
+
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/LinkEReferenceViewerSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/LinkEReferenceViewerSamplePropertiesEditionComponent.java
new file mode 100644
index 000000000..7644f607c
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/LinkEReferenceViewerSamplePropertiesEditionComponent.java
@@ -0,0 +1,351 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.components;
+
+// Start of user code for imports
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.BasicDiagnostic;
+import org.eclipse.emf.common.util.Diagnostic;
+import org.eclipse.emf.common.util.WrappedException;
+
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.ecore.resource.ResourceSet;
+
+import org.eclipse.emf.ecore.util.EcoreUtil;
+
+import org.eclipse.emf.eef.eefnr.EefnrFactory;
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.LinkEReferenceViewerSample;
+import org.eclipse.emf.eef.eefnr.TextSample;
+import org.eclipse.emf.eef.eefnr.TotalSample;
+
+import org.eclipse.emf.eef.eefnr.parts.EefnrViewsRepository;
+import org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart;
+import org.eclipse.emf.eef.eefnr.parts.impl.LinkEReferenceViewerSamplePropertiesEditionPartImpl;
+
+import org.eclipse.emf.eef.runtime.api.notify.EStructuralFeatureNotificationFilter;
+import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
+import org.eclipse.emf.eef.runtime.api.notify.NotificationFilter;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.context.impl.EObjectPropertiesEditionContext;
+import org.eclipse.emf.eef.runtime.context.impl.EReferencePropertiesEditionContext;
+import org.eclipse.emf.eef.runtime.context.impl.EReferencePropertiesEditionContext.InstanciableTypeFilter;
+
+import org.eclipse.emf.eef.runtime.impl.components.SinglePartPropertiesEditingComponent;
+
+import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFConverterUtil;
+
+import org.eclipse.emf.eef.runtime.policies.PropertiesEditingPolicy;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ButtonsModeEnum;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.eobjflatcombo.EObjectFlatComboSettings;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings;
+
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class LinkEReferenceViewerSamplePropertiesEditionComponent extends SinglePartPropertiesEditingComponent {
+
+
+ public static String BASE_PART = "Base"; //$NON-NLS-1$
+
+
+ /**
+ * Settings for linkereferenceviewerRequiredProperty LinkEReferenceViewer
+ */
+ private EObjectFlatComboSettings linkereferenceviewerRequiredPropertySettings;
+
+ /**
+ * Creation Settings for linkereferenceviewerRequiredProperty LinkEReferenceViewer
+ */
+ private ReferencesTableSettings linkereferenceviewerRequiredPropertyCreateSettings;
+
+ /**
+ * Settings for linkereferenceviewerOptionalProperty LinkEReferenceViewer
+ */
+ private EObjectFlatComboSettings linkereferenceviewerOptionalPropertySettings;
+
+ /**
+ * Creation Settings for linkereferenceviewerOptionalProperty LinkEReferenceViewer
+ */
+ private ReferencesTableSettings linkereferenceviewerOptionalPropertyCreateSettings;
+
+ /**
+ * Settings for linkereferenceviewerROProperty LinkEReferenceViewer
+ */
+ private EObjectFlatComboSettings linkereferenceviewerROPropertySettings;
+
+ /**
+ * Creation Settings for linkereferenceviewerROProperty LinkEReferenceViewer
+ */
+ private ReferencesTableSettings linkereferenceviewerROPropertyCreateSettings;
+
+
+ /**
+ * Default constructor
+ *
+ */
+ public LinkEReferenceViewerSamplePropertiesEditionComponent(PropertiesEditingContext editingContext, EObject linkEReferenceViewerSample, String editing_mode) {
+ super(editingContext, linkEReferenceViewerSample, editing_mode);
+ parts = new String[] { BASE_PART };
+ repositoryKey = EefnrViewsRepository.class;
+ partKey = EefnrViewsRepository.LinkEReferenceViewerSample.class;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent#initPart(java.lang.Object, int, org.eclipse.emf.ecore.EObject,
+ * org.eclipse.emf.ecore.resource.ResourceSet)
+ *
+ */
+ public void initPart(Object key, int kind, EObject elt, ResourceSet allResource) {
+ setInitializing(true);
+ if (editingPart != null && key == partKey) {
+ editingPart.setContext(elt, allResource);
+
+ final LinkEReferenceViewerSample linkEReferenceViewerSample = (LinkEReferenceViewerSample)elt;
+ final LinkEReferenceViewerSamplePropertiesEditionPart basePart = (LinkEReferenceViewerSamplePropertiesEditionPart)editingPart;
+ // init values
+ if (isAccessible(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery)) {
+ // init part
+ linkereferenceviewerRequiredPropertySettings = new EObjectFlatComboSettings(linkEReferenceViewerSample, EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerRequiredProperty());
+ linkereferenceviewerRequiredPropertyCreateSettings = new ReferencesTableSettings(getlinkereferenceviewerRequiredPropertyCreateSettingsSource(), EefnrPackage.eINSTANCE.getRoot_Samples());
+ basePart.initLinkereferenceviewerRequiredPropery(linkereferenceviewerRequiredPropertySettings);
+ // set the button mode
+ basePart.setLinkereferenceviewerRequiredProperyButtonMode(ButtonsModeEnum.BROWSE);
+ }
+ if (isAccessible(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery)) {
+ // init part
+ linkereferenceviewerOptionalPropertySettings = new EObjectFlatComboSettings(linkEReferenceViewerSample, EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerOptionalProperty());
+ linkereferenceviewerOptionalPropertyCreateSettings = new ReferencesTableSettings(getlinkereferenceviewerOptionalPropertyCreateSettingsSource(), EefnrPackage.eINSTANCE.getRoot_Samples());
+ basePart.initLinkereferenceviewerOptionalPropery(linkereferenceviewerOptionalPropertySettings);
+ // set the button mode
+ basePart.setLinkereferenceviewerOptionalProperyButtonMode(ButtonsModeEnum.BROWSE);
+ }
+ if (isAccessible(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery)) {
+ // init part
+ linkereferenceviewerROPropertySettings = new EObjectFlatComboSettings(linkEReferenceViewerSample, EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerROPropery());
+ linkereferenceviewerROPropertyCreateSettings = new ReferencesTableSettings(getlinkereferenceviewerROPropertyCreateSettingsSource(), EefnrPackage.eINSTANCE.getRoot_Samples());
+ basePart.initLinkereferenceviewerROPropery(linkereferenceviewerROPropertySettings);
+ // set the button mode
+ basePart.setLinkereferenceviewerROProperyButtonMode(ButtonsModeEnum.BROWSE);
+ }
+ // init filters
+
+
+
+ // init values for referenced views
+
+ // init filters for referenced views
+
+ }
+ setInitializing(false);
+ }
+
+
+
+
+
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#associatedFeature(java.lang.Object)
+ */
+ public EStructuralFeature associatedFeature(Object editorKey) {
+ if (editorKey == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery) {
+ return EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerRequiredProperty();
+ }
+ if (editorKey == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery) {
+ return EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerOptionalProperty();
+ }
+ if (editorKey == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery) {
+ return EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerROPropery();
+ }
+ return super.associatedFeature(editorKey);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#updateSemanticModel(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public void updateSemanticModel(final IPropertiesEditionEvent event) {
+ LinkEReferenceViewerSample linkEReferenceViewerSample = (LinkEReferenceViewerSample)semanticObject;
+ if (EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery == event.getAffectedEditor()) {
+ if (event.getKind() == PropertiesEditionEvent.SET) {
+ linkereferenceviewerRequiredPropertySettings.setToReference((TextSample)event.getNewValue());
+ } else if (event.getKind() == PropertiesEditionEvent.EDIT) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(editingContext, this, (EObject) event.getNewValue(), editingContext.getAdapterFactory());
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt((EObject) event.getNewValue(), PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy editionPolicy = provider.getPolicy(context);
+ if (editionPolicy != null) {
+ editionPolicy.execute();
+ }
+ }
+ } else if (event.getKind() == PropertiesEditionEvent.ADD) {
+ TextSample eObject = EefnrFactory.eINSTANCE.createTextSample();
+ EReferencePropertiesEditionContext context = new EReferencePropertiesEditionContext(editingContext, this, linkereferenceviewerRequiredPropertyCreateSettings, editingContext.getAdapterFactory());
+ context.addInstanciableTypeFilter(new InstanciableTypeFilter() {
+ public boolean select(EClass instanciableType) {
+ return EefnrPackage.Literals.TEXT_SAMPLE == instanciableType;
+ }
+ });
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt(eObject, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy != null) {
+ policy.execute();
+ }
+ }
+ linkereferenceviewerRequiredPropertySettings.setToReference(context.getEObject());
+ ((LinkEReferenceViewerSamplePropertiesEditionPart)editingPart).setLinkereferenceviewerRequiredPropery(context.getEObject());
+ }
+ }
+ if (EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery == event.getAffectedEditor()) {
+ if (event.getKind() == PropertiesEditionEvent.SET) {
+ linkereferenceviewerOptionalPropertySettings.setToReference((TextSample)event.getNewValue());
+ } else if (event.getKind() == PropertiesEditionEvent.EDIT) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(editingContext, this, (EObject) event.getNewValue(), editingContext.getAdapterFactory());
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt((EObject) event.getNewValue(), PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy editionPolicy = provider.getPolicy(context);
+ if (editionPolicy != null) {
+ editionPolicy.execute();
+ }
+ }
+ } else if (event.getKind() == PropertiesEditionEvent.ADD) {
+ TextSample eObject = EefnrFactory.eINSTANCE.createTextSample();
+ EReferencePropertiesEditionContext context = new EReferencePropertiesEditionContext(editingContext, this, linkereferenceviewerOptionalPropertyCreateSettings, editingContext.getAdapterFactory());
+ context.addInstanciableTypeFilter(new InstanciableTypeFilter() {
+ public boolean select(EClass instanciableType) {
+ return EefnrPackage.Literals.TEXT_SAMPLE == instanciableType;
+ }
+ });
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt(eObject, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy != null) {
+ policy.execute();
+ }
+ }
+ linkereferenceviewerOptionalPropertySettings.setToReference(context.getEObject());
+ ((LinkEReferenceViewerSamplePropertiesEditionPart)editingPart).setLinkereferenceviewerOptionalPropery(context.getEObject());
+ }
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#updatePart(org.eclipse.emf.common.notify.Notification)
+ */
+ public void updatePart(Notification msg) {
+ super.updatePart(msg);
+ if (editingPart.isVisible()) {
+ LinkEReferenceViewerSamplePropertiesEditionPart basePart = (LinkEReferenceViewerSamplePropertiesEditionPart)editingPart;
+ if (EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerRequiredProperty().equals(msg.getFeature()) && basePart != null && isAccessible(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery))
+ basePart.setLinkereferenceviewerRequiredPropery((EObject)msg.getNewValue());
+ if (EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerOptionalProperty().equals(msg.getFeature()) && basePart != null && isAccessible(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery))
+ basePart.setLinkereferenceviewerOptionalPropery((EObject)msg.getNewValue());
+ if (EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerROPropery().equals(msg.getFeature()) && basePart != null && isAccessible(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery))
+ basePart.setLinkereferenceviewerROPropery((EObject)msg.getNewValue());
+
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#getNotificationFilters()
+ */
+ @Override
+ protected NotificationFilter[] getNotificationFilters() {
+ NotificationFilter filter = new EStructuralFeatureNotificationFilter(
+ EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerRequiredProperty(),
+ EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerOptionalProperty(),
+ EefnrPackage.eINSTANCE.getLinkEReferenceViewerSample_LinkereferenceviewerROPropery() );
+ return new NotificationFilter[] {filter,};
+ }
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#isRequired(java.lang.Object, int)
+ *
+ */
+ public boolean isRequired(Object key, int kind) {
+ return key == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent#validateValue(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public Diagnostic validateValue(IPropertiesEditionEvent event) {
+ Diagnostic ret = Diagnostic.OK_INSTANCE;
+ if (event.getNewValue() != null) {
+ try {
+ } catch (IllegalArgumentException iae) {
+ ret = BasicDiagnostic.toDiagnostic(iae);
+ } catch (WrappedException we) {
+ ret = BasicDiagnostic.toDiagnostic(we);
+ }
+ }
+ return ret;
+ }
+
+
+
+
+
+ /**
+ * @ return source setting for linkereferenceviewerRequiredPropertyCreateSettings
+ */
+ public EObject getlinkereferenceviewerRequiredPropertyCreateSettingsSource() {
+ return semanticObject.eContainer();
+ }
+
+ /**
+ * @ return source setting for linkereferenceviewerOptionalPropertyCreateSettings
+ */
+ public EObject getlinkereferenceviewerOptionalPropertyCreateSettingsSource() {
+ return semanticObject.eContainer();
+ }
+
+ /**
+ * @ return source setting for linkereferenceviewerROPropertyCreateSettings
+ */
+ public EObject getlinkereferenceviewerROPropertyCreateSettingsSource() {
+ return semanticObject.eContainer();
+ }
+
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/MultiValuedEditorSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/MultiValuedEditorSamplePropertiesEditionComponent.java
index c054955bc..00000be13 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/MultiValuedEditorSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/MultiValuedEditorSamplePropertiesEditionComponent.java
@@ -255,4 +255,6 @@ public class MultiValuedEditorSamplePropertiesEditionComponent extends SinglePar
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/RadioSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/RadioSamplePropertiesEditionComponent.java
index 1c3d7530e..c05abbdff 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/RadioSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/RadioSamplePropertiesEditionComponent.java
@@ -230,4 +230,6 @@ public class RadioSamplePropertiesEditionComponent extends SinglePartPropertiesE
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/ReferencesTableSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/ReferencesTableSamplePropertiesEditionComponent.java
index 5bc3c2235..3eb779718 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/ReferencesTableSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/ReferencesTableSamplePropertiesEditionComponent.java
@@ -301,4 +301,6 @@ public class ReferencesTableSamplePropertiesEditionComponent extends SinglePartP
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/RootPropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/RootPropertiesEditionComponent.java
index 291024efa..d2c4e0a45 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/RootPropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/RootPropertiesEditionComponent.java
@@ -227,4 +227,6 @@ public class RootPropertiesEditionComponent extends SinglePartPropertiesEditingC
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SamplePropertiesEditionComponent.java
index b388e1470..17024fb5a 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SamplePropertiesEditionComponent.java
@@ -218,4 +218,6 @@ public class SamplePropertiesEditionComponent extends SinglePartPropertiesEditin
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SelectionDialogSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SelectionDialogSamplePropertiesEditionComponent.java
index d2ceab6fe..508e85437 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SelectionDialogSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SelectionDialogSamplePropertiesEditionComponent.java
@@ -243,4 +243,6 @@ public class SelectionDialogSamplePropertiesEditionComponent extends SinglePartP
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SingleCompositionEditorSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SingleCompositionEditorSamplePropertiesEditionComponent.java
index cb68b9162..471820ee9 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SingleCompositionEditorSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SingleCompositionEditorSamplePropertiesEditionComponent.java
@@ -342,4 +342,6 @@ public class SingleCompositionEditorSamplePropertiesEditionComponent extends Sin
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SingleCompositionViewerSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SingleCompositionViewerSamplePropertiesEditionComponent.java
index e5493f727..09a05b781 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SingleCompositionViewerSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/SingleCompositionViewerSamplePropertiesEditionComponent.java
@@ -216,4 +216,6 @@ public class SingleCompositionViewerSamplePropertiesEditionComponent extends Sin
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TableCompositionEditorSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TableCompositionEditorSamplePropertiesEditionComponent.java
index f0fe44ab6..6f2d4566f 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TableCompositionEditorSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TableCompositionEditorSamplePropertiesEditionComponent.java
@@ -324,4 +324,6 @@ public class TableCompositionEditorSamplePropertiesEditionComponent extends Sing
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TableCompositionExtensionEditorSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TableCompositionExtensionEditorSamplePropertiesEditionComponent.java
index 7f1a0fd4e..087f2d691 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TableCompositionExtensionEditorSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TableCompositionExtensionEditorSamplePropertiesEditionComponent.java
@@ -300,4 +300,6 @@ public class TableCompositionExtensionEditorSamplePropertiesEditionComponent ext
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSamplePropertiesEditionComponent.java
index b170dcaaa..a2be5487f 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSamplePropertiesEditionComponent.java
@@ -241,4 +241,6 @@ public class TextSamplePropertiesEditionComponent extends SinglePartPropertiesEd
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent.java
index 4eee01a50..e47252020 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent.java
@@ -218,4 +218,6 @@ public class TextSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent e
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent.java
index b8c6f621c..d7f8f1ab8 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent.java
@@ -218,4 +218,6 @@ public class TextSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextareaSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextareaSamplePropertiesEditionComponent.java
index 5a6d21396..01f0859c6 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextareaSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TextareaSamplePropertiesEditionComponent.java
@@ -238,4 +238,6 @@ public class TextareaSamplePropertiesEditionComponent extends SinglePartProperti
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TotalSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TotalSamplePropertiesEditionComponent.java
index b6ee5ad20..7f06674a4 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TotalSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/components/TotalSamplePropertiesEditionComponent.java
@@ -1090,4 +1090,6 @@ public class TotalSamplePropertiesEditionComponent extends SinglePartPropertiesE
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/ConcreteReferenceOwnerSamplePropertiesEditionPart.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/ConcreteReferenceOwnerSamplePropertiesEditionPart.java
index 25a5ead65..87fdc856a 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/ConcreteReferenceOwnerSamplePropertiesEditionPart.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/ConcreteReferenceOwnerSamplePropertiesEditionPart.java
@@ -128,6 +128,94 @@ public interface ConcreteReferenceOwnerSamplePropertiesEditionPart {
+ /**
+ * Init the strictTypingMultipleOnTableComposition
+ * @param current the current value
+ * @param containgFeature the feature where to navigate if necessary
+ * @param feature the feature to manage
+ */
+ public void initStrictTypingMultipleOnTableComposition(ReferencesTableSettings settings);
+
+ /**
+ * Update the strictTypingMultipleOnTableComposition
+ * @param newValue the strictTypingMultipleOnTableComposition to update
+ *
+ */
+ public void updateStrictTypingMultipleOnTableComposition();
+
+ /**
+ * Adds the given filter to the strictTypingMultipleOnTableComposition edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addFilterToStrictTypingMultipleOnTableComposition(ViewerFilter filter);
+
+ /**
+ * Adds the given filter to the strictTypingMultipleOnTableComposition edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addBusinessFilterToStrictTypingMultipleOnTableComposition(ViewerFilter filter);
+
+ /**
+ * @return true if the given element is contained inside the strictTypingMultipleOnTableComposition table
+ *
+ */
+ public boolean isContainedInStrictTypingMultipleOnTableCompositionTable(EObject element);
+
+
+
+
+ /**
+ * Init the strictTypingMultipleOnAdvancedTableComposition
+ * @param current the current value
+ * @param containgFeature the feature where to navigate if necessary
+ * @param feature the feature to manage
+ */
+ public void initStrictTypingMultipleOnAdvancedTableComposition(ReferencesTableSettings settings);
+
+ /**
+ * Update the strictTypingMultipleOnAdvancedTableComposition
+ * @param newValue the strictTypingMultipleOnAdvancedTableComposition to update
+ *
+ */
+ public void updateStrictTypingMultipleOnAdvancedTableComposition();
+
+ /**
+ * Adds the given filter to the strictTypingMultipleOnAdvancedTableComposition edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addFilterToStrictTypingMultipleOnAdvancedTableComposition(ViewerFilter filter);
+
+ /**
+ * Adds the given filter to the strictTypingMultipleOnAdvancedTableComposition edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addBusinessFilterToStrictTypingMultipleOnAdvancedTableComposition(ViewerFilter filter);
+
+ /**
+ * @return true if the given element is contained inside the strictTypingMultipleOnAdvancedTableComposition table
+ *
+ */
+ public boolean isContainedInStrictTypingMultipleOnAdvancedTableCompositionTable(EObject element);
+
+
+
+
/**
* Returns the internationalized title text.
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/FiltersViewsRepository.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/FiltersViewsRepository.java
index 5689d6732..ce6eb35a5 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/FiltersViewsRepository.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/FiltersViewsRepository.java
@@ -37,6 +37,12 @@ public class FiltersViewsRepository {
public static String strictTyping = "filters::ConcreteReferenceOwnerSample::properties::strictTyping";
+
+ public static String strictTypingMultipleOnTableComposition = "filters::ConcreteReferenceOwnerSample::properties::strictTypingMultipleOnTableComposition";
+
+
+ public static String strictTypingMultipleOnAdvancedTableComposition = "filters::ConcreteReferenceOwnerSample::properties::strictTypingMultipleOnAdvancedTableComposition";
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/forms/ConcreteReferenceOwnerSamplePropertiesEditionPartForm.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/forms/ConcreteReferenceOwnerSamplePropertiesEditionPartForm.java
index a15589d5a..75157aa43 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/forms/ConcreteReferenceOwnerSamplePropertiesEditionPartForm.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/forms/ConcreteReferenceOwnerSamplePropertiesEditionPartForm.java
@@ -16,68 +16,57 @@ import java.util.Iterator;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
-
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
import org.eclipse.emf.eef.eefnr.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart;
import org.eclipse.emf.eef.eefnr.filters.parts.FiltersViewsRepository;
-
import org.eclipse.emf.eef.eefnr.filters.providers.FiltersMessages;
-
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
-
import org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart;
-
import org.eclipse.emf.eef.runtime.context.impl.EObjectPropertiesEditionContext;
-
import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
-
import org.eclipse.emf.eef.runtime.part.impl.SectionPropertiesEditingPart;
-
import org.eclipse.emf.eef.runtime.policies.PropertiesEditingPolicy;
-
import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
import org.eclipse.emf.eef.runtime.ui.parts.PartComposer;
-
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence;
import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence;
import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionStep;
-
import org.eclipse.emf.eef.runtime.ui.utils.EditingUtils;
-
import org.eclipse.emf.eef.runtime.ui.widgets.FormUtils;
import org.eclipse.emf.eef.runtime.ui.widgets.ReferencesTable;
-
import org.eclipse.emf.eef.runtime.ui.widgets.ReferencesTable.ReferencesTableListener;
-
import org.eclipse.emf.eef.runtime.ui.widgets.TabElementTreeSelectionDialog;
-
import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableContentProvider;
import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings;
-
+import org.eclipse.jface.viewers.ArrayContentProvider;
+import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.viewers.ITableLabelProvider;
+import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.ViewerFilter;
-
import org.eclipse.swt.SWT;
-
import org.eclipse.swt.events.FocusAdapter;
import org.eclipse.swt.events.FocusEvent;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
-
+import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
-
+import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Event;
+import org.eclipse.swt.widgets.Listener;
+import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Text;
-
import org.eclipse.ui.forms.widgets.Form;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.forms.widgets.ScrolledForm;
import org.eclipse.ui.forms.widgets.Section;
+import org.eclipse.ui.views.properties.tabbed.ISection;
// End of user code
@@ -94,6 +83,15 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionPartForm extends Secti
protected ReferencesTable strictTyping;
protected List<ViewerFilter> strictTypingBusinessFilters = new ArrayList<ViewerFilter>();
protected List<ViewerFilter> strictTypingFilters = new ArrayList<ViewerFilter>();
+ protected TableViewer strictTypingMultipleOnTableComposition;
+ protected List<ViewerFilter> strictTypingMultipleOnTableCompositionBusinessFilters = new ArrayList<ViewerFilter>();
+ protected List<ViewerFilter> strictTypingMultipleOnTableCompositionFilters = new ArrayList<ViewerFilter>();
+ protected Button addStrictTypingMultipleOnTableComposition;
+ protected Button removeStrictTypingMultipleOnTableComposition;
+ protected Button editStrictTypingMultipleOnTableComposition;
+ protected ReferencesTable strictTypingMultipleOnAdvancedTableComposition;
+ protected List<ViewerFilter> strictTypingMultipleOnAdvancedTableCompositionBusinessFilters = new ArrayList<ViewerFilter>();
+ protected List<ViewerFilter> strictTypingMultipleOnAdvancedTableCompositionFilters = new ArrayList<ViewerFilter>();
@@ -142,6 +140,8 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionPartForm extends Secti
propertiesStep.addStep(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.name);
propertiesStep.addStep(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.abstractTarget);
propertiesStep.addStep(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTyping);
+ propertiesStep.addStep(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ propertiesStep.addStep(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition);
composer = new PartComposer(concreteReferenceOwnerSampleStep) {
@@ -160,6 +160,12 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionPartForm extends Secti
if (key == FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTyping) {
return createStrictTypingTableComposition(widgetFactory, parent);
}
+ if (key == FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition) {
+ return createStrictTypingMultipleOnTableCompositionTableComposition(widgetFactory, parent);
+ }
+ if (key == FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition) {
+ return createStrictTypingMultipleOnAdvancedTableCompositionTableComposition(widgetFactory, parent);
+ }
return parent;
}
};
@@ -385,6 +391,231 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionPartForm extends Secti
return parent;
}
+ /**
+ * @param container
+ *
+ */
+ protected Composite createStrictTypingMultipleOnTableCompositionTableComposition(FormToolkit widgetFactory, Composite container) {
+ Composite tableContainer = widgetFactory.createComposite(container, SWT.NONE);
+ GridLayout tableContainerLayout = new GridLayout();
+ GridData tableContainerData = new GridData(GridData.FILL_BOTH);
+ tableContainerData.horizontalSpan = 3;
+ tableContainer.setLayoutData(tableContainerData);
+ tableContainerLayout.numColumns = 2;
+ tableContainer.setLayout(tableContainerLayout);
+ org.eclipse.swt.widgets.Table tableStrictTypingMultipleOnTableComposition = widgetFactory.createTable(tableContainer, SWT.FULL_SELECTION | SWT.BORDER);
+ tableStrictTypingMultipleOnTableComposition.setHeaderVisible(true);
+ GridData gdStrictTypingMultipleOnTableComposition = new GridData();
+ gdStrictTypingMultipleOnTableComposition.grabExcessHorizontalSpace = true;
+ gdStrictTypingMultipleOnTableComposition.horizontalAlignment = GridData.FILL;
+ gdStrictTypingMultipleOnTableComposition.grabExcessVerticalSpace = true;
+ gdStrictTypingMultipleOnTableComposition.verticalAlignment = GridData.FILL;
+ tableStrictTypingMultipleOnTableComposition.setLayoutData(gdStrictTypingMultipleOnTableComposition);
+ tableStrictTypingMultipleOnTableComposition.setLinesVisible(true);
+
+ // Start of user code for columns definition for StrictTypingMultipleOnTableComposition
+ TableColumn name = new TableColumn(tableStrictTypingMultipleOnTableComposition, SWT.NONE);
+ name.setWidth(80);
+ name.setText("Label"); //$NON-NLS-1$
+ // End of user code
+
+ strictTypingMultipleOnTableComposition = new TableViewer(tableStrictTypingMultipleOnTableComposition);
+ strictTypingMultipleOnTableComposition.setContentProvider(new ArrayContentProvider());
+ strictTypingMultipleOnTableComposition.setLabelProvider(new ITableLabelProvider() {
+ //Start of user code for label provider definition for StrictTypingMultipleOnTableComposition
+ public String getColumnText(Object object, int columnIndex) {
+ AdapterFactoryLabelProvider labelProvider = new AdapterFactoryLabelProvider(adapterFactory);
+ if (object instanceof EObject) {
+ switch (columnIndex) {
+ case 0:
+ return labelProvider.getText(object);
+ }
+ }
+ return ""; //$NON-NLS-1$
+ }
+
+ public Image getColumnImage(Object element, int columnIndex) {
+ return null;
+ }
+
+ //End of user code
+
+ public void addListener(ILabelProviderListener listener) {
+ }
+
+ public void dispose() {
+ }
+
+ public boolean isLabelProperty(Object element, String property) {
+ return false;
+ }
+
+ public void removeListener(ILabelProviderListener listener) {
+ }
+
+ });
+ strictTypingMultipleOnTableComposition.getTable().addListener(SWT.MouseDoubleClick, new Listener(){
+
+ public void handleEvent(Event event) {
+ if (strictTypingMultipleOnTableComposition.getSelection() instanceof IStructuredSelection) {
+ IStructuredSelection selection = (IStructuredSelection) strictTypingMultipleOnTableComposition.getSelection();
+ if (selection.getFirstElement() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartForm.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, selection.getFirstElement()));
+ strictTypingMultipleOnTableComposition.refresh();
+ }
+ }
+ }
+
+ });
+ GridData strictTypingMultipleOnTableCompositionData = new GridData(GridData.FILL_HORIZONTAL);
+ strictTypingMultipleOnTableCompositionData.minimumHeight = 120;
+ strictTypingMultipleOnTableCompositionData.heightHint = 120;
+ strictTypingMultipleOnTableComposition.getTable().setLayoutData(strictTypingMultipleOnTableCompositionData);
+ for (ViewerFilter filter : this.strictTypingMultipleOnTableCompositionFilters) {
+ strictTypingMultipleOnTableComposition.addFilter(filter);
+ }
+ EditingUtils.setID(strictTypingMultipleOnTableComposition.getTable(), FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ EditingUtils.setEEFtype(strictTypingMultipleOnTableComposition.getTable(), "eef::TableComposition::field"); //$NON-NLS-1$
+ createStrictTypingMultipleOnTableCompositionPanel(widgetFactory, tableContainer);
+ // Start of user code for createStrictTypingMultipleOnTableCompositionTableComposition
+
+ // End of user code
+ return container;
+ }
+
+ /**
+ * @param container
+ *
+ */
+ protected Composite createStrictTypingMultipleOnTableCompositionPanel(FormToolkit widgetFactory, Composite container) {
+ Composite strictTypingMultipleOnTableCompositionPanel = widgetFactory.createComposite(container, SWT.NONE);
+ GridLayout strictTypingMultipleOnTableCompositionPanelLayout = new GridLayout();
+ strictTypingMultipleOnTableCompositionPanelLayout.numColumns = 1;
+ strictTypingMultipleOnTableCompositionPanel.setLayout(strictTypingMultipleOnTableCompositionPanelLayout);
+ addStrictTypingMultipleOnTableComposition = widgetFactory.createButton(strictTypingMultipleOnTableCompositionPanel, FiltersMessages.PropertiesEditionPart_AddTableViewerLabel, SWT.NONE);
+ GridData addStrictTypingMultipleOnTableCompositionData = new GridData(GridData.FILL_HORIZONTAL);
+ addStrictTypingMultipleOnTableComposition.setLayoutData(addStrictTypingMultipleOnTableCompositionData);
+ addStrictTypingMultipleOnTableComposition.addSelectionListener(new SelectionAdapter() {
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent)
+ *
+ */
+ public void widgetSelected(SelectionEvent e) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartForm.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ strictTypingMultipleOnTableComposition.refresh();
+ }
+ });
+ EditingUtils.setID(addStrictTypingMultipleOnTableComposition, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ EditingUtils.setEEFtype(addStrictTypingMultipleOnTableComposition, "eef::TableComposition::addbutton"); //$NON-NLS-1$
+ removeStrictTypingMultipleOnTableComposition = widgetFactory.createButton(strictTypingMultipleOnTableCompositionPanel, FiltersMessages.PropertiesEditionPart_RemoveTableViewerLabel, SWT.NONE);
+ GridData removeStrictTypingMultipleOnTableCompositionData = new GridData(GridData.FILL_HORIZONTAL);
+ removeStrictTypingMultipleOnTableComposition.setLayoutData(removeStrictTypingMultipleOnTableCompositionData);
+ removeStrictTypingMultipleOnTableComposition.addSelectionListener(new SelectionAdapter() {
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent)
+ *
+ */
+ public void widgetSelected(SelectionEvent e) {
+ if (strictTypingMultipleOnTableComposition.getSelection() instanceof IStructuredSelection) {
+ IStructuredSelection selection = (IStructuredSelection) strictTypingMultipleOnTableComposition.getSelection();
+ if (selection.getFirstElement() instanceof EObject) {
+ EObject selectedElement = (EObject) selection.getFirstElement();
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartForm.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.REMOVE, null, selectedElement));
+ strictTypingMultipleOnTableComposition.refresh();
+ }
+ }
+ }
+
+ });
+ EditingUtils.setID(removeStrictTypingMultipleOnTableComposition, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ EditingUtils.setEEFtype(removeStrictTypingMultipleOnTableComposition, "eef::TableComposition::removebutton"); //$NON-NLS-1$
+ editStrictTypingMultipleOnTableComposition = widgetFactory.createButton(strictTypingMultipleOnTableCompositionPanel, FiltersMessages.PropertiesEditionPart_EditTableViewerLabel, SWT.NONE);
+ GridData editStrictTypingMultipleOnTableCompositionData = new GridData(GridData.FILL_HORIZONTAL);
+ editStrictTypingMultipleOnTableComposition.setLayoutData(editStrictTypingMultipleOnTableCompositionData);
+ editStrictTypingMultipleOnTableComposition.addSelectionListener(new SelectionAdapter() {
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent)
+ *
+ */
+ public void widgetSelected(SelectionEvent e) {
+ if (strictTypingMultipleOnTableComposition.getSelection() instanceof IStructuredSelection) {
+ IStructuredSelection selection = (IStructuredSelection) strictTypingMultipleOnTableComposition.getSelection();
+ if (selection.getFirstElement() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartForm.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, selection.getFirstElement()));
+ strictTypingMultipleOnTableComposition.refresh();
+ }
+ }
+ }
+
+ });
+ EditingUtils.setID(editStrictTypingMultipleOnTableComposition, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ EditingUtils.setEEFtype(editStrictTypingMultipleOnTableComposition, "eef::TableComposition::editbutton"); //$NON-NLS-1$
+ // Start of user code for createStrictTypingMultipleOnTableCompositionPanel
+
+ // End of user code
+ return strictTypingMultipleOnTableCompositionPanel;
+ }
+
+ /**
+ * @param container
+ *
+ */
+ protected Composite createStrictTypingMultipleOnAdvancedTableCompositionTableComposition(FormToolkit widgetFactory, Composite parent) {
+ this.strictTypingMultipleOnAdvancedTableComposition = new ReferencesTable(getDescription(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, FiltersMessages.ConcreteReferenceOwnerSamplePropertiesEditionPart_StrictTypingMultipleOnAdvancedTableCompositionLabel), new ReferencesTableListener() {
+ public void handleAdd() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartForm.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ strictTypingMultipleOnAdvancedTableComposition.refresh();
+ }
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartForm.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ strictTypingMultipleOnAdvancedTableComposition.refresh();
+ }
+ public void handleMove(EObject element, int oldIndex, int newIndex) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartForm.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
+ strictTypingMultipleOnAdvancedTableComposition.refresh();
+ }
+ public void handleRemove(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartForm.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
+ strictTypingMultipleOnAdvancedTableComposition.refresh();
+ }
+ public void navigateTo(EObject element) { }
+ });
+ for (ViewerFilter filter : this.strictTypingMultipleOnAdvancedTableCompositionFilters) {
+ this.strictTypingMultipleOnAdvancedTableComposition.addFilter(filter);
+ }
+ this.strictTypingMultipleOnAdvancedTableComposition.setHelpText(propertiesEditionComponent.getHelpContent(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, FiltersViewsRepository.FORM_KIND));
+ this.strictTypingMultipleOnAdvancedTableComposition.createControls(parent, widgetFactory);
+ this.strictTypingMultipleOnAdvancedTableComposition.addSelectionListener(new SelectionAdapter() {
+
+ public void widgetSelected(SelectionEvent e) {
+ if (e.item != null && e.item.getData() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartForm.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
+ }
+ }
+
+ });
+ GridData strictTypingMultipleOnAdvancedTableCompositionData = new GridData(GridData.FILL_HORIZONTAL);
+ strictTypingMultipleOnAdvancedTableCompositionData.horizontalSpan = 3;
+ this.strictTypingMultipleOnAdvancedTableComposition.setLayoutData(strictTypingMultipleOnAdvancedTableCompositionData);
+ this.strictTypingMultipleOnAdvancedTableComposition.setLowerBound(0);
+ this.strictTypingMultipleOnAdvancedTableComposition.setUpperBound(-1);
+ strictTypingMultipleOnAdvancedTableComposition.setID(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition);
+ strictTypingMultipleOnAdvancedTableComposition.setEEFType("eef::AdvancedTableComposition"); //$NON-NLS-1$
+ // Start of user code for createStrictTypingMultipleOnAdvancedTableCompositionTableComposition
+
+ // End of user code
+ return parent;
+ }
+
/**
* {@inheritDoc}
@@ -561,6 +792,147 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionPartForm extends Secti
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#initStrictTypingMultipleOnTableComposition(EObject current, EReference containingFeature, EReference feature)
+ */
+ public void initStrictTypingMultipleOnTableComposition(ReferencesTableSettings settings) {
+ if (current.eResource() != null && current.eResource().getResourceSet() != null)
+ this.resourceSet = current.eResource().getResourceSet();
+ ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
+ strictTypingMultipleOnTableComposition.setContentProvider(contentProvider);
+ strictTypingMultipleOnTableComposition.setInput(settings);
+ boolean eefElementEditorReadOnlyState = isReadOnly(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ if (eefElementEditorReadOnlyState && strictTypingMultipleOnTableComposition.getTable().isEnabled()) {
+ strictTypingMultipleOnTableComposition.getTable().setEnabled(false);
+ strictTypingMultipleOnTableComposition.getTable().setToolTipText(FiltersMessages.ConcreteReferenceOwnerSample_ReadOnly);
+ addStrictTypingMultipleOnTableComposition.setEnabled(false);
+ addStrictTypingMultipleOnTableComposition.setToolTipText(FiltersMessages.ConcreteReferenceOwnerSample_ReadOnly);
+ removeStrictTypingMultipleOnTableComposition.setEnabled(false);
+ removeStrictTypingMultipleOnTableComposition.setToolTipText(FiltersMessages.ConcreteReferenceOwnerSample_ReadOnly);
+ editStrictTypingMultipleOnTableComposition.setEnabled(false);
+ editStrictTypingMultipleOnTableComposition.setToolTipText(FiltersMessages.ConcreteReferenceOwnerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !strictTypingMultipleOnTableComposition.getTable().isEnabled()) {
+ strictTypingMultipleOnTableComposition.getTable().setEnabled(true);
+ addStrictTypingMultipleOnTableComposition.setEnabled(true);
+ removeStrictTypingMultipleOnTableComposition.setEnabled(true);
+ editStrictTypingMultipleOnTableComposition.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#updateStrictTypingMultipleOnTableComposition()
+ *
+ */
+ public void updateStrictTypingMultipleOnTableComposition() {
+ strictTypingMultipleOnTableComposition.refresh();
+}
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#addFilterStrictTypingMultipleOnTableComposition(ViewerFilter filter)
+ *
+ */
+ public void addFilterToStrictTypingMultipleOnTableComposition(ViewerFilter filter) {
+ strictTypingMultipleOnTableCompositionFilters.add(filter);
+ if (this.strictTypingMultipleOnTableComposition != null) {
+ this.strictTypingMultipleOnTableComposition.addFilter(filter);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#addBusinessFilterStrictTypingMultipleOnTableComposition(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToStrictTypingMultipleOnTableComposition(ViewerFilter filter) {
+ strictTypingMultipleOnTableCompositionBusinessFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#isContainedInStrictTypingMultipleOnTableCompositionTable(EObject element)
+ *
+ */
+ public boolean isContainedInStrictTypingMultipleOnTableCompositionTable(EObject element) {
+ return ((ReferencesTableSettings)strictTypingMultipleOnTableComposition.getInput()).contains(element);
+ }
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#initStrictTypingMultipleOnAdvancedTableComposition(EObject current, EReference containingFeature, EReference feature)
+ */
+ public void initStrictTypingMultipleOnAdvancedTableComposition(ReferencesTableSettings settings) {
+ if (current.eResource() != null && current.eResource().getResourceSet() != null)
+ this.resourceSet = current.eResource().getResourceSet();
+ ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
+ strictTypingMultipleOnAdvancedTableComposition.setContentProvider(contentProvider);
+ strictTypingMultipleOnAdvancedTableComposition.setInput(settings);
+ boolean eefElementEditorReadOnlyState = isReadOnly(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition);
+ if (eefElementEditorReadOnlyState && strictTypingMultipleOnAdvancedTableComposition.isEnabled()) {
+ strictTypingMultipleOnAdvancedTableComposition.setEnabled(false);
+ strictTypingMultipleOnAdvancedTableComposition.setToolTipText(FiltersMessages.ConcreteReferenceOwnerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !strictTypingMultipleOnAdvancedTableComposition.isEnabled()) {
+ strictTypingMultipleOnAdvancedTableComposition.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#updateStrictTypingMultipleOnAdvancedTableComposition()
+ *
+ */
+ public void updateStrictTypingMultipleOnAdvancedTableComposition() {
+ strictTypingMultipleOnAdvancedTableComposition.refresh();
+}
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#addFilterStrictTypingMultipleOnAdvancedTableComposition(ViewerFilter filter)
+ *
+ */
+ public void addFilterToStrictTypingMultipleOnAdvancedTableComposition(ViewerFilter filter) {
+ strictTypingMultipleOnAdvancedTableCompositionFilters.add(filter);
+ if (this.strictTypingMultipleOnAdvancedTableComposition != null) {
+ this.strictTypingMultipleOnAdvancedTableComposition.addFilter(filter);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#addBusinessFilterStrictTypingMultipleOnAdvancedTableComposition(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToStrictTypingMultipleOnAdvancedTableComposition(ViewerFilter filter) {
+ strictTypingMultipleOnAdvancedTableCompositionBusinessFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#isContainedInStrictTypingMultipleOnAdvancedTableCompositionTable(EObject element)
+ *
+ */
+ public boolean isContainedInStrictTypingMultipleOnAdvancedTableCompositionTable(EObject element) {
+ return ((ReferencesTableSettings)strictTypingMultipleOnAdvancedTableComposition.getInput()).contains(element);
+ }
+
+
+
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/impl/ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/impl/ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.java
index ef29d4b55..fcfae828c 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/impl/ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/parts/impl/ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.java
@@ -16,63 +16,52 @@ import java.util.Iterator;
import java.util.List;
import org.eclipse.emf.ecore.EObject;
-
+import org.eclipse.emf.ecore.EReference;
+import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
import org.eclipse.emf.eef.eefnr.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart;
import org.eclipse.emf.eef.eefnr.filters.parts.FiltersViewsRepository;
-
import org.eclipse.emf.eef.eefnr.filters.providers.FiltersMessages;
-
import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
-
import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart;
-
import org.eclipse.emf.eef.runtime.context.impl.EObjectPropertiesEditionContext;
-
import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
-
import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart;
-
import org.eclipse.emf.eef.runtime.policies.PropertiesEditingPolicy;
-
import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
import org.eclipse.emf.eef.runtime.ui.parts.PartComposer;
-
import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence;
import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence;
import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionStep;
-
import org.eclipse.emf.eef.runtime.ui.utils.EditingUtils;
-
import org.eclipse.emf.eef.runtime.ui.widgets.ReferencesTable;
-
import org.eclipse.emf.eef.runtime.ui.widgets.ReferencesTable.ReferencesTableListener;
-
import org.eclipse.emf.eef.runtime.ui.widgets.SWTUtils;
import org.eclipse.emf.eef.runtime.ui.widgets.TabElementTreeSelectionDialog;
-
import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableContentProvider;
import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings;
-
+import org.eclipse.jface.viewers.ArrayContentProvider;
+import org.eclipse.jface.viewers.ILabelProviderListener;
import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.viewers.ITableLabelProvider;
+import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.ViewerFilter;
-
import org.eclipse.swt.SWT;
-
import org.eclipse.swt.events.FocusAdapter;
import org.eclipse.swt.events.FocusEvent;
import org.eclipse.swt.events.KeyAdapter;
import org.eclipse.swt.events.KeyEvent;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
-
+import org.eclipse.swt.graphics.Image;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
-
+import org.eclipse.swt.widgets.Button;
import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Group;
+import org.eclipse.swt.widgets.Listener;
+import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Text;
// End of user code
@@ -90,6 +79,15 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionPartImpl extends Compo
protected ReferencesTable strictTyping;
protected List<ViewerFilter> strictTypingBusinessFilters = new ArrayList<ViewerFilter>();
protected List<ViewerFilter> strictTypingFilters = new ArrayList<ViewerFilter>();
+ protected TableViewer strictTypingMultipleOnTableComposition;
+ protected List<ViewerFilter> strictTypingMultipleOnTableCompositionBusinessFilters = new ArrayList<ViewerFilter>();
+ protected List<ViewerFilter> strictTypingMultipleOnTableCompositionFilters = new ArrayList<ViewerFilter>();
+ protected Button addStrictTypingMultipleOnTableComposition;
+ protected Button removeStrictTypingMultipleOnTableComposition;
+ protected Button editStrictTypingMultipleOnTableComposition;
+ protected ReferencesTable strictTypingMultipleOnAdvancedTableComposition;
+ protected List<ViewerFilter> strictTypingMultipleOnAdvancedTableCompositionBusinessFilters = new ArrayList<ViewerFilter>();
+ protected List<ViewerFilter> strictTypingMultipleOnAdvancedTableCompositionFilters = new ArrayList<ViewerFilter>();
@@ -131,6 +129,8 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionPartImpl extends Compo
propertiesStep.addStep(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.name);
propertiesStep.addStep(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.abstractTarget);
propertiesStep.addStep(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTyping);
+ propertiesStep.addStep(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ propertiesStep.addStep(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition);
composer = new PartComposer(concreteReferenceOwnerSampleStep) {
@@ -149,6 +149,12 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionPartImpl extends Compo
if (key == FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTyping) {
return createStrictTypingAdvancedTableComposition(parent);
}
+ if (key == FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition) {
+ return createStrictTypingMultipleOnTableCompositionTableComposition(parent);
+ }
+ if (key == FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition) {
+ return createStrictTypingMultipleOnAdvancedTableCompositionAdvancedTableComposition(parent);
+ }
return parent;
}
};
@@ -352,6 +358,234 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionPartImpl extends Compo
return parent;
}
+ /**
+ * @param container
+ *
+ */
+ protected Composite createStrictTypingMultipleOnTableCompositionTableComposition(Composite container) {
+ Composite tableContainer = new Composite(container, SWT.NONE);
+ GridLayout tableContainerLayout = new GridLayout();
+ GridData tableContainerData = new GridData(GridData.FILL_BOTH);
+ tableContainerData.horizontalSpan = 3;
+ tableContainer.setLayoutData(tableContainerData);
+ tableContainerLayout.numColumns = 2;
+ tableContainer.setLayout(tableContainerLayout);
+ org.eclipse.swt.widgets.Table tableStrictTypingMultipleOnTableComposition = new org.eclipse.swt.widgets.Table(tableContainer, SWT.FULL_SELECTION);
+ tableStrictTypingMultipleOnTableComposition.setHeaderVisible(true);
+ GridData gdStrictTypingMultipleOnTableComposition = new GridData();
+ gdStrictTypingMultipleOnTableComposition.grabExcessHorizontalSpace = true;
+ gdStrictTypingMultipleOnTableComposition.horizontalAlignment = GridData.FILL;
+ gdStrictTypingMultipleOnTableComposition.grabExcessVerticalSpace = true;
+ gdStrictTypingMultipleOnTableComposition.verticalAlignment = GridData.FILL;
+ tableStrictTypingMultipleOnTableComposition.setLayoutData(gdStrictTypingMultipleOnTableComposition);
+ tableStrictTypingMultipleOnTableComposition.setLinesVisible(true);
+
+ // Start of user code for columns definition for StrictTypingMultipleOnTableComposition
+ TableColumn name = new TableColumn(tableStrictTypingMultipleOnTableComposition, SWT.NONE);
+ name.setWidth(80);
+ name.setText("Label"); //$NON-NLS-1$
+ // End of user code
+
+ strictTypingMultipleOnTableComposition = new TableViewer(tableStrictTypingMultipleOnTableComposition);
+ strictTypingMultipleOnTableComposition.setContentProvider(new ArrayContentProvider());
+ strictTypingMultipleOnTableComposition.setLabelProvider(new ITableLabelProvider() {
+ //Start of user code for label provider definition for StrictTypingMultipleOnTableComposition
+ public String getColumnText(Object object, int columnIndex) {
+ AdapterFactoryLabelProvider labelProvider = new AdapterFactoryLabelProvider(adapterFactory);
+ if (object instanceof EObject) {
+ switch (columnIndex) {
+ case 0:
+ return labelProvider.getText(object);
+ }
+ }
+ return ""; //$NON-NLS-1$
+ }
+
+ public Image getColumnImage(Object element, int columnIndex) {
+ return null;
+ }
+
+ //End of user code
+
+ public void addListener(ILabelProviderListener listener) {
+ }
+
+ public void dispose() {
+ }
+
+ public boolean isLabelProperty(Object element, String property) {
+ return false;
+ }
+
+ public void removeListener(ILabelProviderListener listener) {
+ }
+
+ });
+ strictTypingMultipleOnTableComposition.getTable().addListener(SWT.MouseDoubleClick, new Listener(){
+
+ public void handleEvent(Event event) {
+ if (strictTypingMultipleOnTableComposition.getSelection() instanceof IStructuredSelection) {
+ IStructuredSelection selection = (IStructuredSelection) strictTypingMultipleOnTableComposition.getSelection();
+ if (selection.getFirstElement() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, selection.getFirstElement()));
+ strictTypingMultipleOnTableComposition.refresh();
+ }
+ }
+ }
+
+ });
+ GridData strictTypingMultipleOnTableCompositionData = new GridData(GridData.FILL_HORIZONTAL);
+ strictTypingMultipleOnTableCompositionData.minimumHeight = 120;
+ strictTypingMultipleOnTableCompositionData.heightHint = 120;
+ strictTypingMultipleOnTableComposition.getTable().setLayoutData(strictTypingMultipleOnTableCompositionData);
+ for (ViewerFilter filter : this.strictTypingMultipleOnTableCompositionFilters) {
+ strictTypingMultipleOnTableComposition.addFilter(filter);
+ }
+ EditingUtils.setID(strictTypingMultipleOnTableComposition.getTable(), FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ EditingUtils.setEEFtype(strictTypingMultipleOnTableComposition.getTable(), "eef::TableComposition::field"); //$NON-NLS-1$
+ createStrictTypingMultipleOnTableCompositionPanel(tableContainer);
+ // Start of user code for createStrictTypingMultipleOnTableCompositionTableComposition
+
+ // End of user code
+ return container;
+ }
+
+ /**
+ * @param container
+ *
+ */
+ protected Composite createStrictTypingMultipleOnTableCompositionPanel(Composite container) {
+ Composite strictTypingMultipleOnTableCompositionPanel = new Composite(container, SWT.NONE);
+ GridLayout strictTypingMultipleOnTableCompositionPanelLayout = new GridLayout();
+ strictTypingMultipleOnTableCompositionPanelLayout.numColumns = 1;
+ strictTypingMultipleOnTableCompositionPanel.setLayout(strictTypingMultipleOnTableCompositionPanelLayout);
+ addStrictTypingMultipleOnTableComposition = new Button(strictTypingMultipleOnTableCompositionPanel, SWT.NONE);
+ addStrictTypingMultipleOnTableComposition.setText(FiltersMessages.PropertiesEditionPart_AddTableViewerLabel);
+ GridData addStrictTypingMultipleOnTableCompositionData = new GridData(GridData.FILL_HORIZONTAL);
+ addStrictTypingMultipleOnTableComposition.setLayoutData(addStrictTypingMultipleOnTableCompositionData);
+ addStrictTypingMultipleOnTableComposition.addSelectionListener(new SelectionAdapter() {
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent)
+ *
+ */
+ public void widgetSelected(SelectionEvent e) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ strictTypingMultipleOnTableComposition.refresh();
+ }
+ });
+ EditingUtils.setID(addStrictTypingMultipleOnTableComposition, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ EditingUtils.setEEFtype(addStrictTypingMultipleOnTableComposition, "eef::TableComposition::addbutton"); //$NON-NLS-1$
+ removeStrictTypingMultipleOnTableComposition = new Button(strictTypingMultipleOnTableCompositionPanel, SWT.NONE);
+ removeStrictTypingMultipleOnTableComposition.setText(FiltersMessages.PropertiesEditionPart_RemoveTableViewerLabel);
+ GridData removeStrictTypingMultipleOnTableCompositionData = new GridData(GridData.FILL_HORIZONTAL);
+ removeStrictTypingMultipleOnTableComposition.setLayoutData(removeStrictTypingMultipleOnTableCompositionData);
+ removeStrictTypingMultipleOnTableComposition.addSelectionListener(new SelectionAdapter() {
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent)
+ *
+ */
+ public void widgetSelected(SelectionEvent e) {
+ if (strictTypingMultipleOnTableComposition.getSelection() instanceof IStructuredSelection) {
+ IStructuredSelection selection = (IStructuredSelection) strictTypingMultipleOnTableComposition.getSelection();
+ if (selection.getFirstElement() instanceof EObject) {
+ EObject selectedElement = (EObject) selection.getFirstElement();
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.REMOVE, null, selectedElement));
+ strictTypingMultipleOnTableComposition.refresh();
+ }
+ }
+ }
+
+ });
+ EditingUtils.setID(removeStrictTypingMultipleOnTableComposition, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ EditingUtils.setEEFtype(removeStrictTypingMultipleOnTableComposition, "eef::TableComposition::removebutton"); //$NON-NLS-1$
+ editStrictTypingMultipleOnTableComposition = new Button(strictTypingMultipleOnTableCompositionPanel, SWT.NONE);
+ editStrictTypingMultipleOnTableComposition.setText(FiltersMessages.PropertiesEditionPart_EditTableViewerLabel);
+ GridData editStrictTypingMultipleOnTableCompositionData = new GridData(GridData.FILL_HORIZONTAL);
+ editStrictTypingMultipleOnTableComposition.setLayoutData(editStrictTypingMultipleOnTableCompositionData);
+ editStrictTypingMultipleOnTableComposition.addSelectionListener(new SelectionAdapter() {
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.swt.events.SelectionAdapter#widgetSelected(org.eclipse.swt.events.SelectionEvent)
+ *
+ */
+ public void widgetSelected(SelectionEvent e) {
+ if (strictTypingMultipleOnTableComposition.getSelection() instanceof IStructuredSelection) {
+ IStructuredSelection selection = (IStructuredSelection) strictTypingMultipleOnTableComposition.getSelection();
+ if (selection.getFirstElement() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, selection.getFirstElement()));
+ strictTypingMultipleOnTableComposition.refresh();
+ }
+ }
+ }
+
+ });
+ EditingUtils.setID(editStrictTypingMultipleOnTableComposition, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ EditingUtils.setEEFtype(editStrictTypingMultipleOnTableComposition, "eef::TableComposition::editbutton"); //$NON-NLS-1$
+ // Start of user code for createStrictTypingMultipleOnTableCompositionPanel
+
+ // End of user code
+ return strictTypingMultipleOnTableCompositionPanel;
+ }
+
+ /**
+ * @param container
+ *
+ */
+ protected Composite createStrictTypingMultipleOnAdvancedTableCompositionAdvancedTableComposition(Composite parent) {
+ this.strictTypingMultipleOnAdvancedTableComposition = new ReferencesTable(getDescription(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, FiltersMessages.ConcreteReferenceOwnerSamplePropertiesEditionPart_StrictTypingMultipleOnAdvancedTableCompositionLabel), new ReferencesTableListener() {
+ public void handleAdd() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ strictTypingMultipleOnAdvancedTableComposition.refresh();
+ }
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ strictTypingMultipleOnAdvancedTableComposition.refresh();
+ }
+ public void handleMove(EObject element, int oldIndex, int newIndex) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
+ strictTypingMultipleOnAdvancedTableComposition.refresh();
+ }
+ public void handleRemove(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
+ strictTypingMultipleOnAdvancedTableComposition.refresh();
+ }
+ public void navigateTo(EObject element) { }
+ });
+ for (ViewerFilter filter : this.strictTypingMultipleOnAdvancedTableCompositionFilters) {
+ this.strictTypingMultipleOnAdvancedTableComposition.addFilter(filter);
+ }
+ this.strictTypingMultipleOnAdvancedTableComposition.setHelpText(propertiesEditionComponent.getHelpContent(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, FiltersViewsRepository.SWT_KIND));
+ this.strictTypingMultipleOnAdvancedTableComposition.createControls(parent);
+ this.strictTypingMultipleOnAdvancedTableComposition.addSelectionListener(new SelectionAdapter() {
+
+ public void widgetSelected(SelectionEvent e) {
+ if (e.item != null && e.item.getData() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(ConcreteReferenceOwnerSamplePropertiesEditionPartImpl.this, FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
+ }
+ }
+
+ });
+ GridData strictTypingMultipleOnAdvancedTableCompositionData = new GridData(GridData.FILL_HORIZONTAL);
+ strictTypingMultipleOnAdvancedTableCompositionData.horizontalSpan = 3;
+ this.strictTypingMultipleOnAdvancedTableComposition.setLayoutData(strictTypingMultipleOnAdvancedTableCompositionData);
+ this.strictTypingMultipleOnAdvancedTableComposition.setLowerBound(0);
+ this.strictTypingMultipleOnAdvancedTableComposition.setUpperBound(-1);
+ strictTypingMultipleOnAdvancedTableComposition.setID(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition);
+ strictTypingMultipleOnAdvancedTableComposition.setEEFType("eef::AdvancedTableComposition"); //$NON-NLS-1$
+ // Start of user code for createStrictTypingMultipleOnAdvancedTableCompositionAdvancedTableComposition
+
+ // End of user code
+ return parent;
+ }
+
/**
* {@inheritDoc}
@@ -528,6 +762,147 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionPartImpl extends Compo
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#initStrictTypingMultipleOnTableComposition(EObject current, EReference containingFeature, EReference feature)
+ */
+ public void initStrictTypingMultipleOnTableComposition(ReferencesTableSettings settings) {
+ if (current.eResource() != null && current.eResource().getResourceSet() != null)
+ this.resourceSet = current.eResource().getResourceSet();
+ ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
+ strictTypingMultipleOnTableComposition.setContentProvider(contentProvider);
+ strictTypingMultipleOnTableComposition.setInput(settings);
+ boolean eefElementEditorReadOnlyState = isReadOnly(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition);
+ if (eefElementEditorReadOnlyState && strictTypingMultipleOnTableComposition.getTable().isEnabled()) {
+ strictTypingMultipleOnTableComposition.getTable().setEnabled(false);
+ strictTypingMultipleOnTableComposition.getTable().setToolTipText(FiltersMessages.ConcreteReferenceOwnerSample_ReadOnly);
+ addStrictTypingMultipleOnTableComposition.setEnabled(false);
+ addStrictTypingMultipleOnTableComposition.setToolTipText(FiltersMessages.ConcreteReferenceOwnerSample_ReadOnly);
+ removeStrictTypingMultipleOnTableComposition.setEnabled(false);
+ removeStrictTypingMultipleOnTableComposition.setToolTipText(FiltersMessages.ConcreteReferenceOwnerSample_ReadOnly);
+ editStrictTypingMultipleOnTableComposition.setEnabled(false);
+ editStrictTypingMultipleOnTableComposition.setToolTipText(FiltersMessages.ConcreteReferenceOwnerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !strictTypingMultipleOnTableComposition.getTable().isEnabled()) {
+ strictTypingMultipleOnTableComposition.getTable().setEnabled(true);
+ addStrictTypingMultipleOnTableComposition.setEnabled(true);
+ removeStrictTypingMultipleOnTableComposition.setEnabled(true);
+ editStrictTypingMultipleOnTableComposition.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#updateStrictTypingMultipleOnTableComposition()
+ *
+ */
+ public void updateStrictTypingMultipleOnTableComposition() {
+ strictTypingMultipleOnTableComposition.refresh();
+}
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#addFilterStrictTypingMultipleOnTableComposition(ViewerFilter filter)
+ *
+ */
+ public void addFilterToStrictTypingMultipleOnTableComposition(ViewerFilter filter) {
+ strictTypingMultipleOnTableCompositionFilters.add(filter);
+ if (this.strictTypingMultipleOnTableComposition != null) {
+ this.strictTypingMultipleOnTableComposition.addFilter(filter);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#addBusinessFilterStrictTypingMultipleOnTableComposition(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToStrictTypingMultipleOnTableComposition(ViewerFilter filter) {
+ strictTypingMultipleOnTableCompositionBusinessFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#isContainedInStrictTypingMultipleOnTableCompositionTable(EObject element)
+ *
+ */
+ public boolean isContainedInStrictTypingMultipleOnTableCompositionTable(EObject element) {
+ return ((ReferencesTableSettings)strictTypingMultipleOnTableComposition.getInput()).contains(element);
+ }
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#initStrictTypingMultipleOnAdvancedTableComposition(EObject current, EReference containingFeature, EReference feature)
+ */
+ public void initStrictTypingMultipleOnAdvancedTableComposition(ReferencesTableSettings settings) {
+ if (current.eResource() != null && current.eResource().getResourceSet() != null)
+ this.resourceSet = current.eResource().getResourceSet();
+ ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
+ strictTypingMultipleOnAdvancedTableComposition.setContentProvider(contentProvider);
+ strictTypingMultipleOnAdvancedTableComposition.setInput(settings);
+ boolean eefElementEditorReadOnlyState = isReadOnly(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition);
+ if (eefElementEditorReadOnlyState && strictTypingMultipleOnAdvancedTableComposition.isEnabled()) {
+ strictTypingMultipleOnAdvancedTableComposition.setEnabled(false);
+ strictTypingMultipleOnAdvancedTableComposition.setToolTipText(FiltersMessages.ConcreteReferenceOwnerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !strictTypingMultipleOnAdvancedTableComposition.isEnabled()) {
+ strictTypingMultipleOnAdvancedTableComposition.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#updateStrictTypingMultipleOnAdvancedTableComposition()
+ *
+ */
+ public void updateStrictTypingMultipleOnAdvancedTableComposition() {
+ strictTypingMultipleOnAdvancedTableComposition.refresh();
+}
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#addFilterStrictTypingMultipleOnAdvancedTableComposition(ViewerFilter filter)
+ *
+ */
+ public void addFilterToStrictTypingMultipleOnAdvancedTableComposition(ViewerFilter filter) {
+ strictTypingMultipleOnAdvancedTableCompositionFilters.add(filter);
+ if (this.strictTypingMultipleOnAdvancedTableComposition != null) {
+ this.strictTypingMultipleOnAdvancedTableComposition.addFilter(filter);
+ }
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#addBusinessFilterStrictTypingMultipleOnAdvancedTableComposition(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToStrictTypingMultipleOnAdvancedTableComposition(ViewerFilter filter) {
+ strictTypingMultipleOnAdvancedTableCompositionBusinessFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart#isContainedInStrictTypingMultipleOnAdvancedTableCompositionTable(EObject element)
+ *
+ */
+ public boolean isContainedInStrictTypingMultipleOnAdvancedTableCompositionTable(EObject element) {
+ return ((ReferencesTableSettings)strictTypingMultipleOnAdvancedTableComposition.getInput()).contains(element);
+ }
+
+
+
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/FiltersMessages.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/FiltersMessages.java
index accec6462..74b61f59f 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/FiltersMessages.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/FiltersMessages.java
@@ -59,6 +59,12 @@ public class FiltersMessages extends NLS {
public static String ConcreteReferenceOwnerSamplePropertiesEditionPart_StrictTypingLabel;
+ public static String ConcreteReferenceOwnerSamplePropertiesEditionPart_StrictTypingMultipleOnTableCompositionLabel;
+
+
+ public static String ConcreteReferenceOwnerSamplePropertiesEditionPart_StrictTypingMultipleOnAdvancedTableCompositionLabel;
+
+
public static String ConcreteReferenceTargetSample1PropertiesEditionPart_NameLabel;
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/FiltersPropertiesEditionPartProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/FiltersPropertiesEditionPartProvider.java
index ba39d901a..95203b77b 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/FiltersPropertiesEditionPartProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/FiltersPropertiesEditionPartProvider.java
@@ -10,20 +10,20 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.filters.providers;
-import org.eclipse.emf.eef.eefnr.filters.parts.FiltersViewsRepository;
-
-import org.eclipse.emf.eef.eefnr.filters.parts.forms.ConcreteReferenceOwnerSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.filters.parts.forms.ConcreteReferenceTargetSample1PropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.filters.parts.forms.ConcreteReferenceTargetSample2PropertiesEditionPartForm;
-
-import org.eclipse.emf.eef.eefnr.filters.parts.impl.ConcreteReferenceOwnerSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.filters.parts.impl.ConcreteReferenceTargetSample1PropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.filters.parts.impl.ConcreteReferenceTargetSample2PropertiesEditionPartImpl;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
-
+import org.eclipse.emf.eef.eefnr.filters.parts.FiltersViewsRepository;
+
+import org.eclipse.emf.eef.eefnr.filters.parts.forms.ConcreteReferenceOwnerSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.filters.parts.forms.ConcreteReferenceTargetSample1PropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.filters.parts.forms.ConcreteReferenceTargetSample2PropertiesEditionPartForm;
+
+import org.eclipse.emf.eef.eefnr.filters.parts.impl.ConcreteReferenceOwnerSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.filters.parts.impl.ConcreteReferenceTargetSample1PropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.filters.parts.impl.ConcreteReferenceTargetSample2PropertiesEditionPartImpl;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
+
import org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionPartProvider;
/**
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/filtersMessages.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/filtersMessages.properties
index f60c6a93a..9ebebb7a7 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/filtersMessages.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/filtersMessages.properties
@@ -18,14 +18,16 @@ ConcreteReferenceOwnerSamplePropertiesEditionPart_PropertiesGroupLabel=Propertie
ConcreteReferenceTargetSample1PropertiesEditionPart_PropertiesGroupLabel=Properties
ConcreteReferenceTargetSample2PropertiesEditionPart_PropertiesGroupLabel=Properties
ConcreteReferenceOwnerSample_ReadOnly=This property is read only
-ConcreteReferenceOwnerSample_Part_Title=ConcreteReferenceOwnerSample
+ConcreteReferenceOwnerSample_Part_Title=Base
ConcreteReferenceTargetSample1_ReadOnly=This property is read only
-ConcreteReferenceTargetSample1_Part_Title=ConcreteReferenceTargetSample1
+ConcreteReferenceTargetSample1_Part_Title=Base
ConcreteReferenceTargetSample2_ReadOnly=This property is read only
-ConcreteReferenceTargetSample2_Part_Title=ConcreteReferenceTargetSample2
+ConcreteReferenceTargetSample2_Part_Title=Base
ConcreteReferenceOwnerSamplePropertiesEditionPart_NameLabel=Name :
ConcreteReferenceOwnerSamplePropertiesEditionPart_AbstractTargetLabel=AbstractTarget :
ConcreteReferenceOwnerSamplePropertiesEditionPart_StrictTypingLabel=StrictTyping :
+ConcreteReferenceOwnerSamplePropertiesEditionPart_StrictTypingMultipleOnTableCompositionLabel=StrictTypingMultipleOnTableComposition :
+ConcreteReferenceOwnerSamplePropertiesEditionPart_StrictTypingMultipleOnAdvancedTableCompositionLabel=StrictTypingMultipleOnAdvancedTableComposition :
ConcreteReferenceTargetSample1PropertiesEditionPart_NameLabel=Name :
ConcreteReferenceTargetSample2PropertiesEditionPart_NameLabel=Name :
PropertiesEditionPart_PropertiesGroupLabel=Properties
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/filtersMessages_fr.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/filtersMessages_fr.properties
index a56a476fa..836fda2fc 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/filtersMessages_fr.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/filters/providers/filtersMessages_fr.properties
@@ -18,14 +18,16 @@ ConcreteReferenceOwnerSamplePropertiesEditionPart_PropertiesGroupLabel=Propertie
ConcreteReferenceTargetSample1PropertiesEditionPart_PropertiesGroupLabel=Properties
ConcreteReferenceTargetSample2PropertiesEditionPart_PropertiesGroupLabel=Properties
ConcreteReferenceOwnerSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-ConcreteReferenceOwnerSample_Part_Title=ConcreteReferenceOwnerSample
+ConcreteReferenceOwnerSample_Part_Title=Base
ConcreteReferenceTargetSample1_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-ConcreteReferenceTargetSample1_Part_Title=ConcreteReferenceTargetSample1
+ConcreteReferenceTargetSample1_Part_Title=Base
ConcreteReferenceTargetSample2_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-ConcreteReferenceTargetSample2_Part_Title=ConcreteReferenceTargetSample2
+ConcreteReferenceTargetSample2_Part_Title=Base
ConcreteReferenceOwnerSamplePropertiesEditionPart_NameLabel=Name :
ConcreteReferenceOwnerSamplePropertiesEditionPart_AbstractTargetLabel=AbstractTarget :
ConcreteReferenceOwnerSamplePropertiesEditionPart_StrictTypingLabel=StrictTyping :
+ConcreteReferenceOwnerSamplePropertiesEditionPart_StrictTypingMultipleOnTableCompositionLabel=StrictTypingMultipleOnTableComposition :
+ConcreteReferenceOwnerSamplePropertiesEditionPart_StrictTypingMultipleOnAdvancedTableCompositionLabel=StrictTypingMultipleOnAdvancedTableComposition :
ConcreteReferenceTargetSample1PropertiesEditionPart_NameLabel=Name :
ConcreteReferenceTargetSample2PropertiesEditionPart_NameLabel=Name :
PropertiesEditionPart_PropertiesGroupLabel=Propri\u00E9t\u00E9s
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/parts/SimpleSamplePropertiesEditionPart.java.lost b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/parts/SimpleSamplePropertiesEditionPart.java.lost
deleted file mode 100644
index 714009202..000000000
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/parts/SimpleSamplePropertiesEditionPart.java.lost
+++ /dev/null
@@ -1,114 +0,0 @@
-
-Thu Dec 06 10:55:59 CET 2012
-================================================================================
-Start of user code for additional methods
-
- // End of user code
-
-Thu Dec 06 12:16:54 CET 2012
-================================================================================
-Start of user code for getters and setters declaration
-
- // End of user code
-
-Thu Dec 06 12:16:54 CET 2012
-================================================================================
-Start of user code for additional methods
-
- // End of user code
-
-Thu Dec 06 12:21:23 CET 2012
-================================================================================
-Start of user code for getters and setters declaration
-
- // End of user code
-
-Thu Dec 06 12:21:23 CET 2012
-================================================================================
-Start of user code for additional methods
-
- // End of user code
-
-Tue Dec 18 14:44:05 CET 2012
-================================================================================
-Start of user code for getters and setters declaration
-
- // End of user code
-
-Tue Dec 18 14:45:37 CET 2012
-================================================================================
-Start of user code for getters and setters declaration
-
- // End of user code
-
-Tue Dec 18 14:48:44 CET 2012
-================================================================================
-Start of user code for additional methods
-
- // End of user code
-
-Tue Dec 18 14:48:44 CET 2012
-================================================================================
-Start of user code for getters and setters declaration
-
- // End of user code
-
-Wed Dec 19 18:50:50 CET 2012
-================================================================================
-Start of user code for getters and setters declaration
-
- // End of user code
-
-Wed Dec 19 18:50:50 CET 2012
-================================================================================
-Start of user code for additional methods
-
- // End of user code
-
-Wed Dec 19 18:52:54 CET 2012
-================================================================================
-Start of user code for getters and setters declaration
-
- // End of user code
-
-Wed Dec 19 18:52:54 CET 2012
-================================================================================
-Start of user code for additional methods
-
- // End of user code
-
-Fri Dec 21 08:16:50 CET 2012
-================================================================================
-Start of user code for getters and setters declaration
-
- // End of user code
-
-Fri Dec 21 08:16:50 CET 2012
-================================================================================
-Start of user code for additional methods
-
- // End of user code
-
-Fri Jan 11 11:25:06 CET 2013
-================================================================================
-Start of user code for getters and setters declaration
-
- // End of user code
-
-Fri Jan 11 11:25:06 CET 2013
-================================================================================
-Start of user code for additional methods
-
- // End of user code
-
-Fri Jan 11 11:51:47 CET 2013
-================================================================================
-Start of user code for getters and setters declaration
-
- // End of user code
-
-Fri Jan 11 11:51:47 CET 2013
-================================================================================
-Start of user code for additional methods
-
- // End of user code
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/Interface_PropertiesEditionPartProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/Interface_PropertiesEditionPartProvider.java
index 4b8695b82..3449f88e1 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/Interface_PropertiesEditionPartProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/Interface_PropertiesEditionPartProvider.java
@@ -10,12 +10,12 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.interface_.providers;
-import org.eclipse.emf.eef.eefnr.interface_.parts.Interface_ViewsRepository;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
-
+import org.eclipse.emf.eef.eefnr.interface_.parts.Interface_ViewsRepository;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
+
import org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionPartProvider;
/**
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/interface_Messages.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/interface_Messages.properties
index 6cce94200..753ce9665 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/interface_Messages.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/interface_Messages.properties
@@ -15,7 +15,7 @@
# default values ...
SimpleSample_ReadOnly=This property is read only
-SimpleSample_Part_Title=SimpleSample
+SimpleSample_Part_Title=Base
PropertiesEditionPart_PropertiesGroupLabel=Properties
PropertiesEditionPart_EditTableViewerLabel=Edit
PropertiesEditionPart_DocumentationLabel=Documentation
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/interface_Messages_fr.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/interface_Messages_fr.properties
index 3f9a207d2..72bbb86ed 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/interface_Messages_fr.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/interface_/providers/interface_Messages_fr.properties
@@ -15,7 +15,7 @@
# default values ...
SimpleSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-SimpleSample_Part_Title=SimpleSample
+SimpleSample_Part_Title=Base
PropertiesEditionPart_PropertiesGroupLabel=Propri\u00E9t\u00E9s
PropertiesEditionPart_EditTableViewerLabel=Editer
PropertiesEditionPart_DocumentationLabel=Documentation
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/parts/forms/OwnerPropertiesEditionPartForm.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/parts/forms/OwnerPropertiesEditionPartForm.java
index 8c264b427..e59a89183 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/parts/forms/OwnerPropertiesEditionPartForm.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/parts/forms/OwnerPropertiesEditionPartForm.java
@@ -1532,7 +1532,11 @@ public class OwnerPropertiesEditionPartForm extends SectionPropertiesEditingPart
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(OwnerPropertiesEditionPartForm.this, NavigationViewsRepository.Owner.Properties.singleContainmentForAdvancedEObjectFlatComboViewer, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getSingleContainmentForAdvancedEObjectFlatComboViewer();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(OwnerPropertiesEditionPartForm.this, NavigationViewsRepository.Owner.Properties.singleContainmentForAdvancedEObjectFlatComboViewer, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
@@ -1566,7 +1570,11 @@ public class OwnerPropertiesEditionPartForm extends SectionPropertiesEditingPart
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(OwnerPropertiesEditionPartForm.this, NavigationViewsRepository.Owner.Properties.singleReferencesForAdvancedEObjectFlatComboViewer, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getSingleReferencesForAdvancedEObjectFlatComboViewer();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(OwnerPropertiesEditionPartForm.this, NavigationViewsRepository.Owner.Properties.singleReferencesForAdvancedEObjectFlatComboViewer, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/parts/impl/OwnerPropertiesEditionPartImpl.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/parts/impl/OwnerPropertiesEditionPartImpl.java
index 966c3f259..b3c4dc5da 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/parts/impl/OwnerPropertiesEditionPartImpl.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/parts/impl/OwnerPropertiesEditionPartImpl.java
@@ -1475,7 +1475,11 @@ public class OwnerPropertiesEditionPartImpl extends CompositePropertiesEditionPa
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(OwnerPropertiesEditionPartImpl.this, NavigationViewsRepository.Owner.Properties.singleContainmentForAdvancedEObjectFlatComboViewer, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getSingleContainmentForAdvancedEObjectFlatComboViewer();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(OwnerPropertiesEditionPartImpl.this, NavigationViewsRepository.Owner.Properties.singleContainmentForAdvancedEObjectFlatComboViewer, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
//create widget
@@ -1506,7 +1510,11 @@ public class OwnerPropertiesEditionPartImpl extends CompositePropertiesEditionPa
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(OwnerPropertiesEditionPartImpl.this, NavigationViewsRepository.Owner.Properties.singleReferencesForAdvancedEObjectFlatComboViewer, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getSingleReferencesForAdvancedEObjectFlatComboViewer();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(OwnerPropertiesEditionPartImpl.this, NavigationViewsRepository.Owner.Properties.singleReferencesForAdvancedEObjectFlatComboViewer, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
//create widget
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/NamingPropertiesEditionPartProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/NamingPropertiesEditionPartProvider.java
index f1904f71e..26630e505 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/NamingPropertiesEditionPartProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/NamingPropertiesEditionPartProvider.java
@@ -10,16 +10,16 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.navigation.providers;
-import org.eclipse.emf.eef.eefnr.navigation.parts.NamingViewsRepository;
-
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.EventPropertiesEditionPartForm;
-
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.EventPropertiesEditionPartImpl;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
-
+import org.eclipse.emf.eef.eefnr.navigation.parts.NamingViewsRepository;
+
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.EventPropertiesEditionPartForm;
+
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.EventPropertiesEditionPartImpl;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
+
import org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionPartProvider;
/**
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/NavigationPropertiesEditionPartProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/NavigationPropertiesEditionPartProvider.java
index e534afcb2..3601a7849 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/NavigationPropertiesEditionPartProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/NavigationPropertiesEditionPartProvider.java
@@ -10,38 +10,38 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.navigation.providers;
-import org.eclipse.emf.eef.eefnr.navigation.parts.NavigationViewsRepository;
-
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.AnotherSubtypePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.AttributeNavigationSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.DeferedFlatReferencesTableSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.DeferedReferencesTableSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.ElementPropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.FirstNavigationSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.NamedElementPropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.OwnerPropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.SecondNavigationSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.SmartNavigationSampleOnglet2PropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.SmartNavigationSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.navigation.parts.forms.SubtypePropertiesEditionPartForm;
-
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.AnotherSubtypePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.AttributeNavigationSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.DeferedFlatReferencesTableSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.DeferedReferencesTableSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.ElementPropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.FirstNavigationSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.NamedElementPropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.OwnerPropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.SecondNavigationSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.SmartNavigationSampleOnglet2PropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.SmartNavigationSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.navigation.parts.impl.SubtypePropertiesEditionPartImpl;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
-
+import org.eclipse.emf.eef.eefnr.navigation.parts.NavigationViewsRepository;
+
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.AnotherSubtypePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.AttributeNavigationSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.DeferedFlatReferencesTableSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.DeferedReferencesTableSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.ElementPropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.FirstNavigationSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.NamedElementPropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.OwnerPropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.SecondNavigationSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.SmartNavigationSampleOnglet2PropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.SmartNavigationSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.navigation.parts.forms.SubtypePropertiesEditionPartForm;
+
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.AnotherSubtypePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.AttributeNavigationSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.DeferedFlatReferencesTableSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.DeferedReferencesTableSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.ElementPropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.FirstNavigationSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.NamedElementPropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.OwnerPropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.SecondNavigationSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.SmartNavigationSampleOnglet2PropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.SmartNavigationSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.navigation.parts.impl.SubtypePropertiesEditionPartImpl;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
+
import org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionPartProvider;
/**
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/namingMessages.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/namingMessages.properties
index 3568ac0c7..8ffdfbc47 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/namingMessages.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/namingMessages.properties
@@ -16,7 +16,7 @@
# default values ...
EventPropertiesEditionPart_PropertiesGroupLabel=Properties
Event_ReadOnly=This property is read only
-Event_Part_Title=Event
+Event_Part_Title=Base
EventPropertiesEditionPart_NameLabel=Name :
PropertiesEditionPart_PropertiesGroupLabel=Properties
PropertiesEditionPart_EditTableViewerLabel=Edit
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/namingMessages_fr.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/namingMessages_fr.properties
index 92f37e081..d26dd9e7d 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/namingMessages_fr.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/namingMessages_fr.properties
@@ -16,7 +16,7 @@
# default values ...
EventPropertiesEditionPart_PropertiesGroupLabel=Properties
Event_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-Event_Part_Title=Event
+Event_Part_Title=Base
EventPropertiesEditionPart_NameLabel=Name :
PropertiesEditionPart_PropertiesGroupLabel=Propri\u00E9t\u00E9s
PropertiesEditionPart_EditTableViewerLabel=Editer
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/navigationMessages.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/navigationMessages.properties
index b1751383a..3d58518bb 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/navigationMessages.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/navigationMessages.properties
@@ -31,17 +31,17 @@ DeferedFlatReferencesTableSample_Part_Title=DeferedFlatReferencesTableSample
DeferedReferencesTableSample_ReadOnly=This property is read only
DeferedReferencesTableSample_Part_Title=DeferedReferencesTableSample
Owner_ReadOnly=This property is read only
-Owner_Part_Title=Owner
+Owner_Part_Title=Base
Subtype_ReadOnly=This property is read only
-Subtype_Part_Title=Subtype
+Subtype_Part_Title=Base
AnotherSubtype_ReadOnly=This property is read only
-AnotherSubtype_Part_Title=AnotherSubtype
+AnotherSubtype_Part_Title=Base
NamedElement_ReadOnly=This property is read only
-NamedElement_Part_Title=NamedElement
+NamedElement_Part_Title=Base
Element_ReadOnly=This property is read only
-Element_Part_Title=Element
+Element_Part_Title=Base
AttributeNavigationSample_ReadOnly=This property is read only
-AttributeNavigationSample_Part_Title=AttributeNavigationSample
+AttributeNavigationSample_Part_Title=Base
SmartNavigationSample_ReadOnly=This property is read only
SmartNavigationSample_Part_Title=SmartNavigationSample
FirstNavigationSample_ReadOnly=This property is read only
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/navigationMessages_fr.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/navigationMessages_fr.properties
index 5fcd8659d..8974cca28 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/navigationMessages_fr.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/navigation/providers/navigationMessages_fr.properties
@@ -31,17 +31,17 @@ DeferedFlatReferencesTableSample_Part_Title=DeferedFlatReferencesTableSample
DeferedReferencesTableSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
DeferedReferencesTableSample_Part_Title=DeferedReferencesTableSample
Owner_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-Owner_Part_Title=Owner
+Owner_Part_Title=Base
Subtype_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-Subtype_Part_Title=Subtype
+Subtype_Part_Title=Base
AnotherSubtype_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-AnotherSubtype_Part_Title=AnotherSubtype
+AnotherSubtype_Part_Title=Base
NamedElement_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-NamedElement_Part_Title=NamedElement
+NamedElement_Part_Title=Base
Element_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-Element_Part_Title=Element
+Element_Part_Title=Base
AttributeNavigationSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-AttributeNavigationSample_Part_Title=AttributeNavigationSample
+AttributeNavigationSample_Part_Title=Base
SmartNavigationSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
SmartNavigationSample_Part_Title=SmartNavigationSample
FirstNavigationSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/EReferencesViewerSamplePropertiesEditionPart.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/EReferencesViewerSamplePropertiesEditionPart.java
new file mode 100644
index 000000000..d466c5632
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/EReferencesViewerSamplePropertiesEditionPart.java
@@ -0,0 +1,170 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.parts;
+
+// Start of user code for imports
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings;
+
+import org.eclipse.jface.viewers.ViewerFilter;
+
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public interface EReferencesViewerSamplePropertiesEditionPart {
+
+
+
+ /**
+ * Init the ereferencesviewerRequiredProperty
+ * @param settings settings for the ereferencesviewerRequiredProperty ReferencesTable
+ */
+ public void initEreferencesviewerRequiredProperty(ReferencesTableSettings settings);
+
+ /**
+ * Update the ereferencesviewerRequiredProperty
+ * @param newValue the ereferencesviewerRequiredProperty to update
+ *
+ */
+ public void updateEreferencesviewerRequiredProperty();
+
+ /**
+ * Adds the given filter to the ereferencesviewerRequiredProperty edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addFilterToEreferencesviewerRequiredProperty(ViewerFilter filter);
+
+ /**
+ * Adds the given filter to the ereferencesviewerRequiredProperty edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addBusinessFilterToEreferencesviewerRequiredProperty(ViewerFilter filter);
+
+ /**
+ * @return true if the given element is contained inside the ereferencesviewerRequiredProperty table
+ *
+ */
+ public boolean isContainedInEreferencesviewerRequiredPropertyTable(EObject element);
+
+
+
+
+ /**
+ * Init the ereferencesviewerOptionalProperty
+ * @param settings settings for the ereferencesviewerOptionalProperty ReferencesTable
+ */
+ public void initEreferencesviewerOptionalProperty(ReferencesTableSettings settings);
+
+ /**
+ * Update the ereferencesviewerOptionalProperty
+ * @param newValue the ereferencesviewerOptionalProperty to update
+ *
+ */
+ public void updateEreferencesviewerOptionalProperty();
+
+ /**
+ * Adds the given filter to the ereferencesviewerOptionalProperty edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addFilterToEreferencesviewerOptionalProperty(ViewerFilter filter);
+
+ /**
+ * Adds the given filter to the ereferencesviewerOptionalProperty edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addBusinessFilterToEreferencesviewerOptionalProperty(ViewerFilter filter);
+
+ /**
+ * @return true if the given element is contained inside the ereferencesviewerOptionalProperty table
+ *
+ */
+ public boolean isContainedInEreferencesviewerOptionalPropertyTable(EObject element);
+
+
+
+
+ /**
+ * Init the ereferencesviewerROProperty
+ * @param settings settings for the ereferencesviewerROProperty ReferencesTable
+ */
+ public void initEreferencesviewerROProperty(ReferencesTableSettings settings);
+
+ /**
+ * Update the ereferencesviewerROProperty
+ * @param newValue the ereferencesviewerROProperty to update
+ *
+ */
+ public void updateEreferencesviewerROProperty();
+
+ /**
+ * Adds the given filter to the ereferencesviewerROProperty edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addFilterToEreferencesviewerROProperty(ViewerFilter filter);
+
+ /**
+ * Adds the given filter to the ereferencesviewerROProperty edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addBusinessFilterToEreferencesviewerROProperty(ViewerFilter filter);
+
+ /**
+ * @return true if the given element is contained inside the ereferencesviewerROProperty table
+ *
+ */
+ public boolean isContainedInEreferencesviewerROPropertyTable(EObject element);
+
+
+
+
+
+ /**
+ * Returns the internationalized title text.
+ *
+ * @return the internationalized title text.
+ *
+ */
+ public String getTitle();
+
+ // Start of user code for additional methods
+
+ // End of user code
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/EefnrViewsRepository.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/EefnrViewsRepository.java
index 2052b1c47..b0d647fc2 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/EefnrViewsRepository.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/EefnrViewsRepository.java
@@ -574,4 +574,67 @@ public class EefnrViewsRepository {
}
+ /**
+ * EReferencesViewerSample view descriptor
+ *
+ */
+ public static class EReferencesViewerSample {
+ public static class Properties {
+
+
+ public static String ereferencesviewerRequiredProperty = "eefnr::EReferencesViewerSample::properties::ereferencesviewerRequiredProperty";
+
+
+ public static String ereferencesviewerOptionalProperty = "eefnr::EReferencesViewerSample::properties::ereferencesviewerOptionalProperty";
+
+
+ public static String ereferencesviewerROProperty = "eefnr::EReferencesViewerSample::properties::ereferencesviewerROProperty";
+
+
+ }
+
+ }
+
+ /**
+ * LinkEObjectFlatComboViewerSample view descriptor
+ *
+ */
+ public static class LinkEObjectFlatComboViewerSample {
+ public static class Properties {
+
+
+ public static String linkeobjectflatcomboviewerRequiredPropery = "eefnr::LinkEObjectFlatComboViewerSample::properties::linkeobjectflatcomboviewerRequiredPropery";
+
+
+ public static String linkeobjectflatcomboviewerOptionalPropery = "eefnr::LinkEObjectFlatComboViewerSample::properties::linkeobjectflatcomboviewerOptionalPropery";
+
+
+ public static String linkeobjectflatcomboviewerROPropery = "eefnr::LinkEObjectFlatComboViewerSample::properties::linkeobjectflatcomboviewerROPropery";
+
+
+ }
+
+ }
+
+ /**
+ * LinkEReferenceViewerSample view descriptor
+ *
+ */
+ public static class LinkEReferenceViewerSample {
+ public static class Properties {
+
+
+ public static String linkereferenceviewerRequiredPropery = "eefnr::LinkEReferenceViewerSample::properties::linkereferenceviewerRequiredPropery";
+
+
+ public static String linkereferenceviewerOptionalPropery = "eefnr::LinkEReferenceViewerSample::properties::linkereferenceviewerOptionalPropery";
+
+
+ public static String linkereferenceviewerROPropery = "eefnr::LinkEReferenceViewerSample::properties::linkereferenceviewerROPropery";
+
+
+ }
+
+ }
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/LinkEObjectFlatComboViewerSamplePropertiesEditionPart.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/LinkEObjectFlatComboViewerSamplePropertiesEditionPart.java
new file mode 100644
index 000000000..463834c2c
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/LinkEObjectFlatComboViewerSamplePropertiesEditionPart.java
@@ -0,0 +1,187 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.parts;
+
+// Start of user code for imports
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ButtonsModeEnum;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.eobjflatcombo.EObjectFlatComboSettings;
+
+import org.eclipse.jface.viewers.ViewerFilter;
+
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public interface LinkEObjectFlatComboViewerSamplePropertiesEditionPart {
+
+ /**
+ * @return the linkeobjectflatcomboviewerRequiredPropery
+ *
+ */
+ public EObject getLinkeobjectflatcomboviewerRequiredPropery();
+
+ /**
+ * Init the linkeobjectflatcomboviewerRequiredPropery
+ * @param settings the combo setting
+ */
+ public void initLinkeobjectflatcomboviewerRequiredPropery(EObjectFlatComboSettings settings);
+
+ /**
+ * Defines a new linkeobjectflatcomboviewerRequiredPropery
+ * @param newValue the new linkeobjectflatcomboviewerRequiredPropery to set
+ *
+ */
+ public void setLinkeobjectflatcomboviewerRequiredPropery(EObject newValue);
+
+ /**
+ * Defines the button mode
+ * @param newValue the new mode to set
+ *
+ */
+ public void setLinkeobjectflatcomboviewerRequiredProperyButtonMode(ButtonsModeEnum newValue);
+
+ /**
+ * Adds the given filter to the linkeobjectflatcomboviewerRequiredPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addFilterToLinkeobjectflatcomboviewerRequiredPropery(ViewerFilter filter);
+
+ /**
+ * Adds the given filter to the linkeobjectflatcomboviewerRequiredPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addBusinessFilterToLinkeobjectflatcomboviewerRequiredPropery(ViewerFilter filter);
+
+
+ /**
+ * @return the linkeobjectflatcomboviewerOptionalPropery
+ *
+ */
+ public EObject getLinkeobjectflatcomboviewerOptionalPropery();
+
+ /**
+ * Init the linkeobjectflatcomboviewerOptionalPropery
+ * @param settings the combo setting
+ */
+ public void initLinkeobjectflatcomboviewerOptionalPropery(EObjectFlatComboSettings settings);
+
+ /**
+ * Defines a new linkeobjectflatcomboviewerOptionalPropery
+ * @param newValue the new linkeobjectflatcomboviewerOptionalPropery to set
+ *
+ */
+ public void setLinkeobjectflatcomboviewerOptionalPropery(EObject newValue);
+
+ /**
+ * Defines the button mode
+ * @param newValue the new mode to set
+ *
+ */
+ public void setLinkeobjectflatcomboviewerOptionalProperyButtonMode(ButtonsModeEnum newValue);
+
+ /**
+ * Adds the given filter to the linkeobjectflatcomboviewerOptionalPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addFilterToLinkeobjectflatcomboviewerOptionalPropery(ViewerFilter filter);
+
+ /**
+ * Adds the given filter to the linkeobjectflatcomboviewerOptionalPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addBusinessFilterToLinkeobjectflatcomboviewerOptionalPropery(ViewerFilter filter);
+
+
+ /**
+ * @return the linkeobjectflatcomboviewerROPropery
+ *
+ */
+ public EObject getLinkeobjectflatcomboviewerROPropery();
+
+ /**
+ * Init the linkeobjectflatcomboviewerROPropery
+ * @param settings the combo setting
+ */
+ public void initLinkeobjectflatcomboviewerROPropery(EObjectFlatComboSettings settings);
+
+ /**
+ * Defines a new linkeobjectflatcomboviewerROPropery
+ * @param newValue the new linkeobjectflatcomboviewerROPropery to set
+ *
+ */
+ public void setLinkeobjectflatcomboviewerROPropery(EObject newValue);
+
+ /**
+ * Defines the button mode
+ * @param newValue the new mode to set
+ *
+ */
+ public void setLinkeobjectflatcomboviewerROProperyButtonMode(ButtonsModeEnum newValue);
+
+ /**
+ * Adds the given filter to the linkeobjectflatcomboviewerROPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addFilterToLinkeobjectflatcomboviewerROPropery(ViewerFilter filter);
+
+ /**
+ * Adds the given filter to the linkeobjectflatcomboviewerROPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addBusinessFilterToLinkeobjectflatcomboviewerROPropery(ViewerFilter filter);
+
+
+
+
+
+ /**
+ * Returns the internationalized title text.
+ *
+ * @return the internationalized title text.
+ *
+ */
+ public String getTitle();
+
+ // Start of user code for additional methods
+
+ // End of user code
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/LinkEReferenceViewerSamplePropertiesEditionPart.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/LinkEReferenceViewerSamplePropertiesEditionPart.java
new file mode 100644
index 000000000..3f45b1b53
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/LinkEReferenceViewerSamplePropertiesEditionPart.java
@@ -0,0 +1,187 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.parts;
+
+// Start of user code for imports
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ButtonsModeEnum;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.eobjflatcombo.EObjectFlatComboSettings;
+
+import org.eclipse.jface.viewers.ViewerFilter;
+
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public interface LinkEReferenceViewerSamplePropertiesEditionPart {
+
+ /**
+ * @return the linkereferenceviewerRequiredPropery
+ *
+ */
+ public EObject getLinkereferenceviewerRequiredPropery();
+
+ /**
+ * Init the linkereferenceviewerRequiredPropery
+ * @param settings the combo setting
+ */
+ public void initLinkereferenceviewerRequiredPropery(EObjectFlatComboSettings settings);
+
+ /**
+ * Defines a new linkereferenceviewerRequiredPropery
+ * @param newValue the new linkereferenceviewerRequiredPropery to set
+ *
+ */
+ public void setLinkereferenceviewerRequiredPropery(EObject newValue);
+
+ /**
+ * Defines the button mode
+ * @param newValue the new mode to set
+ *
+ */
+ public void setLinkereferenceviewerRequiredProperyButtonMode(ButtonsModeEnum newValue);
+
+ /**
+ * Adds the given filter to the linkereferenceviewerRequiredPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addFilterToLinkereferenceviewerRequiredPropery(ViewerFilter filter);
+
+ /**
+ * Adds the given filter to the linkereferenceviewerRequiredPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addBusinessFilterToLinkereferenceviewerRequiredPropery(ViewerFilter filter);
+
+
+ /**
+ * @return the linkereferenceviewerOptionalPropery
+ *
+ */
+ public EObject getLinkereferenceviewerOptionalPropery();
+
+ /**
+ * Init the linkereferenceviewerOptionalPropery
+ * @param settings the combo setting
+ */
+ public void initLinkereferenceviewerOptionalPropery(EObjectFlatComboSettings settings);
+
+ /**
+ * Defines a new linkereferenceviewerOptionalPropery
+ * @param newValue the new linkereferenceviewerOptionalPropery to set
+ *
+ */
+ public void setLinkereferenceviewerOptionalPropery(EObject newValue);
+
+ /**
+ * Defines the button mode
+ * @param newValue the new mode to set
+ *
+ */
+ public void setLinkereferenceviewerOptionalProperyButtonMode(ButtonsModeEnum newValue);
+
+ /**
+ * Adds the given filter to the linkereferenceviewerOptionalPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addFilterToLinkereferenceviewerOptionalPropery(ViewerFilter filter);
+
+ /**
+ * Adds the given filter to the linkereferenceviewerOptionalPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addBusinessFilterToLinkereferenceviewerOptionalPropery(ViewerFilter filter);
+
+
+ /**
+ * @return the linkereferenceviewerROPropery
+ *
+ */
+ public EObject getLinkereferenceviewerROPropery();
+
+ /**
+ * Init the linkereferenceviewerROPropery
+ * @param settings the combo setting
+ */
+ public void initLinkereferenceviewerROPropery(EObjectFlatComboSettings settings);
+
+ /**
+ * Defines a new linkereferenceviewerROPropery
+ * @param newValue the new linkereferenceviewerROPropery to set
+ *
+ */
+ public void setLinkereferenceviewerROPropery(EObject newValue);
+
+ /**
+ * Defines the button mode
+ * @param newValue the new mode to set
+ *
+ */
+ public void setLinkereferenceviewerROProperyButtonMode(ButtonsModeEnum newValue);
+
+ /**
+ * Adds the given filter to the linkereferenceviewerROPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addFilterToLinkereferenceviewerROPropery(ViewerFilter filter);
+
+ /**
+ * Adds the given filter to the linkereferenceviewerROPropery edition editor.
+ *
+ * @param filter
+ * a viewer filter
+ * @see org.eclipse.jface.viewers.StructuredViewer#addFilter(ViewerFilter)
+ *
+ */
+ public void addBusinessFilterToLinkereferenceviewerROPropery(ViewerFilter filter);
+
+
+
+
+
+ /**
+ * Returns the internationalized title text.
+ *
+ * @return the internationalized title text.
+ *
+ */
+ public String getTitle();
+
+ // Start of user code for additional methods
+
+ // End of user code
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.java
index ff752d54b..4abd57506 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.java
@@ -190,7 +190,11 @@ public class AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm exten
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerRequiredProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getAdvancedeobjectflatcomboviewerRequiredProperty();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerRequiredProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
@@ -224,7 +228,11 @@ public class AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm exten
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getAdvancedeobjectflatcomboviewerOptionalProperty();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
@@ -258,7 +266,11 @@ public class AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm exten
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerROProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getAdvancedeobjectflatcomboviewerROProperty();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerROProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
@@ -324,7 +336,11 @@ public class AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm exten
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerCompoOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getAdvancedeobjectflatcomboviewerCompoOptionalProperty();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerCompoOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/EReferencesViewerSamplePropertiesEditionPartForm.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/EReferencesViewerSamplePropertiesEditionPartForm.java
new file mode 100644
index 000000000..b3fb9a21d
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/EReferencesViewerSamplePropertiesEditionPartForm.java
@@ -0,0 +1,645 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.parts.forms;
+
+// Start of user code for imports
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart;
+import org.eclipse.emf.eef.eefnr.parts.EefnrViewsRepository;
+
+import org.eclipse.emf.eef.eefnr.providers.EefnrMessages;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart;
+
+import org.eclipse.emf.eef.runtime.context.impl.EObjectPropertiesEditionContext;
+
+import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.part.impl.SectionPropertiesEditingPart;
+
+import org.eclipse.emf.eef.runtime.policies.PropertiesEditingPolicy;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.ui.parts.PartComposer;
+
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionStep;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ElementSelectionDialog;
+import org.eclipse.emf.eef.runtime.ui.widgets.ReferencesTable;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ReferencesTable.ReferencesTableListener;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableContentProvider;
+import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings;
+
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.viewers.ViewerFilter;
+
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+
+import org.eclipse.swt.widgets.Composite;
+
+import org.eclipse.ui.forms.widgets.Form;
+import org.eclipse.ui.forms.widgets.FormToolkit;
+import org.eclipse.ui.forms.widgets.ScrolledForm;
+import org.eclipse.ui.forms.widgets.Section;
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class EReferencesViewerSamplePropertiesEditionPartForm extends SectionPropertiesEditingPart implements IFormPropertiesEditionPart, EReferencesViewerSamplePropertiesEditionPart {
+
+ protected ReferencesTable ereferencesviewerRequiredProperty;
+ protected List<ViewerFilter> ereferencesviewerRequiredPropertyBusinessFilters = new ArrayList<ViewerFilter>();
+ protected List<ViewerFilter> ereferencesviewerRequiredPropertyFilters = new ArrayList<ViewerFilter>();
+ protected ReferencesTable ereferencesviewerOptionalProperty;
+ protected List<ViewerFilter> ereferencesviewerOptionalPropertyBusinessFilters = new ArrayList<ViewerFilter>();
+ protected List<ViewerFilter> ereferencesviewerOptionalPropertyFilters = new ArrayList<ViewerFilter>();
+ protected ReferencesTable ereferencesviewerROProperty;
+ protected List<ViewerFilter> ereferencesviewerROPropertyBusinessFilters = new ArrayList<ViewerFilter>();
+ protected List<ViewerFilter> ereferencesviewerROPropertyFilters = new ArrayList<ViewerFilter>();
+
+
+
+ /**
+ * For {@link ISection} use only.
+ */
+ public EReferencesViewerSamplePropertiesEditionPartForm() { super(); }
+
+ /**
+ * Default constructor
+ * @param editionComponent the {@link IPropertiesEditionComponent} that manage this part
+ *
+ */
+ public EReferencesViewerSamplePropertiesEditionPartForm(IPropertiesEditionComponent editionComponent) {
+ super(editionComponent);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
+ * createFigure(org.eclipse.swt.widgets.Composite, org.eclipse.ui.forms.widgets.FormToolkit)
+ *
+ */
+ public Composite createFigure(final Composite parent, final FormToolkit widgetFactory) {
+ ScrolledForm scrolledForm = widgetFactory.createScrolledForm(parent);
+ Form form = scrolledForm.getForm();
+ view = form.getBody();
+ GridLayout layout = new GridLayout();
+ layout.numColumns = 3;
+ view.setLayout(layout);
+ createControls(widgetFactory, view);
+ return scrolledForm;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
+ * createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
+ *
+ */
+ public void createControls(final FormToolkit widgetFactory, Composite view) {
+ CompositionSequence eReferencesViewerSampleStep = new BindingCompositionSequence(propertiesEditionComponent);
+ CompositionStep propertiesStep = eReferencesViewerSampleStep.addStep(EefnrViewsRepository.EReferencesViewerSample.Properties.class);
+ propertiesStep.addStep(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty);
+ propertiesStep.addStep(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty);
+ propertiesStep.addStep(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty);
+
+
+ composer = new PartComposer(eReferencesViewerSampleStep) {
+
+ @Override
+ public Composite addToPart(Composite parent, Object key) {
+ if (key == EefnrViewsRepository.EReferencesViewerSample.Properties.class) {
+ return createPropertiesGroup(widgetFactory, parent);
+ }
+ if (key == EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty) {
+ return createEreferencesviewerRequiredPropertyReferencesTable(widgetFactory, parent);
+ }
+ if (key == EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty) {
+ return createEreferencesviewerOptionalPropertyReferencesTable(widgetFactory, parent);
+ }
+ if (key == EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty) {
+ return createEreferencesviewerROPropertyReferencesTable(widgetFactory, parent);
+ }
+ return parent;
+ }
+ };
+ composer.compose(view);
+ }
+ /**
+ *
+ */
+ protected Composite createPropertiesGroup(FormToolkit widgetFactory, final Composite parent) {
+ Section propertiesSection = widgetFactory.createSection(parent, Section.TITLE_BAR | Section.TWISTIE | Section.EXPANDED);
+ propertiesSection.setText(EefnrMessages.EReferencesViewerSamplePropertiesEditionPart_PropertiesGroupLabel);
+ GridData propertiesSectionData = new GridData(GridData.FILL_HORIZONTAL);
+ propertiesSectionData.horizontalSpan = 3;
+ propertiesSection.setLayoutData(propertiesSectionData);
+ Composite propertiesGroup = widgetFactory.createComposite(propertiesSection);
+ GridLayout propertiesGroupLayout = new GridLayout();
+ propertiesGroupLayout.numColumns = 3;
+ propertiesGroup.setLayout(propertiesGroupLayout);
+ propertiesSection.setClient(propertiesGroup);
+ return propertiesGroup;
+ }
+
+ /**
+ *
+ */
+ protected Composite createEreferencesviewerRequiredPropertyReferencesTable(FormToolkit widgetFactory, Composite parent) {
+ this.ereferencesviewerRequiredProperty = new ReferencesTable(getDescription(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty, EefnrMessages.EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerRequiredPropertyLabel), new ReferencesTableListener () {
+ public void handleAdd() { addEreferencesviewerRequiredProperty(); }
+ public void handleEdit(EObject element) { editEreferencesviewerRequiredProperty(element); }
+ public void handleMove(EObject element, int oldIndex, int newIndex) { moveEreferencesviewerRequiredProperty(element, oldIndex, newIndex); }
+ public void handleRemove(EObject element) { removeFromEreferencesviewerRequiredProperty(element); }
+ public void navigateTo(EObject element) { }
+ });
+ this.ereferencesviewerRequiredProperty.setHelpText(propertiesEditionComponent.getHelpContent(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty, EefnrViewsRepository.FORM_KIND));
+ this.ereferencesviewerRequiredProperty.createControls(parent, widgetFactory);
+ this.ereferencesviewerRequiredProperty.addSelectionListener(new SelectionAdapter() {
+
+ public void widgetSelected(SelectionEvent e) {
+ if (e.item != null && e.item.getData() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
+ }
+ }
+
+ });
+ GridData ereferencesviewerRequiredPropertyData = new GridData(GridData.FILL_HORIZONTAL);
+ ereferencesviewerRequiredPropertyData.horizontalSpan = 3;
+ this.ereferencesviewerRequiredProperty.setLayoutData(ereferencesviewerRequiredPropertyData);
+ this.ereferencesviewerRequiredProperty.disableMove();
+ ereferencesviewerRequiredProperty.setID(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty);
+ ereferencesviewerRequiredProperty.setEEFType("eef::EReferencesViewer"); //$NON-NLS-1$
+ // Start of user code for createEreferencesviewerRequiredPropertyReferencesTable
+
+ // End of user code
+ return parent;
+ }
+
+ /**
+ *
+ */
+ protected void addEreferencesviewerRequiredProperty() {
+ ElementSelectionDialog dialog = new ElementSelectionDialog(ereferencesviewerRequiredProperty.getInput(), ereferencesviewerRequiredPropertyFilters, ereferencesviewerRequiredPropertyBusinessFilters,
+ "ereferencesviewerRequiredProperty", propertiesEditionComponent.getEditingContext().getAdapterFactory()) {
+ @Override
+ public void process(IStructuredSelection selection) {
+ for (Iterator<?> iter = selection.iterator(); iter.hasNext();) {
+ EObject elem = (EObject) iter.next();
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty,
+ PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
+ }
+ ereferencesviewerRequiredProperty.refresh();
+ }
+ };
+ dialog.open();
+ }
+
+ /**
+ *
+ */
+ protected void moveEreferencesviewerRequiredProperty(EObject element, int oldIndex, int newIndex) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
+ ereferencesviewerRequiredProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void removeFromEreferencesviewerRequiredProperty(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
+ ereferencesviewerRequiredProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void editEreferencesviewerRequiredProperty(EObject element) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)adapterFactory.adapt(element, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy != null) {
+ policy.execute();
+ ereferencesviewerRequiredProperty.refresh();
+ }
+ }
+ }
+
+ /**
+ *
+ */
+ protected Composite createEreferencesviewerOptionalPropertyReferencesTable(FormToolkit widgetFactory, Composite parent) {
+ this.ereferencesviewerOptionalProperty = new ReferencesTable(getDescription(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty, EefnrMessages.EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerOptionalPropertyLabel), new ReferencesTableListener () {
+ public void handleAdd() { addEreferencesviewerOptionalProperty(); }
+ public void handleEdit(EObject element) { editEreferencesviewerOptionalProperty(element); }
+ public void handleMove(EObject element, int oldIndex, int newIndex) { moveEreferencesviewerOptionalProperty(element, oldIndex, newIndex); }
+ public void handleRemove(EObject element) { removeFromEreferencesviewerOptionalProperty(element); }
+ public void navigateTo(EObject element) { }
+ });
+ this.ereferencesviewerOptionalProperty.setHelpText(propertiesEditionComponent.getHelpContent(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty, EefnrViewsRepository.FORM_KIND));
+ this.ereferencesviewerOptionalProperty.createControls(parent, widgetFactory);
+ this.ereferencesviewerOptionalProperty.addSelectionListener(new SelectionAdapter() {
+
+ public void widgetSelected(SelectionEvent e) {
+ if (e.item != null && e.item.getData() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
+ }
+ }
+
+ });
+ GridData ereferencesviewerOptionalPropertyData = new GridData(GridData.FILL_HORIZONTAL);
+ ereferencesviewerOptionalPropertyData.horizontalSpan = 3;
+ this.ereferencesviewerOptionalProperty.setLayoutData(ereferencesviewerOptionalPropertyData);
+ this.ereferencesviewerOptionalProperty.disableMove();
+ ereferencesviewerOptionalProperty.setID(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty);
+ ereferencesviewerOptionalProperty.setEEFType("eef::EReferencesViewer"); //$NON-NLS-1$
+ // Start of user code for createEreferencesviewerOptionalPropertyReferencesTable
+
+ // End of user code
+ return parent;
+ }
+
+ /**
+ *
+ */
+ protected void addEreferencesviewerOptionalProperty() {
+ ElementSelectionDialog dialog = new ElementSelectionDialog(ereferencesviewerOptionalProperty.getInput(), ereferencesviewerOptionalPropertyFilters, ereferencesviewerOptionalPropertyBusinessFilters,
+ "ereferencesviewerOptionalProperty", propertiesEditionComponent.getEditingContext().getAdapterFactory()) {
+ @Override
+ public void process(IStructuredSelection selection) {
+ for (Iterator<?> iter = selection.iterator(); iter.hasNext();) {
+ EObject elem = (EObject) iter.next();
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty,
+ PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
+ }
+ ereferencesviewerOptionalProperty.refresh();
+ }
+ };
+ dialog.open();
+ }
+
+ /**
+ *
+ */
+ protected void moveEreferencesviewerOptionalProperty(EObject element, int oldIndex, int newIndex) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
+ ereferencesviewerOptionalProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void removeFromEreferencesviewerOptionalProperty(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
+ ereferencesviewerOptionalProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void editEreferencesviewerOptionalProperty(EObject element) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)adapterFactory.adapt(element, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy != null) {
+ policy.execute();
+ ereferencesviewerOptionalProperty.refresh();
+ }
+ }
+ }
+
+ /**
+ *
+ */
+ protected Composite createEreferencesviewerROPropertyReferencesTable(FormToolkit widgetFactory, Composite parent) {
+ this.ereferencesviewerROProperty = new ReferencesTable(getDescription(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty, EefnrMessages.EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerROPropertyLabel), new ReferencesTableListener () {
+ public void handleAdd() { addEreferencesviewerROProperty(); }
+ public void handleEdit(EObject element) { editEreferencesviewerROProperty(element); }
+ public void handleMove(EObject element, int oldIndex, int newIndex) { moveEreferencesviewerROProperty(element, oldIndex, newIndex); }
+ public void handleRemove(EObject element) { removeFromEreferencesviewerROProperty(element); }
+ public void navigateTo(EObject element) { }
+ });
+ this.ereferencesviewerROProperty.setHelpText(propertiesEditionComponent.getHelpContent(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty, EefnrViewsRepository.FORM_KIND));
+ this.ereferencesviewerROProperty.createControls(parent, widgetFactory);
+ this.ereferencesviewerROProperty.addSelectionListener(new SelectionAdapter() {
+
+ public void widgetSelected(SelectionEvent e) {
+ if (e.item != null && e.item.getData() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
+ }
+ }
+
+ });
+ GridData ereferencesviewerROPropertyData = new GridData(GridData.FILL_HORIZONTAL);
+ ereferencesviewerROPropertyData.horizontalSpan = 3;
+ this.ereferencesviewerROProperty.setLayoutData(ereferencesviewerROPropertyData);
+ this.ereferencesviewerROProperty.disableMove();
+ ereferencesviewerROProperty.setID(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty);
+ ereferencesviewerROProperty.setEEFType("eef::EReferencesViewer"); //$NON-NLS-1$
+ // Start of user code for createEreferencesviewerROPropertyReferencesTable
+
+ // End of user code
+ return parent;
+ }
+
+ /**
+ *
+ */
+ protected void addEreferencesviewerROProperty() {
+ ElementSelectionDialog dialog = new ElementSelectionDialog(ereferencesviewerROProperty.getInput(), ereferencesviewerROPropertyFilters, ereferencesviewerROPropertyBusinessFilters,
+ "ereferencesviewerROProperty", propertiesEditionComponent.getEditingContext().getAdapterFactory()) {
+ @Override
+ public void process(IStructuredSelection selection) {
+ for (Iterator<?> iter = selection.iterator(); iter.hasNext();) {
+ EObject elem = (EObject) iter.next();
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty,
+ PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
+ }
+ ereferencesviewerROProperty.refresh();
+ }
+ };
+ dialog.open();
+ }
+
+ /**
+ *
+ */
+ protected void moveEreferencesviewerROProperty(EObject element, int oldIndex, int newIndex) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
+ ereferencesviewerROProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void removeFromEreferencesviewerROProperty(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
+ ereferencesviewerROProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void editEreferencesviewerROProperty(EObject element) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)adapterFactory.adapt(element, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy != null) {
+ policy.execute();
+ ereferencesviewerROProperty.refresh();
+ }
+ }
+ }
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionListener#firePropertiesChanged(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public void firePropertiesChanged(IPropertiesEditionEvent event) {
+ // Start of user code for tab synchronization
+
+ // End of user code
+ }
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#initEreferencesviewerRequiredProperty(org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings)
+ */
+ public void initEreferencesviewerRequiredProperty(ReferencesTableSettings settings) {
+ if (current.eResource() != null && current.eResource().getResourceSet() != null)
+ this.resourceSet = current.eResource().getResourceSet();
+ ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
+ ereferencesviewerRequiredProperty.setContentProvider(contentProvider);
+ ereferencesviewerRequiredProperty.setInput(settings);
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty);
+ if (eefElementEditorReadOnlyState && ereferencesviewerRequiredProperty.getTable().isEnabled()) {
+ ereferencesviewerRequiredProperty.setEnabled(false);
+ ereferencesviewerRequiredProperty.setToolTipText(EefnrMessages.EReferencesViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !ereferencesviewerRequiredProperty.getTable().isEnabled()) {
+ ereferencesviewerRequiredProperty.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#updateEreferencesviewerRequiredProperty()
+ *
+ */
+ public void updateEreferencesviewerRequiredProperty() {
+ ereferencesviewerRequiredProperty.refresh();
+}
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addFilterEreferencesviewerRequiredProperty(ViewerFilter filter)
+ *
+ */
+ public void addFilterToEreferencesviewerRequiredProperty(ViewerFilter filter) {
+ ereferencesviewerRequiredPropertyFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addBusinessFilterEreferencesviewerRequiredProperty(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToEreferencesviewerRequiredProperty(ViewerFilter filter) {
+ ereferencesviewerRequiredPropertyBusinessFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#isContainedInEreferencesviewerRequiredPropertyTable(EObject element)
+ *
+ */
+ public boolean isContainedInEreferencesviewerRequiredPropertyTable(EObject element) {
+ return ((ReferencesTableSettings)ereferencesviewerRequiredProperty.getInput()).contains(element);
+ }
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#initEreferencesviewerOptionalProperty(org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings)
+ */
+ public void initEreferencesviewerOptionalProperty(ReferencesTableSettings settings) {
+ if (current.eResource() != null && current.eResource().getResourceSet() != null)
+ this.resourceSet = current.eResource().getResourceSet();
+ ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
+ ereferencesviewerOptionalProperty.setContentProvider(contentProvider);
+ ereferencesviewerOptionalProperty.setInput(settings);
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty);
+ if (eefElementEditorReadOnlyState && ereferencesviewerOptionalProperty.getTable().isEnabled()) {
+ ereferencesviewerOptionalProperty.setEnabled(false);
+ ereferencesviewerOptionalProperty.setToolTipText(EefnrMessages.EReferencesViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !ereferencesviewerOptionalProperty.getTable().isEnabled()) {
+ ereferencesviewerOptionalProperty.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#updateEreferencesviewerOptionalProperty()
+ *
+ */
+ public void updateEreferencesviewerOptionalProperty() {
+ ereferencesviewerOptionalProperty.refresh();
+}
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addFilterEreferencesviewerOptionalProperty(ViewerFilter filter)
+ *
+ */
+ public void addFilterToEreferencesviewerOptionalProperty(ViewerFilter filter) {
+ ereferencesviewerOptionalPropertyFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addBusinessFilterEreferencesviewerOptionalProperty(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToEreferencesviewerOptionalProperty(ViewerFilter filter) {
+ ereferencesviewerOptionalPropertyBusinessFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#isContainedInEreferencesviewerOptionalPropertyTable(EObject element)
+ *
+ */
+ public boolean isContainedInEreferencesviewerOptionalPropertyTable(EObject element) {
+ return ((ReferencesTableSettings)ereferencesviewerOptionalProperty.getInput()).contains(element);
+ }
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#initEreferencesviewerROProperty(org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings)
+ */
+ public void initEreferencesviewerROProperty(ReferencesTableSettings settings) {
+ if (current.eResource() != null && current.eResource().getResourceSet() != null)
+ this.resourceSet = current.eResource().getResourceSet();
+ ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
+ ereferencesviewerROProperty.setContentProvider(contentProvider);
+ ereferencesviewerROProperty.setInput(settings);
+ ereferencesviewerROProperty.setEnabled(false);
+ ereferencesviewerROProperty.setToolTipText(EefnrMessages.EReferencesViewerSample_ReadOnly);
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#updateEreferencesviewerROProperty()
+ *
+ */
+ public void updateEreferencesviewerROProperty() {
+ ereferencesviewerROProperty.refresh();
+}
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addFilterEreferencesviewerROProperty(ViewerFilter filter)
+ *
+ */
+ public void addFilterToEreferencesviewerROProperty(ViewerFilter filter) {
+ ereferencesviewerROPropertyFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addBusinessFilterEreferencesviewerROProperty(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToEreferencesviewerROProperty(ViewerFilter filter) {
+ ereferencesviewerROPropertyBusinessFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#isContainedInEreferencesviewerROPropertyTable(EObject element)
+ *
+ */
+ public boolean isContainedInEreferencesviewerROPropertyTable(EObject element) {
+ return ((ReferencesTableSettings)ereferencesviewerROProperty.getInput()).contains(element);
+ }
+
+
+
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart#getTitle()
+ *
+ */
+ public String getTitle() {
+ return EefnrMessages.EReferencesViewerSample_Part_Title;
+ }
+
+ // Start of user code additional methods
+
+ // End of user code
+
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.java
new file mode 100644
index 000000000..3a7ccb8a3
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.java
@@ -0,0 +1,537 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.parts.forms;
+
+// Start of user code for imports
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.parts.EefnrViewsRepository;
+import org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart;
+
+import org.eclipse.emf.eef.eefnr.providers.EefnrMessages;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart;
+
+import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.part.impl.SectionPropertiesEditingPart;
+
+import org.eclipse.emf.eef.runtime.ui.parts.PartComposer;
+
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionStep;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.AbstractAdvancedEObjectFlatComboViewer.EObjectFlatComboViewerListener;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ButtonsModeEnum;
+import org.eclipse.emf.eef.runtime.ui.widgets.FormUtils;
+import org.eclipse.emf.eef.runtime.ui.widgets.LinkEObjectFlatComboViewer;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.eobjflatcombo.EObjectFlatComboSettings;
+
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.jface.viewers.ViewerFilter;
+
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+
+import org.eclipse.swt.widgets.Composite;
+
+import org.eclipse.ui.forms.widgets.Form;
+import org.eclipse.ui.forms.widgets.FormToolkit;
+import org.eclipse.ui.forms.widgets.ScrolledForm;
+import org.eclipse.ui.forms.widgets.Section;
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm extends SectionPropertiesEditingPart implements IFormPropertiesEditionPart, LinkEObjectFlatComboViewerSamplePropertiesEditionPart {
+
+ protected LinkEObjectFlatComboViewer linkeobjectflatcomboviewerRequiredPropery;
+ protected ViewerFilter linkeobjectflatcomboviewerRequiredProperyFilter;
+ protected LinkEObjectFlatComboViewer linkeobjectflatcomboviewerOptionalPropery;
+ protected ViewerFilter linkeobjectflatcomboviewerOptionalProperyFilter;
+ protected LinkEObjectFlatComboViewer linkeobjectflatcomboviewerROPropery;
+ protected ViewerFilter linkeobjectflatcomboviewerROProperyFilter;
+
+
+
+ /**
+ * For {@link ISection} use only.
+ */
+ public LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm() { super(); }
+
+ /**
+ * Default constructor
+ * @param editionComponent the {@link IPropertiesEditionComponent} that manage this part
+ *
+ */
+ public LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm(IPropertiesEditionComponent editionComponent) {
+ super(editionComponent);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
+ * createFigure(org.eclipse.swt.widgets.Composite, org.eclipse.ui.forms.widgets.FormToolkit)
+ *
+ */
+ public Composite createFigure(final Composite parent, final FormToolkit widgetFactory) {
+ ScrolledForm scrolledForm = widgetFactory.createScrolledForm(parent);
+ Form form = scrolledForm.getForm();
+ view = form.getBody();
+ GridLayout layout = new GridLayout();
+ layout.numColumns = 3;
+ view.setLayout(layout);
+ createControls(widgetFactory, view);
+ return scrolledForm;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
+ * createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
+ *
+ */
+ public void createControls(final FormToolkit widgetFactory, Composite view) {
+ CompositionSequence linkEObjectFlatComboViewerSampleStep = new BindingCompositionSequence(propertiesEditionComponent);
+ CompositionStep propertiesStep = linkEObjectFlatComboViewerSampleStep.addStep(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.class);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery);
+
+
+ composer = new PartComposer(linkEObjectFlatComboViewerSampleStep) {
+
+ @Override
+ public Composite addToPart(Composite parent, Object key) {
+ if (key == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.class) {
+ return createPropertiesGroup(widgetFactory, parent);
+ }
+ if (key == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery) {
+ return createLinkeobjectflatcomboviewerRequiredProperyLinkFlatComboViewer(parent, widgetFactory);
+ }
+ if (key == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery) {
+ return createLinkeobjectflatcomboviewerOptionalProperyLinkFlatComboViewer(parent, widgetFactory);
+ }
+ if (key == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery) {
+ return createLinkeobjectflatcomboviewerROProperyLinkFlatComboViewer(parent, widgetFactory);
+ }
+ return parent;
+ }
+ };
+ composer.compose(view);
+ }
+ /**
+ *
+ */
+ protected Composite createPropertiesGroup(FormToolkit widgetFactory, final Composite parent) {
+ Section propertiesSection = widgetFactory.createSection(parent, Section.TITLE_BAR | Section.TWISTIE | Section.EXPANDED);
+ propertiesSection.setText(EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_PropertiesGroupLabel);
+ GridData propertiesSectionData = new GridData(GridData.FILL_HORIZONTAL);
+ propertiesSectionData.horizontalSpan = 3;
+ propertiesSection.setLayoutData(propertiesSectionData);
+ Composite propertiesGroup = widgetFactory.createComposite(propertiesSection);
+ GridLayout propertiesGroupLayout = new GridLayout();
+ propertiesGroupLayout.numColumns = 3;
+ propertiesGroup.setLayout(propertiesGroupLayout);
+ propertiesSection.setClient(propertiesGroup);
+ return propertiesGroup;
+ }
+
+ /**
+ * @param parent the parent composite
+ * @param widgetFactory factory to use to instanciante widget of the form
+ *
+ */
+ protected Composite createLinkeobjectflatcomboviewerRequiredProperyLinkFlatComboViewer(Composite parent, FormToolkit widgetFactory) {
+ createDescription(parent, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery, EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerRequiredProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkeobjectflatcomboviewerRequiredPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkeobjectflatcomboviewerRequiredPropery = new LinkEObjectFlatComboViewer(EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerRequiredProperyLabel, resourceSet, linkeobjectflatcomboviewerRequiredProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkeobjectflatcomboviewerRequiredPropery.createControls(parent, widgetFactory);
+ GridData linkeobjectflatcomboviewerRequiredProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkeobjectflatcomboviewerRequiredPropery.setLayoutData(linkeobjectflatcomboviewerRequiredProperyData);
+ linkeobjectflatcomboviewerRequiredPropery.setID(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery);
+ FormUtils.createHelpButton(widgetFactory, parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery, EefnrViewsRepository.FORM_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkeobjectflatcomboviewerRequiredProperyLinkFlatComboViewer
+
+ // End of user code
+ return parent;
+ }
+
+
+ /**
+ * @param parent the parent composite
+ * @param widgetFactory factory to use to instanciante widget of the form
+ *
+ */
+ protected Composite createLinkeobjectflatcomboviewerOptionalProperyLinkFlatComboViewer(Composite parent, FormToolkit widgetFactory) {
+ createDescription(parent, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery, EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerOptionalProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkeobjectflatcomboviewerOptionalPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkeobjectflatcomboviewerOptionalPropery = new LinkEObjectFlatComboViewer(EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerOptionalProperyLabel, resourceSet, linkeobjectflatcomboviewerOptionalProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkeobjectflatcomboviewerOptionalPropery.createControls(parent, widgetFactory);
+ GridData linkeobjectflatcomboviewerOptionalProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkeobjectflatcomboviewerOptionalPropery.setLayoutData(linkeobjectflatcomboviewerOptionalProperyData);
+ linkeobjectflatcomboviewerOptionalPropery.setID(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery);
+ FormUtils.createHelpButton(widgetFactory, parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery, EefnrViewsRepository.FORM_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkeobjectflatcomboviewerOptionalProperyLinkFlatComboViewer
+
+ // End of user code
+ return parent;
+ }
+
+
+ /**
+ * @param parent the parent composite
+ * @param widgetFactory factory to use to instanciante widget of the form
+ *
+ */
+ protected Composite createLinkeobjectflatcomboviewerROProperyLinkFlatComboViewer(Composite parent, FormToolkit widgetFactory) {
+ createDescription(parent, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery, EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerROProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkeobjectflatcomboviewerROPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkeobjectflatcomboviewerROPropery = new LinkEObjectFlatComboViewer(EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerROProperyLabel, resourceSet, linkeobjectflatcomboviewerROProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkeobjectflatcomboviewerROPropery.createControls(parent, widgetFactory);
+ GridData linkeobjectflatcomboviewerROProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkeobjectflatcomboviewerROPropery.setLayoutData(linkeobjectflatcomboviewerROProperyData);
+ linkeobjectflatcomboviewerROPropery.setID(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery);
+ FormUtils.createHelpButton(widgetFactory, parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery, EefnrViewsRepository.FORM_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkeobjectflatcomboviewerROProperyLinkFlatComboViewer
+
+ // End of user code
+ return parent;
+ }
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionListener#firePropertiesChanged(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public void firePropertiesChanged(IPropertiesEditionEvent event) {
+ // Start of user code for tab synchronization
+
+ // End of user code
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#getLinkeobjectflatcomboviewerRequiredPropery()
+ *
+ */
+ public EObject getLinkeobjectflatcomboviewerRequiredPropery() {
+ return linkeobjectflatcomboviewerRequiredPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#initLinkeobjectflatcomboviewerRequiredPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkeobjectflatcomboviewerRequiredPropery(EObjectFlatComboSettings settings) {
+ linkeobjectflatcomboviewerRequiredPropery.setInput(settings);
+ if (current != null) {
+ linkeobjectflatcomboviewerRequiredPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery);
+ if (eefElementEditorReadOnlyState && linkeobjectflatcomboviewerRequiredPropery.isEnabled()) {
+ linkeobjectflatcomboviewerRequiredPropery.setEnabled(false);
+ linkeobjectflatcomboviewerRequiredPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkeobjectflatcomboviewerRequiredPropery.isEnabled()) {
+ linkeobjectflatcomboviewerRequiredPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerRequiredPropery(EObject newValue)
+ *
+ */
+ public void setLinkeobjectflatcomboviewerRequiredPropery(EObject newValue) {
+ if (newValue != null) {
+ linkeobjectflatcomboviewerRequiredPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkeobjectflatcomboviewerRequiredPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery);
+ if (eefElementEditorReadOnlyState && linkeobjectflatcomboviewerRequiredPropery.isEnabled()) {
+ linkeobjectflatcomboviewerRequiredPropery.setEnabled(false);
+ linkeobjectflatcomboviewerRequiredPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkeobjectflatcomboviewerRequiredPropery.isEnabled()) {
+ linkeobjectflatcomboviewerRequiredPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerRequiredProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkeobjectflatcomboviewerRequiredProperyButtonMode(ButtonsModeEnum newValue) {
+ linkeobjectflatcomboviewerRequiredPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addFilterLinkeobjectflatcomboviewerRequiredPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkeobjectflatcomboviewerRequiredPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerRequiredPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addBusinessFilterLinkeobjectflatcomboviewerRequiredPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkeobjectflatcomboviewerRequiredPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerRequiredPropery.addBusinessRuleFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#getLinkeobjectflatcomboviewerOptionalPropery()
+ *
+ */
+ public EObject getLinkeobjectflatcomboviewerOptionalPropery() {
+ return linkeobjectflatcomboviewerOptionalPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#initLinkeobjectflatcomboviewerOptionalPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkeobjectflatcomboviewerOptionalPropery(EObjectFlatComboSettings settings) {
+ linkeobjectflatcomboviewerOptionalPropery.setInput(settings);
+ if (current != null) {
+ linkeobjectflatcomboviewerOptionalPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery);
+ if (eefElementEditorReadOnlyState && linkeobjectflatcomboviewerOptionalPropery.isEnabled()) {
+ linkeobjectflatcomboviewerOptionalPropery.setEnabled(false);
+ linkeobjectflatcomboviewerOptionalPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkeobjectflatcomboviewerOptionalPropery.isEnabled()) {
+ linkeobjectflatcomboviewerOptionalPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerOptionalPropery(EObject newValue)
+ *
+ */
+ public void setLinkeobjectflatcomboviewerOptionalPropery(EObject newValue) {
+ if (newValue != null) {
+ linkeobjectflatcomboviewerOptionalPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkeobjectflatcomboviewerOptionalPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery);
+ if (eefElementEditorReadOnlyState && linkeobjectflatcomboviewerOptionalPropery.isEnabled()) {
+ linkeobjectflatcomboviewerOptionalPropery.setEnabled(false);
+ linkeobjectflatcomboviewerOptionalPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkeobjectflatcomboviewerOptionalPropery.isEnabled()) {
+ linkeobjectflatcomboviewerOptionalPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerOptionalProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkeobjectflatcomboviewerOptionalProperyButtonMode(ButtonsModeEnum newValue) {
+ linkeobjectflatcomboviewerOptionalPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addFilterLinkeobjectflatcomboviewerOptionalPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkeobjectflatcomboviewerOptionalPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerOptionalPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addBusinessFilterLinkeobjectflatcomboviewerOptionalPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkeobjectflatcomboviewerOptionalPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerOptionalPropery.addBusinessRuleFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#getLinkeobjectflatcomboviewerROPropery()
+ *
+ */
+ public EObject getLinkeobjectflatcomboviewerROPropery() {
+ return linkeobjectflatcomboviewerROPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#initLinkeobjectflatcomboviewerROPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkeobjectflatcomboviewerROPropery(EObjectFlatComboSettings settings) {
+ linkeobjectflatcomboviewerROPropery.setInput(settings);
+ if (current != null) {
+ linkeobjectflatcomboviewerROPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ linkeobjectflatcomboviewerROPropery.setEnabled(false);
+ linkeobjectflatcomboviewerROPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerROPropery(EObject newValue)
+ *
+ */
+ public void setLinkeobjectflatcomboviewerROPropery(EObject newValue) {
+ if (newValue != null) {
+ linkeobjectflatcomboviewerROPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkeobjectflatcomboviewerROPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ linkeobjectflatcomboviewerROPropery.setEnabled(false);
+ linkeobjectflatcomboviewerROPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerROProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkeobjectflatcomboviewerROProperyButtonMode(ButtonsModeEnum newValue) {
+ linkeobjectflatcomboviewerROPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addFilterLinkeobjectflatcomboviewerROPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkeobjectflatcomboviewerROPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerROPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addBusinessFilterLinkeobjectflatcomboviewerROPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkeobjectflatcomboviewerROPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerROPropery.addBusinessRuleFilter(filter);
+ }
+
+
+
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart#getTitle()
+ *
+ */
+ public String getTitle() {
+ return EefnrMessages.LinkEObjectFlatComboViewerSample_Part_Title;
+ }
+
+ // Start of user code additional methods
+
+ // End of user code
+
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/LinkEReferenceViewerSamplePropertiesEditionPartForm.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/LinkEReferenceViewerSamplePropertiesEditionPartForm.java
new file mode 100644
index 000000000..bd33416ab
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/forms/LinkEReferenceViewerSamplePropertiesEditionPartForm.java
@@ -0,0 +1,537 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.parts.forms;
+
+// Start of user code for imports
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.parts.EefnrViewsRepository;
+import org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart;
+
+import org.eclipse.emf.eef.eefnr.providers.EefnrMessages;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart;
+
+import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.part.impl.SectionPropertiesEditingPart;
+
+import org.eclipse.emf.eef.runtime.ui.parts.PartComposer;
+
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionStep;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.AbstractAdvancedEObjectFlatComboViewer.EObjectFlatComboViewerListener;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ButtonsModeEnum;
+import org.eclipse.emf.eef.runtime.ui.widgets.FormUtils;
+import org.eclipse.emf.eef.runtime.ui.widgets.LinkEReferenceViewer;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.eobjflatcombo.EObjectFlatComboSettings;
+
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.jface.viewers.ViewerFilter;
+
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+
+import org.eclipse.swt.widgets.Composite;
+
+import org.eclipse.ui.forms.widgets.Form;
+import org.eclipse.ui.forms.widgets.FormToolkit;
+import org.eclipse.ui.forms.widgets.ScrolledForm;
+import org.eclipse.ui.forms.widgets.Section;
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class LinkEReferenceViewerSamplePropertiesEditionPartForm extends SectionPropertiesEditingPart implements IFormPropertiesEditionPart, LinkEReferenceViewerSamplePropertiesEditionPart {
+
+ protected LinkEReferenceViewer linkereferenceviewerRequiredPropery;
+ protected ViewerFilter linkereferenceviewerRequiredProperyFilter;
+ protected LinkEReferenceViewer linkereferenceviewerOptionalPropery;
+ protected ViewerFilter linkereferenceviewerOptionalProperyFilter;
+ protected LinkEReferenceViewer linkereferenceviewerROPropery;
+ protected ViewerFilter linkereferenceviewerROProperyFilter;
+
+
+
+ /**
+ * For {@link ISection} use only.
+ */
+ public LinkEReferenceViewerSamplePropertiesEditionPartForm() { super(); }
+
+ /**
+ * Default constructor
+ * @param editionComponent the {@link IPropertiesEditionComponent} that manage this part
+ *
+ */
+ public LinkEReferenceViewerSamplePropertiesEditionPartForm(IPropertiesEditionComponent editionComponent) {
+ super(editionComponent);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
+ * createFigure(org.eclipse.swt.widgets.Composite, org.eclipse.ui.forms.widgets.FormToolkit)
+ *
+ */
+ public Composite createFigure(final Composite parent, final FormToolkit widgetFactory) {
+ ScrolledForm scrolledForm = widgetFactory.createScrolledForm(parent);
+ Form form = scrolledForm.getForm();
+ view = form.getBody();
+ GridLayout layout = new GridLayout();
+ layout.numColumns = 3;
+ view.setLayout(layout);
+ createControls(widgetFactory, view);
+ return scrolledForm;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IFormPropertiesEditionPart#
+ * createControls(org.eclipse.ui.forms.widgets.FormToolkit, org.eclipse.swt.widgets.Composite)
+ *
+ */
+ public void createControls(final FormToolkit widgetFactory, Composite view) {
+ CompositionSequence linkEReferenceViewerSampleStep = new BindingCompositionSequence(propertiesEditionComponent);
+ CompositionStep propertiesStep = linkEReferenceViewerSampleStep.addStep(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.class);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery);
+
+
+ composer = new PartComposer(linkEReferenceViewerSampleStep) {
+
+ @Override
+ public Composite addToPart(Composite parent, Object key) {
+ if (key == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.class) {
+ return createPropertiesGroup(widgetFactory, parent);
+ }
+ if (key == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery) {
+ return createLinkereferenceviewerRequiredProperyLinkEReferenceViewer(parent, widgetFactory);
+ }
+ if (key == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery) {
+ return createLinkereferenceviewerOptionalProperyLinkEReferenceViewer(parent, widgetFactory);
+ }
+ if (key == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery) {
+ return createLinkereferenceviewerROProperyLinkEReferenceViewer(parent, widgetFactory);
+ }
+ return parent;
+ }
+ };
+ composer.compose(view);
+ }
+ /**
+ *
+ */
+ protected Composite createPropertiesGroup(FormToolkit widgetFactory, final Composite parent) {
+ Section propertiesSection = widgetFactory.createSection(parent, Section.TITLE_BAR | Section.TWISTIE | Section.EXPANDED);
+ propertiesSection.setText(EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_PropertiesGroupLabel);
+ GridData propertiesSectionData = new GridData(GridData.FILL_HORIZONTAL);
+ propertiesSectionData.horizontalSpan = 3;
+ propertiesSection.setLayoutData(propertiesSectionData);
+ Composite propertiesGroup = widgetFactory.createComposite(propertiesSection);
+ GridLayout propertiesGroupLayout = new GridLayout();
+ propertiesGroupLayout.numColumns = 3;
+ propertiesGroup.setLayout(propertiesGroupLayout);
+ propertiesSection.setClient(propertiesGroup);
+ return propertiesGroup;
+ }
+
+ /**
+ * @param parent the parent composite
+ * @param widgetFactory factory to use to instanciante widget of the form
+ *
+ */
+ protected Composite createLinkereferenceviewerRequiredProperyLinkEReferenceViewer(Composite parent, FormToolkit widgetFactory) {
+ createDescription(parent, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery, EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerRequiredProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkereferenceviewerRequiredPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkereferenceviewerRequiredPropery = new LinkEReferenceViewer(EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerRequiredProperyLabel, resourceSet, linkereferenceviewerRequiredProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkereferenceviewerRequiredPropery.createControls(parent, widgetFactory);
+ GridData linkereferenceviewerRequiredProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkereferenceviewerRequiredPropery.setLayoutData(linkereferenceviewerRequiredProperyData);
+ linkereferenceviewerRequiredPropery.setID(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery);
+ FormUtils.createHelpButton(widgetFactory, parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery, EefnrViewsRepository.FORM_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkereferenceviewerRequiredProperyLinkEReferenceViewer
+
+ // End of user code
+ return parent;
+ }
+
+
+ /**
+ * @param parent the parent composite
+ * @param widgetFactory factory to use to instanciante widget of the form
+ *
+ */
+ protected Composite createLinkereferenceviewerOptionalProperyLinkEReferenceViewer(Composite parent, FormToolkit widgetFactory) {
+ createDescription(parent, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery, EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerOptionalProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkereferenceviewerOptionalPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkereferenceviewerOptionalPropery = new LinkEReferenceViewer(EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerOptionalProperyLabel, resourceSet, linkereferenceviewerOptionalProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkereferenceviewerOptionalPropery.createControls(parent, widgetFactory);
+ GridData linkereferenceviewerOptionalProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkereferenceviewerOptionalPropery.setLayoutData(linkereferenceviewerOptionalProperyData);
+ linkereferenceviewerOptionalPropery.setID(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery);
+ FormUtils.createHelpButton(widgetFactory, parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery, EefnrViewsRepository.FORM_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkereferenceviewerOptionalProperyLinkEReferenceViewer
+
+ // End of user code
+ return parent;
+ }
+
+
+ /**
+ * @param parent the parent composite
+ * @param widgetFactory factory to use to instanciante widget of the form
+ *
+ */
+ protected Composite createLinkereferenceviewerROProperyLinkEReferenceViewer(Composite parent, FormToolkit widgetFactory) {
+ createDescription(parent, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery, EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerROProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkereferenceviewerROPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartForm.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkereferenceviewerROPropery = new LinkEReferenceViewer(EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerROProperyLabel, resourceSet, linkereferenceviewerROProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkereferenceviewerROPropery.createControls(parent, widgetFactory);
+ GridData linkereferenceviewerROProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkereferenceviewerROPropery.setLayoutData(linkereferenceviewerROProperyData);
+ linkereferenceviewerROPropery.setID(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery);
+ FormUtils.createHelpButton(widgetFactory, parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery, EefnrViewsRepository.FORM_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkereferenceviewerROProperyLinkEReferenceViewer
+
+ // End of user code
+ return parent;
+ }
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionListener#firePropertiesChanged(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public void firePropertiesChanged(IPropertiesEditionEvent event) {
+ // Start of user code for tab synchronization
+
+ // End of user code
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#getLinkereferenceviewerRequiredPropery()
+ *
+ */
+ public EObject getLinkereferenceviewerRequiredPropery() {
+ return linkereferenceviewerRequiredPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#initLinkereferenceviewerRequiredPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkereferenceviewerRequiredPropery(EObjectFlatComboSettings settings) {
+ linkereferenceviewerRequiredPropery.setInput(settings);
+ if (current != null) {
+ linkereferenceviewerRequiredPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery);
+ if (eefElementEditorReadOnlyState && linkereferenceviewerRequiredPropery.isEnabled()) {
+ linkereferenceviewerRequiredPropery.setEnabled(false);
+ linkereferenceviewerRequiredPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkereferenceviewerRequiredPropery.isEnabled()) {
+ linkereferenceviewerRequiredPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerRequiredPropery(EObject newValue)
+ *
+ */
+ public void setLinkereferenceviewerRequiredPropery(EObject newValue) {
+ if (newValue != null) {
+ linkereferenceviewerRequiredPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkereferenceviewerRequiredPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery);
+ if (eefElementEditorReadOnlyState && linkereferenceviewerRequiredPropery.isEnabled()) {
+ linkereferenceviewerRequiredPropery.setEnabled(false);
+ linkereferenceviewerRequiredPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkereferenceviewerRequiredPropery.isEnabled()) {
+ linkereferenceviewerRequiredPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerRequiredProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkereferenceviewerRequiredProperyButtonMode(ButtonsModeEnum newValue) {
+ linkereferenceviewerRequiredPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addFilterLinkereferenceviewerRequiredPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkereferenceviewerRequiredPropery(ViewerFilter filter) {
+ linkereferenceviewerRequiredPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addBusinessFilterLinkereferenceviewerRequiredPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkereferenceviewerRequiredPropery(ViewerFilter filter) {
+ linkereferenceviewerRequiredPropery.addBusinessRuleFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#getLinkereferenceviewerOptionalPropery()
+ *
+ */
+ public EObject getLinkereferenceviewerOptionalPropery() {
+ return linkereferenceviewerOptionalPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#initLinkereferenceviewerOptionalPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkereferenceviewerOptionalPropery(EObjectFlatComboSettings settings) {
+ linkereferenceviewerOptionalPropery.setInput(settings);
+ if (current != null) {
+ linkereferenceviewerOptionalPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery);
+ if (eefElementEditorReadOnlyState && linkereferenceviewerOptionalPropery.isEnabled()) {
+ linkereferenceviewerOptionalPropery.setEnabled(false);
+ linkereferenceviewerOptionalPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkereferenceviewerOptionalPropery.isEnabled()) {
+ linkereferenceviewerOptionalPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerOptionalPropery(EObject newValue)
+ *
+ */
+ public void setLinkereferenceviewerOptionalPropery(EObject newValue) {
+ if (newValue != null) {
+ linkereferenceviewerOptionalPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkereferenceviewerOptionalPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery);
+ if (eefElementEditorReadOnlyState && linkereferenceviewerOptionalPropery.isEnabled()) {
+ linkereferenceviewerOptionalPropery.setEnabled(false);
+ linkereferenceviewerOptionalPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkereferenceviewerOptionalPropery.isEnabled()) {
+ linkereferenceviewerOptionalPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerOptionalProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkereferenceviewerOptionalProperyButtonMode(ButtonsModeEnum newValue) {
+ linkereferenceviewerOptionalPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addFilterLinkereferenceviewerOptionalPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkereferenceviewerOptionalPropery(ViewerFilter filter) {
+ linkereferenceviewerOptionalPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addBusinessFilterLinkereferenceviewerOptionalPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkereferenceviewerOptionalPropery(ViewerFilter filter) {
+ linkereferenceviewerOptionalPropery.addBusinessRuleFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#getLinkereferenceviewerROPropery()
+ *
+ */
+ public EObject getLinkereferenceviewerROPropery() {
+ return linkereferenceviewerROPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#initLinkereferenceviewerROPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkereferenceviewerROPropery(EObjectFlatComboSettings settings) {
+ linkereferenceviewerROPropery.setInput(settings);
+ if (current != null) {
+ linkereferenceviewerROPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ linkereferenceviewerROPropery.setEnabled(false);
+ linkereferenceviewerROPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerROPropery(EObject newValue)
+ *
+ */
+ public void setLinkereferenceviewerROPropery(EObject newValue) {
+ if (newValue != null) {
+ linkereferenceviewerROPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkereferenceviewerROPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ linkereferenceviewerROPropery.setEnabled(false);
+ linkereferenceviewerROPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerROProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkereferenceviewerROProperyButtonMode(ButtonsModeEnum newValue) {
+ linkereferenceviewerROPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addFilterLinkereferenceviewerROPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkereferenceviewerROPropery(ViewerFilter filter) {
+ linkereferenceviewerROPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addBusinessFilterLinkereferenceviewerROPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkereferenceviewerROPropery(ViewerFilter filter) {
+ linkereferenceviewerROPropery.addBusinessRuleFilter(filter);
+ }
+
+
+
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart#getTitle()
+ *
+ */
+ public String getTitle() {
+ return EefnrMessages.LinkEReferenceViewerSample_Part_Title;
+ }
+
+ // Start of user code additional methods
+
+ // End of user code
+
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.java
index dc58d93c4..d5e49cda2 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.java
@@ -177,7 +177,11 @@ public class AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl exten
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerRequiredProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getAdvancedeobjectflatcomboviewerRequiredProperty();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerRequiredProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
//create widget
@@ -208,7 +212,11 @@ public class AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl exten
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getAdvancedeobjectflatcomboviewerOptionalProperty();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
//create widget
@@ -239,7 +247,11 @@ public class AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl exten
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerROProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getAdvancedeobjectflatcomboviewerROProperty();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerROProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
//create widget
@@ -300,7 +312,11 @@ public class AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl exten
public EObject handleCreate() {
propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerCompoOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
- return null;
+ return getAdvancedeobjectflatcomboviewerCompoOptionalProperty();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.AdvancedEObjectFlatComboViewerSample.Properties.advancedeobjectflatcomboviewerCompoOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
}
};
//create widget
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/EReferencesViewerSamplePropertiesEditionPartImpl.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/EReferencesViewerSamplePropertiesEditionPartImpl.java
new file mode 100644
index 000000000..2dc1b2a0f
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/EReferencesViewerSamplePropertiesEditionPartImpl.java
@@ -0,0 +1,629 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.parts.impl;
+
+// Start of user code for imports
+import java.util.ArrayList;
+import java.util.Iterator;
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart;
+import org.eclipse.emf.eef.eefnr.parts.EefnrViewsRepository;
+
+import org.eclipse.emf.eef.eefnr.providers.EefnrMessages;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart;
+
+import org.eclipse.emf.eef.runtime.context.impl.EObjectPropertiesEditionContext;
+
+import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart;
+
+import org.eclipse.emf.eef.runtime.policies.PropertiesEditingPolicy;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.ui.parts.PartComposer;
+
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionStep;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ElementSelectionDialog;
+import org.eclipse.emf.eef.runtime.ui.widgets.ReferencesTable;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ReferencesTable.ReferencesTableListener;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableContentProvider;
+import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings;
+
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.jface.viewers.ViewerFilter;
+
+import org.eclipse.swt.SWT;
+
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Group;
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class EReferencesViewerSamplePropertiesEditionPartImpl extends CompositePropertiesEditionPart implements ISWTPropertiesEditionPart, EReferencesViewerSamplePropertiesEditionPart {
+
+ protected ReferencesTable ereferencesviewerRequiredProperty;
+ protected List<ViewerFilter> ereferencesviewerRequiredPropertyBusinessFilters = new ArrayList<ViewerFilter>();
+ protected List<ViewerFilter> ereferencesviewerRequiredPropertyFilters = new ArrayList<ViewerFilter>();
+ protected ReferencesTable ereferencesviewerOptionalProperty;
+ protected List<ViewerFilter> ereferencesviewerOptionalPropertyBusinessFilters = new ArrayList<ViewerFilter>();
+ protected List<ViewerFilter> ereferencesviewerOptionalPropertyFilters = new ArrayList<ViewerFilter>();
+ protected ReferencesTable ereferencesviewerROProperty;
+ protected List<ViewerFilter> ereferencesviewerROPropertyBusinessFilters = new ArrayList<ViewerFilter>();
+ protected List<ViewerFilter> ereferencesviewerROPropertyFilters = new ArrayList<ViewerFilter>();
+
+
+
+ /**
+ * Default constructor
+ * @param editionComponent the {@link IPropertiesEditionComponent} that manage this part
+ *
+ */
+ public EReferencesViewerSamplePropertiesEditionPartImpl(IPropertiesEditionComponent editionComponent) {
+ super(editionComponent);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart#
+ * createFigure(org.eclipse.swt.widgets.Composite)
+ *
+ */
+ public Composite createFigure(final Composite parent) {
+ view = new Composite(parent, SWT.NONE);
+ GridLayout layout = new GridLayout();
+ layout.numColumns = 3;
+ view.setLayout(layout);
+ createControls(view);
+ return view;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart#
+ * createControls(org.eclipse.swt.widgets.Composite)
+ *
+ */
+ public void createControls(Composite view) {
+ CompositionSequence eReferencesViewerSampleStep = new BindingCompositionSequence(propertiesEditionComponent);
+ CompositionStep propertiesStep = eReferencesViewerSampleStep.addStep(EefnrViewsRepository.EReferencesViewerSample.Properties.class);
+ propertiesStep.addStep(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty);
+ propertiesStep.addStep(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty);
+ propertiesStep.addStep(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty);
+
+
+ composer = new PartComposer(eReferencesViewerSampleStep) {
+
+ @Override
+ public Composite addToPart(Composite parent, Object key) {
+ if (key == EefnrViewsRepository.EReferencesViewerSample.Properties.class) {
+ return createPropertiesGroup(parent);
+ }
+ if (key == EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty) {
+ return createEreferencesviewerRequiredPropertyAdvancedReferencesTable(parent);
+ }
+ if (key == EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty) {
+ return createEreferencesviewerOptionalPropertyAdvancedReferencesTable(parent);
+ }
+ if (key == EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty) {
+ return createEreferencesviewerROPropertyAdvancedReferencesTable(parent);
+ }
+ return parent;
+ }
+ };
+ composer.compose(view);
+ }
+
+ /**
+ *
+ */
+ protected Composite createPropertiesGroup(Composite parent) {
+ Group propertiesGroup = new Group(parent, SWT.NONE);
+ propertiesGroup.setText(EefnrMessages.EReferencesViewerSamplePropertiesEditionPart_PropertiesGroupLabel);
+ GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
+ propertiesGroupData.horizontalSpan = 3;
+ propertiesGroup.setLayoutData(propertiesGroupData);
+ GridLayout propertiesGroupLayout = new GridLayout();
+ propertiesGroupLayout.numColumns = 3;
+ propertiesGroup.setLayout(propertiesGroupLayout);
+ return propertiesGroup;
+ }
+
+ /**
+ *
+ */
+ protected Composite createEreferencesviewerRequiredPropertyAdvancedReferencesTable(Composite parent) {
+ String label = getDescription(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty, EefnrMessages.EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerRequiredPropertyLabel);
+ this.ereferencesviewerRequiredProperty = new ReferencesTable(label, new ReferencesTableListener() {
+ public void handleAdd() { addEreferencesviewerRequiredProperty(); }
+ public void handleEdit(EObject element) { editEreferencesviewerRequiredProperty(element); }
+ public void handleMove(EObject element, int oldIndex, int newIndex) { moveEreferencesviewerRequiredProperty(element, oldIndex, newIndex); }
+ public void handleRemove(EObject element) { removeFromEreferencesviewerRequiredProperty(element); }
+ public void navigateTo(EObject element) { }
+ });
+ this.ereferencesviewerRequiredProperty.setHelpText(propertiesEditionComponent.getHelpContent(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty, EefnrViewsRepository.SWT_KIND));
+ this.ereferencesviewerRequiredProperty.createControls(parent);
+ this.ereferencesviewerRequiredProperty.addSelectionListener(new SelectionAdapter() {
+
+ public void widgetSelected(SelectionEvent e) {
+ if (e.item != null && e.item.getData() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
+ }
+ }
+
+ });
+ GridData ereferencesviewerRequiredPropertyData = new GridData(GridData.FILL_HORIZONTAL);
+ ereferencesviewerRequiredPropertyData.horizontalSpan = 3;
+ this.ereferencesviewerRequiredProperty.setLayoutData(ereferencesviewerRequiredPropertyData);
+ this.ereferencesviewerRequiredProperty.disableMove();
+ ereferencesviewerRequiredProperty.setID(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty);
+ ereferencesviewerRequiredProperty.setEEFType("eef::EReferencesViewer"); //$NON-NLS-1$
+ return parent;
+ }
+
+ /**
+ *
+ */
+ protected void addEreferencesviewerRequiredProperty() {
+ ElementSelectionDialog dialog = new ElementSelectionDialog(ereferencesviewerRequiredProperty.getInput(), ereferencesviewerRequiredPropertyFilters, ereferencesviewerRequiredPropertyBusinessFilters,
+ "ereferencesviewerRequiredProperty", propertiesEditionComponent.getEditingContext().getAdapterFactory()) {
+ @Override
+ public void process(IStructuredSelection selection) {
+ for (Iterator<?> iter = selection.iterator(); iter.hasNext();) {
+ EObject elem = (EObject) iter.next();
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty,
+ PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
+ }
+ ereferencesviewerRequiredProperty.refresh();
+ }
+ };
+ dialog.open();
+ }
+
+ /**
+ *
+ */
+ protected void moveEreferencesviewerRequiredProperty(EObject element, int oldIndex, int newIndex) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
+ ereferencesviewerRequiredProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void removeFromEreferencesviewerRequiredProperty(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
+ ereferencesviewerRequiredProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void editEreferencesviewerRequiredProperty(EObject element) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)adapterFactory.adapt(element, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy != null) {
+ policy.execute();
+ ereferencesviewerRequiredProperty.refresh();
+ }
+ }
+ }
+
+ /**
+ *
+ */
+ protected Composite createEreferencesviewerOptionalPropertyAdvancedReferencesTable(Composite parent) {
+ String label = getDescription(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty, EefnrMessages.EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerOptionalPropertyLabel);
+ this.ereferencesviewerOptionalProperty = new ReferencesTable(label, new ReferencesTableListener() {
+ public void handleAdd() { addEreferencesviewerOptionalProperty(); }
+ public void handleEdit(EObject element) { editEreferencesviewerOptionalProperty(element); }
+ public void handleMove(EObject element, int oldIndex, int newIndex) { moveEreferencesviewerOptionalProperty(element, oldIndex, newIndex); }
+ public void handleRemove(EObject element) { removeFromEreferencesviewerOptionalProperty(element); }
+ public void navigateTo(EObject element) { }
+ });
+ this.ereferencesviewerOptionalProperty.setHelpText(propertiesEditionComponent.getHelpContent(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty, EefnrViewsRepository.SWT_KIND));
+ this.ereferencesviewerOptionalProperty.createControls(parent);
+ this.ereferencesviewerOptionalProperty.addSelectionListener(new SelectionAdapter() {
+
+ public void widgetSelected(SelectionEvent e) {
+ if (e.item != null && e.item.getData() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
+ }
+ }
+
+ });
+ GridData ereferencesviewerOptionalPropertyData = new GridData(GridData.FILL_HORIZONTAL);
+ ereferencesviewerOptionalPropertyData.horizontalSpan = 3;
+ this.ereferencesviewerOptionalProperty.setLayoutData(ereferencesviewerOptionalPropertyData);
+ this.ereferencesviewerOptionalProperty.disableMove();
+ ereferencesviewerOptionalProperty.setID(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty);
+ ereferencesviewerOptionalProperty.setEEFType("eef::EReferencesViewer"); //$NON-NLS-1$
+ return parent;
+ }
+
+ /**
+ *
+ */
+ protected void addEreferencesviewerOptionalProperty() {
+ ElementSelectionDialog dialog = new ElementSelectionDialog(ereferencesviewerOptionalProperty.getInput(), ereferencesviewerOptionalPropertyFilters, ereferencesviewerOptionalPropertyBusinessFilters,
+ "ereferencesviewerOptionalProperty", propertiesEditionComponent.getEditingContext().getAdapterFactory()) {
+ @Override
+ public void process(IStructuredSelection selection) {
+ for (Iterator<?> iter = selection.iterator(); iter.hasNext();) {
+ EObject elem = (EObject) iter.next();
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty,
+ PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
+ }
+ ereferencesviewerOptionalProperty.refresh();
+ }
+ };
+ dialog.open();
+ }
+
+ /**
+ *
+ */
+ protected void moveEreferencesviewerOptionalProperty(EObject element, int oldIndex, int newIndex) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
+ ereferencesviewerOptionalProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void removeFromEreferencesviewerOptionalProperty(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
+ ereferencesviewerOptionalProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void editEreferencesviewerOptionalProperty(EObject element) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)adapterFactory.adapt(element, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy != null) {
+ policy.execute();
+ ereferencesviewerOptionalProperty.refresh();
+ }
+ }
+ }
+
+ /**
+ *
+ */
+ protected Composite createEreferencesviewerROPropertyAdvancedReferencesTable(Composite parent) {
+ String label = getDescription(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty, EefnrMessages.EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerROPropertyLabel);
+ this.ereferencesviewerROProperty = new ReferencesTable(label, new ReferencesTableListener() {
+ public void handleAdd() { addEreferencesviewerROProperty(); }
+ public void handleEdit(EObject element) { editEreferencesviewerROProperty(element); }
+ public void handleMove(EObject element, int oldIndex, int newIndex) { moveEreferencesviewerROProperty(element, oldIndex, newIndex); }
+ public void handleRemove(EObject element) { removeFromEreferencesviewerROProperty(element); }
+ public void navigateTo(EObject element) { }
+ });
+ this.ereferencesviewerROProperty.setHelpText(propertiesEditionComponent.getHelpContent(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty, EefnrViewsRepository.SWT_KIND));
+ this.ereferencesviewerROProperty.createControls(parent);
+ this.ereferencesviewerROProperty.addSelectionListener(new SelectionAdapter() {
+
+ public void widgetSelected(SelectionEvent e) {
+ if (e.item != null && e.item.getData() instanceof EObject) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty, PropertiesEditionEvent.CHANGE, PropertiesEditionEvent.SELECTION_CHANGED, null, e.item.getData()));
+ }
+ }
+
+ });
+ GridData ereferencesviewerROPropertyData = new GridData(GridData.FILL_HORIZONTAL);
+ ereferencesviewerROPropertyData.horizontalSpan = 3;
+ this.ereferencesviewerROProperty.setLayoutData(ereferencesviewerROPropertyData);
+ this.ereferencesviewerROProperty.disableMove();
+ ereferencesviewerROProperty.setID(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty);
+ ereferencesviewerROProperty.setEEFType("eef::EReferencesViewer"); //$NON-NLS-1$
+ return parent;
+ }
+
+ /**
+ *
+ */
+ protected void addEreferencesviewerROProperty() {
+ ElementSelectionDialog dialog = new ElementSelectionDialog(ereferencesviewerROProperty.getInput(), ereferencesviewerROPropertyFilters, ereferencesviewerROPropertyBusinessFilters,
+ "ereferencesviewerROProperty", propertiesEditionComponent.getEditingContext().getAdapterFactory()) {
+ @Override
+ public void process(IStructuredSelection selection) {
+ for (Iterator<?> iter = selection.iterator(); iter.hasNext();) {
+ EObject elem = (EObject) iter.next();
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty,
+ PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, elem));
+ }
+ ereferencesviewerROProperty.refresh();
+ }
+ };
+ dialog.open();
+ }
+
+ /**
+ *
+ */
+ protected void moveEreferencesviewerROProperty(EObject element, int oldIndex, int newIndex) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.MOVE, element, newIndex));
+ ereferencesviewerROProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void removeFromEreferencesviewerROProperty(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(EReferencesViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerROProperty, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.REMOVE, null, element));
+ ereferencesviewerROProperty.refresh();
+ }
+
+ /**
+ *
+ */
+ protected void editEreferencesviewerROProperty(EObject element) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(propertiesEditionComponent.getEditingContext(), propertiesEditionComponent, element, adapterFactory);
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)adapterFactory.adapt(element, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy != null) {
+ policy.execute();
+ ereferencesviewerROProperty.refresh();
+ }
+ }
+ }
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionListener#firePropertiesChanged(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public void firePropertiesChanged(IPropertiesEditionEvent event) {
+ // Start of user code for tab synchronization
+
+ // End of user code
+ }
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#initEreferencesviewerRequiredProperty(org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings)
+ */
+ public void initEreferencesviewerRequiredProperty(ReferencesTableSettings settings) {
+ if (current.eResource() != null && current.eResource().getResourceSet() != null)
+ this.resourceSet = current.eResource().getResourceSet();
+ ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
+ ereferencesviewerRequiredProperty.setContentProvider(contentProvider);
+ ereferencesviewerRequiredProperty.setInput(settings);
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerRequiredProperty);
+ if (eefElementEditorReadOnlyState && ereferencesviewerRequiredProperty.getTable().isEnabled()) {
+ ereferencesviewerRequiredProperty.setEnabled(false);
+ ereferencesviewerRequiredProperty.setToolTipText(EefnrMessages.EReferencesViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !ereferencesviewerRequiredProperty.getTable().isEnabled()) {
+ ereferencesviewerRequiredProperty.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#updateEreferencesviewerRequiredProperty()
+ *
+ */
+ public void updateEreferencesviewerRequiredProperty() {
+ ereferencesviewerRequiredProperty.refresh();
+}
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addFilterEreferencesviewerRequiredProperty(ViewerFilter filter)
+ *
+ */
+ public void addFilterToEreferencesviewerRequiredProperty(ViewerFilter filter) {
+ ereferencesviewerRequiredPropertyFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addBusinessFilterEreferencesviewerRequiredProperty(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToEreferencesviewerRequiredProperty(ViewerFilter filter) {
+ ereferencesviewerRequiredPropertyBusinessFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#isContainedInEreferencesviewerRequiredPropertyTable(EObject element)
+ *
+ */
+ public boolean isContainedInEreferencesviewerRequiredPropertyTable(EObject element) {
+ return ((ReferencesTableSettings)ereferencesviewerRequiredProperty.getInput()).contains(element);
+ }
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#initEreferencesviewerOptionalProperty(org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings)
+ */
+ public void initEreferencesviewerOptionalProperty(ReferencesTableSettings settings) {
+ if (current.eResource() != null && current.eResource().getResourceSet() != null)
+ this.resourceSet = current.eResource().getResourceSet();
+ ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
+ ereferencesviewerOptionalProperty.setContentProvider(contentProvider);
+ ereferencesviewerOptionalProperty.setInput(settings);
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.EReferencesViewerSample.Properties.ereferencesviewerOptionalProperty);
+ if (eefElementEditorReadOnlyState && ereferencesviewerOptionalProperty.getTable().isEnabled()) {
+ ereferencesviewerOptionalProperty.setEnabled(false);
+ ereferencesviewerOptionalProperty.setToolTipText(EefnrMessages.EReferencesViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !ereferencesviewerOptionalProperty.getTable().isEnabled()) {
+ ereferencesviewerOptionalProperty.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#updateEreferencesviewerOptionalProperty()
+ *
+ */
+ public void updateEreferencesviewerOptionalProperty() {
+ ereferencesviewerOptionalProperty.refresh();
+}
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addFilterEreferencesviewerOptionalProperty(ViewerFilter filter)
+ *
+ */
+ public void addFilterToEreferencesviewerOptionalProperty(ViewerFilter filter) {
+ ereferencesviewerOptionalPropertyFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addBusinessFilterEreferencesviewerOptionalProperty(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToEreferencesviewerOptionalProperty(ViewerFilter filter) {
+ ereferencesviewerOptionalPropertyBusinessFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#isContainedInEreferencesviewerOptionalPropertyTable(EObject element)
+ *
+ */
+ public boolean isContainedInEreferencesviewerOptionalPropertyTable(EObject element) {
+ return ((ReferencesTableSettings)ereferencesviewerOptionalProperty.getInput()).contains(element);
+ }
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#initEreferencesviewerROProperty(org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings)
+ */
+ public void initEreferencesviewerROProperty(ReferencesTableSettings settings) {
+ if (current.eResource() != null && current.eResource().getResourceSet() != null)
+ this.resourceSet = current.eResource().getResourceSet();
+ ReferencesTableContentProvider contentProvider = new ReferencesTableContentProvider();
+ ereferencesviewerROProperty.setContentProvider(contentProvider);
+ ereferencesviewerROProperty.setInput(settings);
+ ereferencesviewerROProperty.setEnabled(false);
+ ereferencesviewerROProperty.setToolTipText(EefnrMessages.EReferencesViewerSample_ReadOnly);
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#updateEreferencesviewerROProperty()
+ *
+ */
+ public void updateEreferencesviewerROProperty() {
+ ereferencesviewerROProperty.refresh();
+}
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addFilterEreferencesviewerROProperty(ViewerFilter filter)
+ *
+ */
+ public void addFilterToEreferencesviewerROProperty(ViewerFilter filter) {
+ ereferencesviewerROPropertyFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#addBusinessFilterEreferencesviewerROProperty(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToEreferencesviewerROProperty(ViewerFilter filter) {
+ ereferencesviewerROPropertyBusinessFilters.add(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.EReferencesViewerSamplePropertiesEditionPart#isContainedInEreferencesviewerROPropertyTable(EObject element)
+ *
+ */
+ public boolean isContainedInEreferencesviewerROPropertyTable(EObject element) {
+ return ((ReferencesTableSettings)ereferencesviewerROProperty.getInput()).contains(element);
+ }
+
+
+
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart#getTitle()
+ *
+ */
+ public String getTitle() {
+ return EefnrMessages.EReferencesViewerSample_Part_Title;
+ }
+
+ // Start of user code additional methods
+
+ // End of user code
+
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.java
new file mode 100644
index 000000000..7f29c92b2
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.java
@@ -0,0 +1,521 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.parts.impl;
+
+// Start of user code for imports
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.parts.EefnrViewsRepository;
+import org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart;
+
+import org.eclipse.emf.eef.eefnr.providers.EefnrMessages;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart;
+
+import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart;
+
+import org.eclipse.emf.eef.runtime.ui.parts.PartComposer;
+
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionStep;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.AbstractAdvancedEObjectFlatComboViewer.EObjectFlatComboViewerListener;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ButtonsModeEnum;
+import org.eclipse.emf.eef.runtime.ui.widgets.LinkEObjectFlatComboViewer;
+import org.eclipse.emf.eef.runtime.ui.widgets.SWTUtils;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.eobjflatcombo.EObjectFlatComboSettings;
+
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.jface.viewers.ViewerFilter;
+
+import org.eclipse.swt.SWT;
+
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Group;
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl extends CompositePropertiesEditionPart implements ISWTPropertiesEditionPart, LinkEObjectFlatComboViewerSamplePropertiesEditionPart {
+
+ private LinkEObjectFlatComboViewer linkeobjectflatcomboviewerRequiredPropery;
+ protected ViewerFilter linkeobjectflatcomboviewerRequiredProperyFilter;
+ private LinkEObjectFlatComboViewer linkeobjectflatcomboviewerOptionalPropery;
+ protected ViewerFilter linkeobjectflatcomboviewerOptionalProperyFilter;
+ private LinkEObjectFlatComboViewer linkeobjectflatcomboviewerROPropery;
+ protected ViewerFilter linkeobjectflatcomboviewerROProperyFilter;
+
+
+
+ /**
+ * Default constructor
+ * @param editionComponent the {@link IPropertiesEditionComponent} that manage this part
+ *
+ */
+ public LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl(IPropertiesEditionComponent editionComponent) {
+ super(editionComponent);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart#
+ * createFigure(org.eclipse.swt.widgets.Composite)
+ *
+ */
+ public Composite createFigure(final Composite parent) {
+ view = new Composite(parent, SWT.NONE);
+ GridLayout layout = new GridLayout();
+ layout.numColumns = 3;
+ view.setLayout(layout);
+ createControls(view);
+ return view;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart#
+ * createControls(org.eclipse.swt.widgets.Composite)
+ *
+ */
+ public void createControls(Composite view) {
+ CompositionSequence linkEObjectFlatComboViewerSampleStep = new BindingCompositionSequence(propertiesEditionComponent);
+ CompositionStep propertiesStep = linkEObjectFlatComboViewerSampleStep.addStep(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.class);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery);
+
+
+ composer = new PartComposer(linkEObjectFlatComboViewerSampleStep) {
+
+ @Override
+ public Composite addToPart(Composite parent, Object key) {
+ if (key == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.class) {
+ return createPropertiesGroup(parent);
+ }
+ if (key == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery) {
+ return createLinkeobjectflatcomboviewerRequiredProperyLinkFlatComboViewer(parent);
+ }
+ if (key == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery) {
+ return createLinkeobjectflatcomboviewerOptionalProperyLinkFlatComboViewer(parent);
+ }
+ if (key == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery) {
+ return createLinkeobjectflatcomboviewerROProperyLinkFlatComboViewer(parent);
+ }
+ return parent;
+ }
+ };
+ composer.compose(view);
+ }
+
+ /**
+ *
+ */
+ protected Composite createPropertiesGroup(Composite parent) {
+ Group propertiesGroup = new Group(parent, SWT.NONE);
+ propertiesGroup.setText(EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_PropertiesGroupLabel);
+ GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
+ propertiesGroupData.horizontalSpan = 3;
+ propertiesGroup.setLayoutData(propertiesGroupData);
+ GridLayout propertiesGroupLayout = new GridLayout();
+ propertiesGroupLayout.numColumns = 3;
+ propertiesGroup.setLayout(propertiesGroupLayout);
+ return propertiesGroup;
+ }
+
+ /**
+ * @param parent the parent composite
+ *
+ */
+ protected Composite createLinkeobjectflatcomboviewerRequiredProperyLinkFlatComboViewer(Composite parent) {
+ createDescription(parent, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery, EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerRequiredProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkeobjectflatcomboviewerRequiredPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkeobjectflatcomboviewerRequiredPropery = new LinkEObjectFlatComboViewer(getDescription(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery, EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerRequiredProperyLabel), resourceSet, linkeobjectflatcomboviewerRequiredProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkeobjectflatcomboviewerRequiredPropery.createControls(parent);
+ GridData linkeobjectflatcomboviewerRequiredProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkeobjectflatcomboviewerRequiredPropery.setLayoutData(linkeobjectflatcomboviewerRequiredProperyData);
+ linkeobjectflatcomboviewerRequiredPropery.setID(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery);
+ SWTUtils.createHelpButton(parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery, EefnrViewsRepository.SWT_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkeobjectflatcomboviewerRequiredProperyLinkFlatComboViewer
+
+ // End of user code
+ return parent;
+ }
+
+ /**
+ * @param parent the parent composite
+ *
+ */
+ protected Composite createLinkeobjectflatcomboviewerOptionalProperyLinkFlatComboViewer(Composite parent) {
+ createDescription(parent, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery, EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerOptionalProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkeobjectflatcomboviewerOptionalPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkeobjectflatcomboviewerOptionalPropery = new LinkEObjectFlatComboViewer(getDescription(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery, EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerOptionalProperyLabel), resourceSet, linkeobjectflatcomboviewerOptionalProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkeobjectflatcomboviewerOptionalPropery.createControls(parent);
+ GridData linkeobjectflatcomboviewerOptionalProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkeobjectflatcomboviewerOptionalPropery.setLayoutData(linkeobjectflatcomboviewerOptionalProperyData);
+ linkeobjectflatcomboviewerOptionalPropery.setID(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery);
+ SWTUtils.createHelpButton(parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery, EefnrViewsRepository.SWT_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkeobjectflatcomboviewerOptionalProperyLinkFlatComboViewer
+
+ // End of user code
+ return parent;
+ }
+
+ /**
+ * @param parent the parent composite
+ *
+ */
+ protected Composite createLinkeobjectflatcomboviewerROProperyLinkFlatComboViewer(Composite parent) {
+ createDescription(parent, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery, EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerROProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkeobjectflatcomboviewerROPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkeobjectflatcomboviewerROPropery = new LinkEObjectFlatComboViewer(getDescription(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery, EefnrMessages.LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerROProperyLabel), resourceSet, linkeobjectflatcomboviewerROProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkeobjectflatcomboviewerROPropery.createControls(parent);
+ GridData linkeobjectflatcomboviewerROProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkeobjectflatcomboviewerROPropery.setLayoutData(linkeobjectflatcomboviewerROProperyData);
+ linkeobjectflatcomboviewerROPropery.setID(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery);
+ SWTUtils.createHelpButton(parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerROPropery, EefnrViewsRepository.SWT_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkeobjectflatcomboviewerROProperyLinkFlatComboViewer
+
+ // End of user code
+ return parent;
+ }
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionListener#firePropertiesChanged(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public void firePropertiesChanged(IPropertiesEditionEvent event) {
+ // Start of user code for tab synchronization
+
+ // End of user code
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#getLinkeobjectflatcomboviewerRequiredPropery()
+ *
+ */
+ public EObject getLinkeobjectflatcomboviewerRequiredPropery() {
+ return linkeobjectflatcomboviewerRequiredPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#initLinkeobjectflatcomboviewerRequiredPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkeobjectflatcomboviewerRequiredPropery(EObjectFlatComboSettings settings) {
+ linkeobjectflatcomboviewerRequiredPropery.setInput(settings);
+ if (current != null) {
+ linkeobjectflatcomboviewerRequiredPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery);
+ if (eefElementEditorReadOnlyState && linkeobjectflatcomboviewerRequiredPropery.isEnabled()) {
+ linkeobjectflatcomboviewerRequiredPropery.setEnabled(false);
+ linkeobjectflatcomboviewerRequiredPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkeobjectflatcomboviewerRequiredPropery.isEnabled()) {
+ linkeobjectflatcomboviewerRequiredPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerRequiredPropery(EObject newValue)
+ *
+ */
+ public void setLinkeobjectflatcomboviewerRequiredPropery(EObject newValue) {
+ if (newValue != null) {
+ linkeobjectflatcomboviewerRequiredPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkeobjectflatcomboviewerRequiredPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerRequiredPropery);
+ if (eefElementEditorReadOnlyState && linkeobjectflatcomboviewerRequiredPropery.isEnabled()) {
+ linkeobjectflatcomboviewerRequiredPropery.setEnabled(false);
+ linkeobjectflatcomboviewerRequiredPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkeobjectflatcomboviewerRequiredPropery.isEnabled()) {
+ linkeobjectflatcomboviewerRequiredPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerRequiredProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkeobjectflatcomboviewerRequiredProperyButtonMode(ButtonsModeEnum newValue) {
+ linkeobjectflatcomboviewerRequiredPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addFilterLinkeobjectflatcomboviewerRequiredPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkeobjectflatcomboviewerRequiredPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerRequiredPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addBusinessFilterLinkeobjectflatcomboviewerRequiredPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkeobjectflatcomboviewerRequiredPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerRequiredPropery.addBusinessRuleFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#getLinkeobjectflatcomboviewerOptionalPropery()
+ *
+ */
+ public EObject getLinkeobjectflatcomboviewerOptionalPropery() {
+ return linkeobjectflatcomboviewerOptionalPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#initLinkeobjectflatcomboviewerOptionalPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkeobjectflatcomboviewerOptionalPropery(EObjectFlatComboSettings settings) {
+ linkeobjectflatcomboviewerOptionalPropery.setInput(settings);
+ if (current != null) {
+ linkeobjectflatcomboviewerOptionalPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery);
+ if (eefElementEditorReadOnlyState && linkeobjectflatcomboviewerOptionalPropery.isEnabled()) {
+ linkeobjectflatcomboviewerOptionalPropery.setEnabled(false);
+ linkeobjectflatcomboviewerOptionalPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkeobjectflatcomboviewerOptionalPropery.isEnabled()) {
+ linkeobjectflatcomboviewerOptionalPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerOptionalPropery(EObject newValue)
+ *
+ */
+ public void setLinkeobjectflatcomboviewerOptionalPropery(EObject newValue) {
+ if (newValue != null) {
+ linkeobjectflatcomboviewerOptionalPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkeobjectflatcomboviewerOptionalPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEObjectFlatComboViewerSample.Properties.linkeobjectflatcomboviewerOptionalPropery);
+ if (eefElementEditorReadOnlyState && linkeobjectflatcomboviewerOptionalPropery.isEnabled()) {
+ linkeobjectflatcomboviewerOptionalPropery.setEnabled(false);
+ linkeobjectflatcomboviewerOptionalPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkeobjectflatcomboviewerOptionalPropery.isEnabled()) {
+ linkeobjectflatcomboviewerOptionalPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerOptionalProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkeobjectflatcomboviewerOptionalProperyButtonMode(ButtonsModeEnum newValue) {
+ linkeobjectflatcomboviewerOptionalPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addFilterLinkeobjectflatcomboviewerOptionalPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkeobjectflatcomboviewerOptionalPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerOptionalPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addBusinessFilterLinkeobjectflatcomboviewerOptionalPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkeobjectflatcomboviewerOptionalPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerOptionalPropery.addBusinessRuleFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#getLinkeobjectflatcomboviewerROPropery()
+ *
+ */
+ public EObject getLinkeobjectflatcomboviewerROPropery() {
+ return linkeobjectflatcomboviewerROPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#initLinkeobjectflatcomboviewerROPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkeobjectflatcomboviewerROPropery(EObjectFlatComboSettings settings) {
+ linkeobjectflatcomboviewerROPropery.setInput(settings);
+ if (current != null) {
+ linkeobjectflatcomboviewerROPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ linkeobjectflatcomboviewerROPropery.setEnabled(false);
+ linkeobjectflatcomboviewerROPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerROPropery(EObject newValue)
+ *
+ */
+ public void setLinkeobjectflatcomboviewerROPropery(EObject newValue) {
+ if (newValue != null) {
+ linkeobjectflatcomboviewerROPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkeobjectflatcomboviewerROPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ linkeobjectflatcomboviewerROPropery.setEnabled(false);
+ linkeobjectflatcomboviewerROPropery.setToolTipText(EefnrMessages.LinkEObjectFlatComboViewerSample_ReadOnly);
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#setLinkeobjectflatcomboviewerROProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkeobjectflatcomboviewerROProperyButtonMode(ButtonsModeEnum newValue) {
+ linkeobjectflatcomboviewerROPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addFilterLinkeobjectflatcomboviewerROPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkeobjectflatcomboviewerROPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerROPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEObjectFlatComboViewerSamplePropertiesEditionPart#addBusinessFilterLinkeobjectflatcomboviewerROPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkeobjectflatcomboviewerROPropery(ViewerFilter filter) {
+ linkeobjectflatcomboviewerROPropery.addBusinessRuleFilter(filter);
+ }
+
+
+
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart#getTitle()
+ *
+ */
+ public String getTitle() {
+ return EefnrMessages.LinkEObjectFlatComboViewerSample_Part_Title;
+ }
+
+ // Start of user code additional methods
+
+ // End of user code
+
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/LinkEReferenceViewerSamplePropertiesEditionPartImpl.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/LinkEReferenceViewerSamplePropertiesEditionPartImpl.java
new file mode 100644
index 000000000..c9876a958
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/parts/impl/LinkEReferenceViewerSamplePropertiesEditionPartImpl.java
@@ -0,0 +1,521 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.parts.impl;
+
+// Start of user code for imports
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.parts.EefnrViewsRepository;
+import org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart;
+
+import org.eclipse.emf.eef.eefnr.providers.EefnrMessages;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart;
+
+import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
+
+import org.eclipse.emf.eef.runtime.impl.parts.CompositePropertiesEditionPart;
+
+import org.eclipse.emf.eef.runtime.ui.parts.PartComposer;
+
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.BindingCompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionSequence;
+import org.eclipse.emf.eef.runtime.ui.parts.sequence.CompositionStep;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.AbstractAdvancedEObjectFlatComboViewer.EObjectFlatComboViewerListener;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.ButtonsModeEnum;
+import org.eclipse.emf.eef.runtime.ui.widgets.LinkEReferenceViewer;
+import org.eclipse.emf.eef.runtime.ui.widgets.SWTUtils;
+
+import org.eclipse.emf.eef.runtime.ui.widgets.eobjflatcombo.EObjectFlatComboSettings;
+
+import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.jface.viewers.ViewerFilter;
+
+import org.eclipse.swt.SWT;
+
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Group;
+
+// End of user code
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class LinkEReferenceViewerSamplePropertiesEditionPartImpl extends CompositePropertiesEditionPart implements ISWTPropertiesEditionPart, LinkEReferenceViewerSamplePropertiesEditionPart {
+
+ private LinkEReferenceViewer linkereferenceviewerRequiredPropery;
+ protected ViewerFilter linkereferenceviewerRequiredProperyFilter;
+ private LinkEReferenceViewer linkereferenceviewerOptionalPropery;
+ protected ViewerFilter linkereferenceviewerOptionalProperyFilter;
+ private LinkEReferenceViewer linkereferenceviewerROPropery;
+ protected ViewerFilter linkereferenceviewerROProperyFilter;
+
+
+
+ /**
+ * Default constructor
+ * @param editionComponent the {@link IPropertiesEditionComponent} that manage this part
+ *
+ */
+ public LinkEReferenceViewerSamplePropertiesEditionPartImpl(IPropertiesEditionComponent editionComponent) {
+ super(editionComponent);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart#
+ * createFigure(org.eclipse.swt.widgets.Composite)
+ *
+ */
+ public Composite createFigure(final Composite parent) {
+ view = new Composite(parent, SWT.NONE);
+ GridLayout layout = new GridLayout();
+ layout.numColumns = 3;
+ view.setLayout(layout);
+ createControls(view);
+ return view;
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.ISWTPropertiesEditionPart#
+ * createControls(org.eclipse.swt.widgets.Composite)
+ *
+ */
+ public void createControls(Composite view) {
+ CompositionSequence linkEReferenceViewerSampleStep = new BindingCompositionSequence(propertiesEditionComponent);
+ CompositionStep propertiesStep = linkEReferenceViewerSampleStep.addStep(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.class);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery);
+ propertiesStep.addStep(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery);
+
+
+ composer = new PartComposer(linkEReferenceViewerSampleStep) {
+
+ @Override
+ public Composite addToPart(Composite parent, Object key) {
+ if (key == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.class) {
+ return createPropertiesGroup(parent);
+ }
+ if (key == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery) {
+ return createLinkereferenceviewerRequiredProperyLinkEReferenceViewer(parent);
+ }
+ if (key == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery) {
+ return createLinkereferenceviewerOptionalProperyLinkEReferenceViewer(parent);
+ }
+ if (key == EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery) {
+ return createLinkereferenceviewerROProperyLinkEReferenceViewer(parent);
+ }
+ return parent;
+ }
+ };
+ composer.compose(view);
+ }
+
+ /**
+ *
+ */
+ protected Composite createPropertiesGroup(Composite parent) {
+ Group propertiesGroup = new Group(parent, SWT.NONE);
+ propertiesGroup.setText(EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_PropertiesGroupLabel);
+ GridData propertiesGroupData = new GridData(GridData.FILL_HORIZONTAL);
+ propertiesGroupData.horizontalSpan = 3;
+ propertiesGroup.setLayoutData(propertiesGroupData);
+ GridLayout propertiesGroupLayout = new GridLayout();
+ propertiesGroupLayout.numColumns = 3;
+ propertiesGroup.setLayout(propertiesGroupLayout);
+ return propertiesGroup;
+ }
+
+ /**
+ * @param parent the parent composite
+ *
+ */
+ protected Composite createLinkereferenceviewerRequiredProperyLinkEReferenceViewer(Composite parent) {
+ createDescription(parent, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery, EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerRequiredProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkereferenceviewerRequiredPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkereferenceviewerRequiredPropery = new LinkEReferenceViewer(getDescription(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery, EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerRequiredProperyLabel), resourceSet, linkereferenceviewerRequiredProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkereferenceviewerRequiredPropery.createControls(parent);
+ GridData linkereferenceviewerRequiredProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkereferenceviewerRequiredPropery.setLayoutData(linkereferenceviewerRequiredProperyData);
+ linkereferenceviewerRequiredPropery.setID(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery);
+ SWTUtils.createHelpButton(parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery, EefnrViewsRepository.SWT_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkereferenceviewerRequiredProperyLinkEReferenceViewer
+
+ // End of user code
+ return parent;
+ }
+
+ /**
+ * @param parent the parent composite
+ *
+ */
+ protected Composite createLinkereferenceviewerOptionalProperyLinkEReferenceViewer(Composite parent) {
+ createDescription(parent, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery, EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerOptionalProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkereferenceviewerOptionalPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkereferenceviewerOptionalPropery = new LinkEReferenceViewer(getDescription(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery, EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerOptionalProperyLabel), resourceSet, linkereferenceviewerOptionalProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkereferenceviewerOptionalPropery.createControls(parent);
+ GridData linkereferenceviewerOptionalProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkereferenceviewerOptionalPropery.setLayoutData(linkereferenceviewerOptionalProperyData);
+ linkereferenceviewerOptionalPropery.setID(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery);
+ SWTUtils.createHelpButton(parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery, EefnrViewsRepository.SWT_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkereferenceviewerOptionalProperyLinkEReferenceViewer
+
+ // End of user code
+ return parent;
+ }
+
+ /**
+ * @param parent the parent composite
+ *
+ */
+ protected Composite createLinkereferenceviewerROProperyLinkEReferenceViewer(Composite parent) {
+ createDescription(parent, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery, EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerROProperyLabel);
+ // create callback listener
+ EObjectFlatComboViewerListener listener = new EObjectFlatComboViewerListener(){
+ public void handleSet(EObject element){
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.SET, null, element));
+ }
+ public void navigateTo(EObject element){ }
+
+ public EObject handleCreate() {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.ADD, null, null));
+ return getLinkereferenceviewerROPropery();
+ }
+
+ public void handleEdit(EObject element) {
+ propertiesEditionComponent.firePropertiesChanged(new PropertiesEditionEvent(LinkEReferenceViewerSamplePropertiesEditionPartImpl.this, EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery, PropertiesEditionEvent.COMMIT, PropertiesEditionEvent.EDIT, null, element));
+ }
+ };
+ //create widget
+ linkereferenceviewerROPropery = new LinkEReferenceViewer(getDescription(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery, EefnrMessages.LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerROProperyLabel), resourceSet, linkereferenceviewerROProperyFilter, propertiesEditionComponent.getEditingContext().getAdapterFactory(), listener);
+ linkereferenceviewerROPropery.createControls(parent);
+ GridData linkereferenceviewerROProperyData = new GridData(GridData.FILL_HORIZONTAL);
+ linkereferenceviewerROPropery.setLayoutData(linkereferenceviewerROProperyData);
+ linkereferenceviewerROPropery.setID(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery);
+ SWTUtils.createHelpButton(parent, propertiesEditionComponent.getHelpContent(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerROPropery, EefnrViewsRepository.SWT_KIND), null); //$NON-NLS-1$
+ // Start of user code for createLinkereferenceviewerROProperyLinkEReferenceViewer
+
+ // End of user code
+ return parent;
+ }
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionListener#firePropertiesChanged(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public void firePropertiesChanged(IPropertiesEditionEvent event) {
+ // Start of user code for tab synchronization
+
+ // End of user code
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#getLinkereferenceviewerRequiredPropery()
+ *
+ */
+ public EObject getLinkereferenceviewerRequiredPropery() {
+ return linkereferenceviewerRequiredPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#initLinkereferenceviewerRequiredPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkereferenceviewerRequiredPropery(EObjectFlatComboSettings settings) {
+ linkereferenceviewerRequiredPropery.setInput(settings);
+ if (current != null) {
+ linkereferenceviewerRequiredPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery);
+ if (eefElementEditorReadOnlyState && linkereferenceviewerRequiredPropery.isEnabled()) {
+ linkereferenceviewerRequiredPropery.setEnabled(false);
+ linkereferenceviewerRequiredPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkereferenceviewerRequiredPropery.isEnabled()) {
+ linkereferenceviewerRequiredPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerRequiredPropery(EObject newValue)
+ *
+ */
+ public void setLinkereferenceviewerRequiredPropery(EObject newValue) {
+ if (newValue != null) {
+ linkereferenceviewerRequiredPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkereferenceviewerRequiredPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerRequiredPropery);
+ if (eefElementEditorReadOnlyState && linkereferenceviewerRequiredPropery.isEnabled()) {
+ linkereferenceviewerRequiredPropery.setEnabled(false);
+ linkereferenceviewerRequiredPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkereferenceviewerRequiredPropery.isEnabled()) {
+ linkereferenceviewerRequiredPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerRequiredProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkereferenceviewerRequiredProperyButtonMode(ButtonsModeEnum newValue) {
+ linkereferenceviewerRequiredPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addFilterLinkereferenceviewerRequiredPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkereferenceviewerRequiredPropery(ViewerFilter filter) {
+ linkereferenceviewerRequiredPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addBusinessFilterLinkereferenceviewerRequiredPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkereferenceviewerRequiredPropery(ViewerFilter filter) {
+ linkereferenceviewerRequiredPropery.addBusinessRuleFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#getLinkereferenceviewerOptionalPropery()
+ *
+ */
+ public EObject getLinkereferenceviewerOptionalPropery() {
+ return linkereferenceviewerOptionalPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#initLinkereferenceviewerOptionalPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkereferenceviewerOptionalPropery(EObjectFlatComboSettings settings) {
+ linkereferenceviewerOptionalPropery.setInput(settings);
+ if (current != null) {
+ linkereferenceviewerOptionalPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery);
+ if (eefElementEditorReadOnlyState && linkereferenceviewerOptionalPropery.isEnabled()) {
+ linkereferenceviewerOptionalPropery.setEnabled(false);
+ linkereferenceviewerOptionalPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkereferenceviewerOptionalPropery.isEnabled()) {
+ linkereferenceviewerOptionalPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerOptionalPropery(EObject newValue)
+ *
+ */
+ public void setLinkereferenceviewerOptionalPropery(EObject newValue) {
+ if (newValue != null) {
+ linkereferenceviewerOptionalPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkereferenceviewerOptionalPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ boolean eefElementEditorReadOnlyState = isReadOnly(EefnrViewsRepository.LinkEReferenceViewerSample.Properties.linkereferenceviewerOptionalPropery);
+ if (eefElementEditorReadOnlyState && linkereferenceviewerOptionalPropery.isEnabled()) {
+ linkereferenceviewerOptionalPropery.setEnabled(false);
+ linkereferenceviewerOptionalPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+ } else if (!eefElementEditorReadOnlyState && !linkereferenceviewerOptionalPropery.isEnabled()) {
+ linkereferenceviewerOptionalPropery.setEnabled(true);
+ }
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerOptionalProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkereferenceviewerOptionalProperyButtonMode(ButtonsModeEnum newValue) {
+ linkereferenceviewerOptionalPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addFilterLinkereferenceviewerOptionalPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkereferenceviewerOptionalPropery(ViewerFilter filter) {
+ linkereferenceviewerOptionalPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addBusinessFilterLinkereferenceviewerOptionalPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkereferenceviewerOptionalPropery(ViewerFilter filter) {
+ linkereferenceviewerOptionalPropery.addBusinessRuleFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#getLinkereferenceviewerROPropery()
+ *
+ */
+ public EObject getLinkereferenceviewerROPropery() {
+ return linkereferenceviewerROPropery.getSelection();
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#initLinkereferenceviewerROPropery(EObjectFlatComboSettings)
+ */
+ public void initLinkereferenceviewerROPropery(EObjectFlatComboSettings settings) {
+ linkereferenceviewerROPropery.setInput(settings);
+ if (current != null) {
+ linkereferenceviewerROPropery.setSelection(new StructuredSelection(settings.getValue()));
+ }
+ linkereferenceviewerROPropery.setEnabled(false);
+ linkereferenceviewerROPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerROPropery(EObject newValue)
+ *
+ */
+ public void setLinkereferenceviewerROPropery(EObject newValue) {
+ if (newValue != null) {
+ linkereferenceviewerROPropery.setSelection(new StructuredSelection(newValue));
+ } else {
+ linkereferenceviewerROPropery.setSelection(new StructuredSelection()); //$NON-NLS-1$
+ }
+ linkereferenceviewerROPropery.setEnabled(false);
+ linkereferenceviewerROPropery.setToolTipText(EefnrMessages.LinkEReferenceViewerSample_ReadOnly);
+
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#setLinkereferenceviewerROProperyButtonMode(ButtonsModeEnum newValue)
+ */
+ public void setLinkereferenceviewerROProperyButtonMode(ButtonsModeEnum newValue) {
+ linkereferenceviewerROPropery.setButtonMode(newValue);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addFilterLinkereferenceviewerROPropery(ViewerFilter filter)
+ *
+ */
+ public void addFilterToLinkereferenceviewerROPropery(ViewerFilter filter) {
+ linkereferenceviewerROPropery.addFilter(filter);
+ }
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.eefnr.parts.LinkEReferenceViewerSamplePropertiesEditionPart#addBusinessFilterLinkereferenceviewerROPropery(ViewerFilter filter)
+ *
+ */
+ public void addBusinessFilterToLinkereferenceviewerROPropery(ViewerFilter filter) {
+ linkereferenceviewerROPropery.addBusinessRuleFilter(filter);
+ }
+
+
+
+
+
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart#getTitle()
+ *
+ */
+ public String getTitle() {
+ return EefnrMessages.LinkEReferenceViewerSample_Part_Title;
+ }
+
+ // Start of user code additional methods
+
+ // End of user code
+
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedEObjectFlatComboViewerSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedEObjectFlatComboViewerSamplePropertiesEditionProvider.java
index a18adf3e7..9f490ce3a 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedEObjectFlatComboViewerSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedEObjectFlatComboViewerSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.AdvancedEObjectFlatComboViewerSample;
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-
-import org.eclipse.emf.eef.eefnr.components.AdvancedEObjectFlatComboViewerSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.AdvancedEObjectFlatComboViewerSample;
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+
+import org.eclipse.emf.eef.eefnr.components.AdvancedEObjectFlatComboViewerSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class AdvancedEObjectFlatComboViewerSamplePropertiesEditionProvider exten
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedReferencesTableSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedReferencesTableSamplePropertiesEditionProvider.java
index eb95ead97..3ae2aef50 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedReferencesTableSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedReferencesTableSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.AdvancedReferencesTableSample;
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-
-import org.eclipse.emf.eef.eefnr.components.AdvancedReferencesTableSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.AdvancedReferencesTableSample;
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+
+import org.eclipse.emf.eef.eefnr.components.AdvancedReferencesTableSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class AdvancedReferencesTableSamplePropertiesEditionProvider extends Prop
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedTableCompositionEditorSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedTableCompositionEditorSamplePropertiesEditionProvider.java
index a95f1a956..588e0f79c 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedTableCompositionEditorSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/AdvancedTableCompositionEditorSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.AdvancedTableCompositionEditorSample;
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-
-import org.eclipse.emf.eef.eefnr.components.AdvancedTableCompositionEditorSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.AdvancedTableCompositionEditorSample;
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+
+import org.eclipse.emf.eef.eefnr.components.AdvancedTableCompositionEditorSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class AdvancedTableCompositionEditorSamplePropertiesEditionProvider exten
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/CheckboxSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/CheckboxSamplePropertiesEditionProvider.java
index faf0b2e65..bfac9ddb8 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/CheckboxSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/CheckboxSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.CheckboxSample;
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-
-import org.eclipse.emf.eef.eefnr.components.CheckboxSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.CheckboxSample;
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+
+import org.eclipse.emf.eef.eefnr.components.CheckboxSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class CheckboxSamplePropertiesEditionProvider extends PropertiesEditingPr
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EMFComboViewerSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EMFComboViewerSamplePropertiesEditionProvider.java
index f641a5a36..a8077f0fe 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EMFComboViewerSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EMFComboViewerSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EMFComboViewerSample;
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-
-import org.eclipse.emf.eef.eefnr.components.EMFComboViewerSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EMFComboViewerSample;
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+
+import org.eclipse.emf.eef.eefnr.components.EMFComboViewerSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class EMFComboViewerSamplePropertiesEditionProvider extends PropertiesEdi
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EObjectFlatComboViewerSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EObjectFlatComboViewerSamplePropertiesEditionProvider.java
index 3ef31fe86..248864c10 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EObjectFlatComboViewerSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EObjectFlatComboViewerSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EObjectFlatComboViewerSample;
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-
-import org.eclipse.emf.eef.eefnr.components.EObjectFlatComboViewerSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EObjectFlatComboViewerSample;
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+
+import org.eclipse.emf.eef.eefnr.components.EObjectFlatComboViewerSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class EObjectFlatComboViewerSamplePropertiesEditionProvider extends Prope
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EReferencesViewerSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EReferencesViewerSamplePropertiesEditionProvider.java
new file mode 100644
index 000000000..ccad16399
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EReferencesViewerSamplePropertiesEditionProvider.java
@@ -0,0 +1,150 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.providers;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EReferencesViewerSample;
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+
+import org.eclipse.emf.eef.eefnr.components.EReferencesViewerSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
+import org.eclipse.jface.viewers.IFilter;
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class EReferencesViewerSamplePropertiesEditionProvider extends PropertiesEditingProviderImpl {
+
+ /**
+ * Constructor without provider for super types.
+ */
+ public EReferencesViewerSamplePropertiesEditionProvider() {
+ super();
+ }
+
+ /**
+ * Constructor with providers for super types.
+ * @param superProviders providers to use for super types.
+ */
+ public EReferencesViewerSamplePropertiesEditionProvider(List<PropertiesEditingProvider> superProviders) {
+ super(superProviders);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext)
+ *
+ */
+ public boolean provides(PropertiesEditingContext editingContext) {
+ return (editingContext.getEObject() instanceof EReferencesViewerSample)
+ && (EefnrPackage.Literals.EREFERENCES_VIEWER_SAMPLE == editingContext.getEObject().eClass());
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String)
+ *
+ */
+ public boolean provides(PropertiesEditingContext editingContext, String part) {
+ return (editingContext.getEObject() instanceof EReferencesViewerSample) && (EReferencesViewerSamplePropertiesEditionComponent.BASE_PART.equals(part));
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.Class)
+ *
+ */
+ @SuppressWarnings("rawtypes")
+ public boolean provides(PropertiesEditingContext editingContext, java.lang.Class refinement) {
+ return (editingContext.getEObject() instanceof EReferencesViewerSample) && (refinement == EReferencesViewerSamplePropertiesEditionComponent.class);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.Class)
+ *
+ */
+ @SuppressWarnings("rawtypes")
+ public boolean provides(PropertiesEditingContext editingContext, String part, java.lang.Class refinement) {
+ return (editingContext.getEObject() instanceof EReferencesViewerSample) && ((EReferencesViewerSamplePropertiesEditionComponent.BASE_PART.equals(part) && refinement == EReferencesViewerSamplePropertiesEditionComponent.class));
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String)
+ *
+ */
+ public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode) {
+ if (editingContext.getEObject() instanceof EReferencesViewerSample) {
+ return new EReferencesViewerSamplePropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
+ }
+ return super.getPropertiesEditingComponent(editingContext, mode);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String)
+ *
+ */
+ public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part) {
+ if (editingContext.getEObject() instanceof EReferencesViewerSample) {
+ if (EReferencesViewerSamplePropertiesEditionComponent.BASE_PART.equals(part))
+ return new EReferencesViewerSamplePropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
+ }
+ return super.getPropertiesEditingComponent(editingContext, mode, part);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
+ */
+ @SuppressWarnings("rawtypes")
+ public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
+ if (editingContext.getEObject() instanceof EReferencesViewerSample) {
+ if (EReferencesViewerSamplePropertiesEditionComponent.BASE_PART.equals(part)
+ && refinement == EReferencesViewerSamplePropertiesEditionComponent.class)
+ return new EReferencesViewerSamplePropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
+ }
+ return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
+ }
+
+ /**
+ * Provides the filter used by the plugin.xml to assign part forms.
+ */
+ public static class EditionFilter implements IFilter {
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.jface.viewers.IFilter#select(java.lang.Object)
+ */
+ public boolean select(Object toTest) {
+ EObject eObj = EEFUtils.resolveSemanticObject(toTest);
+ return eObj != null && EefnrPackage.Literals.EREFERENCES_VIEWER_SAMPLE == eObj.eClass();
+ }
+
+ }
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrEEFAdapterFactory.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrEEFAdapterFactory.java
index 4184571cf..b2c51199a 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrEEFAdapterFactory.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrEEFAdapterFactory.java
@@ -10,12 +10,12 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import org.eclipse.emf.common.notify.Adapter;
-
-import org.eclipse.emf.eef.eefnr.util.EefnrAdapterFactory;
-
-import org.eclipse.emf.eef.navigation.providers.NamedElementPropertiesEditionProvider;
-
+import org.eclipse.emf.common.notify.Adapter;
+
+import org.eclipse.emf.eef.eefnr.util.EefnrAdapterFactory;
+
+import org.eclipse.emf.eef.navigation.providers.NamedElementPropertiesEditionProvider;
+
import org.eclipse.emf.eef.references.providers.AbstractSamplePropertiesEditionProvider;
/**
@@ -216,5 +216,29 @@ public class EefnrEEFAdapterFactory extends EefnrAdapterFactory {
public Adapter createSingleCompositionEditorSampleAdapter() {
return new SingleCompositionEditorSamplePropertiesEditionProvider();
}
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.eefnr.util.EefnrAdapterFactory#createEReferencesViewerSampleAdapter()
+ *
+ */
+ public Adapter createEReferencesViewerSampleAdapter() {
+ return new EReferencesViewerSamplePropertiesEditionProvider();
+ }
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.eefnr.util.EefnrAdapterFactory#createLinkEObjectFlatComboViewerSampleAdapter()
+ *
+ */
+ public Adapter createLinkEObjectFlatComboViewerSampleAdapter() {
+ return new LinkEObjectFlatComboViewerSamplePropertiesEditionProvider();
+ }
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.eefnr.util.EefnrAdapterFactory#createLinkEReferenceViewerSampleAdapter()
+ *
+ */
+ public Adapter createLinkEReferenceViewerSampleAdapter() {
+ return new LinkEReferenceViewerSamplePropertiesEditionProvider();
+ }
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrMessages.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrMessages.java
index 0d9d3ceb3..f8f95fa68 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrMessages.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrMessages.java
@@ -89,6 +89,15 @@ public class EefnrMessages extends NLS {
public static String SingleCompositionEditorSamplePropertiesEditionPart_PropertiesGroupLabel;
+
+ public static String EReferencesViewerSamplePropertiesEditionPart_PropertiesGroupLabel;
+
+
+ public static String LinkEObjectFlatComboViewerSamplePropertiesEditionPart_PropertiesGroupLabel;
+
+
+ public static String LinkEReferenceViewerSamplePropertiesEditionPart_PropertiesGroupLabel;
+
public static String Root_ReadOnly;
@@ -228,6 +237,24 @@ public class EefnrMessages extends NLS {
public static String SingleCompositionEditorSample_Part_Title;
+
+ public static String EReferencesViewerSample_ReadOnly;
+
+
+ public static String EReferencesViewerSample_Part_Title;
+
+
+ public static String LinkEObjectFlatComboViewerSample_ReadOnly;
+
+
+ public static String LinkEObjectFlatComboViewerSample_Part_Title;
+
+
+ public static String LinkEReferenceViewerSample_ReadOnly;
+
+
+ public static String LinkEReferenceViewerSample_Part_Title;
+
public static String RootPropertiesEditionPart_SamplesLabel;
@@ -505,6 +532,33 @@ public class EefnrMessages extends NLS {
public static String SingleCompositionEditorSamplePropertiesEditionPart_SinglecompositionviewerOnAbstractOptionalPropertyLabel;
+
+ public static String EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerRequiredPropertyLabel;
+
+
+ public static String EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerOptionalPropertyLabel;
+
+
+ public static String EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerROPropertyLabel;
+
+
+ public static String LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerRequiredProperyLabel;
+
+
+ public static String LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerOptionalProperyLabel;
+
+
+ public static String LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerROProperyLabel;
+
+
+ public static String LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerRequiredProperyLabel;
+
+
+ public static String LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerOptionalProperyLabel;
+
+
+ public static String LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerROProperyLabel;
+
public static String PropertiesEditionPart_DocumentationLabel;
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrPropertiesEditionPartProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrPropertiesEditionPartProvider.java
index d7516153b..29a74facf 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrPropertiesEditionPartProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/EefnrPropertiesEditionPartProvider.java
@@ -10,60 +10,66 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import org.eclipse.emf.eef.eefnr.parts.EefnrViewsRepository;
-
-import org.eclipse.emf.eef.eefnr.parts.forms.AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.AdvancedReferencesTableSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.AdvancedTableCompositionEditorSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.CheckboxSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.EMFComboViewerSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.EObjectFlatComboViewerSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.FlatReferenceTableSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.ImageViewerSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.MultiValuedEditorSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.RadioSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.ReferencesTableSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.RootPropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.SamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.SelectionDialogSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.SingleCompositionEditorSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.SingleCompositionViewerSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.TableCompositionEditorSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.TableCompositionExtensionEditorSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.TextSampleFirstTabPropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.TextSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.TextSampleSecondTabPropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.TextareaSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.parts.forms.TotalSamplePropertiesEditionPartForm;
-
-import org.eclipse.emf.eef.eefnr.parts.impl.AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.AdvancedReferencesTableSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.AdvancedTableCompositionEditorSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.CheckboxSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.EMFComboViewerSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.EObjectFlatComboViewerSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.FlatReferenceTableSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.ImageViewerSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.MultiValuedEditorSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.RadioSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.ReferencesTableSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.RootPropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.SamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.SelectionDialogSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.SingleCompositionEditorSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.SingleCompositionViewerSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.TableCompositionEditorSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.TableCompositionExtensionEditorSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.TextSampleFirstTabPropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.TextSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.TextSampleSecondTabPropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.TextareaSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.parts.impl.TotalSamplePropertiesEditionPartImpl;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
-
+import org.eclipse.emf.eef.eefnr.parts.EefnrViewsRepository;
+
+import org.eclipse.emf.eef.eefnr.parts.forms.AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.AdvancedReferencesTableSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.AdvancedTableCompositionEditorSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.CheckboxSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.EMFComboViewerSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.EObjectFlatComboViewerSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.EReferencesViewerSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.FlatReferenceTableSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.ImageViewerSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.LinkEReferenceViewerSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.MultiValuedEditorSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.RadioSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.ReferencesTableSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.RootPropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.SamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.SelectionDialogSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.SingleCompositionEditorSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.SingleCompositionViewerSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.TableCompositionEditorSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.TableCompositionExtensionEditorSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.TextSampleFirstTabPropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.TextSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.TextSampleSecondTabPropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.TextareaSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.parts.forms.TotalSamplePropertiesEditionPartForm;
+
+import org.eclipse.emf.eef.eefnr.parts.impl.AdvancedEObjectFlatComboViewerSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.AdvancedReferencesTableSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.AdvancedTableCompositionEditorSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.CheckboxSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.EMFComboViewerSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.EObjectFlatComboViewerSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.EReferencesViewerSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.FlatReferenceTableSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.ImageViewerSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.LinkEReferenceViewerSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.MultiValuedEditorSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.RadioSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.ReferencesTableSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.RootPropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.SamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.SelectionDialogSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.SingleCompositionEditorSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.SingleCompositionViewerSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.TableCompositionEditorSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.TableCompositionExtensionEditorSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.TextSampleFirstTabPropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.TextSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.TextSampleSecondTabPropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.TextareaSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.parts.impl.TotalSamplePropertiesEditionPartImpl;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
+
import org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionPartProvider;
/**
@@ -225,6 +231,24 @@ public class EefnrPropertiesEditionPartProvider implements IPropertiesEditionPar
if (kind == EefnrViewsRepository.FORM_KIND)
return new SingleCompositionEditorSamplePropertiesEditionPartForm(component);
}
+ if (key == EefnrViewsRepository.EReferencesViewerSample.class) {
+ if (kind == EefnrViewsRepository.SWT_KIND)
+ return new EReferencesViewerSamplePropertiesEditionPartImpl(component);
+ if (kind == EefnrViewsRepository.FORM_KIND)
+ return new EReferencesViewerSamplePropertiesEditionPartForm(component);
+ }
+ if (key == EefnrViewsRepository.LinkEObjectFlatComboViewerSample.class) {
+ if (kind == EefnrViewsRepository.SWT_KIND)
+ return new LinkEObjectFlatComboViewerSamplePropertiesEditionPartImpl(component);
+ if (kind == EefnrViewsRepository.FORM_KIND)
+ return new LinkEObjectFlatComboViewerSamplePropertiesEditionPartForm(component);
+ }
+ if (key == EefnrViewsRepository.LinkEReferenceViewerSample.class) {
+ if (kind == EefnrViewsRepository.SWT_KIND)
+ return new LinkEReferenceViewerSamplePropertiesEditionPartImpl(component);
+ if (kind == EefnrViewsRepository.FORM_KIND)
+ return new LinkEReferenceViewerSamplePropertiesEditionPartForm(component);
+ }
return null;
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/FlatReferenceTableSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/FlatReferenceTableSamplePropertiesEditionProvider.java
index af59a9db9..2ee93f4d0 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/FlatReferenceTableSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/FlatReferenceTableSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.FlatReferencesTableSample;
-
-import org.eclipse.emf.eef.eefnr.components.FlatReferenceTableSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.FlatReferencesTableSample;
+
+import org.eclipse.emf.eef.eefnr.components.FlatReferenceTableSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class FlatReferenceTableSamplePropertiesEditionProvider extends Propertie
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/ImageViewerSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/ImageViewerSamplePropertiesEditionProvider.java
index d6917c7ac..34c5878a9 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/ImageViewerSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/ImageViewerSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.ImageViewerSample;
-
-import org.eclipse.emf.eef.eefnr.components.ImageViewerSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.ImageViewerSample;
+
+import org.eclipse.emf.eef.eefnr.components.ImageViewerSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class ImageViewerSamplePropertiesEditionProvider extends PropertiesEditin
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/LinkEObjectFlatComboViewerSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/LinkEObjectFlatComboViewerSamplePropertiesEditionProvider.java
new file mode 100644
index 000000000..7866cf997
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/LinkEObjectFlatComboViewerSamplePropertiesEditionProvider.java
@@ -0,0 +1,150 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.providers;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.LinkEObjectFlatComboViewerSample;
+
+import org.eclipse.emf.eef.eefnr.components.LinkEObjectFlatComboViewerSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
+import org.eclipse.jface.viewers.IFilter;
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class LinkEObjectFlatComboViewerSamplePropertiesEditionProvider extends PropertiesEditingProviderImpl {
+
+ /**
+ * Constructor without provider for super types.
+ */
+ public LinkEObjectFlatComboViewerSamplePropertiesEditionProvider() {
+ super();
+ }
+
+ /**
+ * Constructor with providers for super types.
+ * @param superProviders providers to use for super types.
+ */
+ public LinkEObjectFlatComboViewerSamplePropertiesEditionProvider(List<PropertiesEditingProvider> superProviders) {
+ super(superProviders);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext)
+ *
+ */
+ public boolean provides(PropertiesEditingContext editingContext) {
+ return (editingContext.getEObject() instanceof LinkEObjectFlatComboViewerSample)
+ && (EefnrPackage.Literals.LINK_EOBJECT_FLAT_COMBO_VIEWER_SAMPLE == editingContext.getEObject().eClass());
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String)
+ *
+ */
+ public boolean provides(PropertiesEditingContext editingContext, String part) {
+ return (editingContext.getEObject() instanceof LinkEObjectFlatComboViewerSample) && (LinkEObjectFlatComboViewerSamplePropertiesEditionComponent.BASE_PART.equals(part));
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.Class)
+ *
+ */
+ @SuppressWarnings("rawtypes")
+ public boolean provides(PropertiesEditingContext editingContext, java.lang.Class refinement) {
+ return (editingContext.getEObject() instanceof LinkEObjectFlatComboViewerSample) && (refinement == LinkEObjectFlatComboViewerSamplePropertiesEditionComponent.class);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.Class)
+ *
+ */
+ @SuppressWarnings("rawtypes")
+ public boolean provides(PropertiesEditingContext editingContext, String part, java.lang.Class refinement) {
+ return (editingContext.getEObject() instanceof LinkEObjectFlatComboViewerSample) && ((LinkEObjectFlatComboViewerSamplePropertiesEditionComponent.BASE_PART.equals(part) && refinement == LinkEObjectFlatComboViewerSamplePropertiesEditionComponent.class));
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String)
+ *
+ */
+ public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode) {
+ if (editingContext.getEObject() instanceof LinkEObjectFlatComboViewerSample) {
+ return new LinkEObjectFlatComboViewerSamplePropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
+ }
+ return super.getPropertiesEditingComponent(editingContext, mode);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String)
+ *
+ */
+ public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part) {
+ if (editingContext.getEObject() instanceof LinkEObjectFlatComboViewerSample) {
+ if (LinkEObjectFlatComboViewerSamplePropertiesEditionComponent.BASE_PART.equals(part))
+ return new LinkEObjectFlatComboViewerSamplePropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
+ }
+ return super.getPropertiesEditingComponent(editingContext, mode, part);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
+ */
+ @SuppressWarnings("rawtypes")
+ public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
+ if (editingContext.getEObject() instanceof LinkEObjectFlatComboViewerSample) {
+ if (LinkEObjectFlatComboViewerSamplePropertiesEditionComponent.BASE_PART.equals(part)
+ && refinement == LinkEObjectFlatComboViewerSamplePropertiesEditionComponent.class)
+ return new LinkEObjectFlatComboViewerSamplePropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
+ }
+ return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
+ }
+
+ /**
+ * Provides the filter used by the plugin.xml to assign part forms.
+ */
+ public static class EditionFilter implements IFilter {
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.jface.viewers.IFilter#select(java.lang.Object)
+ */
+ public boolean select(Object toTest) {
+ EObject eObj = EEFUtils.resolveSemanticObject(toTest);
+ return eObj != null && EefnrPackage.Literals.LINK_EOBJECT_FLAT_COMBO_VIEWER_SAMPLE == eObj.eClass();
+ }
+
+ }
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/LinkEReferenceViewerSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/LinkEReferenceViewerSamplePropertiesEditionProvider.java
new file mode 100644
index 000000000..701efd9a9
--- /dev/null
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/LinkEReferenceViewerSamplePropertiesEditionProvider.java
@@ -0,0 +1,150 @@
+/*******************************************************************************
+ * Copyright (c) 2008, 2012 Obeo.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.eefnr.providers;
+
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.LinkEReferenceViewerSample;
+
+import org.eclipse.emf.eef.eefnr.components.LinkEReferenceViewerSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
+import org.eclipse.jface.viewers.IFilter;
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public class LinkEReferenceViewerSamplePropertiesEditionProvider extends PropertiesEditingProviderImpl {
+
+ /**
+ * Constructor without provider for super types.
+ */
+ public LinkEReferenceViewerSamplePropertiesEditionProvider() {
+ super();
+ }
+
+ /**
+ * Constructor with providers for super types.
+ * @param superProviders providers to use for super types.
+ */
+ public LinkEReferenceViewerSamplePropertiesEditionProvider(List<PropertiesEditingProvider> superProviders) {
+ super(superProviders);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext)
+ *
+ */
+ public boolean provides(PropertiesEditingContext editingContext) {
+ return (editingContext.getEObject() instanceof LinkEReferenceViewerSample)
+ && (EefnrPackage.Literals.LINK_EREFERENCE_VIEWER_SAMPLE == editingContext.getEObject().eClass());
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String)
+ *
+ */
+ public boolean provides(PropertiesEditingContext editingContext, String part) {
+ return (editingContext.getEObject() instanceof LinkEReferenceViewerSample) && (LinkEReferenceViewerSamplePropertiesEditionComponent.BASE_PART.equals(part));
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.Class)
+ *
+ */
+ @SuppressWarnings("rawtypes")
+ public boolean provides(PropertiesEditingContext editingContext, java.lang.Class refinement) {
+ return (editingContext.getEObject() instanceof LinkEReferenceViewerSample) && (refinement == LinkEReferenceViewerSamplePropertiesEditionComponent.class);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#provides(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.Class)
+ *
+ */
+ @SuppressWarnings("rawtypes")
+ public boolean provides(PropertiesEditingContext editingContext, String part, java.lang.Class refinement) {
+ return (editingContext.getEObject() instanceof LinkEReferenceViewerSample) && ((LinkEReferenceViewerSamplePropertiesEditionComponent.BASE_PART.equals(part) && refinement == LinkEReferenceViewerSamplePropertiesEditionComponent.class));
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String)
+ *
+ */
+ public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode) {
+ if (editingContext.getEObject() instanceof LinkEReferenceViewerSample) {
+ return new LinkEReferenceViewerSamplePropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
+ }
+ return super.getPropertiesEditingComponent(editingContext, mode);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String)
+ *
+ */
+ public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part) {
+ if (editingContext.getEObject() instanceof LinkEReferenceViewerSample) {
+ if (LinkEReferenceViewerSamplePropertiesEditionComponent.BASE_PART.equals(part))
+ return new LinkEReferenceViewerSamplePropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
+ }
+ return super.getPropertiesEditingComponent(editingContext, mode, part);
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider#getPropertiesEditingComponent(org.eclipse.emf.eef.runtime.context.PropertiesEditingContext, java.lang.String, java.lang.String, java.lang.Class)
+ */
+ @SuppressWarnings("rawtypes")
+ public IPropertiesEditionComponent getPropertiesEditingComponent(PropertiesEditingContext editingContext, String mode, String part, java.lang.Class refinement) {
+ if (editingContext.getEObject() instanceof LinkEReferenceViewerSample) {
+ if (LinkEReferenceViewerSamplePropertiesEditionComponent.BASE_PART.equals(part)
+ && refinement == LinkEReferenceViewerSamplePropertiesEditionComponent.class)
+ return new LinkEReferenceViewerSamplePropertiesEditionComponent(editingContext, editingContext.getEObject(), mode);
+ }
+ return super.getPropertiesEditingComponent(editingContext, mode, part, refinement);
+ }
+
+ /**
+ * Provides the filter used by the plugin.xml to assign part forms.
+ */
+ public static class EditionFilter implements IFilter {
+
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.jface.viewers.IFilter#select(java.lang.Object)
+ */
+ public boolean select(Object toTest) {
+ EObject eObj = EEFUtils.resolveSemanticObject(toTest);
+ return eObj != null && EefnrPackage.Literals.LINK_EREFERENCE_VIEWER_SAMPLE == eObj.eClass();
+ }
+
+ }
+
+}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/MultiValuedEditorSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/MultiValuedEditorSamplePropertiesEditionProvider.java
index 21e1ede11..0c56fe2ae 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/MultiValuedEditorSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/MultiValuedEditorSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.MultiValuedEditorSample;
-
-import org.eclipse.emf.eef.eefnr.components.MultiValuedEditorSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.MultiValuedEditorSample;
+
+import org.eclipse.emf.eef.eefnr.components.MultiValuedEditorSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class MultiValuedEditorSamplePropertiesEditionProvider extends Properties
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/RadioSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/RadioSamplePropertiesEditionProvider.java
index 03c8133ee..22b69e01a 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/RadioSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/RadioSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.RadioSample;
-
-import org.eclipse.emf.eef.eefnr.components.RadioSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.RadioSample;
+
+import org.eclipse.emf.eef.eefnr.components.RadioSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class RadioSamplePropertiesEditionProvider extends PropertiesEditingProvi
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/ReferencesTableSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/ReferencesTableSamplePropertiesEditionProvider.java
index 2889053ef..600d5aea4 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/ReferencesTableSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/ReferencesTableSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.ReferencesTableSample;
-
-import org.eclipse.emf.eef.eefnr.components.ReferencesTableSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.ReferencesTableSample;
+
+import org.eclipse.emf.eef.eefnr.components.ReferencesTableSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class ReferencesTableSamplePropertiesEditionProvider extends PropertiesEd
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/RootPropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/RootPropertiesEditionProvider.java
index a9a7695cc..17806764e 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/RootPropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/RootPropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.Root;
-
-import org.eclipse.emf.eef.eefnr.components.RootPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.Root;
+
+import org.eclipse.emf.eef.eefnr.components.RootPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class RootPropertiesEditionProvider extends PropertiesEditingProviderImpl
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SamplePropertiesEditionProvider.java
index 49396a077..6d73c530a 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.Sample;
-
-import org.eclipse.emf.eef.eefnr.components.SamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.Sample;
+
+import org.eclipse.emf.eef.eefnr.components.SamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class SamplePropertiesEditionProvider extends PropertiesEditingProviderIm
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SelectionDialogSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SelectionDialogSamplePropertiesEditionProvider.java
index 12e17993f..dd3097b72 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SelectionDialogSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SelectionDialogSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.SelectionDialogSample;
-
-import org.eclipse.emf.eef.eefnr.components.SelectionDialogSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.SelectionDialogSample;
+
+import org.eclipse.emf.eef.eefnr.components.SelectionDialogSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class SelectionDialogSamplePropertiesEditionProvider extends PropertiesEd
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SingleCompositionEditorSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SingleCompositionEditorSamplePropertiesEditionProvider.java
index 7bde87365..d420b2ecf 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SingleCompositionEditorSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SingleCompositionEditorSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.SingleCompositionEditorSample;
-
-import org.eclipse.emf.eef.eefnr.components.SingleCompositionEditorSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.SingleCompositionEditorSample;
+
+import org.eclipse.emf.eef.eefnr.components.SingleCompositionEditorSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class SingleCompositionEditorSamplePropertiesEditionProvider extends Prop
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SingleCompositionViewerSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SingleCompositionViewerSamplePropertiesEditionProvider.java
index 71d704a6b..42326b3f4 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SingleCompositionViewerSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/SingleCompositionViewerSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.SingleCompositionViewerSample;
-
-import org.eclipse.emf.eef.eefnr.components.SingleCompositionViewerSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.SingleCompositionViewerSample;
+
+import org.eclipse.emf.eef.eefnr.components.SingleCompositionViewerSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class SingleCompositionViewerSamplePropertiesEditionProvider extends Prop
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TableCompositionEditorSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TableCompositionEditorSamplePropertiesEditionProvider.java
index 91265a96a..c1b6ca79c 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TableCompositionEditorSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TableCompositionEditorSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.TableCompositionEditorSample;
-
-import org.eclipse.emf.eef.eefnr.components.TableCompositionEditorSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.TableCompositionEditorSample;
+
+import org.eclipse.emf.eef.eefnr.components.TableCompositionEditorSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class TableCompositionEditorSamplePropertiesEditionProvider extends Prope
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TableCompositionExtensionEditorSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TableCompositionExtensionEditorSamplePropertiesEditionProvider.java
index 23ddb66f4..21b9eb4e3 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TableCompositionExtensionEditorSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TableCompositionExtensionEditorSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.TableCompositionExtensionEditorSample;
-
-import org.eclipse.emf.eef.eefnr.components.TableCompositionExtensionEditorSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.TableCompositionExtensionEditorSample;
+
+import org.eclipse.emf.eef.eefnr.components.TableCompositionExtensionEditorSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class TableCompositionExtensionEditorSamplePropertiesEditionProvider exte
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextSamplePropertiesEditionProvider.java
index a7cf21dc6..4d4fb9f15 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.TextSample;
-
-import org.eclipse.emf.eef.eefnr.components.TextSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.TextSample;
+
+import org.eclipse.emf.eef.eefnr.components.TextSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class TextSamplePropertiesEditionProvider extends PropertiesEditingProvid
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextSampleWithTwoTabsPropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextSampleWithTwoTabsPropertiesEditionProvider.java
index 568a669c9..914479b9b 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextSampleWithTwoTabsPropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextSampleWithTwoTabsPropertiesEditionProvider.java
@@ -10,27 +10,27 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.TextSampleWithTwoTabs;
-
-import org.eclipse.emf.eef.eefnr.components.TextSampleWithTwoTabsPropertiesEditionComponent;
-import org.eclipse.emf.eef.eefnr.components.TextSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent;
-import org.eclipse.emf.eef.eefnr.components.TextSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.TextSampleWithTwoTabs;
+
+import org.eclipse.emf.eef.eefnr.components.TextSampleWithTwoTabsPropertiesEditionComponent;
+import org.eclipse.emf.eef.eefnr.components.TextSampleWithTwoTabsTextSampleFirstTabPropertiesEditionComponent;
+import org.eclipse.emf.eef.eefnr.components.TextSampleWithTwoTabsTextSampleSecondTabPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -141,7 +141,7 @@ public class TextSampleWithTwoTabsPropertiesEditionProvider extends PropertiesEd
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextareaSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextareaSamplePropertiesEditionProvider.java
index 348084e40..a87401804 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextareaSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TextareaSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.TextareaSample;
-
-import org.eclipse.emf.eef.eefnr.components.TextareaSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.TextareaSample;
+
+import org.eclipse.emf.eef.eefnr.components.TextareaSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class TextareaSamplePropertiesEditionProvider extends PropertiesEditingPr
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TotalSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TotalSamplePropertiesEditionProvider.java
index 474be53f0..954fe9705 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TotalSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/TotalSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.EefnrPackage;
-import org.eclipse.emf.eef.eefnr.TotalSample;
-
-import org.eclipse.emf.eef.eefnr.components.TotalSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.EefnrPackage;
+import org.eclipse.emf.eef.eefnr.TotalSample;
+
+import org.eclipse.emf.eef.eefnr.components.TotalSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class TotalSamplePropertiesEditionProvider extends PropertiesEditingProvi
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/eefnrMessages.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/eefnrMessages.properties
index 855cd08c1..4a438a0a7 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/eefnrMessages.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/eefnrMessages.properties
@@ -37,52 +37,61 @@ ImageViewerSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
SelectionDialogSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
SingleCompositionViewerSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
SingleCompositionEditorSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
+EReferencesViewerSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
+LinkEObjectFlatComboViewerSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
+LinkEReferenceViewerSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
Root_ReadOnly=This property is read only
-Root_Part_Title=Root
+Root_Part_Title=Base
TotalSample_ReadOnly=This property is read only
-TotalSample_Part_Title=TotalSample
+TotalSample_Part_Title=Base
TextSample_ReadOnly=This property is read only
-TextSample_Part_Title=TextSample
+TextSample_Part_Title=Base
CheckboxSample_ReadOnly=This property is read only
-CheckboxSample_Part_Title=CheckboxSample
+CheckboxSample_Part_Title=Base
TextareaSample_ReadOnly=This property is read only
-TextareaSample_Part_Title=TextareaSample
+TextareaSample_Part_Title=Base
RadioSample_ReadOnly=This property is read only
-RadioSample_Part_Title=RadioSample
+RadioSample_Part_Title=Base
EObjectFlatComboViewerSample_ReadOnly=This property is read only
-EObjectFlatComboViewerSample_Part_Title=EObjectFlatComboViewerSample
+EObjectFlatComboViewerSample_Part_Title=Base
ReferencesTableSample_ReadOnly=This property is read only
-ReferencesTableSample_Part_Title=ReferencesTableSample
+ReferencesTableSample_Part_Title=Base
EMFComboViewerSample_ReadOnly=This property is read only
-EMFComboViewerSample_Part_Title=EMFComboViewerSample
+EMFComboViewerSample_Part_Title=Base
MultiValuedEditorSample_ReadOnly=This property is read only
-MultiValuedEditorSample_Part_Title=MultiValuedEditorSample
+MultiValuedEditorSample_Part_Title=Base
TableCompositionEditorSample_ReadOnly=This property is read only
-TableCompositionEditorSample_Part_Title=TableCompositionEditorSample
+TableCompositionEditorSample_Part_Title=Base
AdvancedReferencesTableSample_ReadOnly=This property is read only
-AdvancedReferencesTableSample_Part_Title=AdvancedReferencesTableSample
+AdvancedReferencesTableSample_Part_Title=Base
AdvancedEObjectFlatComboViewerSample_ReadOnly=This property is read only
-AdvancedEObjectFlatComboViewerSample_Part_Title=AdvancedEObjectFlatComboViewerSample
+AdvancedEObjectFlatComboViewerSample_Part_Title=Base
AdvancedTableCompositionEditorSample_ReadOnly=This property is read only
-AdvancedTableCompositionEditorSample_Part_Title=AdvancedTableCompositionEditorSample
+AdvancedTableCompositionEditorSample_Part_Title=Base
FlatReferenceTableSample_ReadOnly=This property is read only
-FlatReferenceTableSample_Part_Title=FlatReferenceTableSample
+FlatReferenceTableSample_Part_Title=Base
Sample_ReadOnly=This property is read only
-Sample_Part_Title=Sample
+Sample_Part_Title=Base
TextSampleFirstTab_ReadOnly=This property is read only
TextSampleFirstTab_Part_Title=TextSampleFirstTab
TextSampleSecondTab_ReadOnly=This property is read only
TextSampleSecondTab_Part_Title=TextSampleSecondTab
TableCompositionExtensionEditorSample_ReadOnly=This property is read only
-TableCompositionExtensionEditorSample_Part_Title=TableCompositionExtensionEditorSample
+TableCompositionExtensionEditorSample_Part_Title=Base
ImageViewerSample_ReadOnly=This property is read only
-ImageViewerSample_Part_Title=ImageViewerSample
+ImageViewerSample_Part_Title=Base
SelectionDialogSample_ReadOnly=This property is read only
-SelectionDialogSample_Part_Title=SelectionDialogSample
+SelectionDialogSample_Part_Title=Base
SingleCompositionViewerSample_ReadOnly=This property is read only
-SingleCompositionViewerSample_Part_Title=SingleCompositionViewerSample
+SingleCompositionViewerSample_Part_Title=Base
SingleCompositionEditorSample_ReadOnly=This property is read only
-SingleCompositionEditorSample_Part_Title=SingleCompositionEditorSample
+SingleCompositionEditorSample_Part_Title=Base
+EReferencesViewerSample_ReadOnly=This property is read only
+EReferencesViewerSample_Part_Title=Base
+LinkEObjectFlatComboViewerSample_ReadOnly=This property is read only
+LinkEObjectFlatComboViewerSample_Part_Title=Base
+LinkEReferenceViewerSample_ReadOnly=This property is read only
+LinkEReferenceViewerSample_Part_Title=Base
RootPropertiesEditionPart_SamplesLabel=Samples :
TotalSamplePropertiesEditionPart_TextRequiredPropertyLabel=TextRequiredProperty :
TotalSamplePropertiesEditionPart_TextOptionalPropertyLabel=TextOptionalProperty :
@@ -175,6 +184,15 @@ SingleCompositionEditorSamplePropertiesEditionPart_SinglecompositionviewerRequir
SingleCompositionEditorSamplePropertiesEditionPart_SinglecompositionviewerOptionalPropertyLabel=SinglecompositionviewerOptionalProperty :
SingleCompositionEditorSamplePropertiesEditionPart_SinglecompositionviewerROPropertyLabel=SinglecompositionviewerROProperty :
SingleCompositionEditorSamplePropertiesEditionPart_SinglecompositionviewerOnAbstractOptionalPropertyLabel=SinglecompositionviewerOnAbstractOptionalProperty :
+EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerRequiredPropertyLabel=EreferencesviewerRequiredProperty :
+EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerOptionalPropertyLabel=EreferencesviewerOptionalProperty :
+EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerROPropertyLabel=EreferencesviewerROProperty :
+LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerRequiredProperyLabel=LinkeobjectflatcomboviewerRequiredPropery :
+LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerOptionalProperyLabel=LinkeobjectflatcomboviewerOptionalPropery :
+LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerROProperyLabel=LinkeobjectflatcomboviewerROPropery :
+LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerRequiredProperyLabel=LinkereferenceviewerRequiredPropery :
+LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerOptionalProperyLabel=LinkereferenceviewerOptionalPropery :
+LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerROProperyLabel=LinkereferenceviewerROPropery :
PropertiesEditionPart_PropertiesGroupLabel=Properties
PropertiesEditionPart_EditTableViewerLabel=Edit
PropertiesEditionPart_DocumentationLabel=Documentation
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/eefnrMessages_fr.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/eefnrMessages_fr.properties
index 0fea413c4..b94c88164 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/eefnrMessages_fr.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/providers/eefnrMessages_fr.properties
@@ -37,52 +37,61 @@ ImageViewerSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
SelectionDialogSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
SingleCompositionViewerSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
SingleCompositionEditorSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
+EReferencesViewerSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
+LinkEObjectFlatComboViewerSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
+LinkEReferenceViewerSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
Root_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-Root_Part_Title=Root
+Root_Part_Title=Base
TotalSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-TotalSample_Part_Title=TotalSample
+TotalSample_Part_Title=Base
TextSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-TextSample_Part_Title=TextSample
+TextSample_Part_Title=Base
CheckboxSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-CheckboxSample_Part_Title=CheckboxSample
+CheckboxSample_Part_Title=Base
TextareaSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-TextareaSample_Part_Title=TextareaSample
+TextareaSample_Part_Title=Base
RadioSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-RadioSample_Part_Title=RadioSample
+RadioSample_Part_Title=Base
EObjectFlatComboViewerSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-EObjectFlatComboViewerSample_Part_Title=EObjectFlatComboViewerSample
+EObjectFlatComboViewerSample_Part_Title=Base
ReferencesTableSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-ReferencesTableSample_Part_Title=ReferencesTableSample
+ReferencesTableSample_Part_Title=Base
EMFComboViewerSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-EMFComboViewerSample_Part_Title=EMFComboViewerSample
+EMFComboViewerSample_Part_Title=Base
MultiValuedEditorSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-MultiValuedEditorSample_Part_Title=MultiValuedEditorSample
+MultiValuedEditorSample_Part_Title=Base
TableCompositionEditorSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-TableCompositionEditorSample_Part_Title=TableCompositionEditorSample
+TableCompositionEditorSample_Part_Title=Base
AdvancedReferencesTableSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-AdvancedReferencesTableSample_Part_Title=AdvancedReferencesTableSample
+AdvancedReferencesTableSample_Part_Title=Base
AdvancedEObjectFlatComboViewerSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-AdvancedEObjectFlatComboViewerSample_Part_Title=AdvancedEObjectFlatComboViewerSample
+AdvancedEObjectFlatComboViewerSample_Part_Title=Base
AdvancedTableCompositionEditorSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-AdvancedTableCompositionEditorSample_Part_Title=AdvancedTableCompositionEditorSample
+AdvancedTableCompositionEditorSample_Part_Title=Base
FlatReferenceTableSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-FlatReferenceTableSample_Part_Title=FlatReferenceTableSample
+FlatReferenceTableSample_Part_Title=Base
Sample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-Sample_Part_Title=Sample
+Sample_Part_Title=Base
TextSampleFirstTab_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
TextSampleFirstTab_Part_Title=TextSampleFirstTab
TextSampleSecondTab_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
TextSampleSecondTab_Part_Title=TextSampleSecondTab
TableCompositionExtensionEditorSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-TableCompositionExtensionEditorSample_Part_Title=TableCompositionExtensionEditorSample
+TableCompositionExtensionEditorSample_Part_Title=Base
ImageViewerSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-ImageViewerSample_Part_Title=ImageViewerSample
+ImageViewerSample_Part_Title=Base
SelectionDialogSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-SelectionDialogSample_Part_Title=SelectionDialogSample
+SelectionDialogSample_Part_Title=Base
SingleCompositionViewerSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-SingleCompositionViewerSample_Part_Title=SingleCompositionViewerSample
+SingleCompositionViewerSample_Part_Title=Base
SingleCompositionEditorSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-SingleCompositionEditorSample_Part_Title=SingleCompositionEditorSample
+SingleCompositionEditorSample_Part_Title=Base
+EReferencesViewerSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
+EReferencesViewerSample_Part_Title=Base
+LinkEObjectFlatComboViewerSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
+LinkEObjectFlatComboViewerSample_Part_Title=Base
+LinkEReferenceViewerSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
+LinkEReferenceViewerSample_Part_Title=Base
RootPropertiesEditionPart_SamplesLabel=Samples :
TotalSamplePropertiesEditionPart_TextRequiredPropertyLabel=TextRequiredProperty :
TotalSamplePropertiesEditionPart_TextOptionalPropertyLabel=TextOptionalProperty :
@@ -175,6 +184,15 @@ SingleCompositionEditorSamplePropertiesEditionPart_SinglecompositionviewerRequir
SingleCompositionEditorSamplePropertiesEditionPart_SinglecompositionviewerOptionalPropertyLabel=SinglecompositionviewerOptionalProperty :
SingleCompositionEditorSamplePropertiesEditionPart_SinglecompositionviewerROPropertyLabel=SinglecompositionviewerROProperty :
SingleCompositionEditorSamplePropertiesEditionPart_SinglecompositionviewerOnAbstractOptionalPropertyLabel=SinglecompositionviewerOnAbstractOptionalProperty :
+EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerRequiredPropertyLabel=EreferencesviewerRequiredProperty :
+EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerOptionalPropertyLabel=EreferencesviewerOptionalProperty :
+EReferencesViewerSamplePropertiesEditionPart_EreferencesviewerROPropertyLabel=EreferencesviewerROProperty :
+LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerRequiredProperyLabel=LinkeobjectflatcomboviewerRequiredPropery :
+LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerOptionalProperyLabel=LinkeobjectflatcomboviewerOptionalPropery :
+LinkEObjectFlatComboViewerSamplePropertiesEditionPart_LinkeobjectflatcomboviewerROProperyLabel=LinkeobjectflatcomboviewerROPropery :
+LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerRequiredProperyLabel=LinkereferenceviewerRequiredPropery :
+LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerOptionalProperyLabel=LinkereferenceviewerOptionalPropery :
+LinkEReferenceViewerSamplePropertiesEditionPart_LinkereferenceviewerROProperyLabel=LinkereferenceviewerROPropery :
PropertiesEditionPart_PropertiesGroupLabel=Propri\u00E9t\u00E9s
PropertiesEditionPart_EditTableViewerLabel=Editer
PropertiesEditionPart_DocumentationLabel=Documentation
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/ReferencesPropertiesEditionPartProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/ReferencesPropertiesEditionPartProvider.java
index 9e8fda70d..6f551b1c0 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/ReferencesPropertiesEditionPartProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/ReferencesPropertiesEditionPartProvider.java
@@ -10,20 +10,20 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnr.references.providers;
-import org.eclipse.emf.eef.eefnr.references.parts.ReferencesViewsRepository;
-
-import org.eclipse.emf.eef.eefnr.references.parts.forms.AbstractEnabledSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.references.parts.forms.AbstractSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnr.references.parts.forms.ReferenceEnabledSamplePropertiesEditionPartForm;
-
-import org.eclipse.emf.eef.eefnr.references.parts.impl.AbstractEnabledSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.references.parts.impl.AbstractSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnr.references.parts.impl.ReferenceEnabledSamplePropertiesEditionPartImpl;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
-
+import org.eclipse.emf.eef.eefnr.references.parts.ReferencesViewsRepository;
+
+import org.eclipse.emf.eef.eefnr.references.parts.forms.AbstractEnabledSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.references.parts.forms.AbstractSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnr.references.parts.forms.ReferenceEnabledSamplePropertiesEditionPartForm;
+
+import org.eclipse.emf.eef.eefnr.references.parts.impl.AbstractEnabledSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.references.parts.impl.AbstractSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnr.references.parts.impl.ReferenceEnabledSamplePropertiesEditionPartImpl;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
+
import org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionPartProvider;
/**
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/referencesMessages.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/referencesMessages.properties
index 2e6cd083b..653106c47 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/referencesMessages.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/referencesMessages.properties
@@ -18,11 +18,11 @@ ReferenceEnabledSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
AbstractEnabledSamplePropertiesEditionPart_EnabledPropertiesGroupLabel=Enabled properties
AbstractSamplePropertiesEditionPart_NamePropertiesGroupLabel=Name properties
ReferenceEnabledSample_ReadOnly=This property is read only
-ReferenceEnabledSample_Part_Title=ReferenceEnabledSample
+ReferenceEnabledSample_Part_Title=Base
AbstractEnabledSample_ReadOnly=This property is read only
-AbstractEnabledSample_Part_Title=AbstractEnabledSample
+AbstractEnabledSample_Part_Title=Base
AbstractSample_ReadOnly=This property is read only
-AbstractSample_Part_Title=AbstractSample
+AbstractSample_Part_Title=Base
ReferenceEnabledSamplePropertiesEditionPart_ReferenceLabel=Reference :
AbstractEnabledSamplePropertiesEditionPart_EnabledLabel=Enabled
AbstractSamplePropertiesEditionPart_NameLabel=Name :
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/referencesMessages_fr.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/referencesMessages_fr.properties
index 385a8e351..4f72172d7 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/referencesMessages_fr.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnr/references/providers/referencesMessages_fr.properties
@@ -18,11 +18,11 @@ ReferenceEnabledSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
AbstractEnabledSamplePropertiesEditionPart_EnabledPropertiesGroupLabel=Enabled properties
AbstractSamplePropertiesEditionPart_NamePropertiesGroupLabel=Name properties
ReferenceEnabledSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-ReferenceEnabledSample_Part_Title=ReferenceEnabledSample
+ReferenceEnabledSample_Part_Title=Base
AbstractEnabledSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-AbstractEnabledSample_Part_Title=AbstractEnabledSample
+AbstractEnabledSample_Part_Title=Base
AbstractSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-AbstractSample_Part_Title=AbstractSample
+AbstractSample_Part_Title=Base
ReferenceEnabledSamplePropertiesEditionPart_ReferenceLabel=Reference :
AbstractEnabledSamplePropertiesEditionPart_EnabledLabel=Enabled
AbstractSamplePropertiesEditionPart_NameLabel=Name :
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/CheckBoxExtendedEditorSampleBasePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/CheckBoxExtendedEditorSampleBasePropertiesEditionComponent.java
index 9fe962906..25ee7e009 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/CheckBoxExtendedEditorSampleBasePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/CheckBoxExtendedEditorSampleBasePropertiesEditionComponent.java
@@ -192,4 +192,6 @@ public class CheckBoxExtendedEditorSampleBasePropertiesEditionComponent extends
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/FlatReferenceExtendedEditorSampleBasePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/FlatReferenceExtendedEditorSampleBasePropertiesEditionComponent.java
index eba2dc58f..6403974ca 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/FlatReferenceExtendedEditorSampleBasePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/FlatReferenceExtendedEditorSampleBasePropertiesEditionComponent.java
@@ -227,4 +227,6 @@ public class FlatReferenceExtendedEditorSampleBasePropertiesEditionComponent ext
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/FlatReferenceExtendedEditorSampleSecondFlatReferenceExtendedEditorSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/FlatReferenceExtendedEditorSampleSecondFlatReferenceExtendedEditorSamplePropertiesEditionComponent.java
index b29614a1f..823134766 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/FlatReferenceExtendedEditorSampleSecondFlatReferenceExtendedEditorSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/FlatReferenceExtendedEditorSampleSecondFlatReferenceExtendedEditorSamplePropertiesEditionComponent.java
@@ -219,4 +219,6 @@ public class FlatReferenceExtendedEditorSampleSecondFlatReferenceExtendedEditorS
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/TableCompositionTargetExtensionEditorSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/TableCompositionTargetExtensionEditorSamplePropertiesEditionComponent.java
index d32b4de14..188ec3fe3 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/TableCompositionTargetExtensionEditorSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/components/TableCompositionTargetExtensionEditorSamplePropertiesEditionComponent.java
@@ -183,4 +183,6 @@ public class TableCompositionTargetExtensionEditorSamplePropertiesEditionCompone
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/CheckBoxExtendedEditorSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/CheckBoxExtendedEditorSamplePropertiesEditionProvider.java
index 7688e7005..2717d3d89 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/CheckBoxExtendedEditorSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/CheckBoxExtendedEditorSamplePropertiesEditionProvider.java
@@ -10,28 +10,28 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnrext.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnrext.CheckBoxExtendedEditorSample;
-import org.eclipse.emf.eef.eefnrext.EefnrextPackage;
-
-import org.eclipse.emf.eef.eefnrext.components.CheckBoxExtendedEditorSampleBasePropertiesEditionComponent;
-import org.eclipse.emf.eef.eefnrext.components.CheckBoxExtendedEditorSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.references.components.AbstractSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnrext.CheckBoxExtendedEditorSample;
+import org.eclipse.emf.eef.eefnrext.EefnrextPackage;
+
+import org.eclipse.emf.eef.eefnrext.components.CheckBoxExtendedEditorSampleBasePropertiesEditionComponent;
+import org.eclipse.emf.eef.eefnrext.components.CheckBoxExtendedEditorSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.references.components.AbstractSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -142,7 +142,7 @@ public class CheckBoxExtendedEditorSamplePropertiesEditionProvider extends Prope
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/EefnrextEEFAdapterFactory.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/EefnrextEEFAdapterFactory.java
index f2c702f31..ce1f75b71 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/EefnrextEEFAdapterFactory.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/EefnrextEEFAdapterFactory.java
@@ -10,15 +10,15 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnrext.providers;
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.Adapter;
-
-import org.eclipse.emf.eef.eefnrext.util.EefnrextAdapterFactory;
-
-import org.eclipse.emf.eef.references.providers.AbstractSamplePropertiesEditionProvider;
-
+import java.util.ArrayList;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.Adapter;
+
+import org.eclipse.emf.eef.eefnrext.util.EefnrextAdapterFactory;
+
+import org.eclipse.emf.eef.references.providers.AbstractSamplePropertiesEditionProvider;
+
import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
/**
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/EefnrextPropertiesEditionPartProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/EefnrextPropertiesEditionPartProvider.java
index f4c0c203c..201a4f230 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/EefnrextPropertiesEditionPartProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/EefnrextPropertiesEditionPartProvider.java
@@ -10,22 +10,22 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnrext.providers;
-import org.eclipse.emf.eef.eefnrext.parts.EefnrextViewsRepository;
-
-import org.eclipse.emf.eef.eefnrext.parts.forms.CheckBoxExtendedEditorSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnrext.parts.forms.FlatReferenceExtendedEditorSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnrext.parts.forms.SecondFlatReferenceExtendedEditorSamplePropertiesEditionPartForm;
-import org.eclipse.emf.eef.eefnrext.parts.forms.TableCompositionTargetExtensionEditorSamplePropertiesEditionPartForm;
-
-import org.eclipse.emf.eef.eefnrext.parts.impl.CheckBoxExtendedEditorSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnrext.parts.impl.FlatReferenceExtendedEditorSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnrext.parts.impl.SecondFlatReferenceExtendedEditorSamplePropertiesEditionPartImpl;
-import org.eclipse.emf.eef.eefnrext.parts.impl.TableCompositionTargetExtensionEditorSamplePropertiesEditionPartImpl;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
-
+import org.eclipse.emf.eef.eefnrext.parts.EefnrextViewsRepository;
+
+import org.eclipse.emf.eef.eefnrext.parts.forms.CheckBoxExtendedEditorSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnrext.parts.forms.FlatReferenceExtendedEditorSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnrext.parts.forms.SecondFlatReferenceExtendedEditorSamplePropertiesEditionPartForm;
+import org.eclipse.emf.eef.eefnrext.parts.forms.TableCompositionTargetExtensionEditorSamplePropertiesEditionPartForm;
+
+import org.eclipse.emf.eef.eefnrext.parts.impl.CheckBoxExtendedEditorSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnrext.parts.impl.FlatReferenceExtendedEditorSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnrext.parts.impl.SecondFlatReferenceExtendedEditorSamplePropertiesEditionPartImpl;
+import org.eclipse.emf.eef.eefnrext.parts.impl.TableCompositionTargetExtensionEditorSamplePropertiesEditionPartImpl;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.parts.IPropertiesEditionPart;
+
import org.eclipse.emf.eef.runtime.api.providers.IPropertiesEditionPartProvider;
/**
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/FlatReferenceExtendedEditorSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/FlatReferenceExtendedEditorSamplePropertiesEditionProvider.java
index 5c7a60fdc..324a45f2c 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/FlatReferenceExtendedEditorSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/FlatReferenceExtendedEditorSamplePropertiesEditionProvider.java
@@ -10,29 +10,29 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnrext.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnrext.EefnrextPackage;
-import org.eclipse.emf.eef.eefnrext.FlatReferenceExtendedEditorSample;
-
-import org.eclipse.emf.eef.eefnrext.components.CheckBoxExtendedEditorSampleBasePropertiesEditionComponent;
-import org.eclipse.emf.eef.eefnrext.components.CheckBoxExtendedEditorSamplePropertiesEditionComponent;
-import org.eclipse.emf.eef.eefnrext.components.FlatReferenceExtendedEditorSampleBasePropertiesEditionComponent;
-import org.eclipse.emf.eef.eefnrext.components.FlatReferenceExtendedEditorSamplePropertiesEditionComponent;
-import org.eclipse.emf.eef.eefnrext.components.FlatReferenceExtendedEditorSampleSecondFlatReferenceExtendedEditorSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnrext.EefnrextPackage;
+import org.eclipse.emf.eef.eefnrext.FlatReferenceExtendedEditorSample;
+
+import org.eclipse.emf.eef.eefnrext.components.CheckBoxExtendedEditorSampleBasePropertiesEditionComponent;
+import org.eclipse.emf.eef.eefnrext.components.CheckBoxExtendedEditorSamplePropertiesEditionComponent;
+import org.eclipse.emf.eef.eefnrext.components.FlatReferenceExtendedEditorSampleBasePropertiesEditionComponent;
+import org.eclipse.emf.eef.eefnrext.components.FlatReferenceExtendedEditorSamplePropertiesEditionComponent;
+import org.eclipse.emf.eef.eefnrext.components.FlatReferenceExtendedEditorSampleSecondFlatReferenceExtendedEditorSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -148,7 +148,7 @@ public class FlatReferenceExtendedEditorSamplePropertiesEditionProvider extends
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/TableCompositionTargetExtensionEditorSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/TableCompositionTargetExtensionEditorSamplePropertiesEditionProvider.java
index 6d739d598..8bec055cc 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/TableCompositionTargetExtensionEditorSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/TableCompositionTargetExtensionEditorSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.eefnrext.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnrext.EefnrextPackage;
-import org.eclipse.emf.eef.eefnrext.TableCompositionTargetExtensionEditorSample;
-
-import org.eclipse.emf.eef.eefnrext.components.TableCompositionTargetExtensionEditorSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnrext.EefnrextPackage;
+import org.eclipse.emf.eef.eefnrext.TableCompositionTargetExtensionEditorSample;
+
+import org.eclipse.emf.eef.eefnrext.components.TableCompositionTargetExtensionEditorSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class TableCompositionTargetExtensionEditorSamplePropertiesEditionProvide
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/eefnrextMessages.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/eefnrextMessages.properties
index 846bf8a2e..714ee23ed 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/eefnrextMessages.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/eefnrextMessages.properties
@@ -19,13 +19,13 @@ FlatReferenceExtendedEditorSamplePropertiesEditionPart_PropertiesGroupLabel=Prop
SecondFlatReferenceExtendedEditorSamplePropertiesEditionPart_ExtendedGroupLabel=Extended
CheckBoxExtendedEditorSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
TableCompositionTargetExtensionEditorSample_ReadOnly=This property is read only
-TableCompositionTargetExtensionEditorSample_Part_Title=TableCompositionTargetExtensionEditorSample
+TableCompositionTargetExtensionEditorSample_Part_Title=Base
FlatReferenceExtendedEditorSample_ReadOnly=This property is read only
-FlatReferenceExtendedEditorSample_Part_Title=FlatReferenceExtendedEditorSample
+FlatReferenceExtendedEditorSample_Part_Title=Base
SecondFlatReferenceExtendedEditorSample_ReadOnly=This property is read only
SecondFlatReferenceExtendedEditorSample_Part_Title=SecondFlatReferenceExtendedEditorSample
CheckBoxExtendedEditorSample_ReadOnly=This property is read only
-CheckBoxExtendedEditorSample_Part_Title=CheckBoxExtendedEditorSample
+CheckBoxExtendedEditorSample_Part_Title=Base
TableCompositionTargetExtensionEditorSamplePropertiesEditionPart_NameLabel=Name :
FlatReferenceExtendedEditorSamplePropertiesEditionPart_FlatReferenceEditorSampleLabel=FlatReferenceEditorSample :
SecondFlatReferenceExtendedEditorSamplePropertiesEditionPart_DemoLabel=Demo :
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/eefnrextMessages_fr.properties b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/eefnrextMessages_fr.properties
index 0188462ef..479b03808 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/eefnrextMessages_fr.properties
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/eefnrext/providers/eefnrextMessages_fr.properties
@@ -19,13 +19,13 @@ FlatReferenceExtendedEditorSamplePropertiesEditionPart_PropertiesGroupLabel=Prop
SecondFlatReferenceExtendedEditorSamplePropertiesEditionPart_ExtendedGroupLabel=Extended
CheckBoxExtendedEditorSamplePropertiesEditionPart_PropertiesGroupLabel=Properties
TableCompositionTargetExtensionEditorSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-TableCompositionTargetExtensionEditorSample_Part_Title=TableCompositionTargetExtensionEditorSample
+TableCompositionTargetExtensionEditorSample_Part_Title=Base
FlatReferenceExtendedEditorSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-FlatReferenceExtendedEditorSample_Part_Title=FlatReferenceExtendedEditorSample
+FlatReferenceExtendedEditorSample_Part_Title=Base
SecondFlatReferenceExtendedEditorSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
SecondFlatReferenceExtendedEditorSample_Part_Title=SecondFlatReferenceExtendedEditorSample
CheckBoxExtendedEditorSample_ReadOnly=Cette propri\u00E9t\u00E9 est en lecture seule
-CheckBoxExtendedEditorSample_Part_Title=CheckBoxExtendedEditorSample
+CheckBoxExtendedEditorSample_Part_Title=Base
TableCompositionTargetExtensionEditorSamplePropertiesEditionPart_NameLabel=Name :
FlatReferenceExtendedEditorSamplePropertiesEditionPart_FlatReferenceEditorSampleLabel=FlatReferenceEditorSample :
SecondFlatReferenceExtendedEditorSamplePropertiesEditionPart_DemoLabel=Demo :
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceOwnerSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceOwnerSamplePropertiesEditionComponent.java
index aba071d85..0675a6d52 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceOwnerSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceOwnerSamplePropertiesEditionComponent.java
@@ -14,58 +14,42 @@ package org.eclipse.emf.eef.filters.components;
import java.util.Collection;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.BasicDiagnostic;
import org.eclipse.emf.common.util.Diagnostic;
import org.eclipse.emf.common.util.WrappedException;
-
+import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.ecore.EcorePackage;
-
import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
-
import org.eclipse.emf.ecore.util.Diagnostician;
import org.eclipse.emf.ecore.util.EcoreUtil;
-
import org.eclipse.emf.eef.eefnr.EefnrPackage;
-
import org.eclipse.emf.eef.eefnr.filters.AbstractReferenceTargetSample;
import org.eclipse.emf.eef.eefnr.filters.ConcreteReferenceOwnerSample;
+import org.eclipse.emf.eef.eefnr.filters.ConcreteReferenceTargetSample1;
import org.eclipse.emf.eef.eefnr.filters.ConcreteReferenceTargetSample2;
+import org.eclipse.emf.eef.eefnr.filters.ConcreteReferenceTargetSample3;
import org.eclipse.emf.eef.eefnr.filters.FiltersPackage;
-
import org.eclipse.emf.eef.eefnr.filters.parts.ConcreteReferenceOwnerSamplePropertiesEditionPart;
import org.eclipse.emf.eef.eefnr.filters.parts.FiltersViewsRepository;
-
import org.eclipse.emf.eef.runtime.api.notify.EStructuralFeatureNotificationFilter;
import org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent;
import org.eclipse.emf.eef.runtime.api.notify.NotificationFilter;
-
import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
import org.eclipse.emf.eef.runtime.context.impl.EObjectPropertiesEditionContext;
import org.eclipse.emf.eef.runtime.context.impl.EReferencePropertiesEditionContext;
-import org.eclipse.emf.eef.runtime.context.impl.TypedEReferencePropertiesEditingContext;
-
+import org.eclipse.emf.eef.runtime.context.impl.EReferencePropertiesEditionContext.InstanciableTypeFilter;
import org.eclipse.emf.eef.runtime.impl.components.SinglePartPropertiesEditingComponent;
-
import org.eclipse.emf.eef.runtime.impl.filters.EObjectFilter;
-
import org.eclipse.emf.eef.runtime.impl.notify.PropertiesEditionEvent;
-
import org.eclipse.emf.eef.runtime.impl.utils.EEFConverterUtil;
import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
import org.eclipse.emf.eef.runtime.policies.PropertiesEditingPolicy;
-
import org.eclipse.emf.eef.runtime.policies.impl.CreateEditingPolicy;
-
import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
import org.eclipse.emf.eef.runtime.ui.widgets.referencestable.ReferencesTableSettings;
-
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerFilter;
@@ -92,6 +76,16 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionComponent extends Sing
*/
protected ReferencesTableSettings strictTypingSettings;
+ /**
+ * Settings for strictTypingMultipleOnTableComposition ReferencesTable
+ */
+ protected ReferencesTableSettings strictTypingMultipleOnTableCompositionSettings;
+
+ /**
+ * Settings for strictTypingMultipleOnAdvancedTableComposition ReferencesTable
+ */
+ protected ReferencesTableSettings strictTypingMultipleOnAdvancedTableCompositionSettings;
+
/**
* Default constructor
@@ -130,6 +124,14 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionComponent extends Sing
strictTypingSettings = new ReferencesTableSettings(concreteReferenceOwnerSample, FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping());
basePart.initStrictTyping(strictTypingSettings);
}
+ if (isAccessible(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition)) {
+ strictTypingMultipleOnTableCompositionSettings = new ReferencesTableSettings(concreteReferenceOwnerSample, FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping2());
+ basePart.initStrictTypingMultipleOnTableComposition(strictTypingMultipleOnTableCompositionSettings);
+ }
+ if (isAccessible(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition)) {
+ strictTypingMultipleOnAdvancedTableCompositionSettings = new ReferencesTableSettings(concreteReferenceOwnerSample, FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping3());
+ basePart.initStrictTypingMultipleOnAdvancedTableComposition(strictTypingMultipleOnAdvancedTableCompositionSettings);
+ }
// init filters
if (isAccessible(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.abstractTarget)) {
@@ -166,10 +168,44 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionComponent extends Sing
}
});
- // FIXME default case for filter body generation.
+
// Start of user code for additional businessfilters for strictTyping
// End of user code
}
+ if (isAccessible(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition)) {
+ basePart.addFilterToStrictTypingMultipleOnTableComposition(new ViewerFilter() {
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.jface.viewers.ViewerFilter#select(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
+ */
+ public boolean select(Viewer viewer, Object parentElement, Object element) {
+ return (element instanceof String && element.equals("")) || (element instanceof ConcreteReferenceTargetSample2) || (element instanceof ConcreteReferenceTargetSample3); //$NON-NLS-1$
+ }
+
+ });
+
+
+ // Start of user code for additional businessfilters for strictTypingMultipleOnTableComposition
+ // End of user code
+ }
+ if (isAccessible(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition)) {
+ basePart.addFilterToStrictTypingMultipleOnAdvancedTableComposition(new ViewerFilter() {
+ /**
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.jface.viewers.ViewerFilter#select(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
+ */
+ public boolean select(Viewer viewer, Object parentElement, Object element) {
+ return (element instanceof String && element.equals("")) || (element instanceof ConcreteReferenceTargetSample2) || (element instanceof ConcreteReferenceTargetSample1); //$NON-NLS-1$
+ }
+
+ });
+
+
+ // Start of user code for additional businessfilters for strictTypingMultipleOnAdvancedTableComposition
+ // End of user code
+ }
// init values for referenced views
// init filters for referenced views
@@ -183,6 +219,8 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionComponent extends Sing
+
+
/**
* {@inheritDoc}
* @see org.eclipse.emf.eef.runtime.impl.components.StandardPropertiesEditionComponent#associatedFeature(java.lang.Object)
@@ -197,6 +235,12 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionComponent extends Sing
if (editorKey == FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTyping) {
return FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping();
}
+ if (editorKey == FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition) {
+ return FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping2();
+ }
+ if (editorKey == FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition) {
+ return FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping3();
+ }
return super.associatedFeature(editorKey);
}
@@ -223,7 +267,12 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionComponent extends Sing
}
if (FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTyping == event.getAffectedEditor()) {
if (event.getKind() == PropertiesEditionEvent.ADD) {
- EReferencePropertiesEditionContext context = new TypedEReferencePropertiesEditingContext(editingContext, this, strictTypingSettings, FiltersPackage.Literals.CONCRETE_REFERENCE_TARGET_SAMPLE2, editingContext.getAdapterFactory());
+ EReferencePropertiesEditionContext context = new EReferencePropertiesEditionContext(editingContext, this, strictTypingSettings, editingContext.getAdapterFactory());
+ context.addInstanciableTypeFilter(new InstanciableTypeFilter() {
+ public boolean select(EClass instanciableType) {
+ return FiltersPackage.Literals.CONCRETE_REFERENCE_TARGET_SAMPLE2 == instanciableType;
+ }
+ });
PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt(semanticObject, PropertiesEditingProvider.class);
if (provider != null) {
PropertiesEditingPolicy policy = provider.getPolicy(context);
@@ -246,6 +295,76 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionComponent extends Sing
strictTypingSettings.move(event.getNewIndex(), (AbstractReferenceTargetSample) event.getNewValue());
}
}
+ if (FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition == event.getAffectedEditor()) {
+ if (event.getKind() == PropertiesEditionEvent.ADD) {
+ EReferencePropertiesEditionContext context = new EReferencePropertiesEditionContext(editingContext, this, strictTypingMultipleOnTableCompositionSettings, editingContext.getAdapterFactory());
+ context.addInstanciableTypeFilter(new InstanciableTypeFilter() {
+ public boolean select(EClass instanciableType) {
+ return FiltersPackage.Literals.CONCRETE_REFERENCE_TARGET_SAMPLE2 == instanciableType;
+ }
+ });
+ context.addInstanciableTypeFilter(new InstanciableTypeFilter() {
+ public boolean select(EClass instanciableType) {
+ return FiltersPackage.Literals.CONCRETE_REFERENCE_TARGET_SAMPLE3 == instanciableType;
+ }
+ });
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt(semanticObject, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy instanceof CreateEditingPolicy) {
+ policy.execute();
+ }
+ }
+ } else if (event.getKind() == PropertiesEditionEvent.EDIT) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(editingContext, this, (EObject) event.getNewValue(), editingContext.getAdapterFactory());
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt((EObject) event.getNewValue(), PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy editionPolicy = provider.getPolicy(context);
+ if (editionPolicy != null) {
+ editionPolicy.execute();
+ }
+ }
+ } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
+ strictTypingMultipleOnTableCompositionSettings.removeFromReference((EObject) event.getNewValue());
+ } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
+ strictTypingMultipleOnTableCompositionSettings.move(event.getNewIndex(), (AbstractReferenceTargetSample) event.getNewValue());
+ }
+ }
+ if (FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition == event.getAffectedEditor()) {
+ if (event.getKind() == PropertiesEditionEvent.ADD) {
+ EReferencePropertiesEditionContext context = new EReferencePropertiesEditionContext(editingContext, this, strictTypingMultipleOnAdvancedTableCompositionSettings, editingContext.getAdapterFactory());
+ context.addInstanciableTypeFilter(new InstanciableTypeFilter() {
+ public boolean select(EClass instanciableType) {
+ return FiltersPackage.Literals.CONCRETE_REFERENCE_TARGET_SAMPLE2 == instanciableType;
+ }
+ });
+ context.addInstanciableTypeFilter(new InstanciableTypeFilter() {
+ public boolean select(EClass instanciableType) {
+ return FiltersPackage.Literals.CONCRETE_REFERENCE_TARGET_SAMPLE1 == instanciableType;
+ }
+ });
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt(semanticObject, PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy policy = provider.getPolicy(context);
+ if (policy instanceof CreateEditingPolicy) {
+ policy.execute();
+ }
+ }
+ } else if (event.getKind() == PropertiesEditionEvent.EDIT) {
+ EObjectPropertiesEditionContext context = new EObjectPropertiesEditionContext(editingContext, this, (EObject) event.getNewValue(), editingContext.getAdapterFactory());
+ PropertiesEditingProvider provider = (PropertiesEditingProvider)editingContext.getAdapterFactory().adapt((EObject) event.getNewValue(), PropertiesEditingProvider.class);
+ if (provider != null) {
+ PropertiesEditingPolicy editionPolicy = provider.getPolicy(context);
+ if (editionPolicy != null) {
+ editionPolicy.execute();
+ }
+ }
+ } else if (event.getKind() == PropertiesEditionEvent.REMOVE) {
+ strictTypingMultipleOnAdvancedTableCompositionSettings.removeFromReference((EObject) event.getNewValue());
+ } else if (event.getKind() == PropertiesEditionEvent.MOVE) {
+ strictTypingMultipleOnAdvancedTableCompositionSettings.move(event.getNewIndex(), (AbstractReferenceTargetSample) event.getNewValue());
+ }
+ }
}
/**
@@ -267,6 +386,10 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionComponent extends Sing
basePart.updateAbstractTarget();
if (FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping().equals(msg.getFeature()) && isAccessible(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTyping))
basePart.updateStrictTyping();
+ if (FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping2().equals(msg.getFeature()) && isAccessible(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnTableComposition))
+ basePart.updateStrictTypingMultipleOnTableComposition();
+ if (FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping3().equals(msg.getFeature()) && isAccessible(FiltersViewsRepository.ConcreteReferenceOwnerSample.Properties.strictTypingMultipleOnAdvancedTableComposition))
+ basePart.updateStrictTypingMultipleOnAdvancedTableComposition();
}
}
@@ -281,7 +404,9 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionComponent extends Sing
NotificationFilter filter = new EStructuralFeatureNotificationFilter(
EefnrPackage.eINSTANCE.getAbstractSample_Name(),
FiltersPackage.eINSTANCE.getAbstractReferenceOwnerSample_AbstractTarget(),
- FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping() );
+ FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping(),
+ FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping2(),
+ FiltersPackage.eINSTANCE.getConcreteReferenceOwnerSample_StrictTyping3() );
return new NotificationFilter[] {filter,};
}
@@ -315,4 +440,6 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionComponent extends Sing
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceTargetSample1PropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceTargetSample1PropertiesEditionComponent.java
index 1483e500a..8d7d3ce2e 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceTargetSample1PropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceTargetSample1PropertiesEditionComponent.java
@@ -183,4 +183,6 @@ public class ConcreteReferenceTargetSample1PropertiesEditionComponent extends Si
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceTargetSample2PropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceTargetSample2PropertiesEditionComponent.java
index 8d203c7cd..00d2f40e5 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceTargetSample2PropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/components/ConcreteReferenceTargetSample2PropertiesEditionComponent.java
@@ -183,4 +183,6 @@ public class ConcreteReferenceTargetSample2PropertiesEditionComponent extends Si
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceOwnerSamplePropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceOwnerSamplePropertiesEditionProvider.java
index 8d1c1cd64..263f9f7af 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceOwnerSamplePropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceOwnerSamplePropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.filters.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.filters.ConcreteReferenceOwnerSample;
-import org.eclipse.emf.eef.eefnr.filters.FiltersPackage;
-
-import org.eclipse.emf.eef.filters.components.ConcreteReferenceOwnerSamplePropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.filters.ConcreteReferenceOwnerSample;
+import org.eclipse.emf.eef.eefnr.filters.FiltersPackage;
+
+import org.eclipse.emf.eef.filters.components.ConcreteReferenceOwnerSamplePropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class ConcreteReferenceOwnerSamplePropertiesEditionProvider extends Prope
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceTargetSample1PropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceTargetSample1PropertiesEditionProvider.java
index 5c481ba2e..b74d1d32a 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceTargetSample1PropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceTargetSample1PropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.filters.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.filters.ConcreteReferenceTargetSample1;
-import org.eclipse.emf.eef.eefnr.filters.FiltersPackage;
-
-import org.eclipse.emf.eef.filters.components.ConcreteReferenceTargetSample1PropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.filters.ConcreteReferenceTargetSample1;
+import org.eclipse.emf.eef.eefnr.filters.FiltersPackage;
+
+import org.eclipse.emf.eef.filters.components.ConcreteReferenceTargetSample1PropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class ConcreteReferenceTargetSample1PropertiesEditionProvider extends Pro
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceTargetSample2PropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceTargetSample2PropertiesEditionProvider.java
index 747b538d9..3f43719b8 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceTargetSample2PropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/ConcreteReferenceTargetSample2PropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.filters.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.filters.ConcreteReferenceTargetSample2;
-import org.eclipse.emf.eef.eefnr.filters.FiltersPackage;
-
-import org.eclipse.emf.eef.filters.components.ConcreteReferenceTargetSample2PropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.filters.ConcreteReferenceTargetSample2;
+import org.eclipse.emf.eef.eefnr.filters.FiltersPackage;
+
+import org.eclipse.emf.eef.filters.components.ConcreteReferenceTargetSample2PropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class ConcreteReferenceTargetSample2PropertiesEditionProvider extends Pro
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/FiltersEEFAdapterFactory.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/FiltersEEFAdapterFactory.java
index 2e158bd45..4270cd1c3 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/FiltersEEFAdapterFactory.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/filters/providers/FiltersEEFAdapterFactory.java
@@ -10,10 +10,10 @@
*******************************************************************************/
package org.eclipse.emf.eef.filters.providers;
-import org.eclipse.emf.common.notify.Adapter;
-
-import org.eclipse.emf.eef.eefnr.filters.util.FiltersAdapterFactory;
-
+import org.eclipse.emf.common.notify.Adapter;
+
+import org.eclipse.emf.eef.eefnr.filters.util.FiltersAdapterFactory;
+
import org.eclipse.emf.eef.references.providers.AbstractSamplePropertiesEditionProvider;
/**
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/components/EventPropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/components/EventPropertiesEditionComponent.java
index deb5e993a..272a9e4fe 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/components/EventPropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/components/EventPropertiesEditionComponent.java
@@ -183,4 +183,6 @@ public class EventPropertiesEditionComponent extends SinglePartPropertiesEditing
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/providers/EventPropertiesEditionProvider.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/providers/EventPropertiesEditionProvider.java
index 65a96c3b5..2efb710d6 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/providers/EventPropertiesEditionProvider.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/providers/EventPropertiesEditionProvider.java
@@ -10,25 +10,25 @@
*******************************************************************************/
package org.eclipse.emf.eef.naming.providers;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.emf.eef.eefnr.naming.CustomNamingPackage;
-import org.eclipse.emf.eef.eefnr.naming.Event;
-
-import org.eclipse.emf.eef.naming.components.EventPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
-
-import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
-
-import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
-
-import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
-
-import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
-
+import java.util.List;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.eef.eefnr.naming.CustomNamingPackage;
+import org.eclipse.emf.eef.eefnr.naming.Event;
+
+import org.eclipse.emf.eef.naming.components.EventPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent;
+
+import org.eclipse.emf.eef.runtime.context.PropertiesEditingContext;
+
+import org.eclipse.emf.eef.runtime.impl.utils.EEFUtils;
+
+import org.eclipse.emf.eef.runtime.providers.PropertiesEditingProvider;
+
+import org.eclipse.emf.eef.runtime.providers.impl.PropertiesEditingProviderImpl;
+
import org.eclipse.jface.viewers.IFilter;
/**
@@ -134,7 +134,7 @@ public class EventPropertiesEditionProvider extends PropertiesEditingProviderImp
* Provides the filter used by the plugin.xml to assign part forms.
*/
public static class EditionFilter implements IFilter {
-
+
/**
* {@inheritDoc}
*
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/providers/NamingEEFAdapterFactory.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/providers/NamingEEFAdapterFactory.java
index 4179ccad0..9b26ea278 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/providers/NamingEEFAdapterFactory.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/naming/providers/NamingEEFAdapterFactory.java
@@ -10,10 +10,10 @@
*******************************************************************************/
package org.eclipse.emf.eef.naming.providers;
-import org.eclipse.emf.common.notify.Adapter;
-
-import org.eclipse.emf.eef.eefnr.naming.util.CustomNamingAdapterFactory;
-
+import org.eclipse.emf.common.notify.Adapter;
+
+import org.eclipse.emf.eef.eefnr.naming.util.CustomNamingAdapterFactory;
+
import org.eclipse.emf.eef.references.providers.AbstractSamplePropertiesEditionProvider;
/**
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/AnotherSubtypeBasePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/AnotherSubtypeBasePropertiesEditionComponent.java
index 1604dd391..f230d1c95 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/AnotherSubtypeBasePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/AnotherSubtypeBasePropertiesEditionComponent.java
@@ -188,4 +188,6 @@ public class AnotherSubtypeBasePropertiesEditionComponent extends SinglePartProp
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/AttributeNavigationSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/AttributeNavigationSamplePropertiesEditionComponent.java
index b02faab7e..d8546aeac 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/AttributeNavigationSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/AttributeNavigationSamplePropertiesEditionComponent.java
@@ -383,4 +383,6 @@ public class AttributeNavigationSamplePropertiesEditionComponent extends SingleP
return delegate2ForMultiValuedSettings;
}
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/DeferedFlatReferencesTableSampleEditorPropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/DeferedFlatReferencesTableSampleEditorPropertiesEditionComponent.java
index 116d83dcb..3fc1be534 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/DeferedFlatReferencesTableSampleEditorPropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/DeferedFlatReferencesTableSampleEditorPropertiesEditionComponent.java
@@ -256,4 +256,6 @@ public class DeferedFlatReferencesTableSampleEditorPropertiesEditionComponent ex
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/DeferedReferencesTableSampleEditorPropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/DeferedReferencesTableSampleEditorPropertiesEditionComponent.java
index 45af6918f..4830d847a 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/DeferedReferencesTableSampleEditorPropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/DeferedReferencesTableSampleEditorPropertiesEditionComponent.java
@@ -258,4 +258,6 @@ public class DeferedReferencesTableSampleEditorPropertiesEditionComponent extend
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/ElementBasePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/ElementBasePropertiesEditionComponent.java
index 4ef44e105..211c2c53e 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/ElementBasePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/ElementBasePropertiesEditionComponent.java
@@ -190,4 +190,6 @@ public class ElementBasePropertiesEditionComponent extends SinglePartPropertiesE
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/FirstModelNavigationSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/FirstModelNavigationSamplePropertiesEditionComponent.java
index 81942a01d..f1336e2de 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/FirstModelNavigationSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/FirstModelNavigationSamplePropertiesEditionComponent.java
@@ -183,4 +183,6 @@ public class FirstModelNavigationSamplePropertiesEditionComponent extends Single
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/NamedElementPropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/NamedElementPropertiesEditionComponent.java
index cb0605113..eee47e160 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/NamedElementPropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/NamedElementPropertiesEditionComponent.java
@@ -182,4 +182,6 @@ public class NamedElementPropertiesEditionComponent extends SinglePartProperties
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/OwnerPropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/OwnerPropertiesEditionComponent.java
index d69622daf..c5f5123b4 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/OwnerPropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/OwnerPropertiesEditionComponent.java
@@ -261,10 +261,9 @@ public class OwnerPropertiesEditionComponent extends SinglePartPropertiesEditing
if (isAccessible(NavigationViewsRepository.Owner.Properties.multipleSampleForTableComposition)) {
basePart.addFilterToMultipleSampleForTableComposition(new ViewerFilter() {
-
/**
* {@inheritDoc}
- *
+ *
* @see org.eclipse.jface.viewers.ViewerFilter#select(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
*/
public boolean select(Viewer viewer, Object parentElement, Object element) {
@@ -277,10 +276,9 @@ public class OwnerPropertiesEditionComponent extends SinglePartPropertiesEditing
}
if (isAccessible(NavigationViewsRepository.Owner.Properties.multipleSampleForAdvancedTableComposition)) {
basePart.addFilterToMultipleSampleForAdvancedTableComposition(new ViewerFilter() {
-
/**
* {@inheritDoc}
- *
+ *
* @see org.eclipse.jface.viewers.ViewerFilter#select(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
*/
public boolean select(Viewer viewer, Object parentElement, Object element) {
@@ -851,4 +849,6 @@ public class OwnerPropertiesEditionComponent extends SinglePartPropertiesEditing
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SecondModelNavigationSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SecondModelNavigationSamplePropertiesEditionComponent.java
index 75b88a129..3d6d7a4f8 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SecondModelNavigationSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SecondModelNavigationSamplePropertiesEditionComponent.java
@@ -183,4 +183,6 @@ public class SecondModelNavigationSamplePropertiesEditionComponent extends Singl
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SmartModelNavigationSampleSmartNavigationSampleOnglet2PropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SmartModelNavigationSampleSmartNavigationSampleOnglet2PropertiesEditionComponent.java
index a7fb0c304..49fd8c8f7 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SmartModelNavigationSampleSmartNavigationSampleOnglet2PropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SmartModelNavigationSampleSmartNavigationSampleOnglet2PropertiesEditionComponent.java
@@ -208,4 +208,6 @@ public class SmartModelNavigationSampleSmartNavigationSampleOnglet2PropertiesEdi
+
+
}
diff --git a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SmartModelNavigationSampleSmartNavigationSamplePropertiesEditionComponent.java b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SmartModelNavigationSampleSmartNavigationSamplePropertiesEditionComponent.java
index c8cf5c30e..a1ed0855c 100644
--- a/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SmartModelNavigationSampleSmartNavigationSamplePropertiesEditionComponent.java
+++ b/tests/org.eclipse.emf.eef.tests.nonreg.edit/src-gen/org/eclipse/emf/eef/navigation/components/SmartModelNavigationSampleSmartNavigationSamplePropertiesEditionComponent.java
@@ -399,41 +399,41 @@ public class SmartModelNavigationSampleSmartNavigationSamplePropertiesEditionCom
if (editingPart != null && key == partKey) {
editingPart.setContext(elt, allResource);
if (editingPart instanceof CompositePropertiesEditionPart) {
- ((CompositePropertiesEditionPart) editingPart).getSettings().add(firstModelNavigationSingleValueSettings);
- ((CompositePropertiesEditionPart) editingPart).getSettings().add(firstModelNavigationMultiValueSettings);
- ((CompositePropertiesEditionPart) editingPart).getSettings().add(secondMNSingleValueWithFirstMNSingleValueSettings);
- ((CompositePropertiesEditionPart) editingPart).getSettings().add(secondMNSingleValueWithFirstMNMultiValueSettings);
- ((CompositePropertiesEditionPart) editingPart).getSettings().add(secondMNMultiValueWithFirstMNSingleValueSettings);
- ((CompositePropertiesEditionPart) editingPart).getSettings().add(secondMNMultiValueWithFirstMNMultiValueSettings);
- ((CompositePropertiesEditionPart) editingPart).getSettings().add(secondMNMultiValueWithFirstMNMultiValueWithFilterSettings);
- }
+ ((CompositePropertiesEditionPart) editingPart).getSettings().add(firstModelNavigationSingleValueSettings);
+ ((CompositePropertiesEditionPart) editingPart).getSettings().add(firstModelNavigationMultiValueSettings);
+ ((CompositePropertiesEditionPart) editingPart).getSettings().add(secondMNSingleValueWithFirstMNSingleValueSettings);
+ ((CompositePropertiesEditionPart) editingPart).getSettings().add(secondMNSingleValueWithFirstMNMultiValueSettings);
+ ((CompositePropertiesEditionPart) editingPart).getSettings().add(secondMNMultiValueWithFirstMNSingleValueSettings);
+ ((CompositePropertiesEditionPart) editingPart).getSettings().add(secondMNMultiValueWithFirstMNMultiValueSettings);
+ ((CompositePropertiesEditionPart) editingPart).getSettings().add(secondMNMultiValueWithFirstMNMultiValueWithFilterSettings);
+ }
final SmartModelNavigationSample smartModelNavigationSample = (SmartModelNavigationSample)elt;
final SmartNavigationSamplePropertiesEditionPart smartNavigationSamplePart = (SmartNavigationSamplePropertiesEditionPart)editingPart;
// init values
if (isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.name))
- smartNavigationSamplePart.setName(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, smartModelNavigationSample.getName()));
-
+ smartNavigationSamplePart.setName(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, smartModelNavigationSample.getName()));
+
if (firstModelNavigationSingleValueSettings.getValue() != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.firstModelNavigationSingleValue))
- smartNavigationSamplePart.setFirstModelNavigationSingleValue(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, firstModelNavigationSingleValueSettings.getValue()));
-
+ smartNavigationSamplePart.setFirstModelNavigationSingleValue(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, firstModelNavigationSingleValueSettings.getValue()));
+
if (firstModelNavigationMultiValueSettings.getValue() != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.firstModelNavigationMultiValue))
- smartNavigationSamplePart.setFirstModelNavigationMultiValue(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, firstModelNavigationMultiValueSettings.getValue()));
-
+ smartNavigationSamplePart.setFirstModelNavigationMultiValue(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, firstModelNavigationMultiValueSettings.getValue()));
+
if (secondMNSingleValueWithFirstMNSingleValueSettings.getValue() != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationSingleValue))
- smartNavigationSamplePart.setSecondModelNavigationSingleValue(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, secondMNSingleValueWithFirstMNSingleValueSettings.getValue()));
-
+ smartNavigationSamplePart.setSecondModelNavigationSingleValue(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, secondMNSingleValueWithFirstMNSingleValueSettings.getValue()));
+
if (secondMNSingleValueWithFirstMNMultiValueSettings.getValue() != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValue))
- smartNavigationSamplePart.setSecondModelNavigationMultiValue(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, secondMNSingleValueWithFirstMNMultiValueSettings.getValue()));
-
+ smartNavigationSamplePart.setSecondModelNavigationMultiValue(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, secondMNSingleValueWithFirstMNMultiValueSettings.getValue()));
+
if (secondMNMultiValueWithFirstMNSingleValueSettings.getValue() != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationSingleValue2))
- smartNavigationSamplePart.setSecondModelNavigationSingleValue2(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, secondMNMultiValueWithFirstMNSingleValueSettings.getValue()));
-
+ smartNavigationSamplePart.setSecondModelNavigationSingleValue2(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, secondMNMultiValueWithFirstMNSingleValueSettings.getValue()));
+
if (secondMNMultiValueWithFirstMNMultiValueSettings.getValue() != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValue2))
- smartNavigationSamplePart.setSecondModelNavigationMultiValue2(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, secondMNMultiValueWithFirstMNMultiValueSettings.getValue()));
-
+ smartNavigationSamplePart.setSecondModelNavigationMultiValue2(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, secondMNMultiValueWithFirstMNMultiValueSettings.getValue()));
+
if (secondMNMultiValueWithFirstMNMultiValueWithFilterSettings.getValue() != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValueFilter))
- smartNavigationSamplePart.setSecondModelNavigationMultiValueFilter(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, secondMNMultiValueWithFirstMNMultiValueWithFilterSettings.getValue()));
-
+ smartNavigationSamplePart.setSecondModelNavigationMultiValueFilter(EEFConverterUtil.convertToString(EcorePackage.Literals.ESTRING, secondMNMultiValueWithFirstMNMultiValueWithFilterSettings.getValue()));
+
// init filters
@@ -543,61 +543,61 @@ public class SmartModelNavigationSampleSmartNavigationSamplePropertiesEditionCom
if (editingPart.isVisible()) {
SmartNavigationSamplePropertiesEditionPart smartNavigationSamplePart = (SmartNavigationSamplePropertiesEditionPart)editingPart;
if (EefnrPackage.eINSTANCE.getAbstractSample_Name().equals(msg.getFeature()) && msg.getNotifier().equals(semanticObject) && smartNavigationSamplePart != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.name)) {
- if (msg.getNewValue() != null) {
- smartNavigationSamplePart.setName(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
- } else {
- smartNavigationSamplePart.setName("");
- }
- }
+ if (msg.getNewValue() != null) {
+ smartNavigationSamplePart.setName(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
+ } else {
+ smartNavigationSamplePart.setName("");
+ }
+ }
if (!(msg.getNewValue() instanceof EObject) && firstModelNavigationSingleValueSettings.isAffectingEvent(msg) && smartNavigationSamplePart != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.firstModelNavigationSingleValue)) {
- if (msg.getNewValue() != null) {
- smartNavigationSamplePart.setFirstModelNavigationSingleValue(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
- } else {
- smartNavigationSamplePart.setFirstModelNavigationSingleValue("");
- }
- }
+ if (msg.getNewValue() != null) {
+ smartNavigationSamplePart.setFirstModelNavigationSingleValue(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
+ } else {
+ smartNavigationSamplePart.setFirstModelNavigationSingleValue("");
+ }
+ }
if (!(msg.getNewValue() instanceof EObject) && firstModelNavigationMultiValueSettings.isAffectingEvent(msg) && smartNavigationSamplePart != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.firstModelNavigationMultiValue)) {
- if (msg.getNewValue() != null) {
- smartNavigationSamplePart.setFirstModelNavigationMultiValue(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
- } else {
- smartNavigationSamplePart.setFirstModelNavigationMultiValue("");
- }
- }
+ if (msg.getNewValue() != null) {
+ smartNavigationSamplePart.setFirstModelNavigationMultiValue(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
+ } else {
+ smartNavigationSamplePart.setFirstModelNavigationMultiValue("");
+ }
+ }
if (!(msg.getNewValue() instanceof EObject) && secondMNSingleValueWithFirstMNSingleValueSettings.isAffectingEvent(msg) && smartNavigationSamplePart != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationSingleValue)) {
- if (msg.getNewValue() != null) {
- smartNavigationSamplePart.setSecondModelNavigationSingleValue(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
- } else {
- smartNavigationSamplePart.setSecondModelNavigationSingleValue("");
- }
- }
+ if (msg.getNewValue() != null) {
+ smartNavigationSamplePart.setSecondModelNavigationSingleValue(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
+ } else {
+ smartNavigationSamplePart.setSecondModelNavigationSingleValue("");
+ }
+ }
if (!(msg.getNewValue() instanceof EObject) && secondMNSingleValueWithFirstMNMultiValueSettings.isAffectingEvent(msg) && smartNavigationSamplePart != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValue)) {
- if (msg.getNewValue() != null) {
- smartNavigationSamplePart.setSecondModelNavigationMultiValue(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
- } else {
- smartNavigationSamplePart.setSecondModelNavigationMultiValue("");
- }
- }
+ if (msg.getNewValue() != null) {
+ smartNavigationSamplePart.setSecondModelNavigationMultiValue(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
+ } else {
+ smartNavigationSamplePart.setSecondModelNavigationMultiValue("");
+ }
+ }
if (!(msg.getNewValue() instanceof EObject) && secondMNMultiValueWithFirstMNSingleValueSettings.isAffectingEvent(msg) && smartNavigationSamplePart != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationSingleValue2)) {
- if (msg.getNewValue() != null) {
- smartNavigationSamplePart.setSecondModelNavigationSingleValue2(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
- } else {
- smartNavigationSamplePart.setSecondModelNavigationSingleValue2("");
- }
- }
+ if (msg.getNewValue() != null) {
+ smartNavigationSamplePart.setSecondModelNavigationSingleValue2(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
+ } else {
+ smartNavigationSamplePart.setSecondModelNavigationSingleValue2("");
+ }
+ }
if (!(msg.getNewValue() instanceof EObject) && secondMNMultiValueWithFirstMNMultiValueSettings.isAffectingEvent(msg) && smartNavigationSamplePart != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValue2)) {
- if (msg.getNewValue() != null) {
- smartNavigationSamplePart.setSecondModelNavigationMultiValue2(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
- } else {
- smartNavigationSamplePart.setSecondModelNavigationMultiValue2("");
- }
- }
+ if (msg.getNewValue() != null) {
+ smartNavigationSamplePart.setSecondModelNavigationMultiValue2(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
+ } else {
+ smartNavigationSamplePart.setSecondModelNavigationMultiValue2("");
+ }
+ }
if (!(msg.getNewValue() instanceof EObject) && secondMNMultiValueWithFirstMNMultiValueWithFilterSettings.isAffectingEvent(msg) && smartNavigationSamplePart != null && isAccessible(NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValueFilter)) {
- if (msg.getNewValue() != null) {
- smartNavigationSamplePart.setSecondModelNavigationMultiValueFilter(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
- } else {
- smartNavigationSamplePart.setSecondModelNavigationMultiValueFilter("");
- }
- }
+ if (msg.getNewValue() != null) {
+ smartNavigationSamplePart.setSecondModelNavigationMultiValueFilter(EcoreUtil.convertToString(EcorePackage.Literals.ESTRING, msg.getNewValue()));
+ } else {
+ smartNavigationSamplePart.setSecondModelNavigationMultiValueFilter("");
+ }
+ }
}
}
@@ -617,98 +617,98 @@ public class SmartModelNavigationSampleSmartNavigationSamplePropertiesEditionCom
NavigationPackage.eINSTANCE.getSmartModelNavigationSample_SeveralFirstModelNavigation2(),
EefnrPackage.eINSTANCE.getAbstractSample_Name(),
NavigationPackage.eINSTANCE.getSmartModelNavigationSample_FirstModelNavigation(),
- NavigationPackage.eINSTANCE.getFirstModelNavigation_SecondModelNavigation(),
+ NavigationPackage.eINSTANCE.getFirstModelNavigation_SecondModelNavigation(),
EefnrPackage.eINSTANCE.getAbstractSample_Name(),
NavigationPackage.eINSTANCE.getSmartModelNavigationSample_FirstModelNavigation(),
- NavigationPackage.eINSTANCE.getFirstModelNavigation_SeveralSecondModelNavigation(),
+ NavigationPackage.eINSTANCE.getFirstModelNavigation_SeveralSecondModelNavigation(),
EefnrPackage.eINSTANCE.getAbstractSample_Name(),
NavigationPackage.eINSTANCE.getSmartModelNavigationSample_SeveralFirstModelNavigation(),
- NavigationPackage.eINSTANCE.getFirstModelNavigation_SecondModelNavigation(),
+ NavigationPackage.eINSTANCE.getFirstModelNavigation_SecondModelNavigation(),
EefnrPackage.eINSTANCE.getAbstractSample_Name(),
NavigationPackage.eINSTANCE.getSmartModelNavigationSample_SeveralFirstModelNavigation(),
- NavigationPackage.eINSTANCE.getFirstModelNavigation_SeveralSecondModelNavigation(),
+ NavigationPackage.eINSTANCE.getFirstModelNavigation_SeveralSecondModelNavigation(),
EefnrPackage.eINSTANCE.getAbstractSample_Name(),
NavigationPackage.eINSTANCE.getSmartModelNavigationSample_SeveralFirstModelNavigation(),
- NavigationPackage.eINSTANCE.getFirstModelNavigation_SeveralSecondModelNavigation() );
+ NavigationPackage.eINSTANCE.getFirstModelNavigation_SeveralSecondModelNavigation() );
return new NotificationFilter[] {filter,};
}
/**
- * {@inheritDoc}
- *
- * @see org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent#validateValue(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
- *
- */
- public Diagnostic validateValue(IPropertiesEditionEvent event) {
- Diagnostic ret = Diagnostic.OK_INSTANCE;
- if (event.getNewValue() != null) {
- try {
- if (NavigationViewsRepository.SmartNavigationSample.Properties.name == event.getAffectedEditor()) {
- Object newValue = event.getNewValue();
- if (newValue instanceof String) {
- newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
- }
- ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ * {@inheritDoc}
+ *
+ * @see org.eclipse.emf.eef.runtime.api.component.IPropertiesEditionComponent#validateValue(org.eclipse.emf.eef.runtime.api.notify.IPropertiesEditionEvent)
+ *
+ */
+ public Diagnostic validateValue(IPropertiesEditionEvent event) {
+ Diagnostic ret = Diagnostic.OK_INSTANCE;
+ if (event.getNewValue() != null) {
+ try {
+ if (NavigationViewsRepository.SmartNavigationSample.Properties.name == event.getAffectedEditor()) {
+ Object newValue = event.getNewValue();
+ if (newValue instanceof String) {
+ newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
}
- if (NavigationViewsRepository.SmartNavigationSample.Properties.firstModelNavigationSingleValue == event.getAffectedEditor()) {
- Object newValue = event.getNewValue();
- if (newValue instanceof String) {
- newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
- }
- ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ }
+ if (NavigationViewsRepository.SmartNavigationSample.Properties.firstModelNavigationSingleValue == event.getAffectedEditor()) {
+ Object newValue = event.getNewValue();
+ if (newValue instanceof String) {
+ newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
}
- if (NavigationViewsRepository.SmartNavigationSample.Properties.firstModelNavigationMultiValue == event.getAffectedEditor()) {
- Object newValue = event.getNewValue();
- if (newValue instanceof String) {
- newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
- }
- ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ }
+ if (NavigationViewsRepository.SmartNavigationSample.Properties.firstModelNavigationMultiValue == event.getAffectedEditor()) {
+ Object newValue = event.getNewValue();
+ if (newValue instanceof String) {
+ newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
}
- if (NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationSingleValue == event.getAffectedEditor()) {
- Object newValue = event.getNewValue();
- if (newValue instanceof String) {
- newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
- }
- ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ }
+ if (NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationSingleValue == event.getAffectedEditor()) {
+ Object newValue = event.getNewValue();
+ if (newValue instanceof String) {
+ newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
}
- if (NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValue == event.getAffectedEditor()) {
- Object newValue = event.getNewValue();
- if (newValue instanceof String) {
- newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
- }
- ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ }
+ if (NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValue == event.getAffectedEditor()) {
+ Object newValue = event.getNewValue();
+ if (newValue instanceof String) {
+ newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
}
- if (NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationSingleValue2 == event.getAffectedEditor()) {
- Object newValue = event.getNewValue();
- if (newValue instanceof String) {
- newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
- }
- ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ }
+ if (NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationSingleValue2 == event.getAffectedEditor()) {
+ Object newValue = event.getNewValue();
+ if (newValue instanceof String) {
+ newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
}
- if (NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValue2 == event.getAffectedEditor()) {
- Object newValue = event.getNewValue();
- if (newValue instanceof String) {
- newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
- }
- ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ }
+ if (NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValue2 == event.getAffectedEditor()) {
+ Object newValue = event.getNewValue();
+ if (newValue instanceof String) {
+ newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
}
- if (NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValueFilter == event.getAffectedEditor()) {
- Object newValue = event.getNewValue();
- if (newValue instanceof String) {
- newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
- }
- ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
+ }
+ if (NavigationViewsRepository.SmartNavigationSample.Properties.secondModelNavigationMultiValueFilter == event.getAffectedEditor()) {
+ Object newValue = event.getNewValue();
+ if (newValue instanceof String) {
+ newValue = EEFConverterUtil.createFromString(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), (String)newValue);
}
- } catch (IllegalArgumentException iae) {
- ret = BasicDiagnostic.toDiagnostic(iae);
- } catch (WrappedException we) {
- ret = BasicDiagnostic.toDiagnostic(we);
+ ret = Diagnostician.INSTANCE.validate(EefnrPackage.eINSTANCE.getAbstractSample_Name().getEAttributeType(), newValue);
}
+ } catch (IllegalArgumentException iae) {
+ ret = BasicDiagnostic.toDiagnostic(iae);
+ } catch (WrappedException we) {
+ ret = BasicDiagnostic.toDiagnostic(we);
}
- return ret;
}
-
+ return ret;