Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/customization')
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/.project62
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.core.resources.prefs3
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.jdt.core.prefs291
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.jdt.ui.prefs68
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.ltk.core.refactoring.prefs3
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.pde.api.tools.prefs98
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/META-INF/MANIFEST.MF26
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/OSGI-INF/l10n/bundle.properties6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/about.html28
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/build.properties7
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/Context.gifbin584 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/default_false.gifbin860 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/default_true.gifbin855 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/false.gifbin860 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/new_customization.pngbin492 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/true.gifbin855 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/wizban-custom.pngbin2805 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.ecore27
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.genmodel28
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/LayoutEuristic.ecore22
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/plugin.properties13
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/plugin.xml56
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/pom.xml14
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/schema/org.eclipse.papyrus.customization.properties.generation.generator.exsd102
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/schema/org.eclipse.papyrus.customization.properties.generation.layout.exsd102
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java92
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java63
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java71
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java508
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java118
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java277
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java189
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java200
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java354
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java300
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java174
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java178
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/Activator.java109
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/GeneratorExtensionPoint.java62
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/LayoutExtensionPoint.java61
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/AbstractQVTGenerator.java284
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/EcoreGenerator.java379
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/EditContextGenerator.java121
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/IGenerator.java149
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/ProfileGenerator.java361
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/GeneratorProfileDataType.java350
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/ILayoutGenerator.java57
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/ProfileWithDatatypes.java282
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/StandardLayoutGenerator.java277
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/messages/Messages.java110
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/messages/messages.properties42
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/providers/DataContextPropertiesContentProvider.java35
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/providers/DataContextPropertiesLabelProvider.java127
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/AbstractValidator.java42
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/SourceValidator.java73
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/TargetValidator.java37
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/AbstractCreateContextPage.java57
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/CreateContextMainPage.java95
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/CreateContextWizard.java313
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/GeneratorPage.java312
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/SelectFieldsPage.java335
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/SelectOutputPage.java199
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/ExtensionFilter.java61
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/FileChooser.java160
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/TernaryButton.java218
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto161
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto178
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.classpath8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.project66
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.core.prefs291
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.ui.prefs68
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.pde.api.tools.prefs98
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/META-INF/MANIFEST.MF20
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/OSGI-INF/l10n/bundle.properties3
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto217
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto254
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/about.html28
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/build.properties13
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.ecore37
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.genmodel40
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.properties12
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.xml23
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/pom.xml14
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Attribute.java63
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/CDATA.java29
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Comment.java29
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/DocumentTypeDeclaration.java92
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Element.java54
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Namespace.java29
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Node.java95
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/ProcessingInstruction.java63
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Root.java98
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Text.java29
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlFactory.java138
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlPackage.java1144
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/AttributeImpl.java187
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CDATAImpl.java52
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CommentImpl.java52
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/DocumentTypeDeclarationImpl.java248
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ElementImpl.java184
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NamespaceImpl.java52
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NodeImpl.java305
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ProcessingInstructionImpl.java187
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/RootImpl.java292
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/TextImpl.java52
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlFactoryImpl.java235
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/XwtxmlPackageImpl.java543
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlAdapterFactory.java329
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/util/XwtxmlSwitch.java402
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/Activator.java74
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/format/XMLFormatter.java38
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLHandler.java260
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLResourceImpl.java105
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/modisco/GenericXMLWriter.java193
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTModelFactory.java29
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java340
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/.classpath8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/.project54
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/.settings/org.eclipse.core.resources.prefs3
-rwxr-xr-xplugins/customization/org.eclipse.papyrus.customization.properties/.settings/org.eclipse.jdt.core.prefs291
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/.settings/org.eclipse.jdt.ui.prefs68
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/.settings/org.eclipse.pde.api.tools.prefs98
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/META-INF/MANIFEST.MF21
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/Customization.ctx972
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/custom.querySet46
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/EcoreInstanceOf.xwt17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/GridLayout.xwt17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/GroupAttributes.xwt14
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/Label.xwt14
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultiValueEditor.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleCompositeConstraint.xwt16
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleCompositeWidget.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleCompositeWidgetType.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleConfigProperty.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleConstraintDescriptor.xwt12
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleConstraintType.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleContext.xwt9
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleDataContextElement.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleDataContextPackage.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleDataContextRoot.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleDisplayUnit.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleElement.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleEnvironment.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleLayout.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleLayoutType.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleModelElementFactoryDescriptor.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleProperty.xwt22
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultiplePropertyEditor.xwt15
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultiplePropertyEditorType.xwt22
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleReferenceAttribute.xwt9
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleReferenceProperty.xwt9
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleSection.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleStandardWidget.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleStandardWidgetType.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleTab.xwt10
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleUIComponent.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleUnknownComponent.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleUnknownProperty.xwt21
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleValueAttribute.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleValueProperty.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleView.xwt15
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleWidget.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleWidgetAttribute.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/MultipleWidgetType.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/OCLQuery.xwt15
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/Single IntegerSpinner.xwt14
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/Single ToggleButton.xwt10
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleCompositeConstraint.xwt22
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleCompositeWidget.xwt16
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleCompositeWidgetType.xwt17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleConfigProperty.xwt15
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleConstraintDescriptor.xwt21
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleConstraintType.xwt17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleContext.xwt20
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleDataContextElement.xwt22
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleDataContextPackage.xwt25
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleDataContextRoot.xwt32
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleDisplayUnit.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleElement.xwt8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleEnvironment.xwt7
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleFileSelector.xwt12
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleLayout.xwt17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleLayoutType.xwt17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleModelElementFactoryDescriptor.xwt18
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleProperty.xwt32
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SinglePropertyEditor.xwt30
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SinglePropertyEditorType.xwt31
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleReferenceAttribute.xwt15
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleReferenceProperty.xwt22
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleSection.xwt22
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleStandardWidget.xwt16
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleStandardWidgetType.xwt17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleTab.xwt31
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleUIComponent.xwt12
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleUnknownComponent.xwt16
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleUnknownProperty.xwt30
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleValueAttribute.xwt17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleValueProperty.xwt17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleView.xwt30
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleWidget.xwt9
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleWidgetAttribute.xwt15
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/SingleWidgetType.xwt17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/Stereotype.xwt15
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/ui/UMLInstanceOf.xwt15
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/OSGI-INF/l10n/bundle.properties23
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Query/Contexts.querySet57
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Query/Ui.querySet8
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/PropertiesContext.custom575
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/PropertiesUI.custom330
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/environment.uiCustom24
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/about.html28
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/build.properties15
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/icons/Context.gifbin584 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/icons/Customization.gifbin341 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/icons/DataContext.gifbin606 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/icons/DataContexts.gifbin579 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/icons/MultiView.gifbin562 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/icons/error.gifbin353 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/icons/papyrus.pngbin602 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/icons/preview.pngbin3615 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/icons/refresh.gifbin216 -> 0 bytes
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/plugin.properties12
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/plugin.xml203
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/pom.xml14
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/schema/contextStorage.exsd125
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/Activator.java164
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/ContextEditorActionBarContributor.java344
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/MoDiscoDropAdapter.java66
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/ResourceEditorInput.java85
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/UIEditor.java532
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/ViewFilter.java120
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/CompoundCommandActionDelegate.java66
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/CreateResourceCommand.java113
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/CreateSectionAction.java203
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/CreateSectionWidgetAction.java128
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/MoDiscoCopyAction.java51
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/MoDiscoCutAction.java53
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/MoDiscoDeleteAction.java79
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/MoDiscoPasteAction.java52
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/StrictCompoundCommandActionDelegate.java67
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextAction.java48
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextState.java19
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/TogglePreviewAction.java69
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/TogglePreviewState.java151
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ValidationAction.java30
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/preview/Preview.java522
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/messages/Messages.java112
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/messages/messages.properties54
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElement.java233
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElementFactory.java47
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElement.java143
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElementFactory.java68
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeObservable.java197
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericPropertyModelElementFactory.java69
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/SectionNameObservableValue.java97
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/perspective/CustomizationPerspectiveFactory.java36
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/preferences/CustomizationPreferencePage.java121
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/preferences/CustomizationPreferencesInitializer.java32
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/AbstractContextualContentProvider.java72
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ConstraintDescriptorContentProvider.java79
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextContentProvider.java74
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextLabelProvider.java98
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/DataContextElementContentProvider.java130
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/DependencyContentProvider.java53
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/EnvironmentContentProvider.java59
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/PropertyContentProvider.java115
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/PropertyEditorTypeContentProvider.java114
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/TabContentProvider.java68
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/query/DataContextsImageQuery.java30
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/query/GetVisibleFeaturesQuery.java119
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/query/ShowContextQuery.java35
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/query/ViewsImageQuery.java30
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/storage/actions/AbstractContextStorageActionProvider.java63
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/storage/actions/ContextStorageActionRegistry.java136
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/storage/actions/ContextStorageActionUtil.java100
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/storage/actions/IContextCopyAction.java60
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/storage/actions/IContextDeleteAction.java48
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/storage/actions/IContextEditAction.java48
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/storage/actions/IContextStorageActionProvider.java76
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/storage/actions/workspace/WorkspaceContextCopyAction.java257
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/storage/actions/workspace/WorkspaceContextDeleteAction.java72
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/storage/actions/workspace/WorkspaceContextEditAction.java64
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/storage/actions/workspace/WorkspaceContextStorageActionProvider.java52
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CopyContextAction.java100
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CustomizationDialog.java335
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/EditContextAction.java71
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/OpenCustomization.java66
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/RemoveContextAction.java72
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/util/ActionUtil.java85
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/util/ProjectUtil.java134
294 files changed, 0 insertions, 26978 deletions
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath
deleted file mode 100644
index afb9bb46ef3..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src-gen"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.project b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.project
deleted file mode 100644
index 6d6510228aa..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.project
+++ /dev/null
@@ -1,62 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.customization.properties.generation</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.m2m.qvt.oml.project.QVTOBuilder</name>
- <arguments>
- <dictionary>
- <key>src_container</key>
- <value>transforms</value>
- </dictionary>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.oomph.version.VersionBuilder</name>
- <arguments>
- <dictionary>
- <key>check.maven.pom</key>
- <value>true</value>
- </dictionary>
- <dictionary>
- <key>ignore.lower.bound.dependency.ranges</key>
- <value>true</value>
- </dictionary>
- <dictionary>
- <key>release.path</key>
- <value>/org.eclipse.papyrus.releng.main.release/release.xml</value>
- </dictionary>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.m2m.qvt.oml.project.QVTONature</nature>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.oomph.version.VersionNature</nature>
- <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.core.resources.prefs b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.core.resources.prefs
deleted file mode 100644
index 5c5769cb2b7..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.core.resources.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Fri Nov 04 13:30:20 CET 2011
-eclipse.preferences.version=1
-encoding//src/org/eclipse/papyrus/customization/properties/generation/messages/messages.properties=ISO-8859-1
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.jdt.core.prefs b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 4759947300a..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,291 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_after_package=1
-org.eclipse.jdt.core.formatter.blank_lines_before_field=0
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
-org.eclipse.jdt.core.formatter.comment.format_block_comments=true
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
-org.eclipse.jdt.core.formatter.comment.format_line_comments=true
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.comment.line_length=260
-org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
-org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
-org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
-org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
-org.eclipse.jdt.core.formatter.indentation.size=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.join_lines_in_comments=false
-org.eclipse.jdt.core.formatter.join_wrapped_lines=false
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.lineSplit=260
-org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
-org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=5
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.tabulation.char=tab
-org.eclipse.jdt.core.formatter.tabulation.size=4
-org.eclipse.jdt.core.formatter.use_on_off_tags=false
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
-org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
-org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.jdt.ui.prefs b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 954281dbc31..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,68 +0,0 @@
-cleanup.add_default_serial_version_id=true
-cleanup.add_generated_serial_version_id=false
-cleanup.add_missing_annotations=true
-cleanup.add_missing_deprecated_annotations=true
-cleanup.add_missing_methods=false
-cleanup.add_missing_nls_tags=false
-cleanup.add_missing_override_annotations=true
-cleanup.add_missing_override_annotations_interface_methods=true
-cleanup.add_serial_version_id=false
-cleanup.always_use_blocks=true
-cleanup.always_use_parentheses_in_expressions=false
-cleanup.always_use_this_for_non_static_field_access=false
-cleanup.always_use_this_for_non_static_method_access=false
-cleanup.convert_functional_interfaces=false
-cleanup.convert_to_enhanced_for_loop=false
-cleanup.correct_indentation=false
-cleanup.format_source_code=false
-cleanup.format_source_code_changes_only=false
-cleanup.insert_inferred_type_arguments=false
-cleanup.make_local_variable_final=true
-cleanup.make_parameters_final=false
-cleanup.make_private_fields_final=true
-cleanup.make_type_abstract_if_missing_method=false
-cleanup.make_variable_declarations_final=false
-cleanup.never_use_blocks=false
-cleanup.never_use_parentheses_in_expressions=true
-cleanup.organize_imports=false
-cleanup.qualify_static_field_accesses_with_declaring_class=false
-cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
-cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
-cleanup.qualify_static_member_accesses_with_declaring_class=true
-cleanup.qualify_static_method_accesses_with_declaring_class=false
-cleanup.remove_private_constructors=true
-cleanup.remove_redundant_type_arguments=true
-cleanup.remove_trailing_whitespaces=true
-cleanup.remove_trailing_whitespaces_all=true
-cleanup.remove_trailing_whitespaces_ignore_empty=false
-cleanup.remove_unnecessary_casts=true
-cleanup.remove_unnecessary_nls_tags=true
-cleanup.remove_unused_imports=true
-cleanup.remove_unused_local_variables=false
-cleanup.remove_unused_private_fields=true
-cleanup.remove_unused_private_members=false
-cleanup.remove_unused_private_methods=true
-cleanup.remove_unused_private_types=true
-cleanup.sort_members=false
-cleanup.sort_members_all=false
-cleanup.use_anonymous_class_creation=false
-cleanup.use_blocks=true
-cleanup.use_blocks_only_for_return_and_throw=false
-cleanup.use_lambda=true
-cleanup.use_parentheses_in_expressions=false
-cleanup.use_this_for_non_static_field_access=false
-cleanup.use_this_for_non_static_field_access_only_if_necessary=true
-cleanup.use_this_for_non_static_method_access=false
-cleanup.use_this_for_non_static_method_access_only_if_necessary=true
-cleanup.use_type_arguments=false
-cleanup_profile=_Papyrus
-cleanup_settings_version=2
-eclipse.preferences.version=1
-formatter_profile=_Papyrus
-formatter_settings_version=12
-org.eclipse.jdt.ui.ignorelowercasenames=true
-org.eclipse.jdt.ui.importorder=java;javax;org;com;
-org.eclipse.jdt.ui.javadoc=true
-org.eclipse.jdt.ui.ondemandthreshold=99
-org.eclipse.jdt.ui.staticondemandthreshold=99
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * Constructor.\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*****************************************************************************\n * Copyright (c) ${year} CEA LIST and others.\n * \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n *\n * Contributors\:\n * CEA LIST - Initial API and implementation\n * \n *****************************************************************************/\n</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/**\n * ${see_to_overridden}\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${see_to_target}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.ltk.core.refactoring.prefs b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.ltk.core.refactoring.prefs
deleted file mode 100644
index 97424a1b74b..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.ltk.core.refactoring.prefs
+++ /dev/null
@@ -1,3 +0,0 @@
-#Mon Jan 10 15:34:01 CET 2011
-eclipse.preferences.version=1
-org.eclipse.ltk.core.refactoring.enable.project.refactoring.history=false
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap
deleted file mode 100644
index eefc2508728..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap
+++ /dev/null
@@ -1,2 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<uriMap:MappingContainer xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:uriMap="http:///www.eclipse.org/m2m/qvt/oml/MModelUriMap/1.0.0"/>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.pde.api.tools.prefs b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.pde.api.tools.prefs
deleted file mode 100644
index 23fb95e120f..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.settings/org.eclipse.pde.api.tools.prefs
+++ /dev/null
@@ -1,98 +0,0 @@
-ANNOTATION_ELEMENT_TYPE_ADDED_METHOD_WITHOUT_DEFAULT_VALUE=Error
-ANNOTATION_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
-ANNOTATION_ELEMENT_TYPE_REMOVED_FIELD=Error
-ANNOTATION_ELEMENT_TYPE_REMOVED_METHOD=Error
-ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
-API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error
-API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Error
-API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Error
-API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error
-API_USE_SCAN_FIELD_SEVERITY=Error
-API_USE_SCAN_METHOD_SEVERITY=Error
-API_USE_SCAN_TYPE_SEVERITY=Error
-CLASS_ELEMENT_TYPE_ADDED_METHOD=Error
-CLASS_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
-CLASS_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
-CLASS_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
-CLASS_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
-CLASS_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error
-CLASS_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
-CLASS_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
-CLASS_ELEMENT_TYPE_REMOVED_CONSTRUCTOR=Error
-CLASS_ELEMENT_TYPE_REMOVED_FIELD=Error
-CLASS_ELEMENT_TYPE_REMOVED_METHOD=Error
-CLASS_ELEMENT_TYPE_REMOVED_SUPERCLASS=Error
-CLASS_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
-CLASS_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
-CONSTRUCTOR_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
-CONSTRUCTOR_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
-CONSTRUCTOR_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error
-CONSTRUCTOR_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
-ENUM_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
-ENUM_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
-ENUM_ELEMENT_TYPE_REMOVED_ENUM_CONSTANT=Error
-ENUM_ELEMENT_TYPE_REMOVED_FIELD=Error
-ENUM_ELEMENT_TYPE_REMOVED_METHOD=Error
-ENUM_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
-FIELD_ELEMENT_TYPE_ADDED_VALUE=Error
-FIELD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
-FIELD_ELEMENT_TYPE_CHANGED_FINAL_TO_NON_FINAL_STATIC_CONSTANT=Error
-FIELD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
-FIELD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error
-FIELD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error
-FIELD_ELEMENT_TYPE_CHANGED_TYPE=Error
-FIELD_ELEMENT_TYPE_CHANGED_VALUE=Error
-FIELD_ELEMENT_TYPE_REMOVED_TYPE_ARGUMENT=Error
-FIELD_ELEMENT_TYPE_REMOVED_VALUE=Error
-ILLEGAL_EXTEND=Warning
-ILLEGAL_IMPLEMENT=Warning
-ILLEGAL_INSTANTIATE=Warning
-ILLEGAL_OVERRIDE=Warning
-ILLEGAL_REFERENCE=Warning
-INTERFACE_ELEMENT_TYPE_ADDED_FIELD=Ignore
-INTERFACE_ELEMENT_TYPE_ADDED_METHOD=Error
-INTERFACE_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
-INTERFACE_ELEMENT_TYPE_ADDED_SUPER_INTERFACE_WITH_METHODS=Error
-INTERFACE_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
-INTERFACE_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
-INTERFACE_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
-INTERFACE_ELEMENT_TYPE_REMOVED_FIELD=Error
-INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error
-INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
-INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
-INVALID_ANNOTATION=Ignore
-INVALID_JAVADOC_TAG=Ignore
-INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Ignore
-LEAK_EXTEND=Warning
-LEAK_FIELD_DECL=Warning
-LEAK_IMPLEMENT=Warning
-LEAK_METHOD_PARAM=Warning
-LEAK_METHOD_RETURN_TYPE=Warning
-METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
-METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
-METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
-METHOD_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error
-METHOD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
-METHOD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error
-METHOD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error
-METHOD_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error
-METHOD_ELEMENT_TYPE_REMOVED_ANNOTATION_DEFAULT_VALUE=Error
-METHOD_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
-MISSING_EE_DESCRIPTIONS=Error
-TYPE_PARAMETER_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error
-TYPE_PARAMETER_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error
-TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_CLASS_BOUND=Error
-TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error
-TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error
-TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error
-UNUSED_PROBLEM_FILTERS=Warning
-automatically_removed_unused_problem_filters=Enabled
-eclipse.preferences.version=1
-incompatible_api_component_version=Error
-incompatible_api_component_version_include_major_without_breaking_change=Disabled
-incompatible_api_component_version_include_minor_without_api_change=Disabled
-invalid_since_tag_version=Error
-malformed_since_tag=Error
-missing_since_tag=Warning
-report_api_breakage_when_major_version_incremented=Disabled
-report_resolution_errors_api_component=Warning
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/META-INF/MANIFEST.MF b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/META-INF/MANIFEST.MF
deleted file mode 100644
index 4ef8e8e314a..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,26 +0,0 @@
-Manifest-Version: 1.0
-Export-Package: org.eclipse.papyrus.customization.properties.generation,
- org.eclipse.papyrus.customization.properties.generation.generators,
- org.eclipse.papyrus.customization.properties.generation.layout,
- org.eclipse.papyrus.customization.properties.generation.wizard,
- org.eclipse.papyrus.customization.properties.generation.wizard.widget
-Require-Bundle: org.eclipse.m2m.qvt.oml;bundle-version="[3.6.0,4.0.0)";visibility:=reexport,
- org.eclipse.papyrus.infra.properties.edit;bundle-version="[1.2.0,2.0.0)",
- org.eclipse.uml2.uml;bundle-version="[5.2.0,6.0.0)";visibility:=reexport,
- org.eclipse.papyrus.views.properties;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.customization.properties.model.xwt;bundle-version="[1.2.0,2.0.0)",
- org.eclipse.m2m.qvt.oml.project;bundle-version="[3.6.0,4.0.0)",
- org.eclipse.papyrus.customization.properties;bundle-version="[2.0.0,3.0.0)",
- org.eclipse.jface.databinding;bundle-version="[1.8.0,2.0.0)"
-Bundle-Vendor: %Bundle-Vendor
-Bundle-ActivationPolicy: lazy
-Bundle-ClassPath: .,
- bin
-Bundle-Version: 2.0.0.qualifier
-Eclipse-BuddyPolicy: dependent
-Bundle-Name: %Bundle-Name
-Bundle-ManifestVersion: 2
-Bundle-Activator: org.eclipse.papyrus.customization.properties.generation.Activator
-Bundle-Description: %pluginDescription
-Bundle-SymbolicName: org.eclipse.papyrus.customization.properties.generation;singleton:=true
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/OSGI-INF/l10n/bundle.properties b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/OSGI-INF/l10n/bundle.properties
deleted file mode 100644
index 6c2bdc083c1..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/OSGI-INF/l10n/bundle.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#Properties file for org.eclipse.papyrus.customization.properties.generation
-Bundle-Vendor = Eclipse Modeling Project
-Bundle-Name = Papyrus properties generation
-generation.wizard.name = Property view configuration
-extension-point.generator = Property view Generator
-extension-point.layoutgenerator = Property View layout generator \ No newline at end of file
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/about.html b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/about.html
deleted file mode 100644
index 82d49bf5f81..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2007</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/build.properties b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/build.properties
deleted file mode 100644
index b98a78a64b7..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/build.properties
+++ /dev/null
@@ -1,7 +0,0 @@
-#
-#Mon Sep 12 09:30:04 CEST 2011
-bin.includes=.,META-INF/,transforms/,plugin.xml,about.html,icons/,model/,schema/,plugin.properties,OSGI-INF/
-output..=bin/
-src.includes = about.html
-source..=src/,src-gen/
-bin..=bin/
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/Context.gif b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/Context.gif
deleted file mode 100644
index 9b09a7e4986..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/Context.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/default_false.gif b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/default_false.gif
deleted file mode 100644
index 2877ea2c81e..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/default_false.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/default_true.gif b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/default_true.gif
deleted file mode 100644
index 8202d32d009..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/default_true.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/false.gif b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/false.gif
deleted file mode 100644
index 2877ea2c81e..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/false.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/new_customization.png b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/new_customization.png
deleted file mode 100644
index b1f55327fe4..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/new_customization.png
+++ /dev/null
Binary files differ
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/true.gif b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/true.gif
deleted file mode 100644
index 8202d32d009..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/true.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/wizban-custom.png b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/wizban-custom.png
deleted file mode 100644
index 7de87d3526f..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/icons/wizban-custom.png
+++ /dev/null
Binary files differ
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.ecore b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.ecore
deleted file mode 100644
index 1c396cdf130..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.ecore
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage 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" name="fieldselection"
- nsURI="http://www.eclipse.org/papyrus/properties/fieldSelection" nsPrefix="fs">
- <eClassifiers xsi:type="ecore:EClass" name="FieldSelection">
- <eStructuralFeatures xsi:type="ecore:EReference" name="fields" upperBound="-1"
- eType="#//PropertyDefinition" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="contextElements" upperBound="-1"
- eType="#//ContextElement" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="PropertyDefinition">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="valueSingle" lowerBound="1"
- eType="#//Value" defaultValueLiteral="DEFAULT"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="valueMultiple" lowerBound="1"
- eType="#//Value" defaultValueLiteral="DEFAULT"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ContextElement">
- <eStructuralFeatures xsi:type="ecore:EReference" name="elements" upperBound="-1"
- eType="#//ContextElement" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="properties" upperBound="-1"
- eType="#//PropertyDefinition" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EDataType" name="Value" instanceClassName="org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State"/>
-</ecore:EPackage>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.genmodel b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.genmodel
deleted file mode 100644
index 29fde5c4db8..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/FieldSelection.genmodel
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.papyrus.customization.properties.generation/src-gen"
- editDirectory="/org.eclipse.papyrus.customization.properties.generation.edit/src-gen" editorDirectory="/org.eclipse.papyrus.customization.properties.generation.editor/src-gen"
- modelPluginID="org.eclipse.papyrus.customization.properties.generation" modelName="FieldSelection"
- testsDirectory="/org.eclipse.papyrus.customization.properties.generation.tests/src-gen" importerID="org.eclipse.emf.importer.ecore"
- complianceLevel="5.0" copyrightFields="false">
- <foreignModel>FieldSelection.ecore</foreignModel>
- <genPackages prefix="FieldSelection" basePackage="org.eclipse.papyrus.customization.properties.generation"
- disposableProviderFactory="true" ecorePackage="FieldSelection.ecore#/">
- <genDataTypes ecoreDataType="FieldSelection.ecore#//Value"/>
- <genClasses ecoreClass="FieldSelection.ecore#//FieldSelection">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FieldSelection.ecore#//FieldSelection/fields"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FieldSelection.ecore#//FieldSelection/contextElements"/>
- </genClasses>
- <genClasses ecoreClass="FieldSelection.ecore#//PropertyDefinition">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FieldSelection.ecore#//PropertyDefinition/name"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FieldSelection.ecore#//PropertyDefinition/valueSingle"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FieldSelection.ecore#//PropertyDefinition/valueMultiple"/>
- </genClasses>
- <genClasses ecoreClass="FieldSelection.ecore#//ContextElement">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FieldSelection.ecore#//ContextElement/elements"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference FieldSelection.ecore#//ContextElement/properties"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute FieldSelection.ecore#//ContextElement/name"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/LayoutEuristic.ecore b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/LayoutEuristic.ecore
deleted file mode 100644
index e693c82623c..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/model/LayoutEuristic.ecore
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage 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" name="LayoutEuristic"
- nsURI="http://www.eclipse.org/papyrus/properties/layoutEuristic" nsPrefix="layout">
- <eClassifiers xsi:type="ecore:EClass" name="Config">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="defaultTextEditor" eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.infra.properties/Model/Properties.ecore#//environment/PropertyEditorType"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="defaultBooleanEditor" eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.infra.properties/Model/Properties.ecore#//environment/PropertyEditorType"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="defaultIntegerEditor" eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.infra.properties/Model/Properties.ecore#//environment/PropertyEditorType"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="defaultEnumEditor" eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.infra.properties/Model/Properties.ecore#//environment/PropertyEditorType"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="defaultReferenceEditor"
- eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.infra.properties/Model/Properties.ecore#//environment/PropertyEditorType"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="defaultSectionLayout" eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.infra.properties/Model/Properties.ecore#//environment/LayoutType"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="defaultModelElementFactory"
- eType="ecore:EClass platform:/plugin/org.eclipse.papyrus.infra.properties/Model/Properties.ecore#//environment/ModelElementFactoryDescriptor"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="layoutKind" eType="#//LayoutKind"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EEnum" name="LayoutKind">
- <eLiterals/>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/plugin.properties b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/plugin.properties
deleted file mode 100644
index a98692aeeb6..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/plugin.properties
+++ /dev/null
@@ -1,13 +0,0 @@
-#################################################################################
-# Copyright (c) 2015 CEA LIST.
-# 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
-#
-##################################################################################
-
-pluginName = Papyrus property view generation
-providerName = Eclipse Modeling Project
-
-pluginDescription=This plug-in contains a wizard for generating a property view configuration: - From an Ecore Metamodel - From a UML Profile Additionnal generators can be contributed through an extension point. \ No newline at end of file
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/plugin.xml b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/plugin.xml
deleted file mode 100644
index 79fa9226086..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/plugin.xml
+++ /dev/null
@@ -1,56 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension-point id="org.eclipse.papyrus.customization.properties.generation.generator" name="%extension-point.generator" schema="schema/org.eclipse.papyrus.customization.properties.generation.generator.exsd"/>
- <extension-point id="org.eclipse.papyrus.customization.properties.generation.layout" name="%extension-point.layoutgenerator" schema="schema/org.eclipse.papyrus.customization.properties.generation.layout.exsd"/>
- <extension
- point="org.eclipse.ui.newWizards">
- <wizard
- category="org.eclipse.papyrus.wizards.category"
- class="org.eclipse.papyrus.customization.properties.generation.wizard.CreateContextWizard"
- icon="icons/new_customization.png"
- id="org.eclipse.papyrus.customization.properties.generation.wizard"
- name="%generation.wizard.name">
- </wizard>
- </extension>
- <extension
- point="org.eclipse.emf.ecore.generated_package">
- <package
- class="org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage"
- genModel="model/FieldSelection.genmodel"
- uri="http://www.eclipse.org/papyrus/properties/fieldSelection">
- </package>
- </extension>
- <extension
- point="org.eclipse.papyrus.customization.properties.generation.generator">
- <generator
- generator="org.eclipse.papyrus.customization.properties.generation.generators.EcoreGenerator">
- </generator>
- <generator
- generator="org.eclipse.papyrus.customization.properties.generation.generators.ProfileGenerator">
- </generator>
- </extension>
- <extension
- point="org.eclipse.papyrus.customization.properties.generation.layout">
- <generator
- generator="org.eclipse.papyrus.customization.properties.generation.layout.StandardLayoutGenerator">
- </generator>
- <generator
- generator="org.eclipse.papyrus.customization.properties.generation.layout.ProfileWithDatatypes">
- </generator>
- <generator
- generator="org.eclipse.papyrus.customization.properties.generation.layout.GeneratorProfileDataType">
- </generator>
- </extension>
- <extension point="org.eclipse.m2m.qvt.oml.runtime.qvtTransformation">
- <library
- file="transforms/ecore2datacontext.qvto"
- id="ecore2datacontext">
- </library>
- <library
- file="transforms/profile2datacontext.qvto"
- id="profile2datacontext">
- </library>
- </extension>
-
-</plugin>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/pom.xml b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/pom.xml
deleted file mode 100644
index 44ddafaaea8..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/pom.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.eclipse.papyrus</groupId>
- <artifactId>org.eclipse.papyrus.toolsmiths</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <relativePath>../../toolsmiths/pom.xml</relativePath>
- </parent>
- <artifactId>org.eclipse.papyrus.customization.properties.generation</artifactId>
- <version>2.0.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-</project> \ No newline at end of file
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/schema/org.eclipse.papyrus.customization.properties.generation.generator.exsd b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/schema/org.eclipse.papyrus.customization.properties.generation.generator.exsd
deleted file mode 100644
index 635073b5c3e..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/schema/org.eclipse.papyrus.customization.properties.generation.generator.exsd
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.papyrus.customization.properties.generation" xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
- <appinfo>
- <meta.schema plugin="org.eclipse.papyrus.customization.properties.generation" id="org.eclipse.papyrus.customization.properties.generation.generator" name="Property view Generator"/>
- </appinfo>
- <documentation>
- [Enter description of this extension point.]
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appinfo>
- <meta.element />
- </appinfo>
- </annotation>
- <complexType>
- <sequence>
- <element ref="generator" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appinfo>
- <meta.attribute translatable="true"/>
- </appinfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="generator">
- <complexType>
- <attribute name="generator" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- <appinfo>
- <meta.attribute kind="java" basedOn=":org.eclipse.papyrus.customization.properties.generation.generators.Generator"/>
- </appinfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appinfo>
- <meta.section type="since"/>
- </appinfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="examples"/>
- </appinfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="apiinfo"/>
- </appinfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="implementation"/>
- </appinfo>
- <documentation>
- [Enter information about supplied implementation of this extension point.]
- </documentation>
- </annotation>
-
-
-</schema>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/schema/org.eclipse.papyrus.customization.properties.generation.layout.exsd b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/schema/org.eclipse.papyrus.customization.properties.generation.layout.exsd
deleted file mode 100644
index 042d3f9e9a9..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/schema/org.eclipse.papyrus.customization.properties.generation.layout.exsd
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.papyrus.customization.properties.generation" xmlns="http://www.w3.org/2001/XMLSchema">
-<annotation>
- <appinfo>
- <meta.schema plugin="org.eclipse.papyrus.customization.properties.generation" id="org.eclipse.papyrus.customization.properties.generation.layout" name="Property View layout generator"/>
- </appinfo>
- <documentation>
- [Enter description of this extension point.]
- </documentation>
- </annotation>
-
- <element name="extension">
- <annotation>
- <appinfo>
- <meta.element />
- </appinfo>
- </annotation>
- <complexType>
- <sequence>
- <element ref="generator" minOccurs="1" maxOccurs="unbounded"/>
- </sequence>
- <attribute name="point" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="id" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- </annotation>
- </attribute>
- <attribute name="name" type="string">
- <annotation>
- <documentation>
-
- </documentation>
- <appinfo>
- <meta.attribute translatable="true"/>
- </appinfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <element name="generator">
- <complexType>
- <attribute name="generator" type="string" use="required">
- <annotation>
- <documentation>
-
- </documentation>
- <appinfo>
- <meta.attribute kind="java" basedOn=":org.eclipse.papyrus.customization.properties.generation.layout.LayoutGenerator"/>
- </appinfo>
- </annotation>
- </attribute>
- </complexType>
- </element>
-
- <annotation>
- <appinfo>
- <meta.section type="since"/>
- </appinfo>
- <documentation>
- [Enter the first release in which this extension point appears.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="examples"/>
- </appinfo>
- <documentation>
- [Enter extension point usage example here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="apiinfo"/>
- </appinfo>
- <documentation>
- [Enter API information here.]
- </documentation>
- </annotation>
-
- <annotation>
- <appinfo>
- <meta.section type="implementation"/>
- </appinfo>
- <documentation>
- [Enter information about supplied implementation of this extension point.]
- </documentation>
- </annotation>
-
-
-</schema>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java
deleted file mode 100644
index aa985272179..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Context Element</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements <em>Elements</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties <em>Properties</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getContextElement()
- * @model
- * @generated
- */
-public interface ContextElement extends EObject {
-
- /**
- * Returns the value of the '<em><b>Elements</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Elements</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Elements</em>' containment reference list.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getContextElement_Elements()
- * @model containment="true"
- * @generated
- */
- EList<ContextElement> getElements();
-
- /**
- * Returns the value of the '<em><b>Properties</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Properties</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Properties</em>' containment reference list.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getContextElement_Properties()
- * @model containment="true"
- * @generated
- */
- EList<PropertyDefinition> getProperties();
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getContextElement_Name()
- * @model required="true"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
-} // ContextElement
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java
deleted file mode 100644
index 16addfaf4e3..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Field Selection</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields <em>Fields</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements <em>Context Elements</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getFieldSelection()
- * @model
- * @generated
- */
-public interface FieldSelection extends EObject {
-
- /**
- * Returns the value of the '<em><b>Fields</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Fields</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Fields</em>' containment reference list.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getFieldSelection_Fields()
- * @model containment="true"
- * @generated
- */
- EList<PropertyDefinition> getFields();
-
- /**
- * Returns the value of the '<em><b>Context Elements</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Context Elements</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Context Elements</em>' containment reference list.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getFieldSelection_ContextElements()
- * @model containment="true"
- * @generated
- */
- EList<ContextElement> getContextElements();
-
-} // FieldSelection
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java
deleted file mode 100644
index 5632454f329..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage
- * @generated
- */
-public interface FieldSelectionFactory extends EFactory {
-
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- FieldSelectionFactory eINSTANCE = org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Field Selection</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Field Selection</em>'.
- * @generated
- */
- FieldSelection createFieldSelection();
-
- /**
- * Returns a new object of class '<em>Property Definition</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Property Definition</em>'.
- * @generated
- */
- PropertyDefinition createPropertyDefinition();
-
- /**
- * Returns a new object of class '<em>Context Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Context Element</em>'.
- * @generated
- */
- ContextElement createContextElement();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the package supported by this factory.
- * @generated
- */
- FieldSelectionPackage getFieldSelectionPackage();
-
-} // FieldSelectionFactory
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java
deleted file mode 100644
index 287e0c608ee..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java
+++ /dev/null
@@ -1,508 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionFactory
- * @model kind="package"
- * @generated
- */
-public interface FieldSelectionPackage extends EPackage {
-
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "fieldselection";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/properties/fieldSelection";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "fs";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- FieldSelectionPackage eINSTANCE = org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl <em>Field Selection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getFieldSelection()
- * @generated
- */
- int FIELD_SELECTION = 0;
-
- /**
- * The feature id for the '<em><b>Fields</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FIELD_SELECTION__FIELDS = 0;
-
- /**
- * The feature id for the '<em><b>Context Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FIELD_SELECTION__CONTEXT_ELEMENTS = 1;
-
- /**
- * The number of structural features of the '<em>Field Selection</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int FIELD_SELECTION_FEATURE_COUNT = 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl <em>Property Definition</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getPropertyDefinition()
- * @generated
- */
- int PROPERTY_DEFINITION = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_DEFINITION__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Value Single</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_DEFINITION__VALUE_SINGLE = 1;
-
- /**
- * The feature id for the '<em><b>Value Multiple</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_DEFINITION__VALUE_MULTIPLE = 2;
-
- /**
- * The number of structural features of the '<em>Property Definition</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROPERTY_DEFINITION_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl <em>Context Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getContextElement()
- * @generated
- */
- int CONTEXT_ELEMENT = 2;
-
- /**
- * The feature id for the '<em><b>Elements</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONTEXT_ELEMENT__ELEMENTS = 0;
-
- /**
- * The feature id for the '<em><b>Properties</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONTEXT_ELEMENT__PROPERTIES = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONTEXT_ELEMENT__NAME = 2;
-
- /**
- * The number of structural features of the '<em>Context Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CONTEXT_ELEMENT_FEATURE_COUNT = 3;
-
- /**
- * The meta object id for the '<em>Value</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getValue()
- * @generated
- */
- int VALUE = 3;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection <em>Field Selection</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Field Selection</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection
- * @generated
- */
- EClass getFieldSelection();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields <em>Fields</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Fields</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields()
- * @see #getFieldSelection()
- * @generated
- */
- EReference getFieldSelection_Fields();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements <em>Context Elements</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Context Elements</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getContextElements()
- * @see #getFieldSelection()
- * @generated
- */
- EReference getFieldSelection_ContextElements();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition <em>Property Definition</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Property Definition</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition
- * @generated
- */
- EClass getPropertyDefinition();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName()
- * @see #getPropertyDefinition()
- * @generated
- */
- EAttribute getPropertyDefinition_Name();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Value Single</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle()
- * @see #getPropertyDefinition()
- * @generated
- */
- EAttribute getPropertyDefinition_ValueSingle();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Value Multiple</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple()
- * @see #getPropertyDefinition()
- * @generated
- */
- EAttribute getPropertyDefinition_ValueMultiple();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement <em>Context Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Context Element</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement
- * @generated
- */
- EClass getContextElement();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements <em>Elements</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Elements</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements()
- * @see #getContextElement()
- * @generated
- */
- EReference getContextElement_Elements();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties <em>Properties</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Properties</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getProperties()
- * @see #getContextElement()
- * @generated
- */
- EReference getContextElement_Properties();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName()
- * @see #getContextElement()
- * @generated
- */
- EAttribute getContextElement_Name();
-
- /**
- * Returns the meta object for data type '{@link org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for data type '<em>Value</em>'.
- * @see org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State
- * @model instanceClass="org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State"
- * @generated
- */
- EDataType getValue();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the factory that creates the instances of the model.
- * @generated
- */
- FieldSelectionFactory getFieldSelectionFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @generated
- */
- interface Literals {
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl <em>Field Selection</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getFieldSelection()
- * @generated
- */
- EClass FIELD_SELECTION = eINSTANCE.getFieldSelection();
-
- /**
- * The meta object literal for the '<em><b>Fields</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference FIELD_SELECTION__FIELDS = eINSTANCE.getFieldSelection_Fields();
-
- /**
- * The meta object literal for the '<em><b>Context Elements</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference FIELD_SELECTION__CONTEXT_ELEMENTS = eINSTANCE.getFieldSelection_ContextElements();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl <em>Property Definition</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getPropertyDefinition()
- * @generated
- */
- EClass PROPERTY_DEFINITION = eINSTANCE.getPropertyDefinition();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute PROPERTY_DEFINITION__NAME = eINSTANCE.getPropertyDefinition_Name();
-
- /**
- * The meta object literal for the '<em><b>Value Single</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute PROPERTY_DEFINITION__VALUE_SINGLE = eINSTANCE.getPropertyDefinition_ValueSingle();
-
- /**
- * The meta object literal for the '<em><b>Value Multiple</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute PROPERTY_DEFINITION__VALUE_MULTIPLE = eINSTANCE.getPropertyDefinition_ValueMultiple();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl <em>Context Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getContextElement()
- * @generated
- */
- EClass CONTEXT_ELEMENT = eINSTANCE.getContextElement();
-
- /**
- * The meta object literal for the '<em><b>Elements</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference CONTEXT_ELEMENT__ELEMENTS = eINSTANCE.getContextElement_Elements();
-
- /**
- * The meta object literal for the '<em><b>Properties</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference CONTEXT_ELEMENT__PROPERTIES = eINSTANCE.getContextElement_Properties();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute CONTEXT_ELEMENT__NAME = eINSTANCE.getContextElement_Name();
-
- /**
- * The meta object literal for the '<em>Value</em>' data type.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionPackageImpl#getValue()
- * @generated
- */
- EDataType VALUE = eINSTANCE.getValue();
-
- }
-
-} // FieldSelectionPackage
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java
deleted file mode 100644
index 694011b2fa3..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Property Definition</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition()
- * @model
- * @generated
- */
-public interface PropertyDefinition extends EObject {
-
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_Name()
- * @model required="true"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Value Single</b></em>' attribute.
- * The default value is <code>"DEFAULT"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value Single</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Value Single</em>' attribute.
- * @see #setValueSingle(State)
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_ValueSingle()
- * @model default="DEFAULT" dataType="org.eclipse.papyrus.customization.properties.generation.fieldselection.Value" required="true"
- * @generated
- */
- State getValueSingle();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Value Single</em>' attribute.
- * @see #getValueSingle()
- * @generated
- */
- void setValueSingle(State value);
-
- /**
- * Returns the value of the '<em><b>Value Multiple</b></em>' attribute.
- * The default value is <code>"DEFAULT"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value Multiple</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Value Multiple</em>' attribute.
- * @see #setValueMultiple(State)
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#getPropertyDefinition_ValueMultiple()
- * @model default="DEFAULT" dataType="org.eclipse.papyrus.customization.properties.generation.fieldselection.Value" required="true"
- * @generated
- */
- State getValueMultiple();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple <em>Value Multiple</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Value Multiple</em>' attribute.
- * @see #getValueMultiple()
- * @generated
- */
- void setValueMultiple(State value);
-
-} // PropertyDefinition
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java
deleted file mode 100644
index 8080c9c7f8f..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java
+++ /dev/null
@@ -1,277 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Context Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getElements <em>Elements</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getProperties <em>Properties</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.ContextElementImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ContextElementImpl extends EObjectImpl implements ContextElement {
-
- /**
- * The cached value of the '{@link #getElements() <em>Elements</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getElements()
- * @generated
- * @ordered
- */
- protected EList<ContextElement> elements;
-
- /**
- * The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getProperties()
- * @generated
- * @ordered
- */
- protected EList<PropertyDefinition> properties;
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ContextElementImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return FieldSelectionPackage.Literals.CONTEXT_ELEMENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<ContextElement> getElements() {
- if (elements == null) {
- elements = new EObjectContainmentEList<ContextElement>(ContextElement.class, this, FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS);
- }
- return elements;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<PropertyDefinition> getProperties() {
- if (properties == null) {
- properties = new EObjectContainmentEList<PropertyDefinition>(PropertyDefinition.class, this, FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES);
- }
- return properties;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.CONTEXT_ELEMENT__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- return ((InternalEList<?>) getElements()).basicRemove(otherEnd, msgs);
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- return ((InternalEList<?>) getProperties()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- return getElements();
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- return getProperties();
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- return getName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- getElements().clear();
- getElements().addAll((Collection<? extends ContextElement>) newValue);
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- getProperties().clear();
- getProperties().addAll((Collection<? extends PropertyDefinition>) newValue);
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- setName((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- getElements().clear();
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- getProperties().clear();
- return;
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS:
- return elements != null && !elements.isEmpty();
- case FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES:
- return properties != null && !properties.isEmpty();
- case FieldSelectionPackage.CONTEXT_ELEMENT__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(')');
- return result.toString();
- }
-
-} // ContextElementImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java
deleted file mode 100644
index f7c62389c69..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.impl.EFactoryImpl;
-import org.eclipse.emf.ecore.plugin.EcorePlugin;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionFactory;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition;
-import org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Factory</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSelectionFactory {
-
- /**
- * Creates the default factory implementation.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public static FieldSelectionFactory init() {
- try {
- FieldSelectionFactory theFieldSelectionFactory = (FieldSelectionFactory) EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/fieldSelection");
- if (theFieldSelectionFactory != null) {
- return theFieldSelectionFactory;
- }
- } catch (Exception exception) {
- EcorePlugin.INSTANCE.log(exception);
- }
- return new FieldSelectionFactoryImpl();
- }
-
- /**
- * Creates an instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FieldSelectionFactoryImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EObject create(EClass eClass) {
- switch (eClass.getClassifierID()) {
- case FieldSelectionPackage.FIELD_SELECTION:
- return createFieldSelection();
- case FieldSelectionPackage.PROPERTY_DEFINITION:
- return createPropertyDefinition();
- case FieldSelectionPackage.CONTEXT_ELEMENT:
- return createContextElement();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object createFromString(EDataType eDataType, String initialValue) {
- switch (eDataType.getClassifierID()) {
- case FieldSelectionPackage.VALUE:
- return createValueFromString(eDataType, initialValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String convertToString(EDataType eDataType, Object instanceValue) {
- switch (eDataType.getClassifierID()) {
- case FieldSelectionPackage.VALUE:
- return convertValueToString(eDataType, instanceValue);
- default:
- throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FieldSelection createFieldSelection() {
- FieldSelectionImpl fieldSelection = new FieldSelectionImpl();
- return fieldSelection;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public PropertyDefinition createPropertyDefinition() {
- PropertyDefinitionImpl propertyDefinition = new PropertyDefinitionImpl();
- return propertyDefinition;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public ContextElement createContextElement() {
- ContextElementImpl contextElement = new ContextElementImpl();
- return contextElement;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public State createValueFromString(EDataType eDataType, String initialValue) {
- return (State) super.createFromString(eDataType, initialValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String convertValueToString(EDataType eDataType, Object instanceValue) {
- return super.convertToString(eDataType, instanceValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FieldSelectionPackage getFieldSelectionPackage() {
- return (FieldSelectionPackage) getEPackage();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @deprecated
- * @generated
- */
- @Deprecated
- public static FieldSelectionPackage getPackage() {
- return FieldSelectionPackage.eINSTANCE;
- }
-
-} // FieldSelectionFactoryImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java
deleted file mode 100644
index 949e6317da9..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java
+++ /dev/null
@@ -1,200 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Field Selection</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl#getFields <em>Fields</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.FieldSelectionImpl#getContextElements <em>Context Elements</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
-
- /**
- * The cached value of the '{@link #getFields() <em>Fields</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getFields()
- * @generated
- * @ordered
- */
- protected EList<PropertyDefinition> fields;
-
- /**
- * The cached value of the '{@link #getContextElements() <em>Context Elements</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getContextElements()
- * @generated
- * @ordered
- */
- protected EList<ContextElement> contextElements;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected FieldSelectionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return FieldSelectionPackage.Literals.FIELD_SELECTION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<PropertyDefinition> getFields() {
- if (fields == null) {
- fields = new EObjectContainmentEList<PropertyDefinition>(PropertyDefinition.class, this, FieldSelectionPackage.FIELD_SELECTION__FIELDS);
- }
- return fields;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EList<ContextElement> getContextElements() {
- if (contextElements == null) {
- contextElements = new EObjectContainmentEList<ContextElement>(ContextElement.class, this, FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS);
- }
- return contextElements;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- return ((InternalEList<?>) getFields()).basicRemove(otherEnd, msgs);
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- return ((InternalEList<?>) getContextElements()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- return getFields();
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- return getContextElements();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- getFields().clear();
- getFields().addAll((Collection<? extends PropertyDefinition>) newValue);
- return;
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- getContextElements().clear();
- getContextElements().addAll((Collection<? extends ContextElement>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- getFields().clear();
- return;
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- getContextElements().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
- return fields != null && !fields.isEmpty();
- case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
- return contextElements != null && !contextElements.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // FieldSelectionImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java
deleted file mode 100644
index 45cdfa65c55..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java
+++ /dev/null
@@ -1,354 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection.impl;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.impl.EPackageImpl;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionFactory;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition;
-import org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model <b>Package</b>.
- * <!-- end-user-doc -->
- *
- * @generated
- */
-public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSelectionPackage {
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass fieldSelectionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass propertyDefinitionEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EClass contextElementEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private EDataType valueEDataType = null;
-
- /**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package
- * package URI value.
- * <p>
- * Note: the correct way to create the package is via the static factory method {@link #init init()}, which also performs initialization of the package, or returns the registered package, if one already exists. <!-- begin-user-doc --> <!-- end-user-doc -->
- *
- * @see org.eclipse.emf.ecore.EPackage.Registry
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage#eNS_URI
- * @see #init()
- * @generated
- */
- private FieldSelectionPackageImpl() {
- super(eNS_URI, FieldSelectionFactory.eINSTANCE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private static boolean isInited = false;
-
- /**
- * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
- * <p>
- * This method is used to initialize {@link FieldSelectionPackage#eINSTANCE} when that field is accessed. Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. <!-- begin-user-doc --> <!-- end-user-doc
- * -->
- *
- * @see #eNS_URI
- * @see #createPackageContents()
- * @see #initializePackageContents()
- * @generated
- */
- public static FieldSelectionPackage init() {
- if (isInited) {
- return (FieldSelectionPackage) EPackage.Registry.INSTANCE.getEPackage(FieldSelectionPackage.eNS_URI);
- }
-
- // Obtain or create and register package
- FieldSelectionPackageImpl theFieldSelectionPackage = (FieldSelectionPackageImpl) (EPackage.Registry.INSTANCE.get(eNS_URI) instanceof FieldSelectionPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new FieldSelectionPackageImpl());
-
- isInited = true;
-
- // Create package meta-data objects
- theFieldSelectionPackage.createPackageContents();
-
- // Initialize created meta-data
- theFieldSelectionPackage.initializePackageContents();
-
- // Mark meta-data to indicate it can't be changed
- theFieldSelectionPackage.freeze();
-
-
- // Update the registry and return the package
- EPackage.Registry.INSTANCE.put(FieldSelectionPackage.eNS_URI, theFieldSelectionPackage);
- return theFieldSelectionPackage;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getFieldSelection() {
- return fieldSelectionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getFieldSelection_Fields() {
- return (EReference) fieldSelectionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getFieldSelection_ContextElements() {
- return (EReference) fieldSelectionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getPropertyDefinition() {
- return propertyDefinitionEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getPropertyDefinition_Name() {
- return (EAttribute) propertyDefinitionEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getPropertyDefinition_ValueSingle() {
- return (EAttribute) propertyDefinitionEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getPropertyDefinition_ValueMultiple() {
- return (EAttribute) propertyDefinitionEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EClass getContextElement() {
- return contextElementEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getContextElement_Elements() {
- return (EReference) contextElementEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EReference getContextElement_Properties() {
- return (EReference) contextElementEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EAttribute getContextElement_Name() {
- return (EAttribute) contextElementEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public EDataType getValue() {
- return valueEDataType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FieldSelectionFactory getFieldSelectionFactory() {
- return (FieldSelectionFactory) getEFactoryInstance();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isCreated = false;
-
- /**
- * Creates the meta-model objects for the package. This method is
- * guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void createPackageContents() {
- if (isCreated) {
- return;
- }
- isCreated = true;
-
- // Create classes and their features
- fieldSelectionEClass = createEClass(FIELD_SELECTION);
- createEReference(fieldSelectionEClass, FIELD_SELECTION__FIELDS);
- createEReference(fieldSelectionEClass, FIELD_SELECTION__CONTEXT_ELEMENTS);
-
- propertyDefinitionEClass = createEClass(PROPERTY_DEFINITION);
- createEAttribute(propertyDefinitionEClass, PROPERTY_DEFINITION__NAME);
- createEAttribute(propertyDefinitionEClass, PROPERTY_DEFINITION__VALUE_SINGLE);
- createEAttribute(propertyDefinitionEClass, PROPERTY_DEFINITION__VALUE_MULTIPLE);
-
- contextElementEClass = createEClass(CONTEXT_ELEMENT);
- createEReference(contextElementEClass, CONTEXT_ELEMENT__ELEMENTS);
- createEReference(contextElementEClass, CONTEXT_ELEMENT__PROPERTIES);
- createEAttribute(contextElementEClass, CONTEXT_ELEMENT__NAME);
-
- // Create data types
- valueEDataType = createEDataType(VALUE);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- private boolean isInitialized = false;
-
- /**
- * Complete the initialization of the package and its meta-model. This
- * method is guarded to have no affect on any invocation but its first.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void initializePackageContents() {
- if (isInitialized) {
- return;
- }
- isInitialized = true;
-
- // Initialize package
- setName(eNAME);
- setNsPrefix(eNS_PREFIX);
- setNsURI(eNS_URI);
-
- // Create type parameters
-
- // Set bounds for type parameters
-
- // Add supertypes to classes
-
- // Initialize classes and features; add operations and parameters
- initEClass(fieldSelectionEClass, FieldSelection.class, "FieldSelection", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getFieldSelection_Fields(), this.getPropertyDefinition(), null, "fields", null, 0, -1, FieldSelection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEReference(getFieldSelection_ContextElements(), this.getContextElement(), null, "contextElements", null, 0, -1, FieldSelection.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE,
- !IS_DERIVED, IS_ORDERED);
-
- initEClass(propertyDefinitionEClass, PropertyDefinition.class, "PropertyDefinition", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getPropertyDefinition_Name(), ecorePackage.getEString(), "name", null, 1, 1, PropertyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPropertyDefinition_ValueSingle(), this.getValue(), "valueSingle", "DEFAULT", 1, 1, PropertyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getPropertyDefinition_ValueMultiple(), this.getValue(), "valueMultiple", "DEFAULT", 1, 1, PropertyDefinition.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(contextElementEClass, ContextElement.class, "ContextElement", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getContextElement_Elements(), this.getContextElement(), null, "elements", null, 0, -1, ContextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEReference(getContextElement_Properties(), this.getPropertyDefinition(), null, "properties", null, 0, -1, ContextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED,
- IS_ORDERED);
- initEAttribute(getContextElement_Name(), ecorePackage.getEString(), "name", null, 1, 1, ContextElement.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- // Initialize data types
- initEDataType(valueEDataType, State.class, "Value", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS);
-
- // Create resource
- createResource(eNS_URI);
- }
-
-} // FieldSelectionPackageImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java
deleted file mode 100644
index 26a72221bb2..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java
+++ /dev/null
@@ -1,300 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionFactory;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition;
-import org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton.State;
-
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Property Definition</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueSingle <em>Value Single</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.impl.PropertyDefinitionImpl#getValueMultiple <em>Value Multiple</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefinition {
-
- /**
- * The default value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected static final String NAME_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getName()
- * @generated
- * @ordered
- */
- protected String name = NAME_EDEFAULT;
-
- /**
- * The default value of the '{@link #getValueSingle() <em>Value Single</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValueSingle()
- * @generated
- * @ordered
- */
- protected static final State VALUE_SINGLE_EDEFAULT = (State) FieldSelectionFactory.eINSTANCE.createFromString(FieldSelectionPackage.eINSTANCE.getValue(), "DEFAULT");
-
- /**
- * The cached value of the '{@link #getValueSingle() <em>Value Single</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValueSingle()
- * @generated
- * @ordered
- */
- protected State valueSingle = VALUE_SINGLE_EDEFAULT;
-
- /**
- * The default value of the '{@link #getValueMultiple() <em>Value Multiple</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValueMultiple()
- * @generated
- * @ordered
- */
- protected static final State VALUE_MULTIPLE_EDEFAULT = (State) FieldSelectionFactory.eINSTANCE.createFromString(FieldSelectionPackage.eINSTANCE.getValue(), "DEFAULT");
-
- /**
- * The cached value of the '{@link #getValueMultiple() <em>Value Multiple</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValueMultiple()
- * @generated
- * @ordered
- */
- protected State valueMultiple = VALUE_MULTIPLE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected PropertyDefinitionImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return FieldSelectionPackage.Literals.PROPERTY_DEFINITION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public String getName() {
- return name;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setName(String newName) {
- String oldName = name;
- name = newName;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.PROPERTY_DEFINITION__NAME, oldName, name));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public State getValueSingle() {
- return valueSingle;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setValueSingle(State newValueSingle) {
- State oldValueSingle = valueSingle;
- valueSingle = newValueSingle;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE, oldValueSingle, valueSingle));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public State getValueMultiple() {
- return valueMultiple;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public void setValueMultiple(State newValueMultiple) {
- State oldValueMultiple = valueMultiple;
- valueMultiple = newValueMultiple;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE, oldValueMultiple, valueMultiple));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- return getName();
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- return getValueSingle();
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- return getValueMultiple();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- setName((String) newValue);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- setValueSingle((State) newValue);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- setValueMultiple((State) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- setName(NAME_EDEFAULT);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- setValueSingle(VALUE_SINGLE_EDEFAULT);
- return;
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- setValueMultiple(VALUE_MULTIPLE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case FieldSelectionPackage.PROPERTY_DEFINITION__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_SINGLE:
- return VALUE_SINGLE_EDEFAULT == null ? valueSingle != null : !VALUE_SINGLE_EDEFAULT.equals(valueSingle);
- case FieldSelectionPackage.PROPERTY_DEFINITION__VALUE_MULTIPLE:
- return VALUE_MULTIPLE_EDEFAULT == null ? valueMultiple != null : !VALUE_MULTIPLE_EDEFAULT.equals(valueMultiple);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (name: ");
- result.append(name);
- result.append(", valueSingle: ");
- result.append(valueSingle);
- result.append(", valueMultiple: ");
- result.append(valueMultiple);
- result.append(')');
- return result.toString();
- }
-
-} // PropertyDefinitionImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java
deleted file mode 100644
index 6aafbe1766f..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java
+++ /dev/null
@@ -1,174 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection.util;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Adapter Factory</b> for the model.
- * It provides an adapter <code>createXXX</code> method for each class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage
- * @generated
- */
-public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
-
- /**
- * The cached model package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static FieldSelectionPackage modelPackage;
-
- /**
- * Creates an instance of the adapter factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FieldSelectionAdapterFactory() {
- if (modelPackage == null) {
- modelPackage = FieldSelectionPackage.eINSTANCE;
- }
- }
-
- /**
- * Returns whether this factory is applicable for the type of the object.
- * <!-- begin-user-doc -->
- * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model.
- * <!-- end-user-doc -->
- *
- * @return whether this factory is applicable for the type of the object.
- * @generated
- */
- @Override
- public boolean isFactoryForType(Object object) {
- if (object == modelPackage) {
- return true;
- }
- if (object instanceof EObject) {
- return ((EObject) object).eClass().getEPackage() == modelPackage;
- }
- return false;
- }
-
- /**
- * The switch that delegates to the <code>createXXX</code> methods.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected FieldSelectionSwitch<Adapter> modelSwitch = new FieldSelectionSwitch<Adapter>() {
- @Override
- public Adapter caseFieldSelection(FieldSelection object) {
- return createFieldSelectionAdapter();
- }
-
- @Override
- public Adapter casePropertyDefinition(PropertyDefinition object) {
- return createPropertyDefinitionAdapter();
- }
-
- @Override
- public Adapter caseContextElement(ContextElement object) {
- return createContextElementAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
-
- /**
- * Creates an adapter for the <code>target</code>.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param target
- * the object to adapt.
- * @return the adapter for the <code>target</code>.
- * @generated
- */
- @Override
- public Adapter createAdapter(Notifier target) {
- return modelSwitch.doSwitch((EObject) target);
- }
-
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection <em>Field Selection</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection
- * @generated
- */
- public Adapter createFieldSelectionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition <em>Property Definition</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition
- * @generated
- */
- public Adapter createPropertyDefinitionAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement <em>Context Element</em>}'.
- * <!-- begin-user-doc -->
- * This default implementation returns null so that we can easily ignore cases;
- * it's useful to ignore a case when inheritance will catch all the cases anyway.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement
- * @generated
- */
- public Adapter createContextElementAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for the default case.
- * <!-- begin-user-doc -->
- * This default implementation returns null.
- * <!-- end-user-doc -->
- *
- * @return the new adapter.
- * @generated
- */
- public Adapter createEObjectAdapter() {
- return null;
- }
-
-} // FieldSelectionAdapterFactory
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java
deleted file mode 100644
index 1151b7c653c..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java
+++ /dev/null
@@ -1,178 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.customization.properties.generation.fieldselection.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.util.Switch;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Switch</b> for the model's inheritance hierarchy.
- * It supports the call {@link #doSwitch(EObject) doSwitch(object)} to invoke the <code>caseXXX</code> method for each class of the model,
- * starting with the actual class of the object
- * and proceeding up the inheritance hierarchy
- * until a non-null result is returned,
- * which is the result of the switch.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage
- * @generated
- */
-public class FieldSelectionSwitch<T> extends
- Switch<T> {
-
- /**
- * The cached model package
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected static FieldSelectionPackage modelPackage;
-
- /**
- * Creates an instance of the switch.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- public FieldSelectionSwitch() {
- if (modelPackage == null) {
- modelPackage = FieldSelectionPackage.eINSTANCE;
- }
- }
-
- /**
- * Checks whether this is a switch for the given package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @parameter ePackage the package in question.
- * @return whether this is a switch for the given package.
- * @generated
- */
- @Override
- protected boolean isSwitchFor(EPackage ePackage) {
- return ePackage == modelPackage;
- }
-
- /**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
- * @generated
- */
- @Override
- protected T doSwitch(int classifierID, EObject theEObject) {
- switch (classifierID) {
- case FieldSelectionPackage.FIELD_SELECTION: {
- FieldSelection fieldSelection = (FieldSelection) theEObject;
- T result = caseFieldSelection(fieldSelection);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case FieldSelectionPackage.PROPERTY_DEFINITION: {
- PropertyDefinition propertyDefinition = (PropertyDefinition) theEObject;
- T result = casePropertyDefinition(propertyDefinition);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- case FieldSelectionPackage.CONTEXT_ELEMENT: {
- ContextElement contextElement = (ContextElement) theEObject;
- T result = caseContextElement(contextElement);
- if (result == null) {
- result = defaultCase(theEObject);
- }
- return result;
- }
- default:
- return defaultCase(theEObject);
- }
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Field Selection</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Field Selection</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseFieldSelection(FieldSelection object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Property Definition</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Property Definition</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T casePropertyDefinition(PropertyDefinition object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Context Element</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>Context Element</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseContextElement(ContextElement object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
- * <!-- begin-user-doc -->
- * This implementation returns null;
- * returning a non-null result will terminate the switch, but this is the last case anyway.
- * <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
- * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject)
- * @generated
- */
- @Override
- public T defaultCase(EObject object) {
- return null;
- }
-
-} // FieldSelectionSwitch
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/Activator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/Activator.java
deleted file mode 100644
index 8b0c4fdf072..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/Activator.java
+++ /dev/null
@@ -1,109 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.resource.ImageRegistry;
-import org.eclipse.papyrus.customization.properties.generation.extensionpoint.GeneratorExtensionPoint;
-import org.eclipse.papyrus.customization.properties.generation.extensionpoint.LayoutExtensionPoint;
-import org.eclipse.papyrus.infra.core.log.LogHelper;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/** The activator class controls the plug-in life cycle */
-public class Activator extends AbstractUIPlugin {
-
- /** the plug-in's logger */
- public static LogHelper log;
-
- /** The plug-in ID */
- public static final String PLUGIN_ID = "org.eclipse.papyrus.customization.properties.generation"; //$NON-NLS-1$
-
- // The shared instance
- private static Activator plugin;
-
- @Override
- public void start(final BundleContext context) throws Exception {
- super.start(context);
- Activator.plugin = this;
- log = new LogHelper(plugin);
-
- new GeneratorExtensionPoint();
- new LayoutExtensionPoint();
- }
-
- @Override
- public void stop(final BundleContext context) throws Exception {
- Activator.plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static Activator getDefault() {
- return Activator.plugin;
- }
-
- /**
- * Returns the image at the given path from this plugin
- *
- * @param path
- * the path of the image to be displayed
- * @return The Image at the given location, or null if it couldn't be found
- */
- public Image getImage(String path) {
- return getImage(PLUGIN_ID, path);
- }
-
- /**
- * Returns the image descriptor at the given path from this plugin
- *
- * @param path
- * the path of the image to be displayed
- * @return The Image Descriptor at the given location, or null if it couldn't be found
- */
- public ImageDescriptor getImageDescriptor(String path) {
- final ImageRegistry registry = getImageRegistry();
- String key = PLUGIN_ID + "/" + path; //$NON-NLS-1$
- ImageDescriptor descriptor = registry.getDescriptor(key);
- if (descriptor == null) {
- registry.put(key, AbstractUIPlugin.imageDescriptorFromPlugin(PLUGIN_ID, path));
- descriptor = registry.getDescriptor(key);
- }
- return descriptor;
- }
-
- /**
- * Returns the image from the given image descriptor
- *
- * @param pluginId
- * The plugin in which the image is located
- * @param path
- * The path to the image from the plugin
- * @return
- * The Image at the given location, or null if it couldn't be found
- */
- public Image getImage(String pluginId, String path) {
- final ImageRegistry registry = getImageRegistry();
- String key = pluginId + "/" + path; //$NON-NLS-1$
- Image image = registry.get(key);
- if (image == null) {
- registry.put(key, AbstractUIPlugin.imageDescriptorFromPlugin(pluginId, path));
- image = registry.get(key);
- }
- return image;
- }
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/GeneratorExtensionPoint.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/GeneratorExtensionPoint.java
deleted file mode 100644
index 8a7a011a201..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/GeneratorExtensionPoint.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010, 2014 CEA LIST and others.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- * Christian W. Damus (CEA) - bug 422257
- *
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.extensionpoint;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.papyrus.customization.properties.generation.Activator;
-import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
-import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
-
-/**
- * Handles the extension point org.eclipse.papyrus.customization.properties.generation.generator
- * Registers the given Generator to the Property view generation wizard
- *
- * @author Camille Letavernier
- */
-public class GeneratorExtensionPoint {
-
- private final String EXTENSION_ID = "org.eclipse.papyrus.customization.properties.generation.generator"; //$NON-NLS-1$
-
- private final List<IGenerator> generators;
-
- /**
- * Constructor.
- */
- public GeneratorExtensionPoint() {
-
- IConfigurationElement[] config = Platform.getExtensionRegistry().getConfigurationElementsFor(EXTENSION_ID);
-
- List<IGenerator> generators = new ArrayList<IGenerator>(2);
- for (IConfigurationElement e : config) {
- String generatorClassName = e.getAttribute("generator"); //$NON-NLS-1$
- IGenerator generator = ClassLoaderHelper.newInstance(generatorClassName, IGenerator.class);
- if (generator == null) {
- Activator.log.warn("Cannot instantiate the generator : " + generatorClassName); //$NON-NLS-1$
- continue;
- }
- generators.add(generator);
- }
-
- this.generators = Collections.unmodifiableList(generators);
- }
-
- public List<IGenerator> getGenerators() {
- return generators;
- }
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/LayoutExtensionPoint.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/LayoutExtensionPoint.java
deleted file mode 100644
index a04720cdf5e..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/LayoutExtensionPoint.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010, 2014 CEA LIST and others.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- * Christian W. Damus (CEA) - bug 422257
- *
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.extensionpoint;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.papyrus.customization.properties.generation.Activator;
-import org.eclipse.papyrus.customization.properties.generation.layout.ILayoutGenerator;
-import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
-
-/**
- * Handles the extension point org.eclipse.papyrus.customization.properties.generation.layout
- * Registers the given layout Generator to the Property view generation wizard
- *
- * @author Camille Letavernier
- */
-public class LayoutExtensionPoint {
-
- private final String EXTENSION_ID = "org.eclipse.papyrus.customization.properties.generation.layout"; //$NON-NLS-1$
-
- private final List<ILayoutGenerator> generators;
-
- /**
- * Constructor.
- */
- public LayoutExtensionPoint() {
- IConfigurationElement[] config = Platform.getExtensionRegistry().getConfigurationElementsFor(EXTENSION_ID);
-
- List<ILayoutGenerator> generators = new ArrayList<ILayoutGenerator>(2);
- for (IConfigurationElement e : config) {
- String generatorClassName = e.getAttribute("generator"); //$NON-NLS-1$
- ILayoutGenerator generator = ClassLoaderHelper.newInstance(generatorClassName, ILayoutGenerator.class);
- if (generator == null) {
- Activator.log.warn("Cannot instantiate the layout generator : " + generatorClassName); //$NON-NLS-1$
- continue;
- }
- generators.add(generator);
- }
-
- this.generators = Collections.unmodifiableList(generators);
- }
-
- public List<ILayoutGenerator> getGenerators() {
- return generators;
- }
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/AbstractQVTGenerator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/AbstractQVTGenerator.java
deleted file mode 100644
index 7e664840de4..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/AbstractQVTGenerator.java
+++ /dev/null
@@ -1,284 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010, 2014 CEA LIST and others.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- * Thibault Le Ouay t.leouay@sherpa-eng.com - Strategy improvement of generated files
- * Christian W. Damus (CEA) - bug 422257
- *
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.generators;
-
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Collection;
-import java.util.HashSet;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.emf.common.util.BasicDiagnostic;
-import org.eclipse.emf.common.util.Diagnostic;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.m2m.qvt.oml.BasicModelExtent;
-import org.eclipse.m2m.qvt.oml.ExecutionContextImpl;
-import org.eclipse.m2m.qvt.oml.ExecutionDiagnostic;
-import org.eclipse.m2m.qvt.oml.ModelExtent;
-import org.eclipse.m2m.qvt.oml.TransformationExecutor;
-import org.eclipse.papyrus.customization.properties.generation.Activator;
-import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-import org.eclipse.papyrus.infra.properties.contexts.Context;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Listener;
-
-/**
- * An Abstract generator based on QVTO transformations.
- * Subclasses should specify the .qvto file and ModelExtents, as well as the
- * SWT widgets allowing the user to chose the input models.
- *
- * @author Camille Letavernier
- */
-public abstract class AbstractQVTGenerator implements IGenerator, Listener {
-
- /**
- * The Contexts created by the transformation.
- */
- protected List<Context> generatedContexts;
-
- /**
- * The output ModelExtent
- */
- protected ModelExtent out;
-
- private Set<Listener> listeners = new HashSet<Listener>();
-
- private int strategy;
-
- private Collection<ResourceSet> scratchResourceSets;
-
- public List<Context> generate(List<URI> targetURI) {
-
- switch (strategy) {
- case 0:
- generatedContexts = generateSameFile(targetURI);
- break;
- case 1:
- generatedContexts = generateSameFile(targetURI);
- break;
- case 2:
- generatedContexts = generateDifferentFile(targetURI);
- break;
- default:
- generatedContexts = null;
- }
- return generatedContexts;
- }
-
- public void dispose() {
- if (scratchResourceSets != null) {
- for (ResourceSet next : scratchResourceSets) {
- EMFHelper.unload(next);
- }
- scratchResourceSets = null;
- }
- }
-
-
-
- /**
- * @return the list of in/out/inout ModelExtents (including the OutContextExtent)
- * Implementors should ensure they add the outContextExtent to the list.
- */
- abstract protected List<ModelExtent> getModelExtents();
-
- /**
- * @return the ModelExtent containing the generated context
- */
- protected ModelExtent getOutContextExtent() {
- if (out == null) {
- out = new BasicModelExtent();
- }
-
- return out;
- }
-
- /**
- * @return the URI of the QVTO transformation file.
- */
- abstract protected URI getTransformationURI();
-
- /**
- * Loads the EObject from the given URI.
- *
- * @param uri
- * The URI from which the EObject is loaded
- * @return
- * The loaded EObject, or null if an error occured
- * @throws IOException
- * If the URI isn't a valid EObject
- */
- protected EObject loadEMFModel(URI uri) throws IOException {
- ResourceSet resourceSet = createResourceSet();
- try {
- Resource resource = resourceSet.getResource(uri, true);
- if (resource != null) {
- if (!resource.getContents().isEmpty()) {
- return resource.getContents().get(0);
- }
- }
- } catch (Exception ex) {
- throw new IOException(ex.toString());
- }
-
- return null;
- }
-
- protected final ResourceSet createResourceSet() {
- ResourceSet result = new ResourceSetImpl();
- if (scratchResourceSets == null) {
- scratchResourceSets = new ArrayList<ResourceSet>();
- }
- scratchResourceSets.add(result);
- return result;
- }
-
- public void addListener(Listener listener) {
- listeners.add(listener);
- }
-
- public void removeListener(Listener listener) {
- listeners.remove(listener);
- }
-
- public void handleEvent(Event event) {
- for (Listener listener : listeners) {
- listener.handleEvent(event);
- }
- }
-
- /**
- * Return the generated Context from a list of EObjects
- *
- * @param outObjects
- * The list of EObjects from which the context will be retrieved
- * @return
- * The main generated context
- */
- protected List<Context> getContexts(List<EObject> outObjects) {
- List<Context> result = new LinkedList<Context>();
-
- for (Object objectResult : outObjects) {
- if (objectResult instanceof Context) {
- result.add((Context) objectResult);
- }
- }
-
- return result;
- }
-
-
- public abstract IObservableValue getObservableValue();
-
- public void setStrategy(int strategy) {
- this.strategy = strategy;
- }
-
- private List<Context> generateSameFile(List<URI> targetURI) {
-
- URI transformationURI = getTransformationURI();
-
- TransformationExecutor executor = new TransformationExecutor(transformationURI);
- Diagnostic diagnostic = executor.loadTransformation();
- if (diagnostic.getSeverity() != Diagnostic.OK) {
- Activator.log.warn("Cannot load the transformation : " + transformationURI);
- return generatedContexts = null;
- }
- List<ModelExtent> extents = getModelExtents();
-
-
- ExecutionContextImpl context = new ExecutionContextImpl();
- context.setConfigProperty("keepModeling", true); //$NON-NLS-1$
-
- // context.setLog(new WriterLog(new OutputStreamWriter(System.out)));
-
- ExecutionDiagnostic result = executor.execute(context, extents.toArray(new ModelExtent[0]));
-
- if (result.getSeverity() == org.eclipse.emf.common.util.Diagnostic.OK) {
- List<EObject> outObjects = getOutContextExtent().getContents();
- Object objectResult = outObjects.get(0);
- if (!(objectResult instanceof Context)) {
- return null;
- }
-
- ResourceSet resourceSet = createResourceSet();
- Resource contextResource = resourceSet.createResource(targetURI.get(0));
- contextResource.getContents().addAll(outObjects);
-
- return generatedContexts = getContexts(outObjects);
- } else {
- IStatus status = BasicDiagnostic.toIStatus(result);
- Activator.log.warn(String.format("%s : %s", status.getPlugin(), status.getMessage()));
- }
- return generatedContexts = null;
- }
-
- protected abstract List<ModelExtent> getModelExtents(int i);
-
- private List<Context> generateDifferentFile(List<URI> targetURI) {
-
- URI transformationURI = getTransformationURI();
-
- TransformationExecutor executor = new TransformationExecutor(transformationURI);
- Diagnostic diagnostic = executor.loadTransformation();
- if (diagnostic.getSeverity() != Diagnostic.OK) {
- Activator.log.warn("Cannot load the transformation : " + transformationURI);
- return generatedContexts = null;
- }
- List<ModelExtent> extents = null;
- ExecutionContextImpl context = new ExecutionContextImpl();
- context.setConfigProperty("keepModeling", true); //$NON-NLS-1$
- // context.setLog(new WriterLog(new OutputStreamWriter(System.out)));
- List<Context> temp = new LinkedList<Context>();
-
- for (int i = 0; i < targetURI.size(); i++) {
- extents = getModelExtents(i);
-
-
-
- ExecutionDiagnostic result = executor.execute(context, extents.toArray(new ModelExtent[0]));
-
- if (result.getSeverity() == org.eclipse.emf.common.util.Diagnostic.OK) {
- List<EObject> outObjects = getOutContextExtent().getContents();
- Object objectResult = outObjects.get(0);
- if (!(objectResult instanceof Context)) {
- return null;
- }
- ResourceSet resourceSet = createResourceSet();
- Resource contextResource = resourceSet.createResource(targetURI.get(i));
- contextResource.getContents().addAll(outObjects);
- temp.addAll(getContexts(outObjects));
-
- } else {
- IStatus status = BasicDiagnostic.toIStatus(result);
- Activator.log.warn(String.format("%s : %s", status.getPlugin(), status.getMessage()));
- }
- }
-
- return temp;
-
- }
-
-
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/EcoreGenerator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/EcoreGenerator.java
deleted file mode 100644
index c9d1b229e7a..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/EcoreGenerator.java
+++ /dev/null
@@ -1,379 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- * Thibault Le Ouay t.leouay@sherpa-eng.com - Strategy improvement of generated files
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.generators;
-
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.common.util.TreeIterator;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EClassifier;
-import org.eclipse.emf.ecore.EDataType;
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.m2m.qvt.oml.BasicModelExtent;
-import org.eclipse.m2m.qvt.oml.ModelExtent;
-import org.eclipse.papyrus.customization.properties.generation.Activator;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-import org.eclipse.papyrus.customization.properties.generation.wizard.widget.FileChooser;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextElement;
-import org.eclipse.papyrus.infra.properties.contexts.Property;
-import org.eclipse.papyrus.views.properties.root.PropertiesRoot;
-import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
-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.Label;
-
-/**
- * An IGenerator to create Property view contexts from an Ecore metamodel FIXME
- * : The generator doesn't seem to keep the Metaclass inheritance
- *
- * @author Camille Letavernier
- */
-public class EcoreGenerator extends AbstractQVTGenerator {
-
- private FileChooser sourceFileChooser;
-
- protected EPackage ecorePackage;
-
- protected List<EPackage> listEPackages;
-
- public void createControls(Composite parent) {
- Composite root = new Composite(parent, SWT.NONE);
- GridLayout layout = new GridLayout(2, false);
- layout.marginWidth = 0;
- root.setLayout(layout);
-
- Label sourceLabel = new Label(root, SWT.NONE);
- sourceLabel.setText(Messages.EcoreGenerator_source);
- GridData data = new GridData();
- data.widthHint = 100;
- sourceLabel.setLayoutData(data);
-
- sourceFileChooser = new FileChooser(root, false);
- sourceFileChooser.setFilterExtensions(new String[] { "ecore" }); //$NON-NLS-1$
- sourceFileChooser.addListener(this);
-
- listEPackages = new ArrayList<EPackage>();
-
- }
-
- public String getDescription() {
- return Messages.EcoreGenerator_ecoreGeneratorDescription;
- }
-
- public boolean isReady() {
- return sourceFileChooser.getFilePath() != null;
- }
-
- public String getName() {
- return Messages.EcoreGenerator_ecoreGeneratorName;
- }
-
- public boolean isSelectedSingle(Property property) {
- EStructuralFeature feature = getFeature(property);
- if (feature == null) {
- return false;
- }
-
- if (feature.isDerived()) {
- return false;
- }
-
- if (!feature.isChangeable()) {
- return false;
- }
-
- if (feature instanceof EReference) {
- EReference reference = (EReference) feature;
- if (reference.isContainer() || reference.isContainment()) {
- return false;
- }
- }
-
- return true;
- }
-
- /**
- * Retrieve the EStructuralFeature corresponding to the given property
- *
- * @param property
- * @return The EStructuralFeature corresponding to the given property
- */
- protected EStructuralFeature getFeature(Property property) {
- List<String> path = getPath(property);
- path.remove(0); // Root = EPackage
-
- EPackage currentPackage = ecorePackage;
-
- EClassifier classifier = findClassifier(path, currentPackage);
- if (classifier == null) {
- return null;
- }
-
- if (!(classifier instanceof EClass)) {
- return null;
- }
-
- EClass eClass = (EClass) classifier;
- return eClass.getEStructuralFeature(property.getName());
- }
-
- /**
- * Retrieve the Classifier corresponding to the given path, in the given
- * EPackage
- *
- * @param path
- * The list of package and subpackages names, and the classifier
- * name, i.e. the list of segments in the classifier's qualified
- * name
- * @param source
- * The root EPackage in which the classifier should be retrieved
- * @return The corresponding EClassifier, or null if it couldn't be
- * retrieved
- */
- protected EClassifier findClassifier(List<String> path, EPackage source) {
- String qualifier = path.get(0);
- EClassifier classifier = source.getEClassifier(qualifier);
- if (classifier == null) {
- source = findSubPackage(source, qualifier);
- if (source == null) {
- return null;
- }
- path.remove(0);
- return findClassifier(path, source);
- } else {
- return classifier;
- }
- }
-
- /**
- * Retrieve the subpackage corresponding to the given packageName, in the
- * given package
- *
- * @param currentPackage
- * The EPackage in which the subpackage should be found
- * @param packageName
- * The name of the EPackage to find
- * @return The corresponding EPackage, or null if it couldn't be found
- */
- protected EPackage findSubPackage(EPackage currentPackage, String packageName) {
- for (EPackage pack : currentPackage.getESubpackages()) {
- if (pack.getName().equals(packageName)) {
- return pack;
- }
- }
- return null;
- }
-
- private List<String> getPath(Property property) {
- List<String> result = getPath(property.getContextElement());
- return result;
- }
-
- private List<String> getPath(DataContextElement element) {
- List<String> result;
- if (element.getPackage() == null) {
- result = new LinkedList<String>();
- } else {
- result = getPath(element.getPackage());
- }
-
- result.add(element.getName());
- return result;
- }
-
- public boolean isSelectedMultiple(Property property) {
- if (!isSelectedSingle(property)) {
- return false;
- }
-
- EStructuralFeature feature = getFeature(property);
-
- Set<String> validDataTypes = new HashSet<String>(Arrays.asList(new String[] { "int", "boolean", "float", "double" })); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
-
- if (feature.getEType() instanceof EDataType) {
- if (validDataTypes.contains(((EDataType) feature.getEType()).getInstanceTypeName())) {
- return true;
- }
- }
-
- if (feature.getEType() instanceof EEnum) {
- return true;
- }
-
- return false;
- }
-
- public boolean isSelectedSingle(Property property, DataContextElement element) {
- return isSelectedSingle(property);
- }
-
- public boolean isSelectedMultiple(Property property, DataContextElement element) {
- return isSelectedMultiple(property);
- }
-
- @Override
- protected URI getTransformationURI() {
- return URI.createPlatformPluginURI(Activator.PLUGIN_ID + "/transforms/ecore2datacontext.qvto", true); //$NON-NLS-1$
- }
-
-
- @Override
- protected List<ModelExtent> getModelExtents() {
- LinkedList<ModelExtent> result = new LinkedList<ModelExtent>();
- ModelExtent temp = new BasicModelExtent();
- ModelExtent inPackage = new BasicModelExtent(Collections.singletonList(ecorePackage));
-
-
-
- PropertiesRoot root = ConfigurationManager.getInstance().getPropertiesRoot();
- ModelExtent inRoot = new BasicModelExtent(Collections.singletonList(root));
- if (!listEPackages.isEmpty()) {
- temp.setContents(listEPackages);
- if (!listEPackages.contains(ecorePackage)) {
- result.add(temp); // if the root package isnt selected
- } else {
- result.add(inPackage);
- }
- result.add(temp);
-
- } else {
- // Basic Method
- result.add(inPackage);
- result.add(inPackage);
- }
-
- result.add(inRoot);
- result.add(getOutContextExtent());
- return result;
-
- }
-
- @Override
- public IObservableValue getObservableValue() {
- return sourceFileChooser.getObservableValue();
- }
-
- public List<Object> getExternalReference() {
-
- URI packageURI = URI.createPlatformResourceURI(sourceFileChooser.getFilePath(), true);
-
- try {
- ecorePackage = (EPackage) loadEMFModel(packageURI);
- } catch (IOException e) {
- // nothing
- }
-
- EcoreUtil.resolveAll(ecorePackage);
-
- List<Object> listePackage = new ArrayList<Object>();
- if (!listePackage.contains(ecorePackage)) {
- listePackage.add(ecorePackage);
- }
-
- TreeIterator<Notifier> tree = ecorePackage.eResource().getResourceSet().getAllContents();
- while (tree.hasNext()) {
- Notifier next = tree.next();
- if (!(next instanceof EObject)) {
- continue;
- }
-
- EObject object = (EObject) next;
- if (object instanceof EStructuralFeature) {
- EStructuralFeature feature = (EStructuralFeature) object;
- EClass eClass = feature.getEContainingClass();
- if (eClass != null) {
- EClassifier classifier = feature.getEType();
- EPackage targetPackage = null;
- if (classifier != null) {
- targetPackage = classifier.getEPackage();
- }
- if (targetPackage != null) {
- if (!ecorePackage.equals(targetPackage)) {
- if (!listePackage.contains(targetPackage)) {
- listePackage.add(targetPackage);
- }
-
- }
- }
- }
- }
- if (object instanceof EClass) {
-
- EClass eclass = (EClass) object;
- List<EClass> liste = eclass.getESuperTypes();
- for (EClass item : liste) {
- if (!listePackage.contains(item.getEPackage())) {
- listePackage.add(item.getEPackage());
- }
-
- }
- }
-
- }
-
- return listePackage;
- }
-
- public void addCheckElement(Object obj) {
-
- if (obj instanceof EPackage) {
- EPackage pack = (EPackage) obj;
- listEPackages.add(pack);
- }
-
- }
-
-
- @Override
- protected List<ModelExtent> getModelExtents(int i) {
- EPackage currentPackage = listEPackages.get(i);
- try {
-
- ModelExtent inPackage = new BasicModelExtent(Collections.singletonList(currentPackage));
- PropertiesRoot root = ConfigurationManager.getInstance().getPropertiesRoot();
- ModelExtent inRoot = new BasicModelExtent(Collections.singletonList(root));
- LinkedList<ModelExtent> result = new LinkedList<ModelExtent>();
- result.add(inPackage);
- result.add(inPackage);
- result.add(inRoot);
- result.add(getOutContextExtent());
-
- return result;
-
- } catch (Exception ex) {
- return null;
-
- }
-
- }
-
-
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/EditContextGenerator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/EditContextGenerator.java
deleted file mode 100644
index 7c23a341749..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/EditContextGenerator.java
+++ /dev/null
@@ -1,121 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010, 2014 CEA LIST and others.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- * Thibault Le Ouay t.leouay@sherpa-eng.com
- * Christian W. Damus (CEA) - bug 422257
- *
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.generators;
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-import org.eclipse.papyrus.infra.properties.contexts.Context;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextElement;
-import org.eclipse.papyrus.infra.properties.contexts.Property;
-import org.eclipse.papyrus.infra.properties.contexts.View;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-
-/**
- * Incubation
- *
- * An implementation of IGenerator used to re-generate a Context from an existing one
- *
- * @author Camille Letavernier
- */
-public class EditContextGenerator implements IGenerator {
-
- public void dispose() {
- // TODO Auto-generated method stub
-
- }
-
- public List<Context> generate(List<URI> targetURI) {
- // TODO Auto-generated method stub
- return null;
- }
-
- public void createControls(Composite parent) {
- // TODO Auto-generated method stub
-
- }
-
- public String getDescription() {
- return Messages.EditContextGenerator_generateNewContext;
- }
-
- public boolean isReady() {
- // TODO Auto-generated method stub
- return false;
- }
-
- public String getName() {
- return Messages.EditContextGenerator_importExistingContext;
- }
-
- public boolean isSelectedSingle(Property property) {
- // TODO Auto-generated method stub
- return false;
- }
-
- public boolean isSelectedMultiple(Property property) {
- // TODO Auto-generated method stub
- return false;
- }
-
- public boolean isSelectedSingle(Property property, DataContextElement element) {
- // TODO Auto-generated method stub
- return false;
- }
-
- public boolean isSelectedMultiple(Property property, DataContextElement element) {
- // TODO Auto-generated method stub
- return false;
- }
-
- public void addListener(Listener listener) {
- // TODO Auto-generated method stub
- }
-
- public List<DataContextElement> getContextElementsFor(Collection<Context> contexts, View view) {
- // TODO Auto-generated method stub
- throw new UnsupportedOperationException();
- }
-
- public void removeListener(Listener listener) {
- // TODO Auto-generated method stub
-
- }
-
- public IObservableValue getObservableValue() {
- // TODO Auto-generated method stub
- return null;
- }
-
- public List<Object> getExternalReference() {
- // TODO Auto-generated method stub
- return null;
- }
-
- public void setStrategy(int strategy) {
- // TODO Auto-generated method stub
-
- }
-
- public void addCheckElement(Object obj) {
- // TODO Auto-generated method stub
-
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/IGenerator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/IGenerator.java
deleted file mode 100644
index 683ab418956..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/IGenerator.java
+++ /dev/null
@@ -1,149 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010, 2014 CEA LIST and others.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- * Thibault Le Ouay t.leouay@sherpa-eng.com - Strategy improvement of generated files
- * Christian W. Damus (CEA) - bug 422257
- *
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.generators;
-
-import java.util.List;
-
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.papyrus.infra.properties.contexts.Context;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextElement;
-import org.eclipse.papyrus.infra.properties.contexts.Property;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Listener;
-
-/**
- * A Generator is intended to output a partial Context model.
- * This context model should only contain DataContextElements and Properties
- * (i.e. it should not contain any View or Tabs)
- * The Generator should also implement an heuristic, which will determine
- * for each Property if it should be displayed in the Property view or not,
- * for both Single and Multiple selection
- *
- * @author Camille Letavernier
- *
- */
-public interface IGenerator {
-
- /**
- * Generates the partial context, and persists it to the given target URI
- *
- * @param targetURI
- * @return The generated Context
- */
- public List<Context> generate(List<URI> targetURI);
-
- /**
- * Creates the controls for this Generator. The generator is responsible
- * for displaying any Control useful for editing its options, and listening
- * for changes on them.
- *
- * @param parent
- * The Composite in which the controls will be displayed
- */
- public void createControls(Composite parent);
-
- /**
- * Gets the description for this Generator
- *
- * @return The description
- */
- public String getDescription();
-
- /**
- * Tests if this Generator's settings are all set and valid
- *
- * @return true if all options are set and valid
- */
- public boolean isReady();
-
- /**
- * Gets the name for this Generator
- *
- * @return The name
- */
- public String getName();
-
- /**
- * Tests if a field should be displayed for this Property when
- * exactly one instance of this property's parent element is selected.
- *
- * @param property
- * @return
- */
- public boolean isSelectedSingle(Property property);
-
- /**
- * Tests if a field should be displayed for this Property when
- * at least two instances of this property's parent element are selected.
- *
- * @param property
- * @return
- */
- public boolean isSelectedMultiple(Property property);
-
- /**
- * Tests if a field should be displayed for this Property when
- * exactly one instance of the given element is selected. The difference
- * with {@link #isSelectedSingle(Property)} is that this method takes the inheritance
- * into account, i.e. the property belongs to a Superclass of the given DataContextElement
- *
- * @param property
- * @param element
- * @return
- */
- public boolean isSelectedSingle(Property property, DataContextElement element);
-
- /**
- * Tests if a field should be displayed for this Property when
- * at least two instances of the given element are selected. The difference
- * with {@link #isSelectedMultiple(Property)} is that this method takes the inheritance
- * into account, i.e. the property belongs to a Superclass of the given DataContextElement
- *
- * @param property
- * @param element
- * @return
- */
- public boolean isSelectedMultiple(Property property, DataContextElement element);
-
- /**
- * Adds a Change Listener to this generator. The Listener should be notified
- * each time the generator's {@link #isReady()} value changes
- *
- * @param listener
- */
- public void addListener(Listener listener);
-
- /**
- * Removes a Change Listener from this generator.
- *
- * @param listener
- */
- public void removeListener(Listener listener);
-
- public List<Object> getExternalReference();
-
- public IObservableValue getObservableValue();
-
- public void setStrategy(int strategy);
-
- public void addCheckElement(Object obj);
-
- /**
- * Disposes of any resources allocated by me when I am no longer needed.
- */
- public void dispose();
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/ProfileGenerator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/ProfileGenerator.java
deleted file mode 100644
index 92066951805..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/generators/ProfileGenerator.java
+++ /dev/null
@@ -1,361 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- * Thibault Le Ouay t.leouay@sherpa-eng.com - Strategy improvement of generated files
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.generators;
-
-import java.io.IOException;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-import org.eclipse.emf.common.util.TreeIterator;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.m2m.qvt.oml.BasicModelExtent;
-import org.eclipse.m2m.qvt.oml.ModelExtent;
-import org.eclipse.papyrus.customization.properties.generation.Activator;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-import org.eclipse.papyrus.customization.properties.generation.wizard.widget.FileChooser;
-import org.eclipse.papyrus.infra.properties.contexts.Context;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextElement;
-import org.eclipse.papyrus.infra.properties.contexts.Property;
-import org.eclipse.papyrus.views.properties.root.PropertiesRoot;
-import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
-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.Label;
-import org.eclipse.uml2.uml.Classifier;
-import org.eclipse.uml2.uml.Enumeration;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.PackageImport;
-import org.eclipse.uml2.uml.PrimitiveType;
-import org.eclipse.uml2.uml.Profile;
-
-/**
- * An IGenerator for building Contexts from a UML Profile
- *
- * @author Camille Letavernier
- */
-
-// FIXME warning if all profiles have the same name overwrite the same file
-public class ProfileGenerator extends AbstractQVTGenerator {
-
- private FileChooser sourceFileChooser;
-
- private Profile umlProfile;
-
- private List<Object> list;
-
- private List<EObject> listEObject;
-
-
- public void createControls(Composite parent) {
- Composite root = new Composite(parent, SWT.NONE);
- GridLayout layout = new GridLayout(2, false);
- layout.marginWidth = 0;
- root.setLayout(layout);
-
- Label sourceLabel = new Label(root, SWT.NONE);
- sourceLabel.setText(Messages.ProfileGenerator_source);
- GridData data = new GridData();
- data.widthHint = 100;
- sourceLabel.setLayoutData(data);
-
- sourceFileChooser = new FileChooser(root, false);
- sourceFileChooser.setFilterExtensions(new String[] { "profile.uml" }); //$NON-NLS-1$
- sourceFileChooser.addListener(this);
- listEObject = new ArrayList<EObject>();
- }
-
- public String getDescription() {
- return Messages.ProfileGenerator_description;
- }
-
- public boolean isReady() {
- return sourceFileChooser.getFilePath() != null;
- }
-
- public String getName() {
- return Messages.ProfileGenerator_name;
- }
-
- @Override
- protected List<ModelExtent> getModelExtents() {
- LinkedList<ModelExtent> result = new LinkedList<ModelExtent>();
- ModelExtent inPackage = new BasicModelExtent();
- List<EObject> liste = new ArrayList<EObject>();
- if (!listEObject.isEmpty()) {
- for (EObject currentEObject : listEObject) {
- EObject tempEObject = null;
- try {
- tempEObject = loadEMFModel(currentEObject.eResource().getURI());
- liste.add(tempEObject);
-
- } catch (IOException e) {
- }
- }
- } else {
- liste.add(umlProfile);
-
-
- }
- inPackage.setContents(liste);
-
- URI umlURI = URI.createURI("ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx", true);
- Context umlContext = null;
- try {
- umlContext = (Context) loadEMFModel(umlURI);
- } catch (IOException e) {
- e.printStackTrace();
- }
- if (umlContext == null) {
- Activator.log.warn("Cannot find the UML Property View configuration");
- }
-
- ModelExtent inUml = new BasicModelExtent(Collections.singletonList(umlContext));
-
- PropertiesRoot root = ConfigurationManager.getInstance().getPropertiesRoot();
- ModelExtent inRoot = new BasicModelExtent(Collections.singletonList(root));
-
- result.add(inPackage);
- result.add(getOutContextExtent());
- result.add(inUml);
- result.add(inRoot);
-
- return result;
- }
-
-
- @Override
- protected URI getTransformationURI() {
- return URI.createPlatformPluginURI("org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto", true); //$NON-NLS-1$
- }
-
- /**
- * Retrieve the Classifier corresponding to the given path, in the given
- * Package
- *
- * @param path
- * The list of package and subpackages names, and the classifier
- * name, i.e. the list of segments in the classifier qualified
- * name e.g. : SysML::Blocks::Block : ["SysML", "Blocks",
- * "Block"]
- * @param rootPackage
- * The root Package in which the stereotype should be retrieved
- * @return The corresponding Classifier, or null if it couldn't be retrieved
- */
- protected Classifier findClassifier(List<String> path, Package rootPackage) {
- NamedElement element = rootPackage.getOwnedMember(path.get(0));
- path.remove(0);
- if (path.size() == 0) {
- if (element instanceof Classifier) {
- return (Classifier) element;
- }
- } else {
- if (element instanceof Package) {
- return findClassifier(path, (Package) element);
- }
- }
- return null;
- }
-
- private List<String> getPath(Property property) {
- List<String> result = getPath(property.getContextElement());
- return result;
- }
-
- private List<String> getPath(DataContextElement element) {
- List<String> result;
- if (element.getPackage() == null) {
- result = new LinkedList<String>();
- } else {
- result = getPath(element.getPackage());
- }
-
- result.add(element.getName());
- return result;
- }
-
- /**
- * Retrieve the UML Property corresponding to the given Property view
- * context Property
- *
- * @param property
- * @return
- */
- public org.eclipse.uml2.uml.Property getAttribute(Property property) {
- List<String> path = getPath(property);
-
- Package propertyRootPackage = findPackage(path.remove(0));
- if (propertyRootPackage == null) {
- return null;
- }
-
- Classifier classifier = findClassifier(path, propertyRootPackage);
- if (classifier == null) {
- return null;
- }
-
- org.eclipse.uml2.uml.Property attribute = classifier.getAttribute(property.getName(), null);
- return attribute;
- }
-
- public Package findPackage(String name) {
- for (Resource resource : umlProfile.eResource().getResourceSet().getResources()) {
- for (Object rootElement : resource.getContents()) {
- if (rootElement instanceof Package) {
- Package rootPackage = (Package) rootElement;
- if (name.equals(rootPackage.getName())) {
- return rootPackage;
- }
- }
- }
- }
- return null;
- }
-
- public boolean isSelectedSingle(Property property) {
- org.eclipse.uml2.uml.Property attribute = getAttribute(property);
- if (attribute == null) {
- Activator.log.warn("Cannot find the Property corresponding to " + getPath(property)); //$NON-NLS-1$
- return false;
- }
-
- if (attribute.isDerived()) {
- return false;
- }
-
- if (attribute.isReadOnly()) {
- return false;
- }
-
- return true;
- }
-
- public boolean isSelectedMultiple(Property property) {
- if (!isSelectedSingle(property)) {
- return false;
- }
-
- org.eclipse.uml2.uml.Property attribute = getAttribute(property);
-
- Set<String> validDataTypes = new HashSet<String>(Arrays.asList(new String[] { "Integer", "Boolean", "Float", "Double" })); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
-
- if (attribute.getType() instanceof PrimitiveType) {
- return validDataTypes.contains(((PrimitiveType) attribute.getType()).getName());
- }
-
- if (attribute.getType() instanceof Enumeration) {
- return true;
- }
-
- return false;
- }
-
- public boolean isSelectedSingle(Property property, DataContextElement element) {
- return isSelectedSingle(property);
- }
-
- public boolean isSelectedMultiple(Property property, DataContextElement element) {
- return isSelectedMultiple(property);
- }
-
- @Override
- public IObservableValue getObservableValue() {
- return sourceFileChooser.getObservableValue();
- }
-
- public List<Object> getExternalReference() {
- URI packageURI = URI.createPlatformResourceURI(sourceFileChooser.getFilePath(), true);
- try {
- umlProfile = (Profile) loadEMFModel(packageURI);
- } catch (IOException e) {
- // nothing
- }
- list = new ArrayList<Object>();
- list.add(umlProfile);
-
- TreeIterator<EObject> tree = umlProfile.eAllContents();
- while (tree.hasNext()) {
- Object obj = tree.next();
- if (obj instanceof PackageImport) {
- PackageImport currentPackage = (PackageImport) obj;
- if (!list.contains(currentPackage.getImportedPackage())) {
- list.add(currentPackage.getImportedPackage());
- }
- }
-
-
- }
-
- return list;
- }
-
-
- public void addCheckElement(Object obj) {
- if (obj instanceof EObject) {
- EObject current = (EObject) obj;
- if (!listEObject.contains(current)) {
- listEObject.add(current);
- }
- }
-
- }
-
-
-
-
- @Override
- protected List<ModelExtent> getModelExtents(int i) {
- try {
- ModelExtent inProfile = null;
-
- if (listEObject.get(i) instanceof Package) {
- Package currentPackage = (Package) listEObject.get(i);
- umlProfile = (Profile) loadEMFModel(currentPackage.eResource().getURI());
- inProfile = new BasicModelExtent(Collections.singletonList(umlProfile));
-
- }
- URI umlURI = URI.createURI("ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx", true);
- Context umlContext = (Context) loadEMFModel(umlURI);
- if (umlContext == null) {
- Activator.log.warn("Cannot find the UML Property View configuration");
- }
- ModelExtent inUml = new BasicModelExtent(Collections.singletonList(umlContext));
-
- PropertiesRoot root = ConfigurationManager.getInstance().getPropertiesRoot();
- ModelExtent inRoot = new BasicModelExtent(Collections.singletonList(root));
-
- LinkedList<ModelExtent> result = new LinkedList<ModelExtent>();
- result.add(inProfile);
- result.add(getOutContextExtent());
- result.add(inUml);
- result.add(inRoot);
-
- return result;
- } catch (Exception ex) {
- Activator.log.error(ex);
- }
-
- return null;
-
- }
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/GeneratorProfileDataType.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/GeneratorProfileDataType.java
deleted file mode 100644
index bac11eb282b..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/GeneratorProfileDataType.java
+++ /dev/null
@@ -1,350 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2016 CEA LIST and others.
- *
- * 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:
- * Fanch BONNABESSE (ALL4TEC) fanch.bonnabesse@all4tec.net - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.customization.properties.generation.layout;
-
-import java.util.List;
-
-import org.eclipse.papyrus.customization.properties.generation.Activator;
-import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
-import org.eclipse.papyrus.customization.properties.generation.generators.ProfileGenerator;
-import org.eclipse.papyrus.infra.properties.contexts.Context;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextElement;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextPackage;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextRoot;
-import org.eclipse.papyrus.infra.properties.contexts.Property;
-import org.eclipse.papyrus.infra.properties.contexts.View;
-import org.eclipse.papyrus.infra.properties.environment.CompositeWidgetType;
-import org.eclipse.papyrus.infra.properties.environment.Environment;
-import org.eclipse.papyrus.infra.properties.environment.LayoutType;
-import org.eclipse.papyrus.infra.properties.environment.PropertyEditorType;
-import org.eclipse.papyrus.infra.properties.environment.Type;
-import org.eclipse.papyrus.infra.properties.ui.CompositeWidget;
-import org.eclipse.papyrus.infra.properties.ui.Layout;
-import org.eclipse.papyrus.infra.properties.ui.PropertyEditor;
-import org.eclipse.papyrus.infra.properties.ui.UiFactory;
-import org.eclipse.papyrus.infra.properties.ui.ValueAttribute;
-import org.eclipse.papyrus.infra.properties.ui.runtime.PropertiesRuntime;
-import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * Generator for Profile which contained DataTypes.
- */
-public class GeneratorProfileDataType extends StandardLayoutGenerator {
-
- /**
- * The managed generator.
- */
- protected IGenerator generator;
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.papyrus.customization.properties.generation.layout.StandardLayoutGenerator#sortEditors(java.util.List)
- */
- @Override
- protected void sortEditors(final List<PropertyEditor> editors) {
- for (PropertyEditor editor : editors) {
- Category category = new TypeCategory(editor.getProperty());
- getByCategory(category).add(editor);
-
- if (editor.getWidgetType() == null) {
- Activator.log.warn(String.format("Editor for property %s doesn't have a WidgetType", editor.getProperty().getName())); //$NON-NLS-1$
- continue;
- }
-
- namespaces.add(editor.getWidgetType().getNamespace());
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.papyrus.customization.properties.generation.layout.StandardLayoutGenerator#layoutCategorizedEditors(org.eclipse.papyrus.customization.properties.generation.layout.StandardLayoutGenerator.Category, java.util.List)
- */
- @Override
- protected CompositeWidget layoutCategorizedEditors(final Category category, final List<PropertyEditor> editors) {
- if (((TypeCategory) category).isDatatype) {
- CompositeWidgetType compositeType = PropertiesRuntime.getConfigurationManager().getDefaultCompositeType();
-
- CompositeWidget container = UiFactory.eINSTANCE.createCompositeWidget();
- container.setWidgetType(compositeType);
-
- Layout layout = createLayout(category.getNumColumns());
- container.setLayout(layout);
-
- for (PropertyEditor editor : editors) {
- PropertyEditor viewEditor = UiFactory.eINSTANCE.createPropertyEditor();
- viewEditor.setWidgetType(getViewEditor());
- viewEditor.setProperty(editor.getProperty());
-
- ValueAttribute view = UiFactory.eINSTANCE.createValueAttribute();
- view.setName("view"); //$NON-NLS-1$
- view.setValue(getViewName(editor.getProperty()));
- viewEditor.getAttributes().add(view);
-
- container.getWidgets().add(viewEditor);
- }
-
- return container;
- }
-
- return super.layoutCategorizedEditors(category, editors);
- }
-
- /**
- * Get the view name.
- *
- * @param property
- * The context property to manage.
- * @return The string corresponding to the property.
- */
- protected String getViewName(final Property property) {
- if (!(generator instanceof ProfileGenerator)) {
- return ""; //$NON-NLS-1$
- }
-
- org.eclipse.uml2.uml.Property attribute = ((ProfileGenerator) generator).getAttribute(property);
-
- Package nearestPackage = attribute.getType().getNearestPackage();
- Package rootPackage = nearestPackage;
- while (rootPackage.getNestingPackage() != null) {
- rootPackage = rootPackage.getNestingPackage();
- }
-
- // TODO : We're assuming the rootPackage has the same name as the context...
- // This layout generator is really only compatible with ProfileGenerator
- return rootPackage.getName() + ":Single " + attribute.getType().getName(); //$NON-NLS-1$
- }
-
- /**
- * This allows to find the context property.
- *
- * @param property
- * The context property.
- * @return the context.
- */
- protected Context findContext(final Property property) {
- DataContextElement element = property.getContextElement();
- if (element instanceof DataContextRoot) {
- // TODO : Add a container reference to Context
- return (Context) element.eContainer();
- }
-
- return findContext(element);
- }
-
- /**
- * Find the context from the data context element.
- *
- * @param element
- * The data context element.
- * @return The needed context.
- */
- protected Context findContext(final DataContextElement element) {
- DataContextPackage dataContextPackage = element.getPackage();
- if (dataContextPackage instanceof DataContextRoot) {
- return (Context) dataContextPackage.eContainer();
- }
- return findContext(dataContextPackage);
- }
-
- /**
- * Get the qualified name of the view.
- *
- * @param view
- * The view.
- * @return The qualified name of the view.
- */
- protected String getQualifiedName(final View view) {
- return view.getContext().getName() + ":" + view.getName(); //$NON-NLS-1$
- }
-
- /**
- * This allows to create the correct layout.
- *
- * @param columns
- * the number of columns needed.
- * @return The created layout.
- */
- protected Layout createLayout(final Integer columns) {
- LayoutType propertiesLayoutType = PropertiesRuntime.getConfigurationManager().getDefaultLayoutType();
-
- Layout layout = UiFactory.eINSTANCE.createLayout();
- ValueAttribute numColumns = UiFactory.eINSTANCE.createValueAttribute();
- numColumns.setName("numColumns"); //$NON-NLS-1$
- numColumns.setValue(columns.toString());
-
- layout.getAttributes().add(numColumns);
- layout.setLayoutType(propertiesLayoutType);
-
- return layout;
- }
-
- /**
- * Get the view editor.
- *
- * @return The view editor.
- */
- protected PropertyEditorType getViewEditor() {
- for (Environment environment : ConfigurationManager.getInstance().getPropertiesRoot().getEnvironments()) {
- for (PropertyEditorType widgetType : environment.getPropertyEditorTypes()) {
- if (widgetType.getNamespace() != null && "ppe".equals(widgetType.getNamespace().getName()) && widgetType.getWidgetClass().equals("DataTypeEditor")) {
- return widgetType;
- }
- }
- }
-
- return PropertiesRuntime.getConfigurationManager().getDefaultEditorType(Type.STRING, false);
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.papyrus.customization.properties.generation.layout.StandardLayoutGenerator#setGenerator(org.eclipse.papyrus.customization.properties.generation.generators.IGenerator)
- */
- @Override
- public void setGenerator(IGenerator generator) {
- this.generator = generator;
- }
-
- /**
- * The type category.
- */
- protected class TypeCategory extends Category {
-
- /**
- * Boolean to determinate if this is a data type.
- */
- protected boolean isDatatype;
-
- /**
- * Constructor.
- *
- * @param property
- * The context property to manage.
- */
- public TypeCategory(final Property property) {
- super(property);
- org.eclipse.uml2.uml.Property attribute = resolveProperty(property);
- if (attribute != null && attribute.getType() != null) {
- isDatatype = attribute.getType().eClass() == UMLPackage.eINSTANCE.getDataType();
- }
- }
-
- /**
- * Resolve the context property to UML property.
- *
- * @param property
- * The context property.
- * @return The UML property corresponding.
- */
- protected org.eclipse.uml2.uml.Property resolveProperty(final Property property) {
- // TODO : We should not have to rely on the IGenerator to retrieve the property...
- if (generator instanceof ProfileGenerator) {
- ProfileGenerator profileGenerator = (ProfileGenerator) generator;
- return profileGenerator.getAttribute(property);
- }
-
- return null;
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.papyrus.customization.properties.generation.layout.StandardLayoutGenerator.Category#getNumColumns()
- */
- @Override
- public Integer getNumColumns() {
- if (isDatatype) {
- return 1;
- }
- return super.getNumColumns();
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.papyrus.customization.properties.generation.layout.StandardLayoutGenerator.Category#hashCode()
- */
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = super.hashCode();
- result = prime * result + getOuterType().hashCode();
- result = prime * result + (isDatatype ? 1231 : 1237);
- return result;
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.papyrus.customization.properties.generation.layout.StandardLayoutGenerator.Category#equals(java.lang.Object)
- */
- @Override
- public boolean equals(final Object obj) {
- if (this == obj) {
- return true;
- }
- if (!super.equals(obj)) {
- return false;
- }
- if (!(obj instanceof TypeCategory)) {
- return false;
- }
- TypeCategory other = (TypeCategory) obj;
- if (!getOuterType().equals(other.getOuterType())) {
- return false;
- }
- if (isDatatype != other.isDatatype) {
- return false;
- }
- return true;
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.papyrus.customization.properties.generation.layout.StandardLayoutGenerator.Category#getTypeIndex()
- */
- @Override
- public Integer getTypeIndex() {
- if (isDatatype) {
- return orderedTypes.length + 1;
- }
- return super.getTypeIndex();
- }
-
- /**
- * Return the outer type.
- *
- * @return The outer type.
- */
- private GeneratorProfileDataType getOuterType() {
- return GeneratorProfileDataType.this;
- }
- }
-
- /**
- * {@inheritDoc}
- *
- * @see org.eclipse.papyrus.customization.properties.generation.layout.StandardLayoutGenerator#getName()
- */
- @Override
- public String getName() {
- return "Generator for Profile with DataTypes"; //$NON-NLS-1$
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/ILayoutGenerator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/ILayoutGenerator.java
deleted file mode 100644
index b20c6034afc..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/ILayoutGenerator.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.layout;
-
-import java.util.List;
-
-import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
-import org.eclipse.papyrus.infra.properties.contexts.Section;
-import org.eclipse.papyrus.infra.properties.contexts.View;
-import org.eclipse.papyrus.infra.properties.ui.PropertyEditor;
-
-/**
- * An interface for defining Layout generators.
- * Layout generators are responsible for building a List of sections from a list
- * of Property editors.
- *
- * @author Camille Letavernier
- */
-public interface ILayoutGenerator {
-
- /**
- * Return a list of Sections from a list of property editors.
- * Each section should be placed in the parent's resourceSet
- *
- * @param editors
- * The list of editors to layout
- * @param parent
- * The view owning the resulting list of sections
- * @return
- * The list of sections owning the input editors
- */
- public List<Section> layoutElements(List<PropertyEditor> editors, View parent);
-
- /**
- * @return the name of the Layout generator
- */
- public String getName();
-
- /**
- * Sets the generator used to generate the Property view configuration
- *
- * @param generator
- */
- // TODO : This method has been added for a specific case (Profile layout).
- // It should be removed when we have a better way to retrieve the source
- // profile
- public void setGenerator(IGenerator generator);
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/ProfileWithDatatypes.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/ProfileWithDatatypes.java
deleted file mode 100644
index e516e887b6d..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/ProfileWithDatatypes.java
+++ /dev/null
@@ -1,282 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012, 2016 CEA LIST, Esterel Technologies SAS and others.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- * Sebastien Gabel (Esterel Technologies SAS) - bug 497374
- *
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.layout;
-
-import java.util.List;
-
-import org.eclipse.papyrus.customization.properties.generation.Activator;
-import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
-import org.eclipse.papyrus.customization.properties.generation.generators.ProfileGenerator;
-import org.eclipse.papyrus.infra.properties.contexts.Context;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextElement;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextPackage;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextRoot;
-import org.eclipse.papyrus.infra.properties.contexts.Property;
-import org.eclipse.papyrus.infra.properties.contexts.View;
-import org.eclipse.papyrus.infra.properties.environment.CompositeWidgetType;
-import org.eclipse.papyrus.infra.properties.environment.Environment;
-import org.eclipse.papyrus.infra.properties.environment.LayoutType;
-import org.eclipse.papyrus.infra.properties.environment.PropertyEditorType;
-import org.eclipse.papyrus.infra.properties.environment.Type;
-import org.eclipse.papyrus.infra.properties.ui.CompositeWidget;
-import org.eclipse.papyrus.infra.properties.ui.Layout;
-import org.eclipse.papyrus.infra.properties.ui.PropertyEditor;
-import org.eclipse.papyrus.infra.properties.ui.UiFactory;
-import org.eclipse.papyrus.infra.properties.ui.ValueAttribute;
-import org.eclipse.papyrus.infra.properties.ui.runtime.PropertiesRuntime;
-import org.eclipse.papyrus.infra.properties.ui.util.PropertiesUtil;
-import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- *
- * @author Camille Letavernier
- *
- * @deprecated Papyrus doesn't use custom Datatype definition anymore. Use the StandardLayoutGenerator instead
- *
- */
-@Deprecated
-public class ProfileWithDatatypes extends StandardLayoutGenerator {
-
- protected IGenerator generator;
-
- @Override
- protected void sortEditors(List<PropertyEditor> editors) {
- for (PropertyEditor editor : editors) {
- Category category = new TypeCategory(editor.getProperty());
- getByCategory(category).add(editor);
-
- if (editor.getWidgetType() == null) {
- Activator.log.warn(String.format("Editor for property %s doesn't have a WidgetType", editor.getProperty().getName())); //$NON-NLS-1$
- continue;
- }
-
- namespaces.add(editor.getWidgetType().getNamespace());
- }
- }
-
- @Override
- protected CompositeWidget layoutCategorizedEditors(Category category, List<PropertyEditor> editors) {
- if (((TypeCategory) category).isDatatype) {
- CompositeWidgetType compositeType = PropertiesRuntime.getConfigurationManager().getDefaultCompositeType();
-
- CompositeWidget container = UiFactory.eINSTANCE.createCompositeWidget();
- container.setWidgetType(compositeType);
-
- Layout layout = createLayout(category.getNumColumns());
- container.setLayout(layout);
-
- for (PropertyEditor editor : editors) {
- CompositeWidget group = createDataTypeGroup(editor.getProperty());
-
- PropertyEditor viewEditor = UiFactory.eINSTANCE.createPropertyEditor();
- viewEditor.setWidgetType(getViewEditor());
- viewEditor.setProperty(editor.getProperty());
-
- ValueAttribute view = UiFactory.eINSTANCE.createValueAttribute();
- view.setName("view");
- view.setValue(getViewName(editor.getProperty()));
- viewEditor.getAttributes().add(view);
-
- group.getWidgets().add(viewEditor);
- container.getWidgets().add(group);
- }
-
- return container;
- }
-
- return super.layoutCategorizedEditors(category, editors);
- }
-
- protected String getViewName(Property property) {
- if (!(generator instanceof ProfileGenerator)) {
- return "";
- }
-
- org.eclipse.uml2.uml.Property attribute = ((ProfileGenerator) generator).getAttribute(property);
-
- Package nearestPackage = attribute.getType().getNearestPackage();
- Package rootPackage = nearestPackage;
- while (rootPackage.getNestingPackage() != null) {
- rootPackage = rootPackage.getNestingPackage();
- }
-
- // TODO : We're assuming the rootPackage has the same name as the context...
- // This layout generator is really only compatible with ProfileGenerator
- return rootPackage.getName() + ":Single " + attribute.getType().getName();
- }
-
- protected Context findContext(Property property) {
- DataContextElement element = property.getContextElement();
- if (element instanceof DataContextRoot) {
- // TODO : Add a container reference to Context
- return (Context) element.eContainer();
- }
-
- return findContext(element);
- }
-
- protected Context findContext(DataContextElement element) {
- DataContextPackage dataContextPackage = element.getPackage();
- if (dataContextPackage instanceof DataContextRoot) {
- return (Context) dataContextPackage.eContainer();
- }
- return findContext(dataContextPackage);
- }
-
- protected String getQualifiedName(View view) {
- return view.getContext().getName() + ":" + view.getName();
- }
-
- protected CompositeWidget createDataTypeGroup(Property property) {
- CompositeWidgetType groupType = getGroupComposite();
- CompositeWidget group = UiFactory.eINSTANCE.createCompositeWidget();
- group.setWidgetType(groupType);
-
- ValueAttribute text = UiFactory.eINSTANCE.createValueAttribute();
- text.setName("text");
- text.setValue(PropertiesUtil.getLabel(property));
-
- group.getAttributes().add(text);
-
- Layout layout = createLayout(1);
- group.setLayout(layout);
-
- return group;
- }
-
- protected Layout createLayout(Integer columns) {
- LayoutType propertiesLayoutType = PropertiesRuntime.getConfigurationManager().getDefaultLayoutType();
-
- Layout layout = UiFactory.eINSTANCE.createLayout();
- ValueAttribute numColumns = UiFactory.eINSTANCE.createValueAttribute();
- numColumns.setName("numColumns"); //$NON-NLS-1$
- numColumns.setValue(columns.toString());
-
- layout.getAttributes().add(numColumns);
- layout.setLayoutType(propertiesLayoutType);
-
- return layout;
- }
-
- protected CompositeWidgetType getGroupComposite() {
- for (Environment environment : ConfigurationManager.getInstance().getPropertiesRoot().getEnvironments()) {
- for (CompositeWidgetType widgetType : environment.getCompositeWidgetTypes()) {
- if (widgetType.getNamespace() == null && widgetType.getWidgetClass().equals("Group")) {
- return widgetType;
- }
- }
- }
-
- Activator.log.warn("Cannot find the Group composite type");
- return PropertiesRuntime.getConfigurationManager().getDefaultCompositeType();
- }
-
- protected PropertyEditorType getViewEditor() {
- for (Environment environment : ConfigurationManager.getInstance().getPropertiesRoot().getEnvironments()) {
- for (PropertyEditorType widgetType : environment.getPropertyEditorTypes()) {
- if (widgetType.getNamespace() != null && "ppe".equals(widgetType.getNamespace().getName()) && widgetType.getWidgetClass().equals("ViewEditor")) {
- return widgetType;
- }
- }
- }
-
- Activator.log.warn("Cannot find the Group composite type");
- return PropertiesRuntime.getConfigurationManager().getDefaultEditorType(Type.STRING, false);
- }
-
- @Override
- public void setGenerator(IGenerator generator) {
- this.generator = generator;
- }
-
- protected class TypeCategory extends Category {
-
- protected boolean isDatatype;
-
- public TypeCategory(Property property) {
- super(property);
- org.eclipse.uml2.uml.Property attribute = resolveProperty(property);
- if (attribute != null && attribute.getType() != null) {
- isDatatype = attribute.getType().eClass() == UMLPackage.eINSTANCE.getDataType();
- }
- }
-
- protected org.eclipse.uml2.uml.Property resolveProperty(Property property) {
- // TODO : We should not have to rely on the IGenerator to retrieve the property...
- if (generator instanceof ProfileGenerator) {
- ProfileGenerator profileGenerator = (ProfileGenerator) generator;
- return profileGenerator.getAttribute(property);
- }
-
- return null;
- }
-
- @Override
- public Integer getNumColumns() {
- if (isDatatype) {
- return 1;
- }
- return super.getNumColumns();
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = super.hashCode();
- result = prime * result + getOuterType().hashCode();
- result = prime * result + (isDatatype ? 1231 : 1237);
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (!super.equals(obj)) {
- return false;
- }
- if (!(obj instanceof TypeCategory)) {
- return false;
- }
- TypeCategory other = (TypeCategory) obj;
- if (!getOuterType().equals(other.getOuterType())) {
- return false;
- }
- if (isDatatype != other.isDatatype) {
- return false;
- }
- return true;
- }
-
- @Override
- public Integer getTypeIndex() {
- if (isDatatype) {
- return orderedTypes.length + 1;
- }
- return super.getTypeIndex();
- }
-
- private ProfileWithDatatypes getOuterType() {
- return ProfileWithDatatypes.this;
- }
- }
-
- @Override
- public String getName() {
- return "UML Profile with DataTypes (Deprecated, use Standard)";
- }
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/StandardLayoutGenerator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/StandardLayoutGenerator.java
deleted file mode 100644
index 7ebf1c589f2..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/StandardLayoutGenerator.java
+++ /dev/null
@@ -1,277 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.layout;
-
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-import java.util.TreeMap;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.papyrus.customization.properties.generation.Activator;
-import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-import org.eclipse.papyrus.infra.properties.contexts.ContextsFactory;
-import org.eclipse.papyrus.infra.properties.contexts.Property;
-import org.eclipse.papyrus.infra.properties.contexts.Section;
-import org.eclipse.papyrus.infra.properties.contexts.View;
-import org.eclipse.papyrus.infra.properties.environment.CompositeWidgetType;
-import org.eclipse.papyrus.infra.properties.environment.LayoutType;
-import org.eclipse.papyrus.infra.properties.environment.Namespace;
-import org.eclipse.papyrus.infra.properties.environment.Type;
-import org.eclipse.papyrus.infra.properties.ui.CompositeWidget;
-import org.eclipse.papyrus.infra.properties.ui.Layout;
-import org.eclipse.papyrus.infra.properties.ui.PropertyEditor;
-import org.eclipse.papyrus.infra.properties.ui.UiFactory;
-import org.eclipse.papyrus.infra.properties.ui.ValueAttribute;
-import org.eclipse.papyrus.infra.properties.ui.runtime.PropertiesRuntime;
-import org.eclipse.papyrus.infra.properties.ui.util.PropertiesUtil;
-
-/**
- * Default implementation for ILayoutGenerator
- * PropertyEditors are grouped by their property type (Strings, booleans, ...)
- * Boolean and integer sections have two columns, while the other ones have only one columns
- *
- * All multiple value editors are displayed after all the single value editors.
- *
- * @author Camille Letavernier
- */
-public class StandardLayoutGenerator implements ILayoutGenerator {
-
- protected final TreeMap<Category, List<PropertyEditor>> editorsByCategory = new TreeMap<Category, List<PropertyEditor>>();
-
- protected final Set<Namespace> namespaces = new HashSet<Namespace>();
-
- public synchronized List<Section> layoutElements(List<PropertyEditor> editors, View parent) {
-
- editorsByCategory.clear();
- namespaces.clear();
-
- namespaces.addAll(PropertiesRuntime.getConfigurationManager().getBaseNamespaces());
-
- sortEditors(editors);
-
- Section section = createSection(parent);
-
- for (Map.Entry<Category, List<PropertyEditor>> mapping : editorsByCategory.entrySet()) {
- Category category = mapping.getKey();
- List<PropertyEditor> categorizedEditors = mapping.getValue();
-
- CompositeWidget container = layoutCategorizedEditors(category, categorizedEditors);
-
- section.getWidget().getWidgets().add(container);
- }
-
- return Collections.singletonList(section);
- }
-
- protected CompositeWidget layoutCategorizedEditors(Category category, List<PropertyEditor> editors) {
- CompositeWidgetType compositeType = PropertiesRuntime.getConfigurationManager().getDefaultCompositeType();
- LayoutType propertiesLayoutType = PropertiesRuntime.getConfigurationManager().getDefaultLayoutType();
-
- CompositeWidget container = UiFactory.eINSTANCE.createCompositeWidget();
- container.setWidgetType(compositeType);
- Layout layout = UiFactory.eINSTANCE.createLayout();
- container.setLayout(layout);
- ValueAttribute numColumns = UiFactory.eINSTANCE.createValueAttribute();
- numColumns.setName("numColumns"); //$NON-NLS-1$
- numColumns.setValue(category.getNumColumns().toString());
- layout.getAttributes().add(numColumns);
- layout.setLayoutType(propertiesLayoutType);
- container.getWidgets().addAll(editors);
-
- return container;
- }
-
- protected void sortEditors(List<PropertyEditor> editors) {
- for (PropertyEditor editor : editors) {
- Category category = new Category(editor.getProperty());
- getByCategory(category).add(editor);
-
- if (editor.getWidgetType() == null) {
- Activator.log.warn(String.format("Editor for property %s doesn't have a WidgetType", editor.getProperty().getName())); //$NON-NLS-1$
- continue;
- }
-
- namespaces.add(editor.getWidgetType().getNamespace());
- }
- }
-
- protected Section createSection(View parent) {
- CompositeWidget sectionRoot = createSectionRoot();
-
- Section section = ContextsFactory.eINSTANCE.createSection();
- section.setName(parent.getName());
- section.setSectionFile(String.format("ui/%s.xwt", section.getName().replaceAll(" ", ""))); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-
- URI compositeURI = URI.createURI(section.getSectionFile());
- compositeURI = compositeURI.resolve(parent.eResource().getURI());
- Resource resource = parent.eResource().getResourceSet().createResource(compositeURI);
-
- section.setWidget(sectionRoot);
-
- resource.getContents().add(sectionRoot);
-
- return section;
- }
-
- protected CompositeWidget createSectionRoot() {
- CompositeWidgetType compositeType = PropertiesRuntime.getConfigurationManager().getDefaultCompositeType();
- namespaces.add(compositeType.getNamespace());
- LayoutType propertiesLayoutType = PropertiesRuntime.getConfigurationManager().getDefaultLayoutType();
- namespaces.add(propertiesLayoutType.getNamespace());
-
- CompositeWidget sectionRoot = UiFactory.eINSTANCE.createCompositeWidget();
- sectionRoot.setWidgetType(compositeType);
- Layout layout = UiFactory.eINSTANCE.createLayout();
- layout.setLayoutType(propertiesLayoutType);
- sectionRoot.setLayout(layout);
- sectionRoot.getAttributes().addAll(createNamespaces(namespaces));
-
- return sectionRoot;
- }
-
- protected List<ValueAttribute> createNamespaces(Collection<Namespace> namespaces) {
- List<ValueAttribute> xmlNamespaces = new LinkedList<ValueAttribute>();
- for (Namespace namespace : namespaces) {
- if (namespace == null) {
- continue;
- }
-
- ValueAttribute attribute = UiFactory.eINSTANCE.createValueAttribute();
- attribute.setName(PropertiesUtil.getQualifiedName(namespace));
- attribute.setValue(PropertiesUtil.getPrefixedValue(namespace));
- xmlNamespaces.add(attribute);
- }
- return xmlNamespaces;
- }
-
- protected List<PropertyEditor> getByCategory(Category category) {
- if (!editorsByCategory.containsKey(category)) {
- editorsByCategory.put(category, new LinkedList<PropertyEditor>());
- }
- return editorsByCategory.get(category);
- }
-
- protected class Category implements Comparable<Category> {
-
- public Type editorType;
-
- public int multiplicity;
-
- public Integer getNumColumns() {
- switch (editorType) {
- case BOOLEAN:
- return 2;
- case ENUMERATION:
- return 1;
- case INTEGER:
- return 2;
- case REFERENCE:
- return 1;
- case STRING:
- return 1;
- }
- return 1; // Cannot happen
- }
-
- public Category(Property property) {
- this.editorType = property.getType();
- this.multiplicity = property.getMultiplicity();
- }
-
- @Override
- public int hashCode() {
- final int prime = 31;
- int result = 1;
- result = prime * result + getOuterType().hashCode();
- result = prime * result + ((editorType == null) ? 0 : editorType.hashCode());
- result = prime * result + multiplicity;
- return result;
- }
-
- @Override
- public boolean equals(Object obj) {
- if (this == obj) {
- return true;
- }
- if (obj == null) {
- return false;
- }
- if (!(obj instanceof Category)) {
- return false;
- }
- Category other = (Category) obj;
- if (!getOuterType().equals(other.getOuterType())) {
- return false;
- }
- if (editorType != other.editorType) {
- return false;
- }
- if (multiplicity != other.multiplicity) {
- return false;
- }
- return true;
- }
-
- public int compareTo(Category category) {
- if (category == null) {
- return -1;
- }
-
- if (category.multiplicity != multiplicity) {
- return multiplicity == 1 ? -1 : 1;
- }
-
- int result = getTypeIndex().compareTo(category.getTypeIndex());
- return result;
- }
-
- public Integer getTypeIndex() {
- int i = 0;
- for (Type type : orderedTypes) {
- if (type == editorType) {
- return i;
- }
- i++;
- }
- return orderedTypes.length;
- }
-
- @Override
- public String toString() {
- return (multiplicity == 1 ? "Single" : "Multiple") + editorType.toString(); //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- private StandardLayoutGenerator getOuterType() {
- return StandardLayoutGenerator.this;
- }
- }
-
- /**
- * The order in which the types are displayed
- */
- public static Type[] orderedTypes = new Type[] { Type.STRING, Type.BOOLEAN, Type.INTEGER, Type.ENUMERATION, Type.REFERENCE };
-
- public String getName() {
- return Messages.StandardLayoutGenerator_name;
- }
-
- public void setGenerator(IGenerator generator) {
- // Ignored
- }
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/messages/Messages.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/messages/Messages.java
deleted file mode 100644
index 8ee5b92666d..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/messages/Messages.java
+++ /dev/null
@@ -1,110 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.messages;
-
-import org.eclipse.osgi.util.NLS;
-
-public class Messages extends NLS {
-
- private static final String BUNDLE_NAME = "org.eclipse.papyrus.customization.properties.generation.messages.messages"; //$NON-NLS-1$
-
- public static String EcoreGenerator_ecoreGeneratorDescription;
-
- public static String EcoreGenerator_ecoreGeneratorName;
-
- public static String EcoreGenerator_source;
-
- public static String EditContextGenerator_generateNewContext;
-
- public static String EditContextGenerator_importExistingContext;
-
- public static String ProfileGenerator_description;
-
- public static String ProfileGenerator_name;
-
- public static String ProfileGenerator_source;
-
- public static String StandardLayoutGenerator_name;
-
- public static String CreateContextMainPage_description;
-
- public static String CreateContextMainPage_title;
-
- public static String CreateContextWizard_pageTitle;
-
- public static String CreateContextWizard_propertyViewGenerationError;
-
- public static String CreateContextWizard_propertyViewGenerationJobName;
-
- public static String GeneratorPage_layoutGenerator;
-
- public static String GeneratorPage_target;
-
- public static String GeneratorPage_title;
-
- public static String SelectFieldsPage_availableFields;
-
- public static String SelectFieldsPage_description;
-
- public static String SelectFieldsPage_descriptionNotAvailable;
-
- public static String SelectFieldsPage_displayMultiple;
-
- public static String SelectFieldsPage_displaySingle;
-
- public static String SelectFieldsPage_field;
-
- public static String SelectFieldsPage_selectFields;
-
- public static String SelectFieldsPage_title;
-
- public static String SelectOutputPage_0;
-
- public static String SelectOutputPage_1;
-
- public static String SelectOutputPage_2;
-
- public static String SelectOutputPage_3;
-
- public static String SelectOutputPage_4;
-
- public static String SourceValidator_2;
-
- public static String SourceValidator_4;
-
- public static String SourceValidator_5;
-
- public static String SourceValidator_6;
-
- public static String SourceValidator_7;
-
- public static String FileChooser_browseWorkspace;
-
- public static String TargetValidator_2;
-
- public static String TargetValidator_3;
-
- public static String TernaryButton_defaultFalse;
-
- public static String TernaryButton_defaultTrue;
-
- public static String TernaryButton_false;
-
- public static String TernaryButton_true;
- static {
- // initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
- }
-
- private Messages() {
- }
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/messages/messages.properties b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/messages/messages.properties
deleted file mode 100644
index abe6c8fc5ba..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/messages/messages.properties
+++ /dev/null
@@ -1,42 +0,0 @@
-EcoreGenerator_ecoreGeneratorDescription=Generate a new Property View context from an Ecore Metamodel\nChose the Ecore file corresponding to your metamodel
-EcoreGenerator_ecoreGeneratorName=Create from Ecore Metamodel
-EcoreGenerator_source=Source :
-EditContextGenerator_generateNewContext=Generates a new context from an existing one
-EditContextGenerator_importExistingContext=Import existing context
-ProfileGenerator_description=Generate a new Property View context from a UML Profile\nChose the UML Profile corresponding to your metamodel
-ProfileGenerator_name=Create from UML Profile
-ProfileGenerator_source=Source :
-StandardLayoutGenerator_name=Standard layout generator
-CreateContextMainPage_description=Generate a new Property View context from a Metamodel
-CreateContextMainPage_title=Create context
-CreateContextWizard_pageTitle=New Property view Context
-CreateContextWizard_propertyViewGenerationError=An error occured while generating the property view for
-CreateContextWizard_propertyViewGenerationJobName=Property View Generation for
-GeneratorPage_layoutGenerator=Layout generator :
-GeneratorPage_target=Target :
-GeneratorPage_title=Generator page
-SelectFieldsPage_availableFields=Available fields :
-SelectFieldsPage_description=Description
-SelectFieldsPage_descriptionNotAvailable=N/A
-SelectFieldsPage_displayMultiple=Display multiple
-SelectFieldsPage_displaySingle=Display single
-SelectFieldsPage_field=Field
-SelectFieldsPage_selectFields=Select the fields you want to be displayed in the Property view
-SelectFieldsPage_title=Select fields
-SelectOutputPage_0=Output context Page
-SelectOutputPage_1= How would you like to generate your new View Property ? \n Select your strategy and your source
-SelectOutputPage_2=Don't generate dependencies
-SelectOutputPage_3=Generate dependencies in the same file
-SelectOutputPage_4=Generate dependencies in different files
-SourceValidator_2=Source file should be a .Ecore file
-SourceValidator_4=Source file should be a .Uml file
-SourceValidator_5=Source file does not exist in workspace
-SourceValidator_6=Source must not be blank
-SourceValidator_7=Target file should be .CTX file
-FileChooser_browseWorkspace=Browse workspace...
-TargetValidator_2=Target File should be a .ctx file
-TargetValidator_3=Specify a target file
-TernaryButton_defaultFalse=Default (False)
-TernaryButton_defaultTrue=Default (True)
-TernaryButton_false=False
-TernaryButton_true=True
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/providers/DataContextPropertiesContentProvider.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/providers/DataContextPropertiesContentProvider.java
deleted file mode 100644
index fb0de1742e3..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/providers/DataContextPropertiesContentProvider.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.providers;
-
-import java.util.List;
-
-import org.eclipse.papyrus.customization.properties.providers.PropertyContentProvider;
-import org.eclipse.papyrus.infra.properties.contexts.Context;
-
-
-public class DataContextPropertiesContentProvider extends PropertyContentProvider {
-
- private final List<Context> contexts;
-
- public DataContextPropertiesContentProvider(List<Context> contexts) {
- super(contexts.get(0));
- this.contexts = contexts;
- }
-
- @Override
- public Object[] getElements() {
- // We're only interested in the generated contexts ; not in their dependencies
- return contexts.toArray();
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/providers/DataContextPropertiesLabelProvider.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/providers/DataContextPropertiesLabelProvider.java
deleted file mode 100644
index db9154adf96..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/providers/DataContextPropertiesLabelProvider.java
+++ /dev/null
@@ -1,127 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2012 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.providers;
-
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.StyledCellLabelProvider;
-import org.eclipse.jface.viewers.StyledString;
-import org.eclipse.jface.viewers.ViewerCell;
-import org.eclipse.papyrus.customization.properties.generation.wizard.SelectFieldsPage;
-import org.eclipse.papyrus.customization.properties.providers.ContextLabelProvider;
-import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-import org.eclipse.papyrus.infra.properties.contexts.Property;
-import org.eclipse.swt.graphics.Image;
-
-public class DataContextPropertiesLabelProvider extends StyledCellLabelProvider {
-
- private final SelectFieldsPage selectFieldsPage;
-
- private final ILabelProvider labelProvider;
-
- public DataContextPropertiesLabelProvider(SelectFieldsPage selectFieldsPage) {
- this.selectFieldsPage = selectFieldsPage;
- labelProvider = new ContextLabelProvider();
- }
-
- @Override
- public void update(ViewerCell cell) {
- Object element = cell.getElement();
- int columnIndex = cell.getColumnIndex();
-
- StyledString styleText = getStyledText(element, columnIndex);
-
- cell.setText(styleText.getString());
- cell.setStyleRanges(styleText.getStyleRanges());
- cell.setImage(getImage(element, columnIndex));
- }
-
- protected StyledString getStyledText(Object element, int columnIndex) {
- String text = getText(element, columnIndex);
-
- if (columnIndex == selectFieldsPage.fieldColumn) {
- EObject eObject = EMFHelper.getEObject(element);
- if (!(eObject instanceof Property)) {
- StyledString styledString = new StyledString(text, StyledString.QUALIFIER_STYLER);
-
- return styledString;
- }
- }
-
- // if(columnIndex == selectFieldsPage.selectionSingleColumn) {
- // //Nothing
- // }
- //
- // if(columnIndex == selectFieldsPage.selectionMultipleColumn) {
- // //Nothing
- // }
- //
- // if(columnIndex == selectFieldsPage.descriptionColumn) {
- // //Nothing
- // }
-
- // Default
- return new StyledString(text);
- }
-
- protected String getText(Object element, int columnIndex) {
- if (columnIndex == selectFieldsPage.fieldColumn) {
- return labelProvider.getText(element);
- }
-
- // if(columnIndex == selectFieldsPage.selectionSingleColumn) {
- // //Nothing
- // }
- //
- // if(columnIndex == selectFieldsPage.selectionMultipleColumn) {
- // //Nothing
- // }
-
- if (columnIndex == selectFieldsPage.descriptionColumn) {
- EObject eObject = EMFHelper.getEObject(element);
- if (eObject instanceof Property) {
- String description = ((Property) element).getDescription();
- if (description != null) {
- return description.replaceAll("[\n\r]+", "\\\\");
- }
-
- return "";
- }
- }
-
- // Default
- return "";
- }
-
- protected Image getImage(Object element, int columnIndex) {
- if (columnIndex == selectFieldsPage.fieldColumn) {
- return labelProvider.getImage(element);
- }
-
- // if(columnIndex == selectFieldsPage.selectionSingleColumn) {
- // //Nothing
- // }
- //
- // if(columnIndex == selectFieldsPage.selectionMultipleColumn) {
- // //Nothing
- // }
- //
- // if(columnIndex == selectFieldsPage.descriptionColumn) {
- // //Nothing
- // }
-
- // Default
- return null;
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/AbstractValidator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/AbstractValidator.java
deleted file mode 100644
index 0aa404ec6e0..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/AbstractValidator.java
+++ /dev/null
@@ -1,42 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013 CEA LIST.
- *
- * 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:
- * Thibault Le Ouay t.leouay@sherpa-eng.com
- *****************************************************************************/
-
-
-package org.eclipse.papyrus.customization.properties.generation.validators;
-
-import org.eclipse.core.databinding.validation.IValidator;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.papyrus.infra.widgets.Activator;
-
-public abstract class AbstractValidator implements IValidator {
-
- protected String pluginId;
-
- public void setPluginID(String pluginId) {
- this.pluginId = pluginId;
- }
-
- protected IStatus error(String message) {
- return new Status(IStatus.ERROR, getPluginId(), message);
- }
-
- public String getPluginId() {
- if (pluginId == null) {
- return Activator.PLUGIN_ID;
- } else {
- return pluginId;
- }
- }
-
-
-} \ No newline at end of file
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/SourceValidator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/SourceValidator.java
deleted file mode 100644
index 3273dd876dd..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/SourceValidator.java
+++ /dev/null
@@ -1,73 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013 CEA LIST.
- *
- * 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:
- * Thibault Le Ouay t.leouay@sherpa-eng.com
- *****************************************************************************/
-
-
-package org.eclipse.papyrus.customization.properties.generation.validators;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IWorkspaceRoot;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.papyrus.customization.properties.generation.generators.EcoreGenerator;
-import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
-import org.eclipse.papyrus.customization.properties.generation.generators.ProfileGenerator;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-
-public class SourceValidator extends AbstractValidator {
- protected IGenerator generator;
-
- public SourceValidator(IGenerator generator) {
- this.generator = generator;
- }
-
- public IStatus validate(Object value) {
- if (value instanceof String) {
- String s = (String) value;
- if (!s.equals("")) { //$NON-NLS-1$
- if (this.generator instanceof EcoreGenerator) {
- if (!s.endsWith("ecore")) { //$NON-NLS-1$
- return error(Messages.SourceValidator_2);
- }
- } else if (this.generator instanceof ProfileGenerator) {
- if (!s.endsWith("profile.uml")) { //$NON-NLS-1$
- return error(Messages.SourceValidator_4);
- }
- }
-
- IWorkspaceRoot myWorkspaceRoot = ResourcesPlugin.getWorkspace()
- .getRoot();
- IFile file = null;
- try {
- IPath path = new Path(s);
- file = myWorkspaceRoot.getFile(path);
-
- } catch (IllegalArgumentException ex) {
- return error(ex.getMessage());
- }
- if (!file.exists()) {
- return error(Messages.SourceValidator_5);
-
- }
- } else {
- return error(Messages.SourceValidator_6);
- }
-
- return Status.OK_STATUS;
-
- }
- return error(Messages.SourceValidator_7);
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/TargetValidator.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/TargetValidator.java
deleted file mode 100644
index 7aae8904862..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/validators/TargetValidator.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013 CEA LIST.
- *
- * 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:
- * Thibault Le Ouay t.leouay@sherpa-eng.com
- *****************************************************************************/
-
-package org.eclipse.papyrus.customization.properties.generation.validators;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-
-public class TargetValidator extends AbstractValidator {
-
-
- public IStatus validate(Object value) {
- if (value instanceof String) {
- String s = (String) value;
- if (!s.equals("")) { //$NON-NLS-1$
- if (!s.endsWith("ctx")) { //$NON-NLS-1$
- return error(Messages.TargetValidator_2);
- }
- } else {
- return error(Messages.TargetValidator_3);
- }
- }
-
- return Status.OK_STATUS;
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/AbstractCreateContextPage.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/AbstractCreateContextPage.java
deleted file mode 100644
index 53a460ee9d4..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/AbstractCreateContextPage.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.wizard;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.wizard.WizardPage;
-
-/**
- * An abstract WizardPage for the CreateContext wizard, providing helper
- * methods to its implementers
- *
- * @author Camille Letavernier
- */
-public abstract class AbstractCreateContextPage extends WizardPage {
-
- /**
- * Builds a new WizardPage with the given pageName
- * Constructor.
- *
- * @param pageName
- * The name of this wizard page
- */
- public AbstractCreateContextPage(String pageName) {
- super(pageName);
- }
-
- /**
- *
- * Builds a new WizardPage with the given pageName, title and image
- *
- * @param pageName
- * the name of the page
- * @param title
- * the title for this wizard page, or <code>null</code> if none
- * @param titleImage
- * the image descriptor for the title of this wizard page,
- * or <code>null</code> if none
- */
- public AbstractCreateContextPage(String pageName, String title, ImageDescriptor titleImage) {
- super(pageName, title, titleImage);
- }
-
- @Override
- public CreateContextWizard getWizard() {
- return (CreateContextWizard) super.getWizard();
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/CreateContextMainPage.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/CreateContextMainPage.java
deleted file mode 100644
index bffba34409c..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/CreateContextMainPage.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010, 2014 CEA LIST and others.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- * Thibault Le Ouay t.leouay@sherpa-eng.com - Add SelectOutputPage
- * Christian W. Damus (CEA) - bug 422257
- *
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.wizard;
-
-import java.util.List;
-
-import org.eclipse.jface.wizard.IWizardPage;
-import org.eclipse.papyrus.customization.properties.generation.extensionpoint.GeneratorExtensionPoint;
-import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CCombo;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Listener;
-
-/**
- * A WizardPage for selecting the method of generation (e.g. from Ecore
- * Metamodel or from Profile model)
- *
- * @author Camille Letavernier
- *
- */
-public class CreateContextMainPage extends AbstractCreateContextPage implements Listener {
-
- private CCombo combo;
-
- private final List<IGenerator> generators;
-
- /**
- * Constructor
- */
- public CreateContextMainPage() {
- super(Messages.CreateContextMainPage_title);
-
- generators = new GeneratorExtensionPoint().getGenerators();
- }
-
- @Override
- public void dispose() {
- try {
- for (IGenerator next : generators) {
- next.dispose();
- }
- } finally {
- super.dispose();
- }
- }
-
- public void createControl(Composite parent) {
- Composite root = new Composite(parent, SWT.NONE);
- root.setLayout(new GridLayout(1, false));
-
- combo = new CCombo(root, SWT.BORDER);
- for (IGenerator generator : generators) {
- combo.add(generator.getName());
- }
- combo.setEditable(false);
- combo.setBackground(new Color(combo.getDisplay(), 255, 255, 255));
- combo.select(0);
- combo.addListener(SWT.Selection, this);
- combo.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
-
- setControl(root);
- setDescription(Messages.CreateContextMainPage_description);
- }
-
- @Override
- public IWizardPage getNextPage() {
- int selection = combo.getSelectionIndex();
- getWizard().setGenerator(generators.get(selection));
- // getWizard().generatorPage.clearTarget();
- return getWizard().generatorPage;
- }
-
- public void handleEvent(Event event) {
- super.setPageComplete(true);
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/CreateContextWizard.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/CreateContextWizard.java
deleted file mode 100644
index 3edf5e288ee..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/CreateContextWizard.java
+++ /dev/null
@@ -1,313 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010, 2015 CEA LIST, Christian W. Damus, and others.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- * Christian W. Damus (CEA) - bug 422257
- * Christian W. Damus - bug 482927
- *
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.wizard;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-import java.util.Collection;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.emf.ecore.xmi.XMLResource;
-import org.eclipse.jface.operation.IRunnableWithProgress;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.wizard.Wizard;
-import org.eclipse.papyrus.customization.properties.generation.Activator;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition;
-import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
-import org.eclipse.papyrus.customization.properties.generation.layout.ILayoutGenerator;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-import org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton;
-import org.eclipse.papyrus.infra.properties.contexts.Context;
-import org.eclipse.papyrus.infra.properties.contexts.ContextsFactory;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextElement;
-import org.eclipse.papyrus.infra.properties.contexts.Property;
-import org.eclipse.papyrus.infra.properties.contexts.Section;
-import org.eclipse.papyrus.infra.properties.contexts.Tab;
-import org.eclipse.papyrus.infra.properties.contexts.View;
-import org.eclipse.papyrus.infra.properties.ui.PropertyEditor;
-import org.eclipse.papyrus.infra.properties.ui.UiFactory;
-import org.eclipse.papyrus.infra.properties.ui.ValueAttribute;
-import org.eclipse.papyrus.infra.properties.ui.runtime.IConfigurationManager;
-import org.eclipse.papyrus.infra.properties.ui.runtime.PropertiesRuntime;
-import org.eclipse.ui.INewWizard;
-import org.eclipse.ui.IWorkbench;
-
-/**
- * A Wizard for generating Property view contexts
- *
- * @author Camille Letavernier
- */
-public class CreateContextWizard extends Wizard implements INewWizard {
-
- protected CreateContextMainPage mainPage;
-
- protected GeneratorPage generatorPage;
-
- protected SelectOutputPage selectOutputPage;
-
- // protected LayoutPage layout;
-
- protected SelectFieldsPage selectFieldsPage;
-
- /**
- * The generated contexts
- */
- protected List<Context> contexts;
-
- /**
- * The IGenerator used to generate the context
- */
- protected IGenerator generator;
-
- /**
- * The ILayoutGenerator used to layout the context's sections
- */
- protected ILayoutGenerator layoutGenerator;
-
- public CreateContextWizard() {
- setDefaultPageImageDescriptor(Activator.getDefault().getImageDescriptor("/icons/wizban-custom.png")); //$NON-NLS-1$
- }
-
- @Override
- public boolean performFinish() {
- if (generator == null || contexts == null || contexts.isEmpty() || layoutGenerator == null) {
- return false;
- }
-
- IConfigurationManager configManager = PropertiesRuntime.getConfigurationManager();
-
- for (Context context : contexts) {
- Tab defaultTab = ContextsFactory.eINSTANCE.createTab();
- defaultTab.setId(context.getName().toLowerCase());
- defaultTab.setLabel(context.getUserLabel());
- defaultTab.setPriority(100);
- context.getTabs().add(defaultTab);
-
- FieldSelection fieldSelection = selectFieldsPage.getFieldSelection();
-
- // URI contextURI = context.eResource().getURI();
- // Resource selectionResource = context.eResource().getResourceSet().createResource(URI.createURI(context.getName() + "FieldSelection.xmi").resolve(contextURI)); //$NON-NLS-1$
- // selectionResource.getContents().add(fieldSelection);
- // try {
- // selectionResource.save(null);
- // } catch (IOException ex) {
- // Activator.log.error("Couldn't persist the field selection model", ex); //$NON-NLS-1$
- // }
-
- layoutGenerator.setGenerator(generator);
-
- for (View view : context.getViews()) {
- if (view.getConstraints().size() == 0) {
- continue;
- }
-
- List<PropertyEditor> editors = new LinkedList<PropertyEditor>();
-
- for (DataContextElement element : getAllContextElements(view.getDatacontexts())) {
- for (Property property : element.getProperties()) {
- if (isSelected(fieldSelection, property, view.getElementMultiplicity() != 1)) {
- PropertyEditor editor = UiFactory.eINSTANCE.createPropertyEditor();
- editor.setProperty(property);
- editor.setWidgetType(configManager.getDefaultEditorType(property));
- editors.add(editor);
- ValueAttribute input = UiFactory.eINSTANCE.createValueAttribute();
- input.setName("input"); //$NON-NLS-1$
- input.setValue("{Binding}"); //$NON-NLS-1$
- editor.getAttributes().add(input);
- }
- }
- }
-
- List<Section> generatedSections = layoutGenerator.layoutElements(editors, view);
- defaultTab.getSections().addAll(generatedSections);
- view.getSections().addAll(generatedSections);
- context.getViews().add(view);
- }
-
- int i = 1;
- for (Tab tab : context.getTabs()) {
- i += tab.getSections().size();
- }
- final int numberOfSections = i;
- try {
- setNeedsProgressMonitor(true);
- final Context currentContext = context;
-
- final Map<String, Object> saveOptions = new HashMap<String, Object>();
- saveOptions.put(XMLResource.OPTION_PROCESS_DANGLING_HREF, XMLResource.OPTION_PROCESS_DANGLING_HREF_RECORD);
-
- getContainer().run(true, true, new IRunnableWithProgress() {
-
- public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {
- monitor.beginTask(Messages.CreateContextWizard_propertyViewGenerationJobName + currentContext.getUserLabel(), numberOfSections + 1);
- monitor.worked(1);
-
- try {
- currentContext.eResource().save(saveOptions);
- monitor.worked(1);
- for (Tab tab : currentContext.getTabs()) {
- for (Section section : tab.getSections()) {
- if (monitor.isCanceled()) {
- return;
- }
- section.getWidget().eResource().save(saveOptions);
- monitor.worked(1);
- }
- }
- } catch (IOException ex) {
- Activator.log.error(ex);
- return;
- }
- monitor.done();
- }
-
- });
- } catch (InvocationTargetException ex) {
- Activator.log.error(ex);
- } catch (InterruptedException ex) {
- Activator.log.error(ex);
- }
-
- }
-
- return true;
- }
-
- private boolean isSelected(FieldSelection fieldSelection, Property property, boolean multiple) {
- PropertyDefinition definition = getPropertyDefinition(fieldSelection, property);
- if (definition == null) {
- return false;
- }
- TernaryButton.State value = multiple ? definition.getValueMultiple() : definition.getValueSingle();
- switch (value) {
- case TRUE:
- return true;
- case FALSE:
- return false;
- case DEFAULT:
- return multiple ? generator.isSelectedMultiple(property) : generator.isSelectedSingle(property);
- }
-
- return false;
- }
-
- protected PropertyDefinition getPropertyDefinition(FieldSelection fieldSelection, Property property) {
- List<String> propertyPath = getPropertyPath(property.getContextElement());
- if (propertyPath.isEmpty()) {
- return null;
- }
-
- ContextElement currentElement = null;
- for (ContextElement contextRoot : fieldSelection.getContextElements()) {
- if (contextRoot.getName().equals(propertyPath.get(0))) {
- currentElement = contextRoot;
- }
- }
-
- propertyPath.remove(0);
- if (currentElement == null) {
- return null;
- }
-
- while (propertyPath.size() > 0) {
- String name = propertyPath.get(0);
- propertyPath.remove(0);
- currentElement = findByName(currentElement, name);
- }
-
- if (currentElement == null) {
- return null;
- }
-
- for (PropertyDefinition definition : currentElement.getProperties()) {
- if (definition.getName().equals(property.getName())) {
- return definition;
- }
- }
-
- return null;
- }
-
- protected ContextElement findByName(ContextElement source, String name) {
- for (ContextElement element : source.getElements()) {
- if (element.getName().equals(name)) {
- return element;
- }
- }
- return null;
- }
-
- protected List<String> getPropertyPath(DataContextElement element) {
- List<String> result;
- if (element.getPackage() == null) {
- result = new LinkedList<String>();
- } else {
- result = getPropertyPath(element.getPackage());
- }
- result.add(element.getName());
- return result;
- }
-
- private Set<DataContextElement> getAllContextElements(Collection<DataContextElement> source) {
- Set<DataContextElement> result = new HashSet<DataContextElement>();
- for (DataContextElement element : source) {
- getAllContextElements(element, result);
- }
- return result;
- }
-
- private void getAllContextElements(DataContextElement source, Set<DataContextElement> result) {
- if (result.contains(source)) {
- return;
- }
-
- result.add(source);
- for (DataContextElement element : source.getSupertypes()) {
- getAllContextElements(element, result);
- }
- }
-
- public void init(IWorkbench workbench, IStructuredSelection selection) {
- addPage(mainPage = new CreateContextMainPage());
- addPage(generatorPage = new GeneratorPage());
- addPage(selectOutputPage = new SelectOutputPage());
- addPage(selectFieldsPage = new SelectFieldsPage());
- // addPage(layout = new LayoutPage());
-
- setWindowTitle(Messages.CreateContextWizard_pageTitle);
-
- }
-
- protected void setGenerator(IGenerator generator) {
- this.generator = generator;
- generatorPage.setGenerator(generator);
- generatorPage.doBinding();
- }
-
- protected void setContexts(List<Context> contexts) {
- if (!contexts.isEmpty()) {
- this.contexts = contexts;
- }
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/GeneratorPage.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/GeneratorPage.java
deleted file mode 100644
index 5870cec6b0e..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/GeneratorPage.java
+++ /dev/null
@@ -1,312 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010, 2014 CEA LIST and others.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- * Thibault Le Ouay t.leouay@sherpa-eng.com - Strategy improvement of generated files
- * Christian W. Damus (CEA) - bug 422257
- *
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.wizard;
-
-import java.util.List;
-
-import org.eclipse.core.databinding.Binding;
-import org.eclipse.core.databinding.DataBindingContext;
-import org.eclipse.core.databinding.UpdateValueStrategy;
-import org.eclipse.core.databinding.conversion.IConverter;
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-import org.eclipse.core.databinding.observable.value.IValueChangeListener;
-import org.eclipse.core.databinding.observable.value.ValueChangeEvent;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.jface.databinding.wizard.WizardPageSupport;
-import org.eclipse.jface.wizard.IWizardPage;
-import org.eclipse.papyrus.customization.properties.generation.extensionpoint.LayoutExtensionPoint;
-import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
-import org.eclipse.papyrus.customization.properties.generation.layout.ILayoutGenerator;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-import org.eclipse.papyrus.customization.properties.generation.validators.SourceValidator;
-import org.eclipse.papyrus.customization.properties.generation.validators.TargetValidator;
-import org.eclipse.papyrus.customization.properties.generation.wizard.widget.FileChooser;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CCombo;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.layout.FillLayout;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Listener;
-
-/**
- * A WizardPage to display the selected generator's options, as well as the
- * context's target file. The options depend on the selected generator.
- *
- * @author Camille Letavernier
- */
-public class GeneratorPage extends AbstractCreateContextPage implements Listener {
-
- private final List<ILayoutGenerator> layoutGenerators;
-
- protected IGenerator generator;
-
- private Composite root, generatorControl;
-
- protected FileChooser targetFileChooser;
-
- private CCombo layoutCombo;
-
- protected IObservableValue srcTextObservable;
-
- protected IObservableValue targetTextObservable;
-
- protected UpdateValueStrategy srcFieldStrategy;
-
- protected UpdateValueStrategy targetFieldStrategy;
-
- protected SourceValidator srcValidator;
-
- protected TargetValidator targetValidator;
-
- protected Binding binding;
-
- protected DataBindingContext ctx;
-
- protected boolean next = false;
-
- protected URI oldURI;
-
- /**
- * Constructor.
- */
- public GeneratorPage() {
- super(Messages.GeneratorPage_title);
- ctx = new DataBindingContext();
- srcFieldStrategy = new UpdateValueStrategy();
- targetFieldStrategy = new UpdateValueStrategy();
-
- layoutGenerators = new LayoutExtensionPoint().getGenerators();
- }
-
- /**
- * Sets the IGenerator for this wizard, and displays its controls in the
- * page.
- *
- * @param generator
- */
- public void setGenerator(IGenerator generator) {
- cleanGeneratorControl();
- generator.addListener(this);
-
- setDescription(generator.getDescription());
- this.generator = generator;
- generator.createControls(generatorControl);
- generatorControl.layout();
- srcTextObservable = this.generator.getObservableValue();
- root.layout();
- }
-
- @Override
- public void dispose() {
- this.generator.removeListener(this);
- }
-
- @Override
- public boolean isPageComplete() {
- return targetFileChooser.getFilePath() != null && (generator != null && generator.isReady());
- }
-
- private void cleanGeneratorControl() {
- for (Control control : generatorControl.getChildren()) {
- control.dispose();
- }
- }
-
- public void createControl(Composite parent) {
- root = new Composite(parent, SWT.NONE);
- root.setLayout(new GridLayout(2, false));
- root.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
-
- generatorControl = new Composite(root, SWT.NONE);
- generatorControl.setLayout(new FillLayout());
- generatorControl.setLayoutData(new GridData(SWT.FILL, SWT.BEGINNING, true, false, 2, 1));
-
- Label layoutGeneratorLabel = new Label(root, SWT.NONE);
- layoutGeneratorLabel.setText(Messages.GeneratorPage_layoutGenerator);
- GridData data = new GridData();
- data.widthHint = 100;
- layoutGeneratorLabel.setLayoutData(data);
-
- layoutCombo = new CCombo(root, SWT.BORDER);
- layoutCombo.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
- layoutCombo.setEditable(false);
- layoutCombo.setBackground(new Color(layoutCombo.getDisplay(), 255, 255, 255));
- for (ILayoutGenerator layoutGenerator : layoutGenerators) {
- layoutCombo.add(layoutGenerator.getName());
- }
- layoutCombo.select(0);
-
- Label targetLabel = new Label(root, SWT.NONE);
- targetLabel.setText(Messages.GeneratorPage_target);
- data = new GridData();
- data.widthHint = 100;
- targetLabel.setLayoutData(data);
-
- targetFileChooser = new FileChooser(root, true);
- targetFileChooser.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
- targetFileChooser.addListener(this);
- targetTextObservable = targetFileChooser.getObservableValue();
- targetFileChooser.setFilterExtensions(new String[] { "ctx" });
- if (targetFieldStrategy != null) {
- targetFieldStrategy.setConverter(new IConverter() {
-
- public Object getToType() {
-
- return String.class;
- }
-
- public Object getFromType() {
- return String.class;
- }
-
- public String convert(Object fromObject) {
- if (srcTextObservable != null) {
- return (String) srcTextObservable.getValue();
- } else if (targetFileChooser.getFilePath() != null) {
- return targetFileChooser.getFilePath();
-
- }
- return "";
- }
- });
- }
- if (srcFieldStrategy != null) {
- srcFieldStrategy.setConverter(new IConverter() {
-
- public Object getToType() {
- return String.class;
- }
-
- public Object getFromType() {
- return String.class;
- }
-
- public String convert(Object fromObject) {
-
- if (fromObject instanceof String) {
- String stringObject = (String) fromObject;
- if (stringObject.equals("")) {
- return "";
- }
- String[] result = stringObject.split("/");
- String filename = result[result.length - 1];
- String[] ext = filename.split("\\.");
- StringBuilder builder = new StringBuilder();
-
- if (targetTextObservable != null) {
- String s = (String) targetTextObservable.getValue();
- if (!s.equals("")) {
- String original[] = s.split("/");
- builder.append("/");
- for (int i = 1; i < original.length - 1; i++) {
- builder.append(original[i]);
- builder.append("/");
-
- }
- } else {
- builder.append("/");
- builder.append(result[1]);
- builder.append("/properties/");
- }
- }
-
- builder.append(ext[0]);
- builder.append(".ctx");
- return builder.toString();
- }
- return "";
- }
- });
- }
- WizardPageSupport.create(this, ctx);
-
-
- setControl(root);
- }
-
- public void handleEvent(Event event) {
-
- String filePath = targetFileChooser.getFilePath();
-
- if (filePath != null) {
- super.getContainer().updateButtons();
- }
-
-
-
- }
-
- @Override
- public IWizardPage getNextPage() {
- int selection = layoutCombo.getSelectionIndex();
- getWizard().layoutGenerator = layoutGenerators.get(selection);
- oldURI = URI.createPlatformResourceURI(targetFileChooser.getFilePath(), true);
-
- return super.getNextPage();
- }
-
- public void doBinding() {
- if (srcTextObservable != null || targetTextObservable != null) {
-
- srcValidator = new SourceValidator(generator);
- targetValidator = new TargetValidator();
- srcFieldStrategy.setAfterGetValidator(srcValidator);
- srcFieldStrategy.setAfterConvertValidator(targetValidator);
- targetFieldStrategy.setAfterGetValidator(targetValidator);
- targetFieldStrategy.setAfterConvertValidator(srcValidator);
- binding = ctx.bindValue(srcTextObservable, targetTextObservable, srcFieldStrategy, targetFieldStrategy);
-
- }
- }
-
- @Override
- public boolean canFlipToNextPage() {
- binding.getValidationStatus().addValueChangeListener(new IValueChangeListener() {
-
- public void handleValueChange(ValueChangeEvent event) {
- IStatus status = (IStatus) event.diff.getNewValue();
- if (status.isOK()) {
- setNext(true);
- } else {
- setNext(false);
- }
- }
-
- });
-
-
- return this.next;
- }
-
- public void setNext(boolean next) {
- this.next = next;
- super.getContainer().updateButtons();
-
-
- }
-
-
- public void setStrategy(int strategy) {
- this.generator.setStrategy(strategy);
-
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/SelectFieldsPage.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/SelectFieldsPage.java
deleted file mode 100644
index 631eacbb11c..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/SelectFieldsPage.java
+++ /dev/null
@@ -1,335 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.wizard;
-
-import java.util.List;
-
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.databinding.EMFProperties;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jface.viewers.ColumnWeightData;
-import org.eclipse.jface.viewers.TableLayout;
-import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.papyrus.customization.properties.generation.Activator;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionFactory;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionPackage;
-import org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition;
-import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-import org.eclipse.papyrus.customization.properties.generation.providers.DataContextPropertiesContentProvider;
-import org.eclipse.papyrus.customization.properties.generation.providers.DataContextPropertiesLabelProvider;
-import org.eclipse.papyrus.customization.properties.generation.wizard.widget.TernaryButton;
-import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-import org.eclipse.papyrus.infra.properties.contexts.Context;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextElement;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextPackage;
-import org.eclipse.papyrus.infra.properties.contexts.DataContextRoot;
-import org.eclipse.papyrus.infra.properties.contexts.Property;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.TreeEditor;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Tree;
-import org.eclipse.swt.widgets.TreeColumn;
-import org.eclipse.swt.widgets.TreeItem;
-
-/**
- * A WizardPage to choose the fields that will be displayed in the Property view.
- * For each property, the choice can be either "True", "False" or "Default".
- * The visibility of properties marked as Default is decided by the Generator.
- * When the context is regenerated, the visibility of properties marked as default
- * may change (If the generator is changed)
- *
- * @author Camille Letavernier
- */
-public class SelectFieldsPage extends AbstractCreateContextPage {
-
- private List<URI> targetURI;
-
- private List<Context> contexts;
-
- private Composite root;
-
- private FieldSelection fieldSelection;
-
- public int fieldColumn = -1, selectionSingleColumn = -1, selectionMultipleColumn = -1, descriptionColumn = -1;
-
- private int columnId = 0;
-
-
- /**
- * Constructor.
- */
- protected SelectFieldsPage() {
- super(Messages.SelectFieldsPage_title);
- }
-
- public void createControl(Composite parent) {
- root = new Composite(parent, SWT.NONE);
- root.setLayout(new GridLayout(1, true));
-
- setControl(root);
- setPageComplete(false);
-
- setDescription(Messages.SelectFieldsPage_selectFields);
- }
-
- /**
- * Sets the generated partial context
- *
- * @param context
- * The partially generated context
- */
- public void setContexts(List<Context> contexts) {
- if (contexts == null || contexts.isEmpty()) {
- Activator.log.warn("Generated context is null"); //$NON-NLS-1$
- return;
- }
-
- this.contexts = contexts;
-
- fieldSelection = createNewFieldSelection();
-
- getWizard().setContexts(contexts);
-
- Label label = new Label(root, SWT.NONE);
- label.setText(Messages.SelectFieldsPage_availableFields);
-
- TreeViewer viewer = new TreeViewer(root, SWT.BORDER);
- Tree tree = viewer.getTree();
- tree.setBackground(tree.getDisplay().getSystemColor(SWT.COLOR_WHITE));
- tree.setLayout(new TableLayout());
- tree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
-
- fieldColumn = addColumn(tree, Messages.SelectFieldsPage_field, 40, 200);
- selectionSingleColumn = addColumn(tree, Messages.SelectFieldsPage_displaySingle, 25, 120);
- selectionMultipleColumn = addColumn(tree, Messages.SelectFieldsPage_displayMultiple, 25, 120);
- descriptionColumn = addColumn(tree, Messages.SelectFieldsPage_description, 60, 300);
-
- tree.setHeaderVisible(true);
-
- viewer.setContentProvider(new DataContextPropertiesContentProvider(contexts));
- viewer.setLabelProvider(new DataContextPropertiesLabelProvider(this));
- viewer.setInput(new Object());
-
- viewer.expandAll();
-
- installEditors(viewer);
-
- root.layout();
- }
-
- /**
- * Creates a column in the treeViewer and returns its id
- */
- private int addColumn(Tree tree, String label, int weight, int minimumWidth) {
- TreeColumn column = new TreeColumn(tree, SWT.NONE);
-
- column.setText(label);
- column.setResizable(true);
- ((TableLayout) tree.getLayout()).addColumnData(new ColumnWeightData(weight, minimumWidth));
-
- return columnId++;
- }
-
- private void installEditors(TreeViewer viewer) {
- Tree tree = viewer.getTree();
-
- for (TreeItem treeItem : tree.getItems()) {
- installEditors(treeItem);
- }
- }
-
- private void installEditors(TreeItem treeItem) {
-
- EObject eObject = EMFHelper.getEObject(treeItem.getData());
- if (eObject instanceof Property) {
- Property property = (Property) eObject;
-
- boolean defaultSingleValue = getGenerator().isSelectedSingle(property);
- boolean defaultMultipleValue = getGenerator().isSelectedMultiple(property);
-
- PropertyDefinition propertyDefinition = getWizard().getPropertyDefinition(fieldSelection, property);
-
- IObservableValue singleValue = EMFProperties.value(FieldSelectionPackage.eINSTANCE.getPropertyDefinition_ValueSingle()).observe(propertyDefinition);
- IObservableValue multipleValue = EMFProperties.value(FieldSelectionPackage.eINSTANCE.getPropertyDefinition_ValueMultiple()).observe(propertyDefinition);
-
- createTreeEditor(treeItem, selectionSingleColumn, defaultSingleValue, singleValue);
- createTreeEditor(treeItem, selectionMultipleColumn, defaultMultipleValue, multipleValue);
- }
-
- for (TreeItem subItem : treeItem.getItems()) {
- installEditors(subItem);
- }
-
- }
-
- private void createTreeEditor(TreeItem treeItem, int columnIndex, boolean defaultValue, IObservableValue observable) {
- Tree tree = treeItem.getParent();
-
- TernaryButton button = new TernaryButton(tree, defaultValue);
-
- TreeEditor editor = new TreeEditor(tree);
- editor.horizontalAlignment = SWT.CENTER;
- editor.grabHorizontal = true;
-
- editor.setEditor(button, treeItem, columnIndex);
-
- button.setObservable(observable);
- }
-
- private FieldSelection createNewFieldSelection() {
- FieldSelection selection = FieldSelectionFactory.eINSTANCE.createFieldSelection();
-
- for (Context context : contexts) {
- for (DataContextRoot dataContextRoot : context.getDataContexts()) {
- ContextElement definition = createContextPackage(dataContextRoot);
- selection.getContextElements().add(definition);
- }
- }
-
- return selection;
- }
-
- private ContextElement createContextPackage(DataContextPackage sourcePackage) {
- ContextElement element = createContextElement(sourcePackage);
-
- for (DataContextElement sourceElement : sourcePackage.getElements()) {
- ContextElement subElement;
- if (sourceElement instanceof DataContextPackage) {
- subElement = createContextPackage((DataContextPackage) sourceElement);
- } else {
- subElement = createContextElement(sourceElement);
- }
- element.getElements().add(subElement);
- }
- return element;
- }
-
- private ContextElement createContextElement(DataContextElement sourceElement) {
- ContextElement element = FieldSelectionFactory.eINSTANCE.createContextElement();
- element.setName(sourceElement.getName());
-
- for (Property property : sourceElement.getProperties()) {
- PropertyDefinition propertyDefinition = FieldSelectionFactory.eINSTANCE.createPropertyDefinition();
- propertyDefinition.setName(property.getName());
- propertyDefinition.setValueSingle(TernaryButton.State.DEFAULT);
- propertyDefinition.setValueMultiple(TernaryButton.State.DEFAULT);
- element.getProperties().add(propertyDefinition);
- }
-
- return element;
- }
-
- private void displayFields(DataContextElement contextElement, TreeViewer treeViewer) {
-
- // if(contextElement.getProperties().size() > 0) {
- //
- // Label separator = new Label(fields, SWT.SEPARATOR | SWT.HORIZONTAL);
- // GridData data = new GridData(SWT.FILL, SWT.CENTER, true, false, 4, 1);
- // separator.setLayoutData(data);
- //
- // Label elementName = new Label(fields, SWT.NONE);
- // elementName.setText(contextElement.getName());
- // FontData[] fontDatas = elementName.getFont().getFontData();
- // for(FontData fontData : fontDatas) {
- // fontData.setStyle(SWT.BOLD);
- // // fontData.setHeight(fontData.getHeight() + 2);
- // }
- // elementName.setFont(new Font(elementName.getDisplay(), fontDatas));
- //
- // data = new GridData(SWT.FILL, SWT.CENTER, true, false, 4, 1);
- // elementName.setLayoutData(data);
- //
- // Label separator2 = new Label(fields, SWT.SEPARATOR | SWT.HORIZONTAL);
- // data = new GridData(SWT.FILL, SWT.CENTER, true, false, 4, 1);
- // separator2.setLayoutData(data);
- //
- // for(Property property : contextElement.getProperties()) {
- // Label label = new Label(fields, SWT.NONE);
- // label.setText(property.getName());
- //
- // TernaryButton showSingle = new TernaryButton(fields, getGenerator().isSelectedSingle(property));
- // TernaryButton showMultiple = new TernaryButton(fields, getGenerator().isSelectedMultiple(property));
- //
- // PropertyDefinition propertyDefinition = getWizard().getPropertyDefinition(fieldSelection, property);
- //
- // IObservableValue singleValue = EMFProperties.value(FieldSelectionPackage.eINSTANCE.getPropertyDefinition_ValueSingle()).observe(propertyDefinition);
- // IObservableValue multipleValue = EMFProperties.value(FieldSelectionPackage.eINSTANCE.getPropertyDefinition_ValueMultiple()).observe(propertyDefinition);
- //
- // showSingle.setObservable(singleValue);
- // showMultiple.setObservable(multipleValue);
- //
- // Label description = new Label(fields, SWT.WRAP);
- // String propertyDescription = "";// property.getTooltipText(); //$NON-NLS-1$
- // if(propertyDescription == null || propertyDescription.trim().equals("")) { //$NON-NLS-1$
- // propertyDescription = Messages.SelectFieldsPage_descriptionNotAvailable;
- // description.setAlignment(SWT.CENTER);
- // }
- // description.setText(propertyDescription);
- //
- // data = new GridData(SWT.FILL, SWT.CENTER, true, false);
- // label.setLayoutData(data);
- // data = new GridData(SWT.FILL, SWT.CENTER, true, false);
- // showSingle.setLayoutData(data);
- // data = new GridData(SWT.FILL, SWT.CENTER, true, false);
- // showMultiple.setLayoutData(data);
- // data = new GridData(SWT.CENTER, SWT.CENTER, true, false);
- // data.widthHint = 500;
- // description.setLayoutData(data);
- // }
- // }
- //
- // if(contextElement instanceof DataContextPackage) {
- // DataContextPackage contextPackage = (DataContextPackage)contextElement;
- // for(DataContextElement element : contextPackage.getElements()) {
- // displayFields(element, treeViewer);
- // }
- // }
- }
-
- private IGenerator getGenerator() {
- return getWizard().generator;
- }
-
- /**
- * Sets the URI of the generated context
- *
- * @param uri
- * The URI of the generated context
- */
- public void setTargetURI(List<URI> uri) {
- this.targetURI = uri;
- }
-
- @Override
- public void setVisible(boolean visible) {
- super.setPageComplete(true);
- super.setVisible(visible);
- if (contexts == null && visible) {
- setContexts(getWizard().generator.generate(targetURI));
- }
- }
-
- /**
- * @return the result of the user's field selection
- */
- public FieldSelection getFieldSelection() {
- return fieldSelection;
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/SelectOutputPage.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/SelectOutputPage.java
deleted file mode 100644
index 3ad07dde918..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/SelectOutputPage.java
+++ /dev/null
@@ -1,199 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2013 CEA LIST.
- *
- * 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:
- * Thibault Le Ouay t.leouay@sherpa-eng.com
- *****************************************************************************/
-
-package org.eclipse.papyrus.customization.properties.generation.wizard;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.jface.viewers.ArrayContentProvider;
-import org.eclipse.jface.viewers.CheckStateChangedEvent;
-import org.eclipse.jface.viewers.CheckboxTableViewer;
-import org.eclipse.jface.viewers.ColumnLabelProvider;
-import org.eclipse.jface.viewers.ICheckStateListener;
-import org.eclipse.jface.viewers.ViewerSorter;
-import org.eclipse.jface.wizard.IWizardPage;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CCombo;
-import org.eclipse.swt.graphics.Color;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Event;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.swt.widgets.Table;
-import org.eclipse.uml2.uml.Package;
-
-public class SelectOutputPage extends AbstractCreateContextPage implements Listener {
-
- private CheckboxTableViewer viewer;
-
- protected CCombo combo;
-
- private Table table;
-
- public SelectOutputPage() {
- super(Messages.SelectOutputPage_0);
- }
-
- public void createControl(Composite parent) {
-
- Composite root = new Composite(parent, SWT.NONE);
- root.setLayout(new GridLayout(1, false));
-
- combo = new CCombo(root, SWT.BORDER);
- setDescription(Messages.SelectOutputPage_1);
- combo.add(Messages.SelectOutputPage_2);
- combo.add(Messages.SelectOutputPage_3);
- combo.add(Messages.SelectOutputPage_4);
- combo.setEditable(false);
- combo.setBackground(new Color(combo.getDisplay(), 255, 255, 255));
- combo.select(0);
- combo.addListener(SWT.Selection, this);
- combo.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
-
- setControl(root);
- viewer = new CheckboxTableViewer(root, SWT.MULTI | SWT.H_SCROLL | SWT.FILL | SWT.FULL_SELECTION | SWT.BORDER);
- table = viewer.getTable();
- table.setVisible(false);
- table.setHeaderVisible(true);
- viewer.setContentProvider(new ArrayContentProvider());
-
- GridData gridData = new GridData();
- gridData.verticalAlignment = GridData.FILL;
- gridData.horizontalSpan = 1;
- gridData.grabExcessHorizontalSpace = true;
- gridData.grabExcessVerticalSpace = true;
- gridData.horizontalAlignment = GridData.FILL;
-
- viewer.getControl().setLayoutData(gridData);
- viewer.setLabelProvider(new ColumnLabelProvider() {
-
- @Override
- public String getText(Object element) {
-
- if (element instanceof EPackage) {
- EPackage p = (EPackage) element;
- return "Ecore package Name : " + p.getName(); //$NON-NLS-1$
-
- }
- if (element instanceof Package) {
- Package p = (Package) element;
- return "Profile name : " + p.getName(); //$NON-NLS-1$
- }
- return null;
- }
-
- });
- viewer.setInput(new Object());
- viewer.setSorter(new ViewerSorter());
- viewer.addCheckStateListener(new ICheckStateListener() {
-
- public void checkStateChanged(CheckStateChangedEvent event) {
- UpdateButton();
-
- }
- });
- }
-
- public void handleEvent(Event event) {
-
- if (combo.getSelectionIndex() != 0) {
- table.setVisible(true);
-
- } else {
- table.setVisible(false);
- }
- canFlipToNextPage();
- super.getContainer().updateButtons();
- }
-
- public void setSelectorData() {
-
- viewer.setInput(getWizard().generator.getExternalReference());
- }
-
- @Override
- public void setVisible(boolean visible) {
- super.setVisible(visible);
-
- if (visible) {
- setSelectorData();
- }
- }
-
- @Override
- public IWizardPage getNextPage() {
- int selection = combo.getSelectionIndex();
- getWizard().selectFieldsPage.setTargetURI(getListPackage(selection));
- getWizard().generatorPage.setStrategy(selection);
- return getWizard().selectFieldsPage;
- }
-
- public List<URI> getListPackage(int selection) {
- List<URI> list = new ArrayList<URI>();
-
- if (selection == 0) {
- list.add(getWizard().generatorPage.oldURI);
-
- } else {
- for (Object o : viewer.getCheckedElements()) {
- if (o instanceof EPackage) {
- EPackage p = (EPackage) o;
- if (selection == 1) {
- list.add(getWizard().generatorPage.oldURI);
- } else {
- String temp = getWizard().generatorPage.oldURI.toString();
- temp = temp.substring(0, temp.lastIndexOf("/")); //$NON-NLS-1$
- String result = temp + "/" + p.getName() + ".ctx"; //$NON-NLS-1$ //$NON-NLS-2$
- list.add(URI.createURI(result, true));
- }
- getWizard().generator.addCheckElement(o);
- }
- if (o instanceof Package) {
- Package p = (Package) o;
- if (selection == 1) {
- list.add(getWizard().generatorPage.oldURI);
- } else {
- String temp = getWizard().generatorPage.oldURI.toString();
- temp = temp.substring(0, temp.lastIndexOf("/")); //$NON-NLS-1$
- String result = temp + "/" + p.getName() + ".ctx"; //$NON-NLS-1$ //$NON-NLS-2$
- list.add(URI.createURI(result, true));
- }
- getWizard().generator.addCheckElement(o);
-
- }
-
- }
- }
- return list;
- }
-
- @Override
- public boolean canFlipToNextPage() {
- if (combo.getSelectionIndex() != 0) {
- if (viewer.getCheckedElements().length == 0) {
- return false;
- }
- }
- return true;
-
- }
-
- public void UpdateButton() {
- canFlipToNextPage();
- super.getContainer().updateButtons();
- }
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/ExtensionFilter.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/ExtensionFilter.java
deleted file mode 100644
index e1fe42399ef..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/ExtensionFilter.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.wizard.widget;
-
-import java.util.Arrays;
-import java.util.HashSet;
-import java.util.Set;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.viewers.ViewerFilter;
-
-/**
- * A filter for file extensions
- *
- * @author Camille Letavernier
- */
-public class ExtensionFilter extends ViewerFilter {
-
- private Set<String> extensions;
-
- /**
- *
- * Constructs a ViewerFilter that will only accept filenames with one of the
- * given extensions
- *
- * @param extensions
- * The authorized extensions
- */
- public ExtensionFilter(String[] extensions) {
- this.extensions = new HashSet<String>(Arrays.asList(extensions));
- }
-
- @Override
- public boolean select(Viewer viewer, Object parentElement, Object element) {
- if (element instanceof IFile) {
- IFile file = (IFile) element;
- for (String ext : extensions) {
- if (file.getFullPath().toString().endsWith(ext)) {
- return true;
- }
- }
- } else if (element instanceof IProject || element instanceof IFolder) {
- return true;
- }
-
- return false;
- }
-
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/FileChooser.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/FileChooser.java
deleted file mode 100644
index 04cdd1414af..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/FileChooser.java
+++ /dev/null
@@ -1,160 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.wizard.widget;
-
-import java.util.HashSet;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.emf.common.ui.dialogs.WorkspaceResourceDialog;
-import org.eclipse.jface.databinding.swt.IWidgetValueProperty;
-import org.eclipse.jface.databinding.swt.WidgetProperties;
-import org.eclipse.jface.viewers.ViewerFilter;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-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.Text;
-
-/**
- * A Widget for selecting or creating a file in the workspace
- *
- * @author Camille Letavernier
- */
-public class FileChooser extends Composite implements SelectionListener, Listener {
-
- private Text text;
-
- private Button browse;
-
- private IFile currentFile;
-
- private List<ViewerFilter> filters;
-
- private Set<Listener> listeners = new HashSet<Listener>();
-
- private boolean newFile;
-
- /**
- * Constructs a new FileChooser in the given Composite
- *
- * @param parent
- * The composite in which the FileChooser is created
- * @param newFile
- * True if the fileChooser allows the user to create a new file,
- * false if he should select an existing one
- */
- public FileChooser(Composite parent, boolean newFile) {
- super(parent, SWT.NONE);
- setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
- GridLayout layout = new GridLayout(2, false);
- layout.marginWidth = 0;
- setLayout(layout);
-
- text = new Text(this, SWT.BORDER);
- text.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
- text.addListener(SWT.FocusOut, this);
- browse = new Button(this, SWT.PUSH);
- browse.setText(Messages.FileChooser_browseWorkspace);
- browse.addSelectionListener(this);
- filters = new LinkedList<ViewerFilter>();
- this.newFile = newFile;
- }
-
- /**
- * @return the selected file path
- */
- public String getFilePath() {
- if (text.isDisposed()) {
- return null;
- }
- String path = text.getText();
- if (path.trim().equals("")) { //$NON-NLS-1$
- return null;
- }
- return path.trim();
- }
-
- /**
- * Sets the file extensions that this FileChooser accepts
- * Files that don't match one of these extensions will be hidden
- *
- * @param extensions
- */
- public void setFilterExtensions(String[] extensions) {
- filters.clear();
- ExtensionFilter filter = new ExtensionFilter(extensions);
- filters.add(filter);
- }
-
- public void handleEvent(Event event) {
- notifyChange();
- }
-
- /**
- * Add a listener to this widget. The listener will be notified when the user
- * choose a new file
- *
- * @param listener
- */
- public void addListener(Listener listener) {
- listeners.add(listener);
- }
-
- public void widgetSelected(SelectionEvent e) {
- IFile[] result = new IFile[0];
-
- if (newFile) {
- IFile file = WorkspaceResourceDialog.openNewFile(getShell(), null, null, null, filters);
- if (file != null) {
- result = new IFile[] { file };
- }
- } else {
- result = WorkspaceResourceDialog.openFileSelection(getShell(), null, null, false, new Object[] { currentFile }, filters);
- }
-
- if (result.length >= 1) {
- currentFile = result[0];
- text.setText(currentFile.getFullPath().toString());
- notifyChange();
- }
- }
-
- private void notifyChange() {
- for (Listener listener : listeners) {
- listener.handleEvent(null);
- }
- }
-
- public void widgetDefaultSelected(SelectionEvent e) {
- // Nothing
- }
-
- public IObservableValue getObservableValue() {
- IWidgetValueProperty prop = WidgetProperties.text(SWT.Modify);
- return prop.observeDelayed(600, text);
- }
-
- public void setText(String s) {
- text.setText(s);
-
- }
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/TernaryButton.java b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/TernaryButton.java
deleted file mode 100644
index f6613aaa6e5..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/wizard/widget/TernaryButton.java
+++ /dev/null
@@ -1,218 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- * 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:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.customization.properties.generation.wizard.widget;
-
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-import org.eclipse.papyrus.customization.properties.generation.Activator;
-import org.eclipse.papyrus.customization.properties.generation.messages.Messages;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.FillLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-
-/**
- * A 3-choices button. The three possible values are "True", "False" or "Default".
- * When the choice is "Default", it can be either "Default (True)" or "Default (False)",
- * depending on the default value assignated to the button.
- *
- * @see State
- *
- * @author Camille Letavernier
- *
- */
-public class TernaryButton extends Composite implements SelectionListener {
-
- private State state;
-
- private Button button;
-
- private boolean defaultValue;
-
- private IObservableValue observable;
-
- /**
- *
- * Constructor.
- *
- * @param parent
- * The parent in which the button is created
- * @param defaultValue
- * The value returned when the "default" value is selected
- */
- public TernaryButton(Composite parent, boolean defaultValue) {
- super(parent, SWT.NONE);
- button = new Button(this, SWT.PUSH);
- setLayout(new FillLayout());
- button.addSelectionListener(this);
- this.defaultValue = defaultValue;
- setState(State.DEFAULT);
- }
-
- public void widgetSelected(SelectionEvent e) {
- switch (state) {
- case DEFAULT:
- setState(State.TRUE);
- break;
- case TRUE:
- setState(State.FALSE);
- break;
- case FALSE:
- setState(State.DEFAULT);
- break;
- }
-
- observable.setValue(getState());
- }
-
- /**
- * Sets the ObservableValue binded to this widget. The databinding
- * is only one-way : modifications on the Observable value won't be
- * reflected on the widget.
- *
- * @param value
- * The Observable value to link to this widget
- */
- public void setObservable(IObservableValue value) {
- this.observable = value;
- }
-
- /**
- * Change this button's value
- *
- * @param state
- * The new button's state
- */
- public void setState(State state) {
- this.state = state;
- button.setImage(state.getImage(defaultValue));
- button.setText(state.getText(defaultValue));
- }
-
- /**
- * @return the button's state
- */
- public State getState() {
- return state;
- }
-
- /**
- * @return the boolean value of this button. If the State is Default, then
- * the button's default value will be returned.
- */
- public boolean getValue() {
- return state.getValue(defaultValue);
- }
-
- public void widgetDefaultSelected(SelectionEvent e) {
- // Nothing
- }
-
- /**
- * An enum representing the three possible states of the button :
- * DEFAULT, TRUE, FALSE
- *
- * @author Camille Letavernier
- *
- */
- public enum State {
- /**
- * The default value. The Button is responsible for providing
- * a default value for this case (Either true or false)
- */
- DEFAULT,
- /**
- * The boolean True value
- */
- TRUE,
- /**
- * The boolean False value
- */
- FALSE;
-
- /**
- * @param defaultValue
- * The value to return if the state is "Default"
- * @return the boolean value of this button. If the State is Default, then
- * the default value will be returned.
- */
- public boolean getValue(boolean defaultValue) {
- switch (this) {
- case DEFAULT:
- return defaultValue;
- case TRUE:
- return true;
- case FALSE:
- return false;
- }
-
- // Cannot happen as the switch is exhaustive
- throw new RuntimeException();
- }
-
- /**
- * Return the image corresponding to the current state. If the state
- * is "Default", the image will depend on the given defaultValue
- *
- * @param defaultValue
- * The value to use if the State is "Default"
- * @return
- * The image corresponding to the current State
- */
- public Image getImage(boolean defaultValue) {
- switch (this) {
- case DEFAULT:
- if (defaultValue) {
- return Activator.getDefault().getImage("/icons/default_true.gif"); //$NON-NLS-1$
- } else {
- return Activator.getDefault().getImage("/icons/default_false.gif"); //$NON-NLS-1$
- }
- case TRUE:
- return Activator.getDefault().getImage("/icons/true.gif"); //$NON-NLS-1$
- case FALSE:
- return Activator.getDefault().getImage("/icons/false.gif"); //$NON-NLS-1$
- }
-
- // Cannot happen as the switch is exhaustive
- throw new RuntimeException();
- }
-
- /**
- * Return the text corresponding to the current state. If the state
- * is "Default", the text will depend on the given defaultValue
- *
- * @param defaultValue
- * The value to use if the State is "Default"
- * @return
- * The text corresponding to the current State
- */
- public String getText(boolean defaultValue) {
- switch (this) {
- case DEFAULT:
- if (defaultValue) {
- return Messages.TernaryButton_defaultTrue;
- } else {
- return Messages.TernaryButton_defaultFalse;
- }
- case TRUE:
- return Messages.TernaryButton_true;
- case FALSE:
- return Messages.TernaryButton_false;
- }
-
- // Cannot happen as the switch is exhaustive
- throw new RuntimeException();
- }
- }
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto
deleted file mode 100644
index 37372e14e84..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto
+++ /dev/null
@@ -1,161 +0,0 @@
-modeltype Ecore uses "http://www.eclipse.org/emf/2002/Ecore";
-modeltype PropertyContext uses "http://www.eclipse.org/papyrus/properties/contexts/0.9";
-modeltype PropertyEnvironment uses "http://www.eclipse.org/papyrus/properties/environment/0.9";
-modeltype PRoot uses "http://www.eclipse.org/papyrus/properties/root";
-modeltype Constraints uses "http://www.eclipse.org/papyrus/constraints/0.9";
-
-transformation ecore2datacontext(in ecore : Ecore,in list: Ecore,in pRoot : PRoot, out context : PropertyContext);
-
-main() {
- ecore.rootObjects()[EPackage]->map toContext();
-}
-
-mapping EPackage::toContext() : c: Context, root:DataContextRoot when {
- //self.isMainPackage() //Only transform source EPackages ; not their dependencies
- self.isSelected()
-}{
- c.name := self.name;
- c.dataContexts := root;
- c.views := self.eClassifiers->select(e | e.oclIsKindOf(EClass))->map toDataContextElement().viewSingle
- ->union(self.eClassifiers->select(e | e.oclIsKindOf(EClass))->map toDataContextElement().viewMultiple);
-
- root.name := self.name;
- root.label := self.name;
- root.elements := self.eClassifiers->select(e | e.oclIsKindOf(EClass))->map toDataContextElement().element
- ->union(self.eSubpackages->map toDataContextPackage());
-
- root.modelElementFactory := pRoot.rootObjects()[PropertiesRoot].environments.modelElementFactories
- ->any(e | e.factoryClass = 'org.eclipse.papyrus.infra.properties.ui.modelelement.EMFModelElementFactory');
-}
-
-mapping EPackage::toDataContextPackage() : DataContextPackage{
- name := self.name;
- elements := self.eClassifiers->select(e | e.oclIsKindOf(EClass))->map toDataContextElement().element
- ->union(self.eSubpackages->map toDataContextPackage());
-}
-
-query EPackage::getRootPackage() : EPackage {
- var package : EPackage;
- if self.eSuperPackage.oclIsUndefined() then
- package := self
- else
- package := self.eSuperPackage.getRootPackage()
- endif;
- return package;
-}
-
-query EClass::getRootPackage() : EPackage {
- return self.ePackage.getRootPackage();
-}
-
-query EClass::getContext() : PropertyContext::Context {
- return self.getRootPackage().map toContext().c;
-}
-
-abstract mapping EClassifier::toDataContextElement() : element : DataContextElement, viewSingle : View, viewMultiple : View {
- element.name := self.name;
-}
-
-mapping EClass::toDataContextElement() : element : DataContextElement, viewSingle : View, viewMultiple : View inherits EClassifier::toDataContextElement
-when {
- self.ePackage.isSelected()
-}
-{
-
- element.properties := self.eStructuralFeatures->map toProperty();
- element.supertypes := self.eSuperTypes.map toDataContextElement().element;
-
- viewSingle.name := 'Single '+self.name;
- viewSingle.automaticContext := true;
- viewSingle.datacontexts := element;
- viewSingle.elementMultiplicity := 1;
- viewSingle.constraints := self.map toConstraint(viewSingle);
- viewSingle.context := self.getContext();
-
- viewMultiple.name := 'Multiple '+self.name;
- viewMultiple.automaticContext := true;
- viewMultiple.datacontexts := element;
- viewMultiple.elementMultiplicity := -1;
- viewMultiple.constraints := self.map toConstraint(viewMultiple);
- viewMultiple.context := self.getContext();
-}
-
-query EPackage::isMainPackage() : Boolean {
- return if ecore.rootObjects()->includes(self) then
- true
- else
- if self.eSuperPackage.oclIsUndefined() then
- false
- else
- self.eSuperPackage.isMainPackage()
- endif
- endif;
-}
-
-query EPackage::isSelected() : Boolean {
-
- return if (list.objectsOfType(EPackage)->includes(self.getRootPackage())) then true
- else false
- endif;
-}
-mapping EClass::toConstraint(view : View) : SimpleConstraint {
- name := "is" + view.name.replace(' ', '');
- display := view;
- constraintType := pRoot.objectsOfType(PropertiesRoot).environments.constraintTypes->any(e | e.constraintClass = 'org.eclipse.papyrus.infra.constraints.constraints.EMFInstanceOfConstraint');
- var className := object ValueProperty {
- name := 'className';
- value := self.name;
- };
- var nsUri := object ValueProperty {
- name := 'nsUri';
- value := self.ePackage.nsURI;
- };
- properties := Set{className, nsUri};
-}
-
-mapping EStructuralFeature::toProperty() : Property {
- name := self.name;
- type := self.eType.toType();
- multiplicity := if self.upperBound = 1 then 1 else -1 endif;
- description := self.getGenModelDocumentation();
- //multiplicity := self.upperBound;
-}
-
-query EModelElement::getGenModelDocumentation() : String {
- return self.eAnnotations->select(e | e.source = 'http://www.eclipse.org/emf/2002/GenModel').details->any(entry | entry.key = 'documentation').value;
-}
-
-query EClassifier::toType() : Type {
- log("Unknown type : "+self.repr());
- return null;
-}
-
-query EClass::toType() : Type {
- return Type::Reference;
-}
-
-query EEnum::toType() : Type {
- return Type::Enumeration;
-}
-
-query EDataType::toType() : Type {
- var type : Type;
- switch {
- case (self.instanceClassName = "java.lang.String") type := Type::String;
- case (self.instanceClassName = "int") type := Type::Integer;
- case (self.instanceClassName = "long") type := Type::Integer; /* FIXME: Integer is not a perfect match */
- case (self.instanceClassName = "boolean") type := Type::Boolean;
- case (self.instanceClassName = "float") type := Type::Double; /* FIXME: Double is not a perfect match */
- case (self.instanceClassName = "double") type := Type::Double;
- case (self.instanceClassName = "char") type := Type::Integer; /* FIXME: Integer is not a perfect match */
- case (self.instanceClassName = "byte") type := Type::Integer; /* FIXME: Integer is not a perfect match */
- /* FIXME: Add all Ecore/Java types? */
- };
- if type.oclIsUndefined() then {
- log("Type : "+self.name);
- log("Instance : "+self.instanceClassName);
- type := Type::String;
- }endif;
- return type;
-}
-
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto
deleted file mode 100644
index d1a1552c36e..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto
+++ /dev/null
@@ -1,178 +0,0 @@
-modeltype UML uses "http://www.eclipse.org/uml2/5.0.0/UML";
-modeltype PropertyContext uses "http://www.eclipse.org/papyrus/properties/contexts/0.9";
-modeltype PropertyEnvironment uses "http://www.eclipse.org/papyrus/properties/environment/0.9";
-modeltype PRoot uses "http://www.eclipse.org/papyrus/properties/root";
-modeltype Constraints uses "http://www.eclipse.org/papyrus/constraints/0.9";
-
-transformation stereotype2datacontext(in profile : UML, out context : PropertyContext, in uml : PropertyContext, in pRoot : PRoot);
-
-main() {
- profile.rootObjects()[Profile].map toContext();
-}
-
------ Context -----
-
-mapping Package::toContext() : Context{
- name := self.name;
- dataContexts := self.map toDCRoot();
- dependencies := uml.rootObjects()[Context];
- //self.getClassifiers().map toDCElement();
-}
-
-query Package::getRootPackage() : Package {
- var package : Package;
- if self.nestingPackage.oclIsUndefined() then
- package := self
- else
- package := self.nestingPackage.getRootPackage()
- endif;
- return package;
-}
-
-query Classifier::getRootPackage() : Package {
- return self.package.getRootPackage();
-}
-
-query Package::getClassifiers() : Collection(Classifier) {
- return self.packagedElement->select(e | e.isView()).oclAsType(Classifier);
-}
-
--------------------
-
------ DataContextPackage & DataContextRoot -------
-
-mapping Package::toDCPackage() : DataContextPackage disjuncts
- Package::toDataContextPackage, Package::toDCRoot;
-
-abstract mapping Package::toAbstractDCPackage() : DataContextPackage {
- name := self.name;
- var mappedElements := self.getClassifiers().map toDCElement().element;
- elements := mappedElements
- ->union(
- self.packagedElement->select(e | e.oclIsKindOf(Package)).oclAsType(Package).map toDataContextPackage()
- )
- ;
-}
-
-mapping Package::toDataContextPackage() : DataContextPackage inherits Package::toAbstractDCPackage when {
- not self.nestingPackage.oclIsUndefined()
-}{
- if not self.nestingPackage.oclIsUndefined() then
- package := self.nestingPackage.map toDataContextPackage()
- endif;
-}
-
-mapping Package::toDCRoot() : DataContextRoot disjuncts Model::toDataContextRoot, Profile::toDatacontextRoot when {
- self.nestingPackage.oclIsUndefined();
-};
-
-mapping Model::toDataContextRoot() : DataContextRoot inherits Package::toAbstractDCPackage {
- modelElementFactory := findFactory('org.eclipse.papyrus.uml.properties.modelelement.UMLModelElementFactory');
-}
-
-mapping Profile::toDatacontextRoot() : DataContextRoot inherits Package::toAbstractDCPackage{
- modelElementFactory := findFactory('org.eclipse.papyrus.uml.properties.modelelement.StereotypeModelElementFactory');
-}
-
-query findFactory(className : String) : ModelElementFactoryDescriptor {
- return pRoot.rootObjects()[PropertiesRoot].environments.modelElementFactories
- ->any(e | e.factoryClass = className);
-}
-
---------------------------------------------------
-
------ DataContextElement & View -------
-
-mapping Classifier::toDCElement() : element : DataContextElement, viewSingle : View, viewMultiple : View
- disjuncts Stereotype::toDataContextElement, DataType::toDataContextElement;
-
-abstract mapping Classifier::toAbstractDCElement() : element : DataContextElement, viewSingle : View, viewMultiple : View{
- element.name := self.name;
-
- viewSingle.name := 'Single '+self.name;
- viewSingle.automaticContext := true;
- viewSingle.datacontexts := element;
- viewSingle.elementMultiplicity := 1;
- viewSingle.constraints := self.map toConstraint(viewSingle);
- viewSingle.context := self.getRootPackage().map toContext();
-
- viewMultiple.name := 'Multiple '+self.name;
- viewMultiple.automaticContext := true;
- viewMultiple.datacontexts := element;
- viewMultiple.elementMultiplicity := -1;
- viewMultiple.constraints := self.map toConstraint(viewMultiple);
- viewMultiple.context := self.getRootPackage().map toContext();
-}
-
-mapping Stereotype::toDataContextElement() : element : DataContextElement, viewSingle : View, viewMultiple : View inherits Classifier::toAbstractDCElement{
-
- element.properties := self.attribute->select(e | e.isAttribute(self)).map toProperty();
-
- //Stereotype generalization
- var superClassifiers := self.generalization.target->select(e | e.isView()).oclAsType(Classifier);
-
- //base metaclasses
- var baseElements := self.ownedAttribute->select(e | not e.isAttribute(self)).getDataContextElement()->asSet();
-
- element.supertypes := superClassifiers.map toDCElement().element->union(baseElements)->asSet()
-}
-
-mapping DataType::toDataContextElement() : element : DataContextElement, viewSingle : View, viewMultiple : View inherits Classifier::toAbstractDCElement when {
- self.oclIsTypeOf(DataType) -- Exclude primitive types from generation
-}{
- element.properties := self.attribute.map toProperty();
- element.supertypes := self.generalization.target->select(e | e.isView()).oclAsType(Classifier).map toDCElement().element
-}
-
-mapping Classifier::toConstraint(view : View) : SimpleConstraint{
- name := "is" + view.name.replace(' ', '');
- display := view;
- constraintType := pRoot.objectsOfType(PropertiesRoot).environments.constraintTypes->any(e | e.constraintClass = 'org.eclipse.papyrus.uml.properties.constraints.HasStereotypeConstraint');
- var stereotypeName := object ValueProperty {
- name := 'stereotypeName';
- value := self.qualifiedName;
- };
- properties := stereotypeName;
-}
-
-query Element::isView() : Boolean {
- return self.oclIsTypeOf(Stereotype) or self.oclIsTypeOf(DataType);
-}
-
-query Property::getDataContextElement() : DataContextElement {
- var extension := self.association.memberEnd->any(e | not self.association.ownedEnd->includes(e));
- var metaclassName := extension.type.name;
- return uml.rootObjects()[Context].dataContexts->any(e | e.name = 'UML').elements->any(e | e.name = metaclassName);
-}
-
-query UML::Property::isAttribute(stereo : Stereotype) : Boolean{
- return not self.name.startsWith('base_');
-}
-
----------------------------------------
-
-mapping UML::Property::toProperty() : PropertyContext::Property {
- name := self.name;
- type := self.type.getType();
- multiplicity := if self.upperBound() > 1 or self.upperBound() = -1 then -1 else 1 endif;
-
- description := profile.objectsOfType(UML::Comment)->select(comment | comment.annotatedElement->includes(self))->any(comment | true).body
-}
-
-query UML::Type::getType() : PropertyEnvironment::Type {
- -- Unknown cases are handled as Strings
- var type : PropertyEnvironment::Type := PropertyEnvironment::Type::String;
- switch {
- case (self.oclIsKindOf(Class)) type := PropertyEnvironment::Type::Reference;
- case (self.oclIsKindOf(Enumeration)) type := PropertyEnvironment::Type::Enumeration;
- case (self.oclIsKindOf(PrimitiveType)) switch {
- case (self.name = "String") type := PropertyEnvironment::Type::String;
- case (self.name = "Integer") type := PropertyEnvironment::Type::Integer;
- case (self.name = "Boolean") type := PropertyEnvironment::Type::Boolean;
- case (self.name = "Real") type := PropertyEnvironment::Type::Double;
- case (self.name = "Double") type := PropertyEnvironment::Type::Double;
- };
- case (self.oclIsTypeOf(DataType)) type := PropertyEnvironment::Type::Reference;
- };
- return type;
-}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.classpath b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.classpath
deleted file mode 100644
index 74056ab23ec..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src-gen"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.project b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.project
deleted file mode 100644
index 18d8a87d13e..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.project
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.customization.properties.model.xwt</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.m2m.qvt.oml.project.QVTOBuilder</name>
- <arguments>
- <dictionary>
- <key>src_container</key>
- <value>Transformation</value>
- </dictionary>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.oomph.version.VersionBuilder</name>
- <arguments>
- <dictionary>
- <key>check.maven.pom</key>
- <value>true</value>
- </dictionary>
- <dictionary>
- <key>ignore.lower.bound.dependency.ranges</key>
- <value>true</value>
- </dictionary>
- <dictionary>
- <key>ignore.missing.dependency.ranges</key>
- <value>true</value>
- </dictionary>
- <dictionary>
- <key>release.path</key>
- <value>/org.eclipse.papyrus.releng.main.release/release.xml</value>
- </dictionary>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.m2m.qvt.oml.project.QVTONature</nature>
- <nature>org.eclipse.oomph.version.VersionNature</nature>
- <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
- </natures>
-</projectDescription>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.core.prefs b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 410244d65a6..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,291 +0,0 @@
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
-org.eclipse.jdt.core.compiler.compliance=1.6
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.6
-org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_assignment=0
-org.eclipse.jdt.core.formatter.alignment_for_binary_expression=16
-org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
-org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
-org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
-org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
-org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
-org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
-org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
-org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
-org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
-org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_after_package=1
-org.eclipse.jdt.core.formatter.blank_lines_before_field=0
-org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
-org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
-org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
-org.eclipse.jdt.core.formatter.blank_lines_before_method=1
-org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
-org.eclipse.jdt.core.formatter.blank_lines_before_package=0
-org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
-org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
-org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
-org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
-org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
-org.eclipse.jdt.core.formatter.comment.format_block_comments=true
-org.eclipse.jdt.core.formatter.comment.format_header=false
-org.eclipse.jdt.core.formatter.comment.format_html=true
-org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
-org.eclipse.jdt.core.formatter.comment.format_line_comments=true
-org.eclipse.jdt.core.formatter.comment.format_source_code=true
-org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
-org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
-org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
-org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
-org.eclipse.jdt.core.formatter.comment.line_length=260
-org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
-org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
-org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
-org.eclipse.jdt.core.formatter.compact_else_if=true
-org.eclipse.jdt.core.formatter.continuation_indentation=2
-org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
-org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
-org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
-org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
-org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
-org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
-org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_empty_lines=false
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
-org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
-org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
-org.eclipse.jdt.core.formatter.indentation.size=4
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
-org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
-org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
-org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
-org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
-org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
-org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_binary_operator=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
-org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
-org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
-org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
-org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
-org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
-org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
-org.eclipse.jdt.core.formatter.join_lines_in_comments=false
-org.eclipse.jdt.core.formatter.join_wrapped_lines=false
-org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
-org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
-org.eclipse.jdt.core.formatter.lineSplit=260
-org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
-org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
-org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
-org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=5
-org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
-org.eclipse.jdt.core.formatter.tabulation.char=tab
-org.eclipse.jdt.core.formatter.tabulation.size=4
-org.eclipse.jdt.core.formatter.use_on_off_tags=false
-org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
-org.eclipse.jdt.core.formatter.wrap_before_binary_operator=true
-org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
-org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.ui.prefs b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.ui.prefs
deleted file mode 100644
index 954281dbc31..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.jdt.ui.prefs
+++ /dev/null
@@ -1,68 +0,0 @@
-cleanup.add_default_serial_version_id=true
-cleanup.add_generated_serial_version_id=false
-cleanup.add_missing_annotations=true
-cleanup.add_missing_deprecated_annotations=true
-cleanup.add_missing_methods=false
-cleanup.add_missing_nls_tags=false
-cleanup.add_missing_override_annotations=true
-cleanup.add_missing_override_annotations_interface_methods=true
-cleanup.add_serial_version_id=false
-cleanup.always_use_blocks=true
-cleanup.always_use_parentheses_in_expressions=false
-cleanup.always_use_this_for_non_static_field_access=false
-cleanup.always_use_this_for_non_static_method_access=false
-cleanup.convert_functional_interfaces=false
-cleanup.convert_to_enhanced_for_loop=false
-cleanup.correct_indentation=false
-cleanup.format_source_code=false
-cleanup.format_source_code_changes_only=false
-cleanup.insert_inferred_type_arguments=false
-cleanup.make_local_variable_final=true
-cleanup.make_parameters_final=false
-cleanup.make_private_fields_final=true
-cleanup.make_type_abstract_if_missing_method=false
-cleanup.make_variable_declarations_final=false
-cleanup.never_use_blocks=false
-cleanup.never_use_parentheses_in_expressions=true
-cleanup.organize_imports=false
-cleanup.qualify_static_field_accesses_with_declaring_class=false
-cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
-cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
-cleanup.qualify_static_member_accesses_with_declaring_class=true
-cleanup.qualify_static_method_accesses_with_declaring_class=false
-cleanup.remove_private_constructors=true
-cleanup.remove_redundant_type_arguments=true
-cleanup.remove_trailing_whitespaces=true
-cleanup.remove_trailing_whitespaces_all=true
-cleanup.remove_trailing_whitespaces_ignore_empty=false
-cleanup.remove_unnecessary_casts=true
-cleanup.remove_unnecessary_nls_tags=true
-cleanup.remove_unused_imports=true
-cleanup.remove_unused_local_variables=false
-cleanup.remove_unused_private_fields=true
-cleanup.remove_unused_private_members=false
-cleanup.remove_unused_private_methods=true
-cleanup.remove_unused_private_types=true
-cleanup.sort_members=false
-cleanup.sort_members_all=false
-cleanup.use_anonymous_class_creation=false
-cleanup.use_blocks=true
-cleanup.use_blocks_only_for_return_and_throw=false
-cleanup.use_lambda=true
-cleanup.use_parentheses_in_expressions=false
-cleanup.use_this_for_non_static_field_access=false
-cleanup.use_this_for_non_static_field_access_only_if_necessary=true
-cleanup.use_this_for_non_static_method_access=false
-cleanup.use_this_for_non_static_method_access_only_if_necessary=true
-cleanup.use_type_arguments=false
-cleanup_profile=_Papyrus
-cleanup_settings_version=2
-eclipse.preferences.version=1
-formatter_profile=_Papyrus
-formatter_settings_version=12
-org.eclipse.jdt.ui.ignorelowercasenames=true
-org.eclipse.jdt.ui.importorder=java;javax;org;com;
-org.eclipse.jdt.ui.javadoc=true
-org.eclipse.jdt.ui.ondemandthreshold=99
-org.eclipse.jdt.ui.staticondemandthreshold=99
-org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * Constructor.\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*****************************************************************************\n * Copyright (c) ${year} CEA LIST and others.\n * \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License v1.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-v10.html\n *\n * Contributors\:\n * CEA LIST - Initial API and implementation\n * \n *****************************************************************************/\n</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n * @author ${user}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/**\n * ${see_to_overridden}\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${see_to_target}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap
deleted file mode 100644
index 8fb2b8eb4eb..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.m2m.qvt.oml.mmodel.urimap
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="ASCII"?>
-<uriMap:MappingContainer xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:uriMap="http:///www.eclipse.org/m2m/qvt/oml/MModelUriMap/1.0.0">
- <mapping sourceURI="http://www.eclipse.org/papyrus/xwt/XML" targetURI="platform:/resource/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.ecore"/>
-</uriMap:MappingContainer>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.pde.api.tools.prefs b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.pde.api.tools.prefs
deleted file mode 100644
index 23fb95e120f..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/.settings/org.eclipse.pde.api.tools.prefs
+++ /dev/null
@@ -1,98 +0,0 @@
-ANNOTATION_ELEMENT_TYPE_ADDED_METHOD_WITHOUT_DEFAULT_VALUE=Error
-ANNOTATION_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
-ANNOTATION_ELEMENT_TYPE_REMOVED_FIELD=Error
-ANNOTATION_ELEMENT_TYPE_REMOVED_METHOD=Error
-ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
-API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error
-API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Error
-API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Error
-API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error
-API_USE_SCAN_FIELD_SEVERITY=Error
-API_USE_SCAN_METHOD_SEVERITY=Error
-API_USE_SCAN_TYPE_SEVERITY=Error
-CLASS_ELEMENT_TYPE_ADDED_METHOD=Error
-CLASS_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
-CLASS_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
-CLASS_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
-CLASS_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
-CLASS_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error
-CLASS_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
-CLASS_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
-CLASS_ELEMENT_TYPE_REMOVED_CONSTRUCTOR=Error
-CLASS_ELEMENT_TYPE_REMOVED_FIELD=Error
-CLASS_ELEMENT_TYPE_REMOVED_METHOD=Error
-CLASS_ELEMENT_TYPE_REMOVED_SUPERCLASS=Error
-CLASS_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
-CLASS_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
-CONSTRUCTOR_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
-CONSTRUCTOR_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
-CONSTRUCTOR_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error
-CONSTRUCTOR_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
-ENUM_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
-ENUM_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
-ENUM_ELEMENT_TYPE_REMOVED_ENUM_CONSTANT=Error
-ENUM_ELEMENT_TYPE_REMOVED_FIELD=Error
-ENUM_ELEMENT_TYPE_REMOVED_METHOD=Error
-ENUM_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
-FIELD_ELEMENT_TYPE_ADDED_VALUE=Error
-FIELD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
-FIELD_ELEMENT_TYPE_CHANGED_FINAL_TO_NON_FINAL_STATIC_CONSTANT=Error
-FIELD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
-FIELD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error
-FIELD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error
-FIELD_ELEMENT_TYPE_CHANGED_TYPE=Error
-FIELD_ELEMENT_TYPE_CHANGED_VALUE=Error
-FIELD_ELEMENT_TYPE_REMOVED_TYPE_ARGUMENT=Error
-FIELD_ELEMENT_TYPE_REMOVED_VALUE=Error
-ILLEGAL_EXTEND=Warning
-ILLEGAL_IMPLEMENT=Warning
-ILLEGAL_INSTANTIATE=Warning
-ILLEGAL_OVERRIDE=Warning
-ILLEGAL_REFERENCE=Warning
-INTERFACE_ELEMENT_TYPE_ADDED_FIELD=Ignore
-INTERFACE_ELEMENT_TYPE_ADDED_METHOD=Error
-INTERFACE_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
-INTERFACE_ELEMENT_TYPE_ADDED_SUPER_INTERFACE_WITH_METHODS=Error
-INTERFACE_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
-INTERFACE_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
-INTERFACE_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
-INTERFACE_ELEMENT_TYPE_REMOVED_FIELD=Error
-INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error
-INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
-INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
-INVALID_ANNOTATION=Ignore
-INVALID_JAVADOC_TAG=Ignore
-INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Ignore
-LEAK_EXTEND=Warning
-LEAK_FIELD_DECL=Warning
-LEAK_IMPLEMENT=Warning
-LEAK_METHOD_PARAM=Warning
-LEAK_METHOD_RETURN_TYPE=Warning
-METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
-METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
-METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
-METHOD_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error
-METHOD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
-METHOD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error
-METHOD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error
-METHOD_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error
-METHOD_ELEMENT_TYPE_REMOVED_ANNOTATION_DEFAULT_VALUE=Error
-METHOD_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
-MISSING_EE_DESCRIPTIONS=Error
-TYPE_PARAMETER_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error
-TYPE_PARAMETER_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error
-TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_CLASS_BOUND=Error
-TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error
-TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error
-TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error
-UNUSED_PROBLEM_FILTERS=Warning
-automatically_removed_unused_problem_filters=Enabled
-eclipse.preferences.version=1
-incompatible_api_component_version=Error
-incompatible_api_component_version_include_major_without_breaking_change=Disabled
-incompatible_api_component_version_include_minor_without_api_change=Disabled
-invalid_since_tag_version=Error
-malformed_since_tag=Error
-missing_since_tag=Warning
-report_api_breakage_when_major_version_incremented=Disabled
-report_resolution_errors_api_component=Warning
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/META-INF/MANIFEST.MF b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/META-INF/MANIFEST.MF
deleted file mode 100644
index 65bbb0d5aba..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,20 +0,0 @@
-Manifest-Version: 1.0
-Export-Package: org.eclipse.papyrus.customization.properties.model.xwt.resource,
- org.eclipse.papyrus.customization.properties.model.xwt.xwtxml,
- org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl,
- org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.util
-Require-Bundle: org.eclipse.m2m.qvt.oml;bundle-version="[3.6.0,4.0.0)",
- org.eclipse.papyrus.views.properties;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.wst.xml.core;bundle-version="[1.1.0,2.0.0)",
- org.eclipse.m2m.qvt.oml.project;bundle-version="[3.6.0,4.0.0)",
- com.ibm.icu
-Bundle-Vendor: %Bundle-Vendor
-Bundle-ActivationPolicy: lazy
-Bundle-ClassPath: .
-Bundle-Version: 1.2.0.qualifier
-Bundle-Name: %Bundle-Name
-Bundle-Activator: org.eclipse.papyrus.customization.properties.model.xwt.Activator
-Bundle-ManifestVersion: 2
-Bundle-Description: %pluginDescription
-Bundle-SymbolicName: org.eclipse.papyrus.customization.properties.model.xwt;singleton:=true
-Bundle-RequiredExecutionEnvironment: JavaSE-1.6
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/OSGI-INF/l10n/bundle.properties b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/OSGI-INF/l10n/bundle.properties
deleted file mode 100644
index ee4f0e575f2..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/OSGI-INF/l10n/bundle.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-#Properties file for org.eclipse.papyrus.customization.properties.model.xwt
-Bundle-Name = Papyrus properties XWT Projectors
-Bundle-Vendor = Eclipse Modeling Project \ No newline at end of file
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto
deleted file mode 100644
index c84c2640efb..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto
+++ /dev/null
@@ -1,217 +0,0 @@
-modeltype XML uses "http://www.eclipse.org/papyrus/xwt/XML";
-modeltype UI uses "http://www.eclipse.org/papyrus/properties/ui/0.9";
-modeltype Environment uses "http://www.eclipse.org/papyrus/properties/environment/0.9";
-modeltype Context uses "http://www.eclipse.org/papyrus/properties/contexts/0.9";
-
-transformation UIToXML(in ui : UI, out xml : XML);
-
--- Adds the given namespace to the widget's root composite
-query addNamespace(namespace : Environment::Namespace, component : UI::UIComponent){
- var rootComposite := component.findRootComposite();
- if namespace.oclIsUndefined() then
- return
- endif;
-
- var nsName := namespace.name;
- var root := rootComposite.map toRoot();
-
- if not root.namespaces->exists(e | e.name = nsName) then
- root.namespaces := root.namespaces->including(namespace.map toNamespace())
- endif;
-}
-
-query UI::UIComponent::findRootComposite() : UI::CompositeWidget{
- return
- if self.container().oclIsUndefined() then
- self.oclAsType(UI::CompositeWidget)
- else
- self.container().oclAsType(UI::UIComponent).findRootComposite()
- endif;
-}
-
-main() {
- ui.rootObjects()[CompositeWidget]->map toRoot()
-}
-
-mapping UI::Element::toXML() : XML::Node
- disjuncts Layout::toLayoutXML, Widget::toAbstractWidgetXML,
- ValueAttribute::toAttributeXML, ReferenceAttribute::toReferenceXML,
- ValueAttribute::toNamespace{
-}
-
-mapping Layout::toLayoutXML() : XML::Element{
- name := self.container().oclAsType(UIComponent).getName()+".layout";
- children := self.map toLayout();
- addNamespace(self.layoutType.namespace, self);
-}
-
-mapping Layout::toLayout() : XML::Element {
- name := self.getName();
- children := self.attributes->map toXML();
-}
-
-mapping Widget::toAbstractWidgetXML() : XML::Element
- disjuncts CompositeWidget::toCompositeXML, StandardWidget::toStandardWidgetXML,
- PropertyEditor::toEditorXML, UnknownComponent::toComponentXML{
-}
-
-abstract mapping Widget::toWidgetXML() : XML::Element {
- name := self.getName();
-}
-
-mapping CompositeWidget::toRoot() : XML::Root {
- name := self.getName();
-
- namespaces := self.attributes->select(e | e.isNamespace()).oclAsType(UI::ValueAttribute)->map toNamespace();
-
- var theChildren : Sequence(XML::Node) := Sequence{};
-
- theChildren := self.attributes->select(e | not e.isNamespace())->map toXML();
- theChildren := theChildren->union(Sequence{self.layout.map toXML()});
- theChildren := theChildren->union(self.widgets->map toXML());
-
- children := theChildren->asOrderedSet();
-
- addNamespace(self.widgetType.namespace, self);
-}
-
-mapping CompositeWidget::toCompositeXML() : XML::Element inherits Widget::toWidgetXML{
- var subElements : Sequence(UI::Element) := Sequence{self.layout};
- subElements := subElements->union(self.attributes->asSequence());
- subElements := subElements->union(self.widgets->asSequence());
-
- children := subElements->map toXML();
-
- addNamespace(self.widgetType.namespace, self);
-}
-
-mapping PropertyEditor::toEditorXML() : XML::Element inherits Widget::toWidgetXML {
- var subElements : OrderedSet(UI::Element) := self.attributes;
-
- children := (self.attributes->map toXML())->including(self._property.map toXML()); //TODO : self._property may be null, which may crash the transformation ?
- if not self.attributes->exists(e | e.name = 'input') then
- children := children->including(createAttribute("input", "{Binding}"))
- endif;
-
- if self.readOnly then
- children := children->including(createAttribute("readOnly", "true"))
- endif;
- if not self.showLabel then
- children := children->including(createAttribute("showLabel", "false"))
- endif;
- if not self.customLabel.oclIsUndefined() and self.customLabel <> '' then
- children := children->including(createAttribute("customLabel", self.customLabel))
- endif;
-
- addNamespace(self.widgetType.namespace, self);
-}
-
-query createAttribute(name : String, value : String) : XML::Attribute{
- var attribute := object XML::Attribute {
- };
-
- attribute.name := name;
- attribute.value := value;
-
- return attribute;
-}
-
-mapping StandardWidget::toStandardWidgetXML() : XML::Element inherits Widget::toWidgetXML {
- children := self.attributes->map toXML();
- addNamespace(self.widgetType.namespace, self);
-}
-
-mapping UnknownComponent::toComponentXML() : XML::Element inherits Widget::toWidgetXML{
- children := self.attributes->map toXML();
-}
-
-mapping Property::toXML() : XML::Attribute {
- name := "property";
- value := self.contextElement.getQualifiedName()+":"+self.name;
-}
-
-mapping UnknownProperty::toXML() : XML::Attribute {
- name := "property";
- value := self.name;
-}
-
-query DataContextElement::getQualifiedName() : String {
- if self.package.oclIsUndefined() then
- return self.name
- else
- return self.package.getQualifiedName()+":"+self.name
- endif;
-
- return "";
-}
-
-query WidgetAttribute::isNamespace() : Boolean {
- var res := false;
- if self.oclIsKindOf(UI::ValueAttribute) then
- res := self.name = "xmlns" or self.name.startsWith("xmlns:")
- endif;
-
- return res;
-}
-
-mapping ValueAttribute::toAttributeXML() : Attribute{
- name := self.name;
- value := self.value;
-}
-
-mapping ValueAttribute::toNamespace() : Namespace{
- name := if self.name = 'xmlns' then '' else self.name.substring('xmlns:'.length()+1, self.name.length()) endif;
- value := self.value;
-}
-
-mapping Environment::Namespace::toNamespace() : XML::Namespace {
- name := self.name;
- value := self.prefix+':'+self.value;
-}
-
-mapping ReferenceAttribute::toReferenceXML() : XML::Element {
- name := self.container().oclAsType(UIComponent).getName()+"."+self.name;
- children := self.value.map toXML();
-}
-
-abstract query UI::UIComponent::getName() : String{
- return "abstract";
-}
-
-query getName(namespace : Environment::Namespace, className : String) : String{
- if className.oclIsUndefined() then {
- return 'ppe:InvalidWidget'
- } endif;
-
- var prefixedName :=
- if not namespace.oclIsUndefined() then
- namespace.name + ':'
- else
- ''
- endif
- + className;
-
- return prefixedName;
-}
-
-query Layout::getName() : String {
- if self.layoutType.oclIsUndefined() then return 'ppel:PropertiesLayout' endif;
- return getName(self.layoutType.namespace, self.layoutType.widgetClass);
-}
-
-query UI::CompositeWidget::getName() : String {
- if self.widgetType.oclIsUndefined() then return 'Composite' endif;
- return getName(self.widgetType.namespace, self.widgetType.widgetClass);
-}
-
-query UI::StandardWidget::getName() : String {
- return getName(self.widgetType.namespace, self.widgetType.widgetClass);
-}
-
-query UI::PropertyEditor::getName() : String {
- return getName(self.widgetType.namespace, self.widgetType.widgetClass);
-}
-
-query UI::UnknownComponent::getName() : String {
- return self.typeName;
-} \ No newline at end of file
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto
deleted file mode 100644
index 4622d426385..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto
+++ /dev/null
@@ -1,254 +0,0 @@
-modeltype XML uses "http://www.eclipse.org/papyrus/xwt/XML";
-modeltype UI uses "http://www.eclipse.org/papyrus/properties/ui/0.9";
-modeltype PropertiesRoot uses "http://www.eclipse.org/papyrus/properties/root";
-modeltype Context uses "http://www.eclipse.org/papyrus/properties/contexts/0.9";
-modeltype Environment uses "http://www.eclipse.org/papyrus/properties/environment/0.9";
-
-transformation XMLToUI(in xml : XML, in root : PropertiesRoot, in ctx : Context, out ui : UI);
-
-main() {
- xml.rootObjects()[Node]->map toUIElement();
-}
-
-mapping Node::toAttribute() : WidgetAttribute
- disjuncts
- Namespace::toValueAttribute,
- Attribute::toValueAttribute,
- XML::Element::toReferenceAttribute{
-}
-
-mapping Attribute::toValueAttribute() : ValueAttribute
- when {not self.isProperty()} {
- result.name := self.name;
- result.value := self.value;
-}
-
-query Attribute::isProperty() : Boolean {
- return self.parent.isPropertyEditor() and self.name = "property";
-}
-
-mapping XML::Namespace::toValueAttribute() : ValueAttribute{
-
- result.name := if self.name.oclIsUndefined() or self.name = ""
- then "xmlns"
- else "xmlns:"+self.name
- endif;
-
- result.value := self.value;
-}
-
-//layout is a ReferenceAttribute but is computed differently
-mapping XML::Element::toReferenceAttribute() : ReferenceAttribute
- when {self.isReferenceAttribute() and not self.isLayoutAttribute()}{
- result.name := self.getName();
- result.value := self.children->select(e | e.oclIsKindOf(XML::Element))
- ->first().oclAsType(XML::Element).map toUIComponent();
-}
-
-query XML::Element::isReferenceAttribute() : Boolean {
- return self.name.startsWith(self.parent.name+".");
-}
-
-query XML::Element::getName() : String {
- var parentPrefix := self.parent.name+".";
- if self.name.startsWith(parentPrefix) then
- return self.name.replace(parentPrefix, "")
- endif;
-
- return self.name;
-}
-
-mapping Node::toUIElement() : UI::Element
- disjuncts
- XML::Element::toUIComponent,
- XML::Node::toAttribute {
-}
-
-mapping XML::Element::toUIComponent() : UIComponent
- disjuncts
- XML::Element::toWidget,
- XML::Element::toLayout{
-}
-
-mapping XML::Element::toWidget() : Widget
- disjuncts
- XML::Element::toComposite,
- XML::Element::toPropertyEditor,
- XML::Element::toStandardWidget,
- XML::Element::toUnknownComponent{
-}
-
-abstract mapping XML::Element::toAbstractUIComponent() : UIComponent {
- var allChildren : Set(Node) := self.children;
- if self.oclIsKindOf(Root) then
- allChildren := allChildren->union(self.oclAsType(Root).namespaces)
- endif;
-
- attributes := allChildren->map toAttribute();
-}
-
-mapping XML::Element::toComposite() : CompositeWidget inherits XML::Element::toAbstractUIComponent
- when {self.isComposite()} {
- widgetType := self.getCompositeType();
-
- var elements := self.children->select(e | e.oclIsKindOf(XML::Element))
- .oclAsType(XML::Element);
-
- layout := elements->select(e | e.isLayoutAttribute()).children
- ->select(e | e.oclIsKindOf(XML::Element)).oclAsType(XML::Element)
- ->select(e | e.isLayout())->first().map toLayout();
- widgets := elements->select(e | e.isWidget())->map toWidget();
-}
-
-mapping XML::Element::toLayout() : Layout inherits XML::Element::toAbstractUIComponent
- when {self.isLayout()} {
- layoutType := self.getLayoutType();
-}
-
-mapping XML::Element::toStandardWidget() : StandardWidget inherits XML::Element::toAbstractUIComponent
- when {self.isStandardWidget() and not self.getWidgetType().oclIsUndefined()}{
- widgetType := self.getWidgetType();
-}
-
-mapping XML::Element::toUnknownComponent() : UnknownComponent inherits XML::Element::toAbstractUIComponent
- when {self.getWidgetType().oclIsUndefined()}{
- typeName := self.name;
-}
-
-mapping XML::Element::toPropertyEditor() : PropertyEditor inherits XML::Element::toAbstractUIComponent
- when {self.isPropertyEditor()}{
- widgetType := self.getPropertyEditorType();
- var prop := findProperty(self.getPropertyName());
- if prop.oclIsUndefined() then
- prop := object UnknownProperty {
- name := self.getPropertyName();
- }
- endif;
- _property := prop;
-
- //Remove the readOnly and showLabel Attributes, as they are actual properties (i.e. not generic) in the UI Model
- //Avoids dupplication of the attribute
- var readOnlyAttribute := result.attributes->any(e | e.name = "readOnly");
- var showLabelAttribute := result.attributes->any(e | e.name = "showLabel");
- var customLabelAttribute := result.attributes->any(e | e.name = "customLabel");
- result.attributes := result.attributes->excluding(readOnlyAttribute)->excluding(showLabelAttribute)->excluding(customLabelAttribute);
-
- unresolvedProperty := prop.oclAsType(UnknownProperty);
- readOnly := self.children->exists(e | e.oclIsKindOf(XML::Attribute) and e.oclAsType(XML::Attribute).name = 'readOnly' and e.oclAsType(XML::Attribute).value='true');
- showLabel := not self.children->exists(e | e.oclIsKindOf(XML::Attribute) and e.oclAsType(XML::Attribute).name = 'showLabel' and e.oclAsType(XML::Attribute).value='false');
- customLabel := self.children->any(e | e.oclIsKindOf(XML::Attribute) and e.oclAsType(XML::Attribute).name = 'customLabel').oclAsType(XML::Attribute).value;
-}
-
-query XML::Element::getPropertyName() : String {
- var attributes := self.children->select(e | e.oclIsKindOf(Attribute)).oclAsType(Attribute);
- var propertyName := attributes->any(e | e.name = "property").value;
-
- return propertyName;
-}
-
-query findProperty(propertyName : String) : Property {
- var prefix := propertyName.substring(1, propertyName.indexOf(":")-1);
- var allContexts := ctx.rootObjects()[Context::Context];
- var validDataContexts := allContexts.dataContexts->select(f | f.name = prefix);
- var prop := findProperty(propertyName.substring(propertyName.indexOf(":")+1, propertyName.size()), validDataContexts->any(e | true));
- return prop;
-}
-
-query findProperty(propertyName : String, element : DataContextElement) : Property{
- if propertyName.indexOf(":") > 0
- then {
- var packageName := propertyName.substring(1, propertyName.indexOf(":")-1);
- var propertyNameSuffix := propertyName.substring(propertyName.indexOf(":")+1, propertyName.size());
- var package := element.oclAsType(DataContextPackage).elements->any(e | e.name = packageName);
- return findProperty(propertyNameSuffix, package);
- } else {
- return element.properties->any(e | e.name = propertyName);
- } endif;
-
- return null;
-}
-
-query XML::Element::match(widgetClass : String, namespace : Environment::Namespace) : Boolean{
- return self.name.getSimpleName() = widgetClass
- and ((self.name.getNamespace() = '' and namespace.oclIsUndefined())
- or self.name.getNamespace() = namespace.name
- )
-}
-
-query XML::Element::isWidget() : Boolean {
- return not (self.isLayout() or self.isReferenceAttribute());
-}
-
-query XML::Element::isComposite() : Boolean {
- var composites = root.rootObjects()[PropertiesRoot::PropertiesRoot].environments.compositeWidgetTypes;
- return composites->exists(e | self.match(e.widgetClass, e.namespace));
-}
-
-query XML::Element::isStandardWidget() : Boolean {
- var stdWidgets := root.rootObjects()[PropertiesRoot::PropertiesRoot].environments.widgetTypes;
- return stdWidgets->exists(e | self.match(e.widgetClass, e.namespace));
-}
-
-query XML::Element::isPropertyEditor() : Boolean {
- var editors := root.rootObjects()[PropertiesRoot::PropertiesRoot].environments.propertyEditorTypes;
- return editors->exists(e | self.match(e.widgetClass, e.namespace));
-}
-
-query XML::Element::isLayout() : Boolean {
- var layouts := root.rootObjects()[PropertiesRoot::PropertiesRoot].environments.layoutTypes;
- return layouts->exists(e | self.match(e.widgetClass, e.namespace));
-}
-
-query XML::Element::isLayoutAttribute() : Boolean {
- var res := self.name = self.parent.name+".layout";
- return res;
-}
-
-/*
- Returns the simple name from the given String
- The namespace is truncated
- ppe:StringEditor -> StringEditor
-*/
-query String::getSimpleName() : String {
- var simpleName := if self.indexOf(':') < 1 then
- self
- else
- self.substring(self.indexOf(':')+1, self.length())
- endif;
-
- return simpleName;
-}
-/*
- Returns the namespace prefix from the given String, if any
- ppe:StringEditor -> ppe
-*/
-query String::getNamespace() : String {
- var namespace := if self.indexOf(':') < 1 then
- ''
- else
- self.substring(1, self.indexOf(':') - 1)
- endif;
-
- return namespace;
-}
-
-query XML::Element::getWidgetType() : StandardWidgetType {
- var stdWidgets := root.rootObjects()[PropertiesRoot::PropertiesRoot].environments.widgetTypes;
- return stdWidgets->any(e | self.match(e.widgetClass, e.namespace));
-}
-
-query XML::Element::getCompositeType() : CompositeWidgetType {
- var composites := root.rootObjects()[PropertiesRoot::PropertiesRoot].environments.compositeWidgetTypes;
- return composites->any(e | self.match(e.widgetClass, e.namespace));
-}
-
-query XML::Element::getPropertyEditorType() : PropertyEditorType {
- var editors := root.rootObjects()[PropertiesRoot::PropertiesRoot].environments.propertyEditorTypes;
- var type := editors->any(e | self.match(e.widgetClass, e.namespace));
- return type;
-}
-
-query XML::Element::getLayoutType() : LayoutType {
- var layouts := root.rootObjects()[PropertiesRoot::PropertiesRoot].environments.layoutTypes;
- return layouts->any(e | self.match(e.widgetClass, e.namespace));
-} \ No newline at end of file
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/about.html b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/about.html
deleted file mode 100644
index 82d49bf5f81..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2007</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/build.properties b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/build.properties
deleted file mode 100644
index eb0549dd11b..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/build.properties
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-#Mon Sep 12 09:30:05 CEST 2011
-bin.includes = META-INF/,\
- .,\
- plugin.xml,\
- Transformation/,\
- OSGI-INF/,\
- about.html
-output..=bin/
-src.includes = about.html
-source.. = src/,\
- src-gen/
-bin..=bin/
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.ecore b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.ecore
deleted file mode 100644
index 5d171fd3645..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.ecore
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ecore:EPackage 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" name="xwtxml" nsURI="http://www.eclipse.org/papyrus/xwt/XML" nsPrefix="xwtxml">
- <eClassifiers xsi:type="ecore:EClass" name="Node" abstract="true">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" ordered="false" unique="false"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="parent" ordered="false"
- eType="#//Element" eOpposite="#//Element/children"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Attribute" eSuperTypes="#//Node">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" ordered="false"
- unique="false" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Text" eSuperTypes="#//Node"/>
- <eClassifiers xsi:type="ecore:EClass" name="Element" eSuperTypes="#//Node">
- <eStructuralFeatures xsi:type="ecore:EReference" name="children" upperBound="-1"
- eType="#//Node" containment="true" eOpposite="#//Node/parent"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Root" eSuperTypes="#//Element">
- <eStructuralFeatures xsi:type="ecore:EReference" name="namespaces" upperBound="-1"
- eType="#//Namespace" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="dtd" eType="#//DocumentTypeDeclaration"
- containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="leadingPIs" upperBound="-1"
- eType="#//ProcessingInstruction" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Namespace" eSuperTypes="#//Attribute"/>
- <eClassifiers xsi:type="ecore:EClass" name="Comment" eSuperTypes="#//Node"/>
- <eClassifiers xsi:type="ecore:EClass" name="DocumentTypeDeclaration" eSuperTypes="#//Node">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="publicID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="systemID" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CDATA" eSuperTypes="#//Text"/>
- <eClassifiers xsi:type="ecore:EClass" name="ProcessingInstruction" eSuperTypes="#//Node">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="data" lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
-</ecore:EPackage>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.genmodel b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.genmodel
deleted file mode 100644
index 5c36c07b9fe..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/model/xml.genmodel
+++ /dev/null
@@ -1,40 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<genmodel:GenModel xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore"
- xmlns:genmodel="http://www.eclipse.org/emf/2002/GenModel" modelDirectory="/org.eclipse.papyrus.customization.properties.model.xwt/src-gen"
- editDirectory="/org.eclipse.papyrus.customization.properties.model.xwt.edit/src-gen"
- editorDirectory="/org.eclipse.papyrus.customization.properties.model.xwt.editor/src-gen"
- modelPluginID="org.eclipse.papyrus.customization.properties.model.xwt" modelName="Xml"
- rootExtendsClass="org.eclipse.emf.ecore.impl.MinimalEObjectImpl$Container" testsDirectory="/org.eclipse.papyrus.customization.properties.model.xwt.tests/src-gen"
- importerID="org.eclipse.emf.importer.ecore" complianceLevel="6.0" copyrightFields="false"
- operationReflection="true" importOrganizing="true">
- <foreignModel>xml.ecore</foreignModel>
- <genPackages prefix="Xwtxml" basePackage="org.eclipse.papyrus.customization.properties.model.xwt"
- disposableProviderFactory="true" ecorePackage="xml.ecore#/">
- <genClasses image="false" ecoreClass="xml.ecore#//Node">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xml.ecore#//Node/name"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference xml.ecore#//Node/parent"/>
- </genClasses>
- <genClasses ecoreClass="xml.ecore#//Attribute">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xml.ecore#//Attribute/value"/>
- </genClasses>
- <genClasses ecoreClass="xml.ecore#//Text"/>
- <genClasses ecoreClass="xml.ecore#//Element">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xml.ecore#//Element/children"/>
- </genClasses>
- <genClasses ecoreClass="xml.ecore#//Root">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xml.ecore#//Root/namespaces"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xml.ecore#//Root/dtd"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference xml.ecore#//Root/leadingPIs"/>
- </genClasses>
- <genClasses ecoreClass="xml.ecore#//Namespace"/>
- <genClasses ecoreClass="xml.ecore#//Comment"/>
- <genClasses ecoreClass="xml.ecore#//DocumentTypeDeclaration">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xml.ecore#//DocumentTypeDeclaration/publicID"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xml.ecore#//DocumentTypeDeclaration/systemID"/>
- </genClasses>
- <genClasses ecoreClass="xml.ecore#//CDATA"/>
- <genClasses ecoreClass="xml.ecore#//ProcessingInstruction">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute xml.ecore#//ProcessingInstruction/data"/>
- </genClasses>
- </genPackages>
-</genmodel:GenModel>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.properties b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.properties
deleted file mode 100644
index c8f09daf30b..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-#################################################################################
-# Copyright (c) 2015 CEA LIST.
-# 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:
-# Benoit Maggi (CEA LIST) benoit.maggi@cea.fr - initial API and implementation
-##################################################################################)
-
-pluginDescription=This plug-in contains the EMF Projectors for XWT files. The XWT format is an xml-based format. In order to manipulate these files as EMF Models, we need an Injector to parse them, and an extractor to re-generate them from the modified EMF model. \ No newline at end of file
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.xml b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.xml
deleted file mode 100644
index 51531413ee9..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/plugin.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension point="org.eclipse.emf.ecore.extension_parser">
- <parser class="org.eclipse.papyrus.customization.properties.model.xwt.resource.XWTModelFactory" type="xwt">
- </parser>
- </extension>
- <extension
- point="org.eclipse.core.contenttype.contentTypes">
- <file-association
- content-type="org.eclipse.wst.xml.core.xmlsource"
- file-extensions="xwt">
- </file-association>
- </extension>
- <extension point="org.eclipse.emf.ecore.generated_package">
- <!-- @generated xml -->
- <package
- uri="http://www.eclipse.org/papyrus/xwt/XML"
- class="org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage"
- genModel="model/xml.genmodel"/>
- </extension>
-
-</plugin>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/pom.xml b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/pom.xml
deleted file mode 100644
index 7a12c408faf..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/pom.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.eclipse.papyrus</groupId>
- <artifactId>org.eclipse.papyrus.toolsmiths</artifactId>
- <version>0.0.1-SNAPSHOT</version>
- <relativePath>../../toolsmiths/pom.xml</relativePath>
- </parent>
- <artifactId>org.eclipse.papyrus.customization.properties.model.xwt</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <packaging>eclipse-plugin</packaging>
-</project>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Attribute.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Attribute.java
deleted file mode 100644
index a06b854f661..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Attribute.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Attribute</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getAttribute()
- * @model
- * @generated
- */
-public interface Attribute extends Node {
- /**
- * Returns the value of the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Value</em>' attribute.
- * @see #setValue(String)
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getAttribute_Value()
- * @model unique="false" required="true" ordered="false"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute#getValue <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Value</em>' attribute.
- * @see #getValue()
- * @generated
- */
- void setValue(String value);
-
-} // Attribute
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/CDATA.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/CDATA.java
deleted file mode 100644
index 92c6197c520..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/CDATA.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>CDATA</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getCDATA()
- * @model
- * @generated
- */
-public interface CDATA extends Text {
-} // CDATA
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Comment.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Comment.java
deleted file mode 100644
index 3a8201b4aa9..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Comment.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Comment</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getComment()
- * @model
- * @generated
- */
-public interface Comment extends Node {
-} // Comment
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/DocumentTypeDeclaration.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/DocumentTypeDeclaration.java
deleted file mode 100644
index aa8b9454b24..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/DocumentTypeDeclaration.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Document Type Declaration</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getPublicID <em>Public ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getSystemID <em>System ID</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getDocumentTypeDeclaration()
- * @model
- * @generated
- */
-public interface DocumentTypeDeclaration extends Node {
- /**
- * Returns the value of the '<em><b>Public ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Public ID</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Public ID</em>' attribute.
- * @see #setPublicID(String)
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getDocumentTypeDeclaration_PublicID()
- * @model
- * @generated
- */
- String getPublicID();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getPublicID <em>Public ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Public ID</em>' attribute.
- * @see #getPublicID()
- * @generated
- */
- void setPublicID(String value);
-
- /**
- * Returns the value of the '<em><b>System ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>System ID</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>System ID</em>' attribute.
- * @see #setSystemID(String)
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getDocumentTypeDeclaration_SystemID()
- * @model
- * @generated
- */
- String getSystemID();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getSystemID <em>System ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>System ID</em>' attribute.
- * @see #getSystemID()
- * @generated
- */
- void setSystemID(String value);
-
-} // DocumentTypeDeclaration
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Element.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Element.java
deleted file mode 100644
index 672183d7459..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Element.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Element</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren <em>Children</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getElement()
- * @model
- * @generated
- */
-public interface Element extends Node {
- /**
- * Returns the value of the '<em><b>Children</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent <em>Parent</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Children</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Children</em>' containment reference list.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getElement_Children()
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent
- * @model opposite="parent" containment="true"
- * @generated
- */
- EList<Node> getChildren();
-
-} // Element
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Namespace.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Namespace.java
deleted file mode 100644
index 9be6fa28e6e..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Namespace.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Namespace</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getNamespace()
- * @model
- * @generated
- */
-public interface Namespace extends Attribute {
-} // Namespace
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Node.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Node.java
deleted file mode 100644
index e33dfc546da..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Node.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Node</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent <em>Parent</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getNode()
- * @model abstract="true"
- * @generated
- */
-public interface Node extends EObject {
- /**
- * Returns the value of the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Name</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Name</em>' attribute.
- * @see #setName(String)
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getNode_Name()
- * @model unique="false" required="true" ordered="false"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getName <em>Name</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Name</em>' attribute.
- * @see #getName()
- * @generated
- */
- void setName(String value);
-
- /**
- * Returns the value of the '<em><b>Parent</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren <em>Children</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Parent</em>' container reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Parent</em>' container reference.
- * @see #setParent(Element)
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getNode_Parent()
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren
- * @model opposite="children" transient="false" ordered="false"
- * @generated
- */
- Element getParent();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent <em>Parent</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Parent</em>' container reference.
- * @see #getParent()
- * @generated
- */
- void setParent(Element value);
-
-} // Node
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/ProcessingInstruction.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/ProcessingInstruction.java
deleted file mode 100644
index cd957f67d68..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/ProcessingInstruction.java
+++ /dev/null
@@ -1,63 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Processing Instruction</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction#getData <em>Data</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getProcessingInstruction()
- * @model
- * @generated
- */
-public interface ProcessingInstruction extends Node {
- /**
- * Returns the value of the '<em><b>Data</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Data</em>' attribute isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Data</em>' attribute.
- * @see #setData(String)
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getProcessingInstruction_Data()
- * @model required="true"
- * @generated
- */
- String getData();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction#getData <em>Data</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Data</em>' attribute.
- * @see #getData()
- * @generated
- */
- void setData(String value);
-
-} // ProcessingInstruction
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Root.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Root.java
deleted file mode 100644
index f7dfe854a4b..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Root.java
+++ /dev/null
@@ -1,98 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Root</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getNamespaces <em>Namespaces</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getDtd <em>Dtd</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getLeadingPIs <em>Leading PIs</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getRoot()
- * @model
- * @generated
- */
-public interface Root extends Element {
- /**
- * Returns the value of the '<em><b>Namespaces</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Namespaces</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Namespaces</em>' containment reference list.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getRoot_Namespaces()
- * @model containment="true"
- * @generated
- */
- EList<Namespace> getNamespaces();
-
- /**
- * Returns the value of the '<em><b>Dtd</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Dtd</em>' containment reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Dtd</em>' containment reference.
- * @see #setDtd(DocumentTypeDeclaration)
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getRoot_Dtd()
- * @model containment="true"
- * @generated
- */
- DocumentTypeDeclaration getDtd();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getDtd <em>Dtd</em>}' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Dtd</em>' containment reference.
- * @see #getDtd()
- * @generated
- */
- void setDtd(DocumentTypeDeclaration value);
-
- /**
- * Returns the value of the '<em><b>Leading PIs</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Leading PIs</em>' containment reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Leading PIs</em>' containment reference list.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getRoot_LeadingPIs()
- * @model containment="true"
- * @generated
- */
- EList<ProcessingInstruction> getLeadingPIs();
-
-} // Root
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Text.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Text.java
deleted file mode 100644
index b5eccaad6f3..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/Text.java
+++ /dev/null
@@ -1,29 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Text</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage#getText()
- * @model
- * @generated
- */
-public interface Text extends Node {
-} // Text
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlFactory.java
deleted file mode 100644
index d00866ebec1..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlFactory.java
+++ /dev/null
@@ -1,138 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-import org.eclipse.emf.ecore.EFactory;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Factory</b> for the model.
- * It provides a create method for each non-abstract class of the model.
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage
- * @generated
- */
-public interface XwtxmlFactory extends EFactory {
- /**
- * The singleton instance of the factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- XwtxmlFactory eINSTANCE = org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlFactoryImpl.init();
-
- /**
- * Returns a new object of class '<em>Attribute</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Attribute</em>'.
- * @generated
- */
- Attribute createAttribute();
-
- /**
- * Returns a new object of class '<em>Text</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Text</em>'.
- * @generated
- */
- Text createText();
-
- /**
- * Returns a new object of class '<em>Element</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Element</em>'.
- * @generated
- */
- Element createElement();
-
- /**
- * Returns a new object of class '<em>Root</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Root</em>'.
- * @generated
- */
- Root createRoot();
-
- /**
- * Returns a new object of class '<em>Namespace</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Namespace</em>'.
- * @generated
- */
- Namespace createNamespace();
-
- /**
- * Returns a new object of class '<em>Comment</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Comment</em>'.
- * @generated
- */
- Comment createComment();
-
- /**
- * Returns a new object of class '<em>Document Type Declaration</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Document Type Declaration</em>'.
- * @generated
- */
- DocumentTypeDeclaration createDocumentTypeDeclaration();
-
- /**
- * Returns a new object of class '<em>CDATA</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>CDATA</em>'.
- * @generated
- */
- CDATA createCDATA();
-
- /**
- * Returns a new object of class '<em>Processing Instruction</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return a new object of class '<em>Processing Instruction</em>'.
- * @generated
- */
- ProcessingInstruction createProcessingInstruction();
-
- /**
- * Returns the package supported by this factory.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the package supported by this factory.
- * @generated
- */
- XwtxmlPackage getXwtxmlPackage();
-
-} // XwtxmlFactory
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlPackage.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlPackage.java
deleted file mode 100644
index 7acdbaa7a78..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/XwtxmlPackage.java
+++ /dev/null
@@ -1,1144 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml;
-
-import org.eclipse.emf.ecore.EAttribute;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.emf.ecore.EReference;
-
-/**
- * <!-- begin-user-doc -->
- * The <b>Package</b> for the model.
- * It contains accessors for the meta objects to represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each operation of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlFactory
- * @model kind="package"
- * @generated
- */
-public interface XwtxmlPackage extends EPackage {
- /**
- * The package name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNAME = "xwtxml";
-
- /**
- * The package namespace URI.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_URI = "http://www.eclipse.org/papyrus/xwt/XML";
-
- /**
- * The package namespace name.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- String eNS_PREFIX = "xwtxml";
-
- /**
- * The singleton instance of the package.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- XwtxmlPackage eINSTANCE = org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl.init();
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NodeImpl <em>Node</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NodeImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getNode()
- * @generated
- */
- int NODE = 0;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NODE__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NODE__PARENT = 1;
-
- /**
- * The number of structural features of the '<em>Node</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NODE_FEATURE_COUNT = 2;
-
- /**
- * The number of operations of the '<em>Node</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NODE_OPERATION_COUNT = 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl <em>Attribute</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getAttribute()
- * @generated
- */
- int ATTRIBUTE = 1;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ATTRIBUTE__NAME = NODE__NAME;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ATTRIBUTE__PARENT = NODE__PARENT;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ATTRIBUTE__VALUE = NODE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Attribute</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ATTRIBUTE_FEATURE_COUNT = NODE_FEATURE_COUNT + 1;
-
- /**
- * The number of operations of the '<em>Attribute</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ATTRIBUTE_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.TextImpl <em>Text</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.TextImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getText()
- * @generated
- */
- int TEXT = 2;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT__NAME = NODE__NAME;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT__PARENT = NODE__PARENT;
-
- /**
- * The number of structural features of the '<em>Text</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_FEATURE_COUNT = NODE_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the '<em>Text</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int TEXT_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl <em>Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getElement()
- * @generated
- */
- int ELEMENT = 3;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELEMENT__NAME = NODE__NAME;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELEMENT__PARENT = NODE__PARENT;
-
- /**
- * The feature id for the '<em><b>Children</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELEMENT__CHILDREN = NODE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELEMENT_FEATURE_COUNT = NODE_FEATURE_COUNT + 1;
-
- /**
- * The number of operations of the '<em>Element</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ELEMENT_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.RootImpl <em>Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.RootImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getRoot()
- * @generated
- */
- int ROOT = 4;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ROOT__NAME = ELEMENT__NAME;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ROOT__PARENT = ELEMENT__PARENT;
-
- /**
- * The feature id for the '<em><b>Children</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ROOT__CHILDREN = ELEMENT__CHILDREN;
-
- /**
- * The feature id for the '<em><b>Namespaces</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ROOT__NAMESPACES = ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Dtd</b></em>' containment reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ROOT__DTD = ELEMENT_FEATURE_COUNT + 1;
-
- /**
- * The feature id for the '<em><b>Leading PIs</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ROOT__LEADING_PIS = ELEMENT_FEATURE_COUNT + 2;
-
- /**
- * The number of structural features of the '<em>Root</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ROOT_FEATURE_COUNT = ELEMENT_FEATURE_COUNT + 3;
-
- /**
- * The number of operations of the '<em>Root</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int ROOT_OPERATION_COUNT = ELEMENT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NamespaceImpl <em>Namespace</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NamespaceImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getNamespace()
- * @generated
- */
- int NAMESPACE = 5;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NAMESPACE__NAME = ATTRIBUTE__NAME;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NAMESPACE__PARENT = ATTRIBUTE__PARENT;
-
- /**
- * The feature id for the '<em><b>Value</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NAMESPACE__VALUE = ATTRIBUTE__VALUE;
-
- /**
- * The number of structural features of the '<em>Namespace</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NAMESPACE_FEATURE_COUNT = ATTRIBUTE_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the '<em>Namespace</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int NAMESPACE_OPERATION_COUNT = ATTRIBUTE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CommentImpl <em>Comment</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CommentImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getComment()
- * @generated
- */
- int COMMENT = 6;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int COMMENT__NAME = NODE__NAME;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int COMMENT__PARENT = NODE__PARENT;
-
- /**
- * The number of structural features of the '<em>Comment</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int COMMENT_FEATURE_COUNT = NODE_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the '<em>Comment</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int COMMENT_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl <em>Document Type Declaration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getDocumentTypeDeclaration()
- * @generated
- */
- int DOCUMENT_TYPE_DECLARATION = 7;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DOCUMENT_TYPE_DECLARATION__NAME = NODE__NAME;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DOCUMENT_TYPE_DECLARATION__PARENT = NODE__PARENT;
-
- /**
- * The feature id for the '<em><b>Public ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DOCUMENT_TYPE_DECLARATION__PUBLIC_ID = NODE_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>System ID</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DOCUMENT_TYPE_DECLARATION__SYSTEM_ID = NODE_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Document Type Declaration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DOCUMENT_TYPE_DECLARATION_FEATURE_COUNT = NODE_FEATURE_COUNT + 2;
-
- /**
- * The number of operations of the '<em>Document Type Declaration</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int DOCUMENT_TYPE_DECLARATION_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CDATAImpl <em>CDATA</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CDATAImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getCDATA()
- * @generated
- */
- int CDATA = 8;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CDATA__NAME = TEXT__NAME;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CDATA__PARENT = TEXT__PARENT;
-
- /**
- * The number of structural features of the '<em>CDATA</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CDATA_FEATURE_COUNT = TEXT_FEATURE_COUNT + 0;
-
- /**
- * The number of operations of the '<em>CDATA</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int CDATA_OPERATION_COUNT = TEXT_OPERATION_COUNT + 0;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ProcessingInstructionImpl <em>Processing Instruction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ProcessingInstructionImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getProcessingInstruction()
- * @generated
- */
- int PROCESSING_INSTRUCTION = 9;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROCESSING_INSTRUCTION__NAME = NODE__NAME;
-
- /**
- * The feature id for the '<em><b>Parent</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROCESSING_INSTRUCTION__PARENT = NODE__PARENT;
-
- /**
- * The feature id for the '<em><b>Data</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROCESSING_INSTRUCTION__DATA = NODE_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Processing Instruction</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROCESSING_INSTRUCTION_FEATURE_COUNT = NODE_FEATURE_COUNT + 1;
-
- /**
- * The number of operations of the '<em>Processing Instruction</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- * @ordered
- */
- int PROCESSING_INSTRUCTION_OPERATION_COUNT = NODE_OPERATION_COUNT + 0;
-
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node <em>Node</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Node</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node
- * @generated
- */
- EClass getNode();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getName()
- * @see #getNode()
- * @generated
- */
- EAttribute getNode_Name();
-
- /**
- * Returns the meta object for the container reference '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent <em>Parent</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the container reference '<em>Parent</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node#getParent()
- * @see #getNode()
- * @generated
- */
- EReference getNode_Parent();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute <em>Attribute</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Attribute</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute
- * @generated
- */
- EClass getAttribute();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute#getValue()
- * @see #getAttribute()
- * @generated
- */
- EAttribute getAttribute_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Text <em>Text</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Text</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Text
- * @generated
- */
- EClass getText();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element <em>Element</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Element</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element
- * @generated
- */
- EClass getElement();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren <em>Children</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Children</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element#getChildren()
- * @see #getElement()
- * @generated
- */
- EReference getElement_Children();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root <em>Root</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Root</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root
- * @generated
- */
- EClass getRoot();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getNamespaces <em>Namespaces</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Namespaces</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getNamespaces()
- * @see #getRoot()
- * @generated
- */
- EReference getRoot_Namespaces();
-
- /**
- * Returns the meta object for the containment reference '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getDtd <em>Dtd</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference '<em>Dtd</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getDtd()
- * @see #getRoot()
- * @generated
- */
- EReference getRoot_Dtd();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getLeadingPIs <em>Leading PIs</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the containment reference list '<em>Leading PIs</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Root#getLeadingPIs()
- * @see #getRoot()
- * @generated
- */
- EReference getRoot_LeadingPIs();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace <em>Namespace</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Namespace</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace
- * @generated
- */
- EClass getNamespace();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Comment <em>Comment</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Comment</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Comment
- * @generated
- */
- EClass getComment();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration <em>Document Type Declaration</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Document Type Declaration</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration
- * @generated
- */
- EClass getDocumentTypeDeclaration();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getPublicID <em>Public ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Public ID</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getPublicID()
- * @see #getDocumentTypeDeclaration()
- * @generated
- */
- EAttribute getDocumentTypeDeclaration_PublicID();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getSystemID <em>System ID</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>System ID</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration#getSystemID()
- * @see #getDocumentTypeDeclaration()
- * @generated
- */
- EAttribute getDocumentTypeDeclaration_SystemID();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.CDATA <em>CDATA</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>CDATA</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.CDATA
- * @generated
- */
- EClass getCDATA();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction <em>Processing Instruction</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for class '<em>Processing Instruction</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction
- * @generated
- */
- EClass getProcessingInstruction();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction#getData <em>Data</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the meta object for the attribute '<em>Data</em>'.
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.ProcessingInstruction#getData()
- * @see #getProcessingInstruction()
- * @generated
- */
- EAttribute getProcessingInstruction_Data();
-
- /**
- * Returns the factory that creates the instances of the model.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @return the factory that creates the instances of the model.
- * @generated
- */
- XwtxmlFactory getXwtxmlFactory();
-
- /**
- * <!-- begin-user-doc -->
- * Defines literals for the meta objects that represent
- * <ul>
- * <li>each class,</li>
- * <li>each feature of each class,</li>
- * <li>each operation of each class,</li>
- * <li>each enum,</li>
- * <li>and each data type</li>
- * </ul>
- * <!-- end-user-doc -->
- *
- * @generated
- */
- interface Literals {
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NodeImpl <em>Node</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NodeImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getNode()
- * @generated
- */
- EClass NODE = eINSTANCE.getNode();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute NODE__NAME = eINSTANCE.getNode_Name();
-
- /**
- * The meta object literal for the '<em><b>Parent</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference NODE__PARENT = eINSTANCE.getNode_Parent();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl <em>Attribute</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getAttribute()
- * @generated
- */
- EClass ATTRIBUTE = eINSTANCE.getAttribute();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute ATTRIBUTE__VALUE = eINSTANCE.getAttribute_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.TextImpl <em>Text</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.TextImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getText()
- * @generated
- */
- EClass TEXT = eINSTANCE.getText();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl <em>Element</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getElement()
- * @generated
- */
- EClass ELEMENT = eINSTANCE.getElement();
-
- /**
- * The meta object literal for the '<em><b>Children</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ELEMENT__CHILDREN = eINSTANCE.getElement_Children();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.RootImpl <em>Root</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.RootImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getRoot()
- * @generated
- */
- EClass ROOT = eINSTANCE.getRoot();
-
- /**
- * The meta object literal for the '<em><b>Namespaces</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ROOT__NAMESPACES = eINSTANCE.getRoot_Namespaces();
-
- /**
- * The meta object literal for the '<em><b>Dtd</b></em>' containment reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ROOT__DTD = eINSTANCE.getRoot_Dtd();
-
- /**
- * The meta object literal for the '<em><b>Leading PIs</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EReference ROOT__LEADING_PIS = eINSTANCE.getRoot_LeadingPIs();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NamespaceImpl <em>Namespace</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.NamespaceImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getNamespace()
- * @generated
- */
- EClass NAMESPACE = eINSTANCE.getNamespace();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CommentImpl <em>Comment</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CommentImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getComment()
- * @generated
- */
- EClass COMMENT = eINSTANCE.getComment();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl <em>Document Type Declaration</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getDocumentTypeDeclaration()
- * @generated
- */
- EClass DOCUMENT_TYPE_DECLARATION = eINSTANCE.getDocumentTypeDeclaration();
-
- /**
- * The meta object literal for the '<em><b>Public ID</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DOCUMENT_TYPE_DECLARATION__PUBLIC_ID = eINSTANCE.getDocumentTypeDeclaration_PublicID();
-
- /**
- * The meta object literal for the '<em><b>System ID</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute DOCUMENT_TYPE_DECLARATION__SYSTEM_ID = eINSTANCE.getDocumentTypeDeclaration_SystemID();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CDATAImpl <em>CDATA</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.CDATAImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getCDATA()
- * @generated
- */
- EClass CDATA = eINSTANCE.getCDATA();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ProcessingInstructionImpl <em>Processing Instruction</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ProcessingInstructionImpl
- * @see org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.XwtxmlPackageImpl#getProcessingInstruction()
- * @generated
- */
- EClass PROCESSING_INSTRUCTION = eINSTANCE.getProcessingInstruction();
-
- /**
- * The meta object literal for the '<em><b>Data</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- EAttribute PROCESSING_INSTRUCTION__DATA = eINSTANCE.getProcessingInstruction_Data();
-
- }
-
-} // XwtxmlPackage
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/AttributeImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/AttributeImpl.java
deleted file mode 100644
index 6914a15d7b4..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/AttributeImpl.java
+++ /dev/null
@@ -1,187 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Attribute;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Attribute</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.AttributeImpl#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class AttributeImpl extends NodeImpl implements Attribute {
- /**
- * The default value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected static final String VALUE_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected String value = VALUE_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected AttributeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return XwtxmlPackage.Literals.ATTRIBUTE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setValue(String newValue) {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.ATTRIBUTE__VALUE, oldValue, value));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case XwtxmlPackage.ATTRIBUTE__VALUE:
- return getValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case XwtxmlPackage.ATTRIBUTE__VALUE:
- setValue((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case XwtxmlPackage.ATTRIBUTE__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case XwtxmlPackage.ATTRIBUTE__VALUE:
- return VALUE_EDEFAULT == null ? value != null : !VALUE_EDEFAULT.equals(value);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (value: ");
- result.append(value);
- result.append(')');
- return result.toString();
- }
-
-} // AttributeImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CDATAImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CDATAImpl.java
deleted file mode 100644
index e30fd65c922..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CDATAImpl.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.CDATA;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>CDATA</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class CDATAImpl extends TextImpl implements CDATA {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected CDATAImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return XwtxmlPackage.Literals.CDATA;
- }
-
-} // CDATAImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CommentImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CommentImpl.java
deleted file mode 100644
index b16f5cdb124..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/CommentImpl.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Comment;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Comment</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */
-public class CommentImpl extends NodeImpl implements Comment {
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected CommentImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return XwtxmlPackage.Literals.COMMENT;
- }
-
-} // CommentImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/DocumentTypeDeclarationImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/DocumentTypeDeclarationImpl.java
deleted file mode 100644
index 4e968d5e5ee..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/DocumentTypeDeclarationImpl.java
+++ /dev/null
@@ -1,248 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.DocumentTypeDeclaration;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Document Type Declaration</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl#getPublicID <em>Public ID</em>}</li>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.DocumentTypeDeclarationImpl#getSystemID <em>System ID</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class DocumentTypeDeclarationImpl extends NodeImpl implements DocumentTypeDeclaration {
- /**
- * The default value of the '{@link #getPublicID() <em>Public ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPublicID()
- * @generated
- * @ordered
- */
- protected static final String PUBLIC_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getPublicID() <em>Public ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getPublicID()
- * @generated
- * @ordered
- */
- protected String publicID = PUBLIC_ID_EDEFAULT;
-
- /**
- * The default value of the '{@link #getSystemID() <em>System ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSystemID()
- * @generated
- * @ordered
- */
- protected static final String SYSTEM_ID_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getSystemID() <em>System ID</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getSystemID()
- * @generated
- * @ordered
- */
- protected String systemID = SYSTEM_ID_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected DocumentTypeDeclarationImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return XwtxmlPackage.Literals.DOCUMENT_TYPE_DECLARATION;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getPublicID() {
- return publicID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setPublicID(String newPublicID) {
- String oldPublicID = publicID;
- publicID = newPublicID;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID, oldPublicID, publicID));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String getSystemID() {
- return systemID;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void setSystemID(String newSystemID) {
- String oldSystemID = systemID;
- systemID = newSystemID;
- if (eNotificationRequired()) {
- eNotify(new ENotificationImpl(this, Notification.SET, XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__SYSTEM_ID, oldSystemID, systemID));
- }
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID:
- return getPublicID();
- case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__SYSTEM_ID:
- return getSystemID();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID:
- setPublicID((String) newValue);
- return;
- case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__SYSTEM_ID:
- setSystemID((String) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID:
- setPublicID(PUBLIC_ID_EDEFAULT);
- return;
- case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__SYSTEM_ID:
- setSystemID(SYSTEM_ID_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__PUBLIC_ID:
- return PUBLIC_ID_EDEFAULT == null ? publicID != null : !PUBLIC_ID_EDEFAULT.equals(publicID);
- case XwtxmlPackage.DOCUMENT_TYPE_DECLARATION__SYSTEM_ID:
- return SYSTEM_ID_EDEFAULT == null ? systemID != null : !SYSTEM_ID_EDEFAULT.equals(systemID);
- }
- return super.eIsSet(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public String toString() {
- if (eIsProxy()) {
- return super.toString();
- }
-
- StringBuffer result = new StringBuffer(super.toString());
- result.append(" (publicID: ");
- result.append(publicID);
- result.append(", systemID: ");
- result.append(systemID);
- result.append(')');
- return result.toString();
- }
-
-} // DocumentTypeDeclarationImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ElementImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ElementImpl.java
deleted file mode 100644
index c3ca8954b6a..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/ElementImpl.java
+++ /dev/null
@@ -1,184 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.NotificationChain;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.InternalEObject;
-import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Element;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Node;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Element</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl.ElementImpl#getChildren <em>Children</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ElementImpl extends NodeImpl implements Element {
- /**
- * The cached value of the '{@link #getChildren() <em>Children</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @see #getChildren()
- * @generated
- * @ordered
- */
- protected EList<Node> children;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected ElementImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return XwtxmlPackage.Literals.ELEMENT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public EList<Node> getChildren() {
- if (children == null) {
- children = new EObjectContainmentWithInverseEList<Node>(Node.class, this, XwtxmlPackage.ELEMENT__CHILDREN, XwtxmlPackage.NODE__PARENT);
- }
- return children;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case XwtxmlPackage.ELEMENT__CHILDREN:
- return ((InternalEList<InternalEObject>) (InternalEList<?>) getChildren()).basicAdd(otherEnd, msgs);
- }
- return super.eInverseAdd(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case XwtxmlPackage.ELEMENT__CHILDREN:
- return ((InternalEList<?>) getChildren()).basicRemove(otherEnd, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case XwtxmlPackage.ELEMENT__CHILDREN:
- return getChildren();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case XwtxmlPackage.ELEMENT__CHILDREN:
- getChildren().clear();
- getChildren().addAll((Collection<? extends Node>) newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case XwtxmlPackage.ELEMENT__CHILDREN:
- getChildren().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case XwtxmlPackage.ELEMENT__CHILDREN:
- return children != null && !children.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} // ElementImpl
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NamespaceImpl.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NamespaceImpl.java
deleted file mode 100644
index 4d7a27ab147..00000000000
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src-gen/org/eclipse/papyrus/customization/properties/model/xwt/xwtxml/impl/NamespaceImpl.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * *******************************************************************************
- * Copyright (c) 2009 Mia-Software.
- * 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:
- *
- * Fabien Giquel (Mia-Software) - initial API and implementation
- * *******************************************************************************
- *
- */
-package org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.impl;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.Namespace;
-import org.eclipse.papyrus.customization.properties.model.xwt.xwtxml.XwtxmlPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Namespace</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * </p>
- *
- * @generated
- */