Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/core/org.eclipse.xtext.gmf.glue/META-INF/MANIFEST.MF3
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/META-INF/MANIFEST.MF7
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/ContextElement.java17
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelection.java10
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionFactory.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/FieldSelectionPackage.java91
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/PropertyDefinition.java31
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/ContextElementImpl.java115
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionFactoryImpl.java55
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionImpl.java83
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/FieldSelectionPackageImpl.java58
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/impl/PropertyDefinitionImpl.java104
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionAdapterFactory.java66
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src-gen/org/eclipse/papyrus/customization/properties/generation/fieldselection/util/FieldSelectionSwitch.java104
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/GeneratorExtensionPoint.java12
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/extensionpoint/LayoutExtensionPoint.java12
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/src/org/eclipse/papyrus/customization/properties/generation/layout/StandardLayoutGenerator.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto5
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto5
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/UIToXML.qvto6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/Transformation/XMLToUI.qvto6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/META-INF/MANIFEST.MF3
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/Customization.ctx2323
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Model/custom.querySet25
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Query/Contexts.querySet28
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/Query/Ui.querySet4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/context.uiCustom499
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/environment.uiCustom26
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/ui.uiCustom2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextAction.java5
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElement.java5
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElement.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericPropertyModelElementFactory.java10
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/SectionNameObservableValue.java2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/AbstractContextualContentProvider.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ConstraintDescriptorContentProvider.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextContentProvider.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CopyContextAction.java4
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/META-INF/MANIFEST.MF3
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/Model/Customization/Customization.ctx527
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/Model/Environment.xmi2
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java1
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationAdapterFactory.java1
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationSwitch.java1
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/display/DisplayManager.java6
-rw-r--r--plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/wizard/CustomizationPage.java4
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/META-INF/MANIFEST.MF5
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java127
-rw-r--r--plugins/infra/core/org.eclipse.papyrus.infra.core/src/org/eclipse/papyrus/infra/core/utils/GMFtoEMFCommandWrapper.java32
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/META-INF/MANIFEST.MF5
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi2
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/model/notation.ctx3842
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/GMFNotationConstraint.java2
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/HasEditPolicy.java6
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/IsEditPartConstraint.java4
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/databinding/GradientObservableValue.java2
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/modelelement/GMFModelElement.java4
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/providers/GMFLabelProvider.java4
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/util/NotationUtil.java28
-rw-r--r--plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets/model/Environment.xmi2
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.tools/.classpath7
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.tools/.project28
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.tools/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.tools/META-INF/MANIFEST.MF17
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.tools/build.properties4
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/Activator.java58
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/databinding/MultipleObservableList.java (renamed from plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/MultipleObservableList.java)16
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/databinding/MultipleObservableValue.java (renamed from plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/MultipleObservableValue.java)2
-rw-r--r--plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/util/ClassLoaderHelper.java (renamed from plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/ClassLoader.java)29
-rw-r--r--plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/SelectAndValidateModelHandler.java3
-rw-r--r--plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/SelectAndValidateSubtreeHandler.java3
-rw-r--r--plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateDelMarkersFromModelHandler.java2
-rw-r--r--plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateDelMarkersFromSubtreeHandler.java2
-rw-r--r--plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateModelHandler.java2
-rw-r--r--plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateSubtreeHandler.java2
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.common/META-INF/MANIFEST.MF10
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.common/src/org/eclipse/papyrus/infra/table/common/internal/NatTableEditor.java28
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/Environment.xmi2
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/papyrustableinstance.ctx14
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/tableinstance.ctx182
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/tableinstance2.ctx74
-rw-r--r--plugins/infra/table/org.eclipse.papyrus.infra.table.properties/src/org/eclipse/papyrus/infra/table/properties/provider/CustomizationContentProvider.java16
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/META-INF/MANIFEST.MF3
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/ui/InterfaceManagerDialog.java8
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/META-INF/MANIFEST.MF4
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/CreateOrSelectTypeDialog.java40
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/ServiceEditContentProvider.java4
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/UMLLabelProvider.java75
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/edit/part/FlowPortAffixedLabelNameEditPart.java7
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/Activator.java6
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/META-INF/MANIFEST.MF3
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/handler/ShowHideRelatedContentsAction.java4
-rw-r--r--plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/ui/InterfaceManagerDialog.java8
-rw-r--r--plugins/sysml/properties/org.eclipse.papyrus.sysml.properties/META-INF/MANIFEST.MF1
-rw-r--r--plugins/sysml/properties/org.eclipse.papyrus.sysml.properties/Model/SysML.ctx1756
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/META-INF/MANIFEST.MF3
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/plugin.xml2
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/Activator.java24
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/actions/AbstractShowHideAction.java4
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/actions/ShowHideContentsAction.java5
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/PapyrusStereotypeListener.java186
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/UMLConnectionNodeEditPart.java1
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editpolicies/AbstractAppliedStereotypeDisplayEditPolicy.java2
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/providers/EditorLabelProvider.java356
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/META-INF/MANIFEST.MF3
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/custom-src/org/eclipse/papyrus/uml/diagram/component/custom/actions/ShowHideRelatedContentsAction.java11
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/custom-src/org/eclipse/papyrus/uml/diagram/component/custom/ui/InterfaceManagerDialog.java170
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/META-INF/MANIFEST.MF3
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/custom-src/org/eclipse/papyrus/uml/diagram/composite/custom/actions/ShowHideRelatedContentsAction.java4
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/custom-src/org/eclipse/papyrus/uml/diagram/composite/custom/ui/InterfaceManagerDialog.java8
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/META-INF/MANIFEST.MF3
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/custom-src/org/eclipse/papyrus/uml/diagram/deployment/custom/actions/ShowHideRelatedContentsAction.java4
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/META-INF/MANIFEST.MF3
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/AbstractShowHideAction.java4
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/ShowHideCompartmentAction.java18
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/ShowHideLabelsAction.java6
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/dialogs/ShowHideCompartmentSelectionDialog.java79
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/META-INF/MANIFEST.MF3
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/src/org/eclipse/papyrus/uml/diagram/modelexplorer/handler/DiagramViewHandler.java11
-rw-r--r--plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/src/org/eclipse/papyrus/uml/diagram/modelexplorer/provider/DiagramContentProvider.java33
-rw-r--r--plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/META-INF/MANIFEST.MF3
-rw-r--r--plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/ServiceEditFilteredUMLContentProvider.java32
-rw-r--r--plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLElementMEBContentProvider.java183
-rw-r--r--plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLHierarchicViewerFilter.java40
-rw-r--r--plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLTreeSelectorDialog.java209
-rw-r--r--plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/util/HistoryUtil.java36
-rw-r--r--plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer/META-INF/MANIFEST.MF3
-rw-r--r--plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer/src/org/eclipse/papyrus/uml/modelexplorer/UMLContentProvider.java2
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/META-INF/MANIFEST.MF5
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/Environment.xmi2
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx1819
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UMLNotation/UMLNotation.ctx159
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/plugin.xml2
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/HasStereotypeConstraint.java8
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/IsDataTypeConstraint.java11
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/UmlInstanceOfConstraint.java8
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AbstractStereotypeListener.java80
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AbstractUMLAggregatedObservableValue.java50
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AggregatedPapyrusObservableValue.java68
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/CommandBasedObservable.java27
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/CommandBasedObservableValue.java19
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ElementCustomizationObservableValue.java2
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ExtensionEndMultiplicityObservableValue.java31
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ExtensionRequiredObservableValue.java80
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageExpressionObservableValue.java73
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageKindObservableValue.java98
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageNameObservableValue.java73
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/MultiplicityObservableValue.java307
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/NavigationObservableValue.java162
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/OwnerObservableValue.java232
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/PapyrusObservableList.java245
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/PapyrusObservableValue.java132
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ProfileApplicationObservableList.java317
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ProvidedInterfaceObservableList.java78
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/RequiredInterfaceObservableList.java76
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/StereotypeApplicationObservableList.java5
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/ApplyProfileCommand.java87
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/ApplyStereotypeCommand.java87
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/UnapplyProfileCommand.java86
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/UnapplyStereotypeCommand.java87
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/DataTypeProvider.java10
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/StringDataTypeObservableValue.java2
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/StructuredDataTypeObservableValue.java2
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/messages/Messages.java2
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/messages/messages.properties1
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/CustomImageModelElement.java12
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/MemberEndModelElement.java20
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/StereotypeApplicationModelElement.java10
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/StereotypeModelElement.java18
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/UMLModelElement.java38
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/preferences/LanguageRegistry.java28
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/CopyOfUMLLabelProvider.java98
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/InstanceValueContentProvider.java2
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/InstanceValueViewerFilter.java2
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/ProfileLabelProvider.java6
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLContentProvider.java18
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLFilteredLabelProvider.java70
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLLabelProvider.java142
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/util/UMLUtil.java2
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/TypeReferenceDialog.java41
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/UMLReferenceDialog.java62
-rw-r--r--plugins/uml/table/org.eclipse.papyrus.uml.table.widgets.celleditors/META-INF/MANIFEST.MF5
-rw-r--r--plugins/uml/table/org.eclipse.papyrus.uml.table.widgets.celleditors/src/org/eclipse/papyrus/uml/table/widget/celleditors/composite/UnaryReferencePapyrusCellEditorComposite.java18
-rw-r--r--plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/META-INF/MANIFEST.MF3
-rw-r--r--plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/TypeUtil.java23
-rw-r--r--plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/ui/helper/UMLHelper.java306
-rw-r--r--plugins/views/documentation/org.eclipse.papyrus.views.documentation.view.papyrus/META-INF/MANIFEST.MF3
-rw-r--r--plugins/views/documentation/org.eclipse.papyrus.views.documentation.view.papyrus/src/org/eclipse/papyrus/views/documentation/view/papyrus/PapyrusDocumentationPartHandler.java4
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/META-INF/MANIFEST.MF3
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/EMFObjectLabelProvider.java180
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/EditServiceValidator.java66
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/GraphicalModelExplorerBasedContentProvider.java556
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/HierarchicViewerFilter.java148
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/HistoryContentProvider.java47
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/IMetaclassFilteredContentProvider.java39
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/ModelContentProvider.java205
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/ModelExplorerBasedTreeSelectorDialog.java4
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/META-INF/MANIFEST.MF3
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/MoDiscoContentProvider.java156
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/ModelExplorerView.java1
-rw-r--r--plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/SemanticFromModelExplorer.java47
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/META-INF/MANIFEST.MF4
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/plugin.xml6
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/CompositeConstraintItemProvider.java160
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ConfigPropertyItemProvider.java152
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ConstraintDescriptorItemProvider.java210
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ContextItemProvider.java6
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ContextsItemProviderAdapterFactory.java98
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextElementItemProvider.java5
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextPackageItemProvider.java3
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextRootItemProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DisplayUnitItemProvider.java167
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/PropertyItemProvider.java4
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ReferencePropertyItemProvider.java139
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/SectionItemProvider.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/SimpleConstraintItemProvider.java189
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/TabItemProvider.java5
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/UnknownPropertyItemProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ValuePropertyItemProvider.java147
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ViewItemProvider.java40
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/CompositeWidgetTypeItemProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/ConstraintTypeItemProvider.java185
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/EnvironmentItemProvider.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/EnvironmentItemProviderAdapterFactory.java26
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/LayoutTypeItemProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/MiscClassItemProvider.java3
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/ModelElementFactoryDescriptorItemProvider.java3
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/NamespaceItemProvider.java3
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/PropertiesEditPlugin.java4
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/PropertyEditorTypeItemProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/StandardWidgetTypeItemProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/WidgetTypeItemProvider.java3
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/CompositeWidgetItemProvider.java3
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ElementItemProvider.java3
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/LayoutItemProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/PropertyEditorItemProvider.java4
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ReferenceAttributeItemProvider.java3
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/StandardWidgetItemProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UIComponentItemProvider.java3
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UiItemProviderAdapterFactory.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UnknownComponentItemProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ValueAttributeItemProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/WidgetAttributeItemProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/WidgetItemProvider.java1
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/META-INF/MANIFEST.MF4
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsActionBarContributor.java21
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsEditor.java145
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsModelWizard.java81
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentActionBarContributor.java20
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentEditor.java142
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentModelWizard.java78
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/PropertiesEditorPlugin.java19
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiActionBarContributor.java21
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiEditor.java145
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiModelWizard.java81
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/META-INF/MANIFEST.MF3
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/Model/Properties.ecore68
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/Model/Properties.genmodel39
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/plugin.xml6
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/CompositeConstraint.java49
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ConfigProperty.java59
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ConstraintDescriptor.java137
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Context.java63
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ContextsFactory.java63
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ContextsPackage.java1029
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextElement.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextPackage.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextRoot.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DisplayUnit.java53
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Property.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ReferenceProperty.java59
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Section.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/SimpleConstraint.java78
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Tab.java38
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/UnknownProperty.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ValueProperty.java58
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/View.java44
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/CompositeConstraintImpl.java159
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ConfigPropertyImpl.java172
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ConstraintDescriptorImpl.java373
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextImpl.java45
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextsFactoryImpl.java88
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextsPackageImpl.java385
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextElementImpl.java52
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextPackageImpl.java19
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextRootImpl.java19
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DisplayUnitImpl.java176
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/PropertyImpl.java50
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ReferencePropertyImpl.java165
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/SectionImpl.java21
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/SimpleConstraintImpl.java224
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/TabImpl.java69
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/UnknownPropertyImpl.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ValuePropertyImpl.java171
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ViewImpl.java75
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/util/ContextsAdapterFactory.java163
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/util/ContextsSwitch.java184
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/CompositeWidgetType.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ConstraintType.java86
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ContentProviderType.java27
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Environment.java40
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/EnvironmentFactory.java24
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/EnvironmentPackage.java189
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/LayoutType.java17
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/MiscClass.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ModelElementFactoryDescriptor.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Namespace.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/PropertyEditorType.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/StandardWidgetType.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Type.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/WidgetType.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/CompositeWidgetTypeImpl.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/ConstraintTypeImpl.java263
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentFactoryImpl.java43
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentImpl.java65
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentPackageImpl.java94
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/LayoutTypeImpl.java21
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/MiscClassImpl.java18
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/ModelElementFactoryDescriptorImpl.java18
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/NamespaceImpl.java18
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/PropertyEditorTypeImpl.java18
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/StandardWidgetTypeImpl.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/WidgetTypeImpl.java18
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/util/EnvironmentAdapterFactory.java58
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/util/EnvironmentSwitch.java60
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/CompositeWidget.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Element.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Layout.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/PropertyEditor.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/ReferenceAttribute.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/StandardWidget.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UIComponent.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UiFactory.java33
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UiPackage.java175
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UnknownComponent.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/ValueAttribute.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Widget.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/WidgetAttribute.java15
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/CompositeWidgetImpl.java21
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ElementImpl.java17
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/LayoutImpl.java19
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/PropertyEditorImpl.java20
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ReferenceAttributeImpl.java18
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/StandardWidgetImpl.java19
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UIComponentImpl.java19
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UiFactoryImpl.java50
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UiPackageImpl.java69
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UnknownComponentImpl.java18
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ValueAttributeImpl.java18
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/WidgetAttributeImpl.java18
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/WidgetImpl.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/util/UiAdapterFactory.java58
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/util/UiSwitch.java61
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/.classpath2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/META-INF/MANIFEST.MF9
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/model/Environment.xmi238
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/plugin.properties2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/plugin.xml2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/schema/environment.exsd2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/PropertiesRoot.java13
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/RootFactory.java4
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/RootPackage.java20
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/PropertiesRootImpl.java78
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/RootFactoryImpl.java30
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/RootPackageImpl.java58
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/util/RootAdapterFactory.java43
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/util/RootSwitch.java75
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/Preferences.java1
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/ContextDescriptorImpl.java3
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesFactoryImpl.java8
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesImpl.java5
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesPackageImpl.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/util/PreferencesAdapterFactory.java7
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/util/PreferencesSwitch.java5
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/AbstractConstraint.java231
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/CompoundConstraint.java107
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/Constraint.java86
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/EMFInstanceOfConstraint.java107
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/EMFQueryConstraint.java84
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaInstanceOf.java46
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaQuery.java17
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaQueryConstraint.java53
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/TrueConstraint.java31
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/creation/EcorePropertyEditorFactory.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/creation/PropertyEditorFactory.java6
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/AnnotationObservableValue.java133
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/EMFObservableList.java313
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/EMFObservableValue.java88
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/MultipleObservable.java34
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/AnnotationModelElement.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/CompositeModelElement.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/DataSourceFactory.java89
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/EMFModelElement.java12
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/ContainerContentProvider.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EMFFilteredLabelProvider.java (renamed from plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EMFObjectFilteredLabelProvider.java)28
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EMFObjectLabelProvider.java206
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EcoreReferenceContentProvider.java88
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/IFilteredLabelProvider.java6
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConfigurationManager.java18
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConstraintEngine.java56
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConstraintFactory.java21
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/DefaultViewConstraintEngine.java (renamed from plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/DefaultConstraintEngine.java)27
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ViewConstraintEngine.java16
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/EClassNameComparator.java35
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/PropertiesUtil.java (renamed from plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/Util.java)2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/widgets/AbstractPropertyEditor.java6
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/widgets/ViewEditor.java2
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/xwt/XWTSection.java6
-rw-r--r--plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/xwt/XWTTabDescriptorProvider.java4
412 files changed, 9595 insertions, 21156 deletions
diff --git a/plugins/core/org.eclipse.xtext.gmf.glue/META-INF/MANIFEST.MF b/plugins/core/org.eclipse.xtext.gmf.glue/META-INF/MANIFEST.MF
index 70b39f761ac..fe25ef14924 100644
--- a/plugins/core/org.eclipse.xtext.gmf.glue/META-INF/MANIFEST.MF
+++ b/plugins/core/org.eclipse.xtext.gmf.glue/META-INF/MANIFEST.MF
@@ -18,8 +18,7 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.uml2.uml;bundle-version="3.1.0",
org.eclipse.papyrus.infra.core.sasheditor;bundle-version="0.9.0",
org.eclipse.papyrus.editor;bundle-version="0.9.0",
- org.eclipse.papyrus.infra.core;bundle-version="0.9.0",
- org.eclipse.papyrus.views.properties.runtime;bundle-version="0.9.0"
+ org.eclipse.papyrus.infra.core;bundle-version="0.9.0"
Bundle-Vendor: Eclipse Modeling Project
Bundle-ActivationPolicy: lazy
Bundle-Version: 0.9.0.qualifier
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath
index e5fbd3dd27a..afb9bb46ef3 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src"/>
<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"/>
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
index 3de1cd0fa21..b10703628c3 100644
--- 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
@@ -24,11 +24,12 @@ Require-Bundle: org.eclipse.ui;bundle-version="3.6.1",
org.eclipse.core.databinding;bundle-version="1.3.100",
org.eclipse.emf.databinding;bundle-version="1.2.0",
org.eclipse.core.databinding.property;bundle-version="1.3.0",
- org.eclipse.papyrus.customization.properties.model.xwt;bundle-version="0.9.0"
+ org.eclipse.papyrus.customization.properties.model.xwt;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.tools;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0"
Bundle-Vendor: %Bundle-Vendor
Bundle-Version: 0.9.0.qualifier
-Eclipse-BuddyPolicy: dependent
Bundle-ManifestVersion: 2
Bundle-Activator: org.eclipse.papyrus.customization.properties.generation.Activator
Bundle-SymbolicName: org.eclipse.papyrus.customization.properties.generation;singleton:=true
-
+Eclipse-BuddyPolicy: dependent
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
index 6f3b4ad800d..38e5bc93e67 100644
--- 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
@@ -14,16 +14,16 @@ 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>
+ * <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
@@ -38,7 +38,6 @@ public interface ContextElement extends EObject {
* 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"
@@ -54,7 +53,6 @@ public interface ContextElement extends EObject {
* 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"
@@ -69,7 +67,6 @@ public interface ContextElement extends EObject {
* 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()
@@ -82,9 +79,7 @@ public interface ContextElement extends EObject {
* 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.
+ * @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
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
index 09cbb9bdd0b..b3630e1b9d8 100644
--- 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
@@ -14,15 +14,15 @@ 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>
+ * <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
@@ -37,7 +37,6 @@ public interface FieldSelection extends EObject {
* 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"
@@ -53,7 +52,6 @@ public interface FieldSelection extends EObject {
* 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"
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
index db6bc8bc292..b1a8ef9499b 100644
--- 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
@@ -13,7 +13,6 @@ import org.eclipse.emf.ecore.EFactory;
* 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
*/
@@ -23,7 +22,6 @@ 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();
@@ -32,7 +30,6 @@ public interface FieldSelectionFactory extends EFactory {
* 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
*/
@@ -42,7 +39,6 @@ public interface FieldSelectionFactory extends EFactory {
* 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
*/
@@ -52,7 +48,6 @@ public interface FieldSelectionFactory extends EFactory {
* 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
*/
@@ -62,7 +57,6 @@ public interface FieldSelectionFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the package supported by this factory.
* @generated
*/
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
index f46b5d04965..c4e9152ec0d 100644
--- 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
@@ -23,7 +23,6 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelectionFactory
* @model kind="package"
* @generated
@@ -34,7 +33,6 @@ public interface FieldSelectionPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNAME = "fieldselection";
@@ -43,7 +41,6 @@ public interface FieldSelectionPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/properties/fieldSelection";
@@ -52,7 +49,6 @@ public interface FieldSelectionPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_PREFIX = "fs";
@@ -61,17 +57,14 @@ public interface FieldSelectionPackage extends EPackage {
* 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.
+ * 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
@@ -82,7 +75,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Fields</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -92,7 +84,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Context Elements</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -102,18 +93,15 @@ public interface FieldSelectionPackage extends EPackage {
* 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.
+ * 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
@@ -124,7 +112,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -134,7 +121,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Value Single</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -144,7 +130,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Value Multiple</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -154,18 +139,15 @@ public interface FieldSelectionPackage extends EPackage {
* 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.
+ * 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
@@ -176,7 +158,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Elements</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -186,7 +167,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Properties</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -196,7 +176,6 @@ public interface FieldSelectionPackage extends EPackage {
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -206,7 +185,6 @@ public interface FieldSelectionPackage extends EPackage {
* The number of structural features of the '<em>Context Element</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -216,7 +194,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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
@@ -228,7 +205,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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
@@ -236,11 +212,9 @@ public interface FieldSelectionPackage extends EPackage {
EClass getFieldSelection();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection#getFields <em>Fields</em>}'.
+ * 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()
@@ -249,11 +223,9 @@ public interface FieldSelectionPackage extends EPackage {
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>}'.
+ * 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()
@@ -262,11 +234,9 @@ public interface FieldSelectionPackage extends EPackage {
EReference getFieldSelection_ContextElements();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition
- * <em>Property Definition</em>}'.
+ * 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
@@ -274,11 +244,9 @@ public interface FieldSelectionPackage extends EPackage {
EClass getPropertyDefinition();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getName
- * <em>Name</em>}'.
+ * 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()
@@ -287,11 +255,9 @@ public interface FieldSelectionPackage extends EPackage {
EAttribute getPropertyDefinition_Name();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle
- * <em>Value Single</em>}'.
+ * 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()
@@ -300,11 +266,9 @@ public interface FieldSelectionPackage extends EPackage {
EAttribute getPropertyDefinition_ValueSingle();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple
- * <em>Value Multiple</em>}'.
+ * 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()
@@ -316,7 +280,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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
@@ -324,11 +287,9 @@ public interface FieldSelectionPackage extends EPackage {
EClass getContextElement();
/**
- * Returns the meta object for the containment reference list '
- * {@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getElements <em>Elements</em>}'.
+ * 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()
@@ -337,11 +298,9 @@ public interface FieldSelectionPackage extends EPackage {
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>}'.
+ * 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()
@@ -350,11 +309,9 @@ public interface FieldSelectionPackage extends EPackage {
EReference getContextElement_Properties();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement#getName
- * <em>Name</em>}'.
+ * 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()
@@ -366,7 +323,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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"
@@ -378,7 +334,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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
*/
@@ -394,17 +349,14 @@ public interface FieldSelectionPackage extends EPackage {
* <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.
+ * 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
@@ -415,7 +367,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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();
@@ -424,17 +375,14 @@ public interface FieldSelectionPackage extends EPackage {
* 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.
+ * 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
@@ -445,7 +393,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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();
@@ -454,7 +401,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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();
@@ -463,17 +409,14 @@ public interface FieldSelectionPackage extends EPackage {
* 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.
+ * 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
@@ -484,7 +427,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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();
@@ -493,7 +435,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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();
@@ -502,7 +443,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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();
@@ -511,7 +451,6 @@ public interface FieldSelectionPackage extends EPackage {
* 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
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
index 004333fc917..6330076a5a2 100644
--- 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
@@ -14,16 +14,16 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <!-- 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>
+ * <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
@@ -37,7 +37,6 @@ public interface PropertyDefinition extends EObject {
* 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()
@@ -50,9 +49,7 @@ public interface PropertyDefinition extends EObject {
* 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.
+ * @param value the new value of the '<em>Name</em>' attribute.
* @see #getName()
* @generated
*/
@@ -66,7 +63,6 @@ public interface PropertyDefinition extends EObject {
* 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()
@@ -76,13 +72,10 @@ public interface PropertyDefinition extends EObject {
State getValueSingle();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueSingle <em>Value Single</em>}
- * ' attribute.
+ * 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.
+ * @param value the new value of the '<em>Value Single</em>' attribute.
* @see #getValueSingle()
* @generated
*/
@@ -96,7 +89,6 @@ public interface PropertyDefinition extends EObject {
* 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()
@@ -106,13 +98,10 @@ public interface PropertyDefinition extends EObject {
State getValueMultiple();
/**
- * Sets the value of the '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition#getValueMultiple
- * <em>Value Multiple</em>}' attribute.
+ * 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.
+ * @param value the new value of the '<em>Value Multiple</em>' attribute.
* @see #getValueMultiple()
* @generated
*/
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
index 4cfe54e9eed..f91a8fca215 100644
--- 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
@@ -33,12 +33,12 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.Pr
* <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>
+ * <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 {
@@ -47,7 +47,6 @@ 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
@@ -58,7 +57,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
* The cached value of the '{@link #getProperties() <em>Properties</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getProperties()
* @generated
* @ordered
@@ -69,7 +67,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -80,7 +77,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -90,7 +86,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected ContextElementImpl() {
@@ -100,7 +95,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -111,11 +105,10 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<ContextElement> getElements() {
- if(elements == null) {
+ if (elements == null) {
elements = new EObjectContainmentEList<ContextElement>(ContextElement.class, this, FieldSelectionPackage.CONTEXT_ELEMENT__ELEMENTS);
}
return elements;
@@ -124,11 +117,10 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<PropertyDefinition> getProperties() {
- if(properties == null) {
+ if (properties == null) {
properties = new EObjectContainmentEList<PropertyDefinition>(PropertyDefinition.class, this, FieldSelectionPackage.CONTEXT_ELEMENT__PROPERTIES);
}
return properties;
@@ -137,7 +129,6 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String getName() {
@@ -147,29 +138,27 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if(eNotificationRequired())
+ 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);
+ 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);
}
@@ -177,18 +166,17 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- 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();
+ 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);
}
@@ -196,24 +184,23 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- 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;
+ 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);
}
@@ -221,21 +208,20 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- 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;
+ 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);
}
@@ -243,18 +229,17 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- 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);
+ 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);
}
@@ -262,13 +247,11 @@ public class ContextElementImpl extends EObjectImpl implements ContextElement {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
- return super.toString();
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
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
index 8e631ca9d86..dd585f82fd9 100644
--- 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
@@ -23,7 +23,6 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSelectionFactory {
@@ -32,16 +31,16 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
* 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) {
+ FieldSelectionFactory theFieldSelectionFactory = (FieldSelectionFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/fieldSelection");
+ if (theFieldSelectionFactory != null) {
return theFieldSelectionFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new FieldSelectionFactoryImpl();
@@ -51,7 +50,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FieldSelectionFactoryImpl() {
@@ -61,59 +59,52 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- 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");
+ 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");
+ 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");
+ 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() {
@@ -124,7 +115,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public PropertyDefinition createPropertyDefinition() {
@@ -135,7 +125,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public ContextElement createContextElement() {
@@ -146,7 +135,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public State createValueFromString(EDataType eDataType, String initialValue) {
@@ -156,7 +144,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String convertValueToString(EDataType eDataType, Object instanceValue) {
@@ -166,7 +153,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FieldSelectionPackage getFieldSelectionPackage() {
@@ -176,7 +162,6 @@ public class FieldSelectionFactoryImpl extends EFactoryImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
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
index 1d6b5dc3529..c39f998ad00 100644
--- 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
@@ -32,11 +32,11 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.Pr
* <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>
+ * <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 {
@@ -45,7 +45,6 @@ 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
@@ -56,7 +55,6 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
* The cached value of the '{@link #getContextElements() <em>Context Elements</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getContextElements()
* @generated
* @ordered
@@ -66,7 +64,6 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected FieldSelectionImpl() {
@@ -76,7 +73,6 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -87,11 +83,10 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<PropertyDefinition> getFields() {
- if(fields == null) {
+ if (fields == null) {
fields = new EObjectContainmentEList<PropertyDefinition>(PropertyDefinition.class, this, FieldSelectionPackage.FIELD_SELECTION__FIELDS);
}
return fields;
@@ -100,11 +95,10 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<ContextElement> getContextElements() {
- if(contextElements == null) {
+ if (contextElements == null) {
contextElements = new EObjectContainmentEList<ContextElement>(ContextElement.class, this, FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS);
}
return contextElements;
@@ -113,16 +107,15 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- 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);
+ 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);
}
@@ -130,16 +123,15 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- 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();
+ switch (featureID) {
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ return getFields();
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ return getContextElements();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -147,21 +139,20 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- 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;
+ 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);
}
@@ -169,18 +160,17 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- 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;
+ switch (featureID) {
+ case FieldSelectionPackage.FIELD_SELECTION__FIELDS:
+ getFields().clear();
+ return;
+ case FieldSelectionPackage.FIELD_SELECTION__CONTEXT_ELEMENTS:
+ getContextElements().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -188,16 +178,15 @@ public class FieldSelectionImpl extends EObjectImpl implements FieldSelection {
/**
* <!-- 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();
+ 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);
}
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
index c26f0ba6d46..0cf0ebe5534 100644
--- 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
@@ -26,7 +26,6 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSelectionPackage {
@@ -34,7 +33,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass fieldSelectionEClass = null;
@@ -42,7 +40,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass propertyDefinitionEClass = null;
@@ -50,7 +47,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass contextElementEClass = null;
@@ -58,19 +54,19 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- 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
+ * 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 -->
- *
+ * <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()
@@ -83,7 +79,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
@@ -91,18 +86,16 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* 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 -->
- *
+ * <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);
+ 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());
@@ -118,7 +111,7 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
// 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;
@@ -127,7 +120,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getFieldSelection() {
@@ -137,7 +129,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getFieldSelection_Fields() {
@@ -147,7 +138,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getFieldSelection_ContextElements() {
@@ -157,7 +147,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getPropertyDefinition() {
@@ -167,7 +156,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getPropertyDefinition_Name() {
@@ -177,7 +165,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getPropertyDefinition_ValueSingle() {
@@ -187,7 +174,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getPropertyDefinition_ValueMultiple() {
@@ -197,7 +183,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getContextElement() {
@@ -207,7 +192,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getContextElement_Elements() {
@@ -217,7 +201,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getContextElement_Properties() {
@@ -227,7 +210,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EAttribute getContextElement_Name() {
@@ -237,7 +219,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EDataType getValue() {
@@ -247,7 +228,6 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FieldSelectionFactory getFieldSelectionFactory() {
@@ -257,22 +237,19 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isCreated = false;
/**
- * Creates the meta-model objects for the package. This method is
+ * 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;
+ if (isCreated) return;
isCreated = true;
// Create classes and their features
@@ -297,22 +274,19 @@ public class FieldSelectionPackageImpl extends EPackageImpl implements FieldSele
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This
+ * 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;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
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
index ab58d0fefd9..26584120949 100644
--- 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
@@ -26,12 +26,12 @@ import org.eclipse.papyrus.customization.properties.generation.wizard.widget.Ter
* <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>
+ * <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 {
@@ -40,7 +40,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -51,7 +50,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The cached value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getName()
* @generated
* @ordered
@@ -62,7 +60,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The default value of the '{@link #getValueSingle() <em>Value Single</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValueSingle()
* @generated
* @ordered
@@ -73,7 +70,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The cached value of the '{@link #getValueSingle() <em>Value Single</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValueSingle()
* @generated
* @ordered
@@ -84,7 +80,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The default value of the '{@link #getValueMultiple() <em>Value Multiple</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValueMultiple()
* @generated
* @ordered
@@ -95,7 +90,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
* The cached value of the '{@link #getValueMultiple() <em>Value Multiple</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getValueMultiple()
* @generated
* @ordered
@@ -105,7 +99,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected PropertyDefinitionImpl() {
@@ -115,7 +108,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -126,7 +118,6 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public String getName() {
@@ -136,20 +127,18 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setName(String newName) {
String oldName = name;
name = newName;
- if(eNotificationRequired())
+ if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, FieldSelectionPackage.PROPERTY_DEFINITION__NAME, oldName, name));
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public State getValueSingle() {
@@ -159,20 +148,18 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setValueSingle(State newValueSingle) {
State oldValueSingle = valueSingle;
valueSingle = newValueSingle;
- if(eNotificationRequired())
+ 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() {
@@ -182,31 +169,29 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public void setValueMultiple(State newValueMultiple) {
State oldValueMultiple = valueMultiple;
valueMultiple = newValueMultiple;
- if(eNotificationRequired())
+ 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();
+ 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);
}
@@ -214,21 +199,20 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- 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;
+ 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);
}
@@ -236,21 +220,20 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- 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;
+ 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);
}
@@ -258,18 +241,17 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- 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);
+ 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);
}
@@ -277,13 +259,11 @@ public class PropertyDefinitionImpl extends EObjectImpl implements PropertyDefin
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public String toString() {
- if(eIsProxy())
- return super.toString();
+ if (eIsProxy()) return super.toString();
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
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
index 02bdff0fb8b..7ccac8432a6 100644
--- 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
@@ -20,7 +20,6 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.*;
* 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
*/
@@ -30,7 +29,6 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected static FieldSelectionPackage modelPackage;
@@ -39,11 +37,10 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FieldSelectionAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = FieldSelectionPackage.eINSTANCE;
}
}
@@ -53,16 +50,15 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* <!-- 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) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
+ if (object instanceof EObject) {
return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
@@ -72,39 +68,32 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* 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();
- }
- };
+ @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.
+ * @param target the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@@ -115,13 +104,11 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.FieldSelection
- * <em>Field Selection</em>}'.
+ * 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
@@ -131,13 +118,11 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.PropertyDefinition
- * <em>Property Definition</em>}'.
+ * 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
@@ -147,13 +132,11 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.customization.properties.generation.fieldselection.ContextElement
- * <em>Context Element</em>}'.
+ * 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
@@ -167,7 +150,6 @@ public class FieldSelectionAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
- *
* @return the new adapter.
* @generated
*/
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
index 1fb025eeddd..a3ea0ddecc2 100644
--- 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
@@ -11,6 +11,8 @@ import java.util.List;
import org.eclipse.emf.ecore.EClass;
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.*;
/**
@@ -22,17 +24,16 @@ import org.eclipse.papyrus.customization.properties.generation.fieldselection.*;
* 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> {
+public class FieldSelectionSwitch<T> extends
+Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected static FieldSelectionPackage modelPackage;
@@ -41,80 +42,56 @@ public class FieldSelectionSwitch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public FieldSelectionSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = FieldSelectionPackage.eINSTANCE;
}
}
/**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
* @generated
*/
- public T doSwitch(EObject theEObject) {
- return doSwitch(theEObject.eClass(), theEObject);
+ @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
- */
- protected T doSwitch(EClass theEClass, EObject theEObject) {
- if(theEClass.eContainer() == modelPackage) {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- } else {
- List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * 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);
+ 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);
}
}
@@ -124,9 +101,7 @@ public class FieldSelectionSwitch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @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
@@ -141,9 +116,7 @@ public class FieldSelectionSwitch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @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
@@ -158,9 +131,7 @@ public class FieldSelectionSwitch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @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
@@ -175,13 +146,12 @@ public class FieldSelectionSwitch<T> {
* 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.
+ * @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;
}
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
index c386404e058..1b4211f390c 100644
--- 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
@@ -15,6 +15,7 @@ import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.Platform;
import org.eclipse.papyrus.customization.properties.generation.generators.IGenerator;
import org.eclipse.papyrus.customization.properties.generation.wizard.CreateContextWizard;
+import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
import org.eclipse.papyrus.views.properties.Activator;
/**
@@ -36,13 +37,12 @@ public class GeneratorExtensionPoint {
for(IConfigurationElement e : config) {
String generatorClassName = e.getAttribute("generator"); //$NON-NLS-1$
- try {
- Class<? extends IGenerator> generatorClass = Class.forName(generatorClassName).asSubclass(IGenerator.class);
- IGenerator generator = generatorClass.newInstance();
- CreateContextWizard.addGenerator(generator);
- } catch (Exception ex) {
- Activator.log.error("Cannot instantiate the generator : " + generatorClassName, ex); //$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;
}
+ CreateContextWizard.addGenerator(generator);
}
}
}
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
index 0f4003a4931..62dd568d2df 100644
--- 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
@@ -15,6 +15,7 @@ import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.Platform;
import org.eclipse.papyrus.customization.properties.generation.layout.ILayoutGenerator;
import org.eclipse.papyrus.customization.properties.generation.wizard.CreateContextWizard;
+import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
import org.eclipse.papyrus.views.properties.Activator;
/**
@@ -35,13 +36,12 @@ public class LayoutExtensionPoint {
for(IConfigurationElement e : config) {
String generatorClassName = e.getAttribute("generator"); //$NON-NLS-1$
- try {
- Class<? extends ILayoutGenerator> generatorClass = Class.forName(generatorClassName).asSubclass(ILayoutGenerator.class);
- ILayoutGenerator generator = generatorClass.newInstance();
- CreateContextWizard.addLayoutGenerator(generator);
- } catch (Exception ex) {
- Activator.log.error("Cannot instantiate the layout generator : " + generatorClassName, ex); //$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;
}
+ CreateContextWizard.addLayoutGenerator(generator);
}
}
}
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
index 1f47e4f1d4b..1c657282f16 100644
--- 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
@@ -38,7 +38,7 @@ import org.eclipse.papyrus.views.properties.ui.Layout;
import org.eclipse.papyrus.views.properties.ui.PropertyEditor;
import org.eclipse.papyrus.views.properties.ui.UiFactory;
import org.eclipse.papyrus.views.properties.ui.ValueAttribute;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
/**
* Default implementation for ILayoutGenerator
@@ -123,8 +123,8 @@ public class StandardLayoutGenerator implements ILayoutGenerator {
}
ValueAttribute attribute = UiFactory.eINSTANCE.createValueAttribute();
- attribute.setName(Util.getQualifiedName(namespace));
- attribute.setValue(Util.getPrefixedValue(namespace));
+ attribute.setName(PropertiesUtil.getQualifiedName(namespace));
+ attribute.setValue(PropertiesUtil.getPrefixedValue(namespace));
xmlNamespaces.add(attribute);
}
return xmlNamespaces;
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
index 5ddeab7671d..9f724796df7 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/ecore2datacontext.qvto
@@ -1,7 +1,8 @@
modeltype Ecore uses "http://www.eclipse.org/emf/2002/Ecore";
-modeltype PropertyContext uses "http://www.eclipse.org/papyrus/properties/contexts";
-modeltype PropertyEnvironment uses "http://www.eclipse.org/papyrus/properties/environment";
+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 pRoot : PRoot, out context : PropertyContext);
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
index 864b784a01c..4404fc41dbe 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.generation/transforms/profile2datacontext.qvto
@@ -1,7 +1,8 @@
modeltype UML uses "http://www.eclipse.org/uml2/4.0.0/UML";
-modeltype PropertyContext uses "http://www.eclipse.org/papyrus/properties/contexts";
-modeltype PropertyEnvironment uses "http://www.eclipse.org/papyrus/properties/environment";
+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);
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
index 9375edb76f6..ee90e8600cc 100644
--- 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
@@ -1,7 +1,7 @@
modeltype XML uses "http://www.eclipse.org/MoDisco/Xml/0.1.incubation/XML";
-modeltype UI uses "http://www.eclipse.org/papyrus/properties/ui";
-modeltype Environment uses "http://www.eclipse.org/papyrus/properties/environment";
-modeltype Context uses "http://www.eclipse.org/papyrus/properties/contexts";
+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);
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
index a9650991724..364a07f44b4 100644
--- 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
@@ -1,8 +1,8 @@
modeltype XML uses "http://www.eclipse.org/MoDisco/Xml/0.1.incubation/XML";
-modeltype UI uses "http://www.eclipse.org/papyrus/properties/ui";
+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";
-modeltype Environment uses "http://www.eclipse.org/papyrus/properties/environment";
+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);
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java
index ff35aaad9a0..2ec3bb2465b 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties.model.xwt/src/org/eclipse/papyrus/customization/properties/model/xwt/resource/XWTResource.java
@@ -48,13 +48,13 @@ import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
import org.eclipse.papyrus.views.properties.ui.CompositeWidget;
import org.eclipse.papyrus.views.properties.ui.UiPackage;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
/**
* A Resource for representing XWT (XML Widget Toolkit) files
* as EObjects.
* Resulting EObjects are conform to the Papyrus property view UI Metamodel :
- * http://www.eclipse.org/papyrus/properties/ui
+ * http://www.eclipse.org/papyrus/properties/ui/0.9
*
* The resource is based on MoDisco for reading and writing XML,
* and on QVTO to go from XML to EMF and vice-versa.
@@ -148,7 +148,7 @@ public class XWTResource extends ResourceImpl {
Set<Context> allContexts = new HashSet<Context>();
for(Context context : rootContexts) {
- allContexts.addAll(Util.getDependencies(context));
+ allContexts.addAll(PropertiesUtil.getDependencies(context));
}
return allContexts;
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/META-INF/MANIFEST.MF b/plugins/customization/org.eclipse.papyrus.customization.properties/META-INF/MANIFEST.MF
index 9e43a931693..985db7c2ea4 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/META-INF/MANIFEST.MF
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/META-INF/MANIFEST.MF
@@ -18,7 +18,8 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.facet.infra.facet;bundle-version="0.1.0",
org.eclipse.emf.facet.infra.common.core;bundle-version="0.1.0",
org.eclipse.emf.databinding;bundle-version="1.2.0",
- org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0"
Export-Package: org.eclipse.papyrus.customization.properties.editor,
org.eclipse.papyrus.customization.properties.modelelement,
org.eclipse.papyrus.customization.properties.providers
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/Customization.ctx b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/Customization.ctx
index 6dc1ab6d455..c0568fdb21d 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/Customization.ctx
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/Customization.ctx
@@ -1,971 +1,1356 @@
<?xml version="1.0" encoding="ASCII"?>
-<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts" name="Customization">
- <tabs label="Context" id="context" category="" priority="10">
- <sections name="Single Environment" sectionFile="ui/SingleEnvironment.xwt">
- <widget href="ui/SingleEnvironment.xwt#/"/>
- </sections>
- <sections name="Multiple Environment" sectionFile="ui/MultipleEnvironment.xwt">
- <widget href="ui/MultipleEnvironment.xwt#/"/>
- </sections>
- <sections name="Single WidgetType" sectionFile="ui/SingleWidgetType.xwt">
- <widget href="ui/SingleWidgetType.xwt#/"/>
- </sections>
- <sections name="Multiple WidgetType" sectionFile="ui/MultipleWidgetType.xwt">
- <widget href="ui/MultipleWidgetType.xwt#/"/>
- </sections>
- <sections name="Single PropertyEditorType" sectionFile="ui/SinglePropertyEditorType.xwt">
- <widget href="ui/SinglePropertyEditorType.xwt#/"/>
- </sections>
- <sections name="Multiple PropertyEditorType" sectionFile="ui/MultiplePropertyEditorType.xwt">
- <widget href="ui/MultiplePropertyEditorType.xwt#/"/>
- </sections>
- <sections name="Single CompositeWidgetType" sectionFile="ui/SingleCompositeWidgetType.xwt">
- <widget href="ui/SingleCompositeWidgetType.xwt#/"/>
- </sections>
- <sections name="Multiple CompositeWidgetType" sectionFile="ui/MultipleCompositeWidgetType.xwt">
- <widget href="ui/MultipleCompositeWidgetType.xwt#/"/>
- </sections>
- <sections name="Single LayoutType" sectionFile="ui/SingleLayoutType.xwt">
- <widget href="ui/SingleLayoutType.xwt#/"/>
- </sections>
- <sections name="Multiple LayoutType" sectionFile="ui/MultipleLayoutType.xwt">
- <widget href="ui/MultipleLayoutType.xwt#/"/>
- </sections>
- <sections name="Single ConstraintType" sectionFile="ui/SingleConstraintType.xwt">
- <widget href="ui/SingleConstraintType.xwt#/"/>
- </sections>
- <sections name="Multiple ConstraintType" sectionFile="ui/MultipleConstraintType.xwt">
- <widget href="ui/MultipleConstraintType.xwt#/"/>
- </sections>
- <sections name="Single ModelElementFactoryDescriptor" sectionFile="ui/SingleModelElementFactoryDescriptor.xwt">
- <widget href="ui/SingleModelElementFactoryDescriptor.xwt#/"/>
- </sections>
- <sections name="Multiple ModelElementFactoryDescriptor" sectionFile="ui/MultipleModelElementFactoryDescriptor.xwt">
- <widget href="ui/MultipleModelElementFactoryDescriptor.xwt#/"/>
- </sections>
- <sections name="Single StandardWidgetType" sectionFile="ui/SingleStandardWidgetType.xwt">
- <widget href="ui/SingleStandardWidgetType.xwt#/"/>
- </sections>
- <sections name="Multiple StandardWidgetType" sectionFile="ui/MultipleStandardWidgetType.xwt">
- <widget href="ui/MultipleStandardWidgetType.xwt#/"/>
- </sections>
- <sections name="Single Context" sectionFile="ui/SingleContext.xwt">
- <widget href="ui/SingleContext.xwt#/"/>
- </sections>
- <sections name="Multiple Context" sectionFile="ui/MultipleContext.xwt">
- <widget href="ui/MultipleContext.xwt#/"/>
- </sections>
- <sections name="Single DisplayUnit" sectionFile="ui/SingleDisplayUnit.xwt">
- <widget href="ui/SingleDisplayUnit.xwt#/"/>
- </sections>
- <sections name="Multiple DisplayUnit" sectionFile="ui/MultipleDisplayUnit.xwt">
- <widget href="ui/MultipleDisplayUnit.xwt#/"/>
- </sections>
- <sections name="Single View" sectionFile="ui/SingleView.xwt">
- <widget href="ui/SingleView.xwt#/"/>
- </sections>
- <sections name="Multiple View" sectionFile="ui/MultipleView.xwt">
- <widget href="ui/MultipleView.xwt#/"/>
- </sections>
- <sections name="Single Tab" sectionFile="ui/SingleTab.xwt">
- <widget href="ui/SingleTab.xwt#/"/>
- </sections>
- <sections name="Multiple Tab" sectionFile="ui/MultipleTab.xwt">
- <widget href="ui/MultipleTab.xwt#/"/>
- </sections>
- <sections name="Single Section" sectionFile="ui/SingleSection.xwt">
- <widget href="ui/SingleSection.xwt#/"/>
- </sections>
- <sections name="Multiple Section" sectionFile="ui/MultipleSection.xwt">
- <widget href="ui/MultipleSection.xwt#/"/>
- </sections>
- <sections name="Single DataContextElement" sectionFile="ui/SingleDataContextElement.xwt">
- <widget href="ui/SingleDataContextElement.xwt#/"/>
- </sections>
- <sections name="Multiple DataContextElement" sectionFile="ui/MultipleDataContextElement.xwt">
- <widget href="ui/MultipleDataContextElement.xwt#/"/>
- </sections>
- <sections name="Single Property" sectionFile="ui/SingleProperty.xwt">
- <widget href="ui/SingleProperty.xwt#/"/>
- </sections>
- <sections name="Multiple Property" sectionFile="ui/MultipleProperty.xwt">
- <widget href="ui/MultipleProperty.xwt#/"/>
- </sections>
- <sections name="Single UnknownProperty" sectionFile="ui/SingleUnknownProperty.xwt">
- <widget href="ui/SingleUnknownProperty.xwt#/"/>
- </sections>
- <sections name="Multiple UnknownProperty" sectionFile="ui/MultipleUnknownProperty.xwt">
- <widget href="ui/MultipleUnknownProperty.xwt#/"/>
- </sections>
- <sections name="Single DataContextPackage" sectionFile="ui/SingleDataContextPackage.xwt">
- <widget href="ui/SingleDataContextPackage.xwt#/"/>
- </sections>
- <sections name="Multiple DataContextPackage" sectionFile="ui/MultipleDataContextPackage.xwt">
- <widget href="ui/MultipleDataContextPackage.xwt#/"/>
- </sections>
- <sections name="Single DataContextRoot" sectionFile="ui/SingleDataContextRoot.xwt">
- <widget href="ui/SingleDataContextRoot.xwt#/"/>
- </sections>
- <sections name="Multiple DataContextRoot" sectionFile="ui/MultipleDataContextRoot.xwt">
- <widget href="ui/MultipleDataContextRoot.xwt#/"/>
- </sections>
- <sections name="Single ConstraintDescriptor" sectionFile="ui/SingleConstraintDescriptor.xwt">
- <widget href="ui/SingleConstraintDescriptor.xwt#/"/>
- </sections>
- <sections name="Multiple ConstraintDescriptor" sectionFile="ui/MultipleConstraintDescriptor.xwt">
- <widget href="ui/MultipleConstraintDescriptor.xwt#/"/>
- </sections>
- <sections name="Single ConfigProperty" sectionFile="ui/SingleConfigProperty.xwt">
- <widget href="ui/SingleConfigProperty.xwt#/"/>
- </sections>
- <sections name="Multiple ConfigProperty" sectionFile="ui/MultipleConfigProperty.xwt">
- <widget href="ui/MultipleConfigProperty.xwt#/"/>
- </sections>
- <sections name="Single ValueProperty" sectionFile="ui/SingleValueProperty.xwt">
- <widget href="ui/SingleValueProperty.xwt#/"/>
- </sections>
- <sections name="Multiple ValueProperty" sectionFile="ui/MultipleValueProperty.xwt">
- <widget href="ui/MultipleValueProperty.xwt#/"/>
- </sections>
- <sections name="Single ReferenceProperty" sectionFile="ui/SingleReferenceProperty.xwt">
- <widget href="ui/SingleReferenceProperty.xwt#/"/>
- </sections>
- <sections name="Multiple ReferenceProperty" sectionFile="ui/MultipleReferenceProperty.xwt">
- <widget href="ui/MultipleReferenceProperty.xwt#/"/>
- </sections>
- <sections name="Single Element" sectionFile="ui/SingleElement.xwt">
- <widget href="ui/SingleElement.xwt#/"/>
- </sections>
- <sections name="Multiple Element" sectionFile="ui/MultipleElement.xwt">
- <widget href="ui/MultipleElement.xwt#/"/>
- </sections>
- <sections name="Single UIComponent" sectionFile="ui/SingleUIComponent.xwt">
- <widget href="ui/SingleUIComponent.xwt#/"/>
- </sections>
- <sections name="Multiple UIComponent" sectionFile="ui/MultipleUIComponent.xwt">
- <widget href="ui/MultipleUIComponent.xwt#/"/>
- </sections>
- <sections name="Single Widget" sectionFile="ui/SingleWidget.xwt">
- <widget href="ui/SingleWidget.xwt#/"/>
- </sections>
- <sections name="Multiple Widget" sectionFile="ui/MultipleWidget.xwt">
- <widget href="ui/MultipleWidget.xwt#/"/>
- </sections>
- <sections name="Single StandardWidget" sectionFile="ui/SingleStandardWidget.xwt">
- <widget href="ui/SingleStandardWidget.xwt#/"/>
- </sections>
- <sections name="Multiple StandardWidget" sectionFile="ui/MultipleStandardWidget.xwt">
- <widget href="ui/MultipleStandardWidget.xwt#/"/>
- </sections>
- <sections name="Single PropertyEditor" sectionFile="ui/SinglePropertyEditor.xwt">
- <widget href="ui/SinglePropertyEditor.xwt#/"/>
- </sections>
- <sections name="Multiple PropertyEditor" sectionFile="ui/MultiplePropertyEditor.xwt">
- <widget href="ui/MultiplePropertyEditor.xwt#/"/>
- </sections>
- <sections name="Single CompositeWidget" sectionFile="ui/SingleCompositeWidget.xwt">
- <widget href="ui/SingleCompositeWidget.xwt#/"/>
- </sections>
- <sections name="Multiple CompositeWidget" sectionFile="ui/MultipleCompositeWidget.xwt">
- <widget href="ui/MultipleCompositeWidget.xwt#/"/>
- </sections>
- <sections name="Single Layout" sectionFile="ui/SingleLayout.xwt">
- <widget href="ui/SingleLayout.xwt#/"/>
- </sections>
- <sections name="Multiple Layout" sectionFile="ui/MultipleLayout.xwt">
- <widget href="ui/MultipleLayout.xwt#/"/>
- </sections>
- <sections name="Single WidgetAttribute" sectionFile="ui/SingleWidgetAttribute.xwt">
- <widget href="ui/SingleWidgetAttribute.xwt#/"/>
- </sections>
- <sections name="Multiple WidgetAttribute" sectionFile="ui/MultipleWidgetAttribute.xwt">
- <widget href="ui/MultipleWidgetAttribute.xwt#/"/>
- </sections>
- <sections name="Single ValueAttribute" sectionFile="ui/SingleValueAttribute.xwt">
- <widget href="ui/SingleValueAttribute.xwt#/"/>
- </sections>
- <sections name="Multiple ValueAttribute" sectionFile="ui/MultipleValueAttribute.xwt">
- <widget href="ui/MultipleValueAttribute.xwt#/"/>
- </sections>
- <sections name="Single ReferenceAttribute" sectionFile="ui/SingleReferenceAttribute.xwt">
- <widget href="ui/SingleReferenceAttribute.xwt#/"/>
- </sections>
- <sections name="Multiple ReferenceAttribute" sectionFile="ui/MultipleReferenceAttribute.xwt">
- <widget href="ui/MultipleReferenceAttribute.xwt#/"/>
- </sections>
- <sections name="Single UnknownComponent" sectionFile="ui/SingleUnknownComponent.xwt">
- <widget href="ui/SingleUnknownComponent.xwt#/"/>
- </sections>
- <sections name="Multiple UnknownComponent" sectionFile="ui/MultipleUnknownComponent.xwt">
- <widget href="ui/MultipleUnknownComponent.xwt#/"/>
- </sections>
- <sections name="GroupAttributes" sectionFile="ui/GroupAttributes.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isGroup">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isGroup"/>
- </properties>
- </constraints>
- <widget href="ui/GroupAttributes.xwt#/"/>
- </sections>
- <sections name="EcoreInstanceOf" sectionFile="ui/EcoreInstanceOf.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isEcoreInstanceOf">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isEcoreInstanceOf"/>
- </properties>
- </constraints>
- <widget href="ui/EcoreInstanceOf.xwt#/"/>
- </sections>
- <sections name="UMLInstanceOf" sectionFile="ui/UMLInstanceOf.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isUMLInstanceOf">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isUmlInstanceOf"/>
- </properties>
- </constraints>
- <widget href="ui/UMLInstanceOf.xwt#/"/>
- </sections>
- <sections name="OCLQuery" sectionFile="ui/OCLQuery.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isOCLQueryConstraint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isOclQuery"/>
- </properties>
- </constraints>
- <widget href="ui/OCLQuery.xwt#/"/>
- </sections>
- <sections name="Stereotype" sectionFile="ui/Stereotype.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isStereotypeConstraint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isStereotype"/>
- </properties>
- </constraints>
- <widget href="ui/Stereotype.xwt#/"/>
- </sections>
- <sections name="GridLayout" sectionFile="ui/GridLayout.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isGridLayout">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isGridLayout"/>
- </properties>
- </constraints>
- <widget href="ui/GridLayout.xwt#/"/>
- </sections>
- <sections name="Label" sectionFile="ui/Label.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSWTLabel">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isLabel"/>
- </properties>
- </constraints>
- <widget href="ui/Label.xwt#/"/>
- </sections>
- <sections name="Single ToggleButton" sectionFile="ui/Single ToggleButton.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleToggleButton">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isToggleButton"/>
- </properties>
- </constraints>
- <widget href="ui/Single ToggleButton.xwt#/"/>
- </sections>
- <sections name="SingleFileSelector" sectionFile="ui/SingleFileSelector.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFileSelector">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isFileSelector"/>
- </properties>
- </constraints>
- <widget href="ui/SingleFileSelector.xwt#/"/>
- </sections>
- <sections name="Single IntegerSpinner" sectionFile="ui/Single IntegerSpinner.xwt">
- <constraints xsi:type="contexts:SimpleConstraint" name="isIntegerSpinner">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2"/>
- <properties xsi:type="contexts:ReferenceProperty" name="query">
- <value href="custom.querySet#isIntegerSpinner"/>
- </properties>
- </constraints>
- <widget href="ui/Single IntegerSpinner.xwt#/"/>
- </sections>
- <sections name="SingleCompositeConstraint" sectionFile="ui/SingleCompositeConstraint.xwt">
- <widget href="ui/SingleCompositeConstraint.xwt#/"/>
- </sections>
- <sections name="MultipleCompositeConstraint" sectionFile="ui/MultipleCompositeConstraint.xwt">
- <widget href="ui/MultipleCompositeConstraint.xwt#/"/>
- </sections>
- </tabs>
- <views name="Single Environment" sections="//@tabs.0/@sections.0" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEnvironment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Environment"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple Environment" sections="//@tabs.0/@sections.1" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEnvironment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Environment"/>
- </constraints>
- </views>
- <views name="Single WidgetType" sections="//@tabs.0/@sections.2" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="WidgetType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple WidgetType" sections="//@tabs.0/@sections.3" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="WidgetType"/>
- </constraints>
- </views>
- <views name="Single PropertyEditorType" sections="//@tabs.0/@sections.4" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePropertyEditorType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyEditorType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple PropertyEditorType" sections="//@tabs.0/@sections.5" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePropertyEditorType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyEditorType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Single CompositeWidgetType" sections="//@tabs.0/@sections.6" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCompositeWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeWidgetType"/>
- </constraints>
- </views>
- <views name="Multiple CompositeWidgetType" sections="//@tabs.0/@sections.7" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCompositeWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeWidgetType"/>
- </constraints>
- </views>
- <views name="Single LayoutType" sections="//@tabs.0/@sections.8" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLayoutType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="LayoutType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple LayoutType" sections="//@tabs.0/@sections.9" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLayoutType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="LayoutType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Single ConstraintType" sections="//@tabs.0/@sections.10" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstraintType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintType"/>
- </constraints>
- </views>
- <views name="Multiple ConstraintType" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstraintType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Single ModelElementFactoryDescriptor" sections="//@tabs.0/@sections.12" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleModelElementFactoryDescriptor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ModelElementFactoryDescriptor"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple ModelElementFactoryDescriptor" sections="//@tabs.0/@sections.13" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleModelElementFactoryDescriptor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ModelElementFactoryDescriptor"/>
- </constraints>
- </views>
- <views name="Single StandardWidgetType" sections="//@tabs.0/@sections.14" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStandardWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StandardWidgetType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Multiple StandardWidgetType" sections="//@tabs.0/@sections.15" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStandardWidgetType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StandardWidgetType"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/environment"/>
- </constraints>
- </views>
- <views name="Single Context" sections="//@tabs.0/@sections.16" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleContext">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Context"/>
- </constraints>
- </views>
- <views name="Multiple Context" sections="//@tabs.0/@sections.17" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleContext">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Context"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single DisplayUnit" sections="//@tabs.0/@sections.18" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDisplayUnit">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DisplayUnit"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Multiple DisplayUnit" sections="//@tabs.0/@sections.19" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDisplayUnit">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DisplayUnit"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single View" sections="//@tabs.0/@sections.20" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="View"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Multiple View" sections="//@tabs.0/@sections.21" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="View"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single Tab" sections="//@tabs.0/@sections.22" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTab">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Tab"/>
- </constraints>
- </views>
- <views name="Multiple Tab" sections="//@tabs.0/@sections.23" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTab">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Tab"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single Section" sections="//@tabs.0/@sections.24" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSection">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Section"/>
- </constraints>
- </views>
- <views name="Multiple Section" sections="//@tabs.0/@sections.25" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSection">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Section"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single DataContextElement" sections="//@tabs.0/@sections.26" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDataContextElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextElement"/>
- </constraints>
- </views>
- <views name="Multiple DataContextElement" sections="//@tabs.0/@sections.27" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDataContextElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextElement"/>
- </constraints>
- </views>
- <views name="Single Property" sections="//@tabs.0/@sections.28" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Property"/>
- </constraints>
- </views>
- <views name="Multiple Property" sections="//@tabs.0/@sections.29" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Property"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single UnknownProperty" sections="//@tabs.0/@sections.30" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUnknownProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UnknownProperty"/>
- </constraints>
- </views>
- <views name="Multiple UnknownProperty" sections="//@tabs.0/@sections.31" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUnknownProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UnknownProperty"/>
- </constraints>
- </views>
- <views name="Single DataContextPackage" sections="//@tabs.0/@sections.32" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDataContextPackage">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextPackage"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Multiple DataContextPackage" sections="//@tabs.0/@sections.33" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDataContextPackage">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextPackage"/>
- </constraints>
- </views>
- <views name="Single DataContextRoot" sections="//@tabs.0/@sections.34" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDataContextRoot">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextRoot"/>
- </constraints>
- </views>
- <views name="Multiple DataContextRoot" sections="//@tabs.0/@sections.35" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDataContextRoot">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataContextRoot"/>
- </constraints>
- </views>
- <views name="Single ConstraintDescriptor" sections="//@tabs.0/@sections.36 //@tabs.0/@sections.67 //@tabs.0/@sections.68 //@tabs.0/@sections.69 //@tabs.0/@sections.70" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstraintDescriptor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintDescriptor"/>
- </constraints>
- </views>
- <views name="Multiple ConstraintDescriptor" sections="//@tabs.0/@sections.37" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstraintDescriptor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ConstraintDescriptor"/>
- </constraints>
- </views>
- <views name="Single ConfigProperty" sections="//@tabs.0/@sections.38" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConfigProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ConfigProperty"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Multiple ConfigProperty" sections="//@tabs.0/@sections.39" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConfigProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ConfigProperty"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single ValueProperty" sections="//@tabs.0/@sections.40" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleValueProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ValueProperty"/>
- </constraints>
- </views>
- <views name="Multiple ValueProperty" sections="//@tabs.0/@sections.41" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleValueProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ValueProperty"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <views name="Single ReferenceProperty" sections="//@tabs.0/@sections.42" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReferenceProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceProperty"/>
- </constraints>
- </views>
- <views name="Multiple ReferenceProperty" sections="//@tabs.0/@sections.43" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReferenceProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceProperty"/>
- </constraints>
- </views>
- <views name="Single Element" sections="//@tabs.0/@sections.44" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Element"/>
- </constraints>
- </views>
- <views name="Multiple Element" sections="//@tabs.0/@sections.45" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Element"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single UIComponent" sections="//@tabs.0/@sections.46" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUIComponent">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UIComponent"/>
- </constraints>
- </views>
- <views name="Multiple UIComponent" sections="//@tabs.0/@sections.47" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUIComponent">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UIComponent"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single Widget" sections="//@tabs.0/@sections.48" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Widget"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Multiple Widget" sections="//@tabs.0/@sections.49" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Widget"/>
- </constraints>
- </views>
- <views name="Single StandardWidget" sections="//@tabs.0/@sections.50 //@tabs.0/@sections.72" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStandardWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StandardWidget"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Multiple StandardWidget" sections="//@tabs.0/@sections.51" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStandardWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StandardWidget"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single PropertyEditor" sections="//@tabs.0/@sections.52 //@tabs.0/@sections.73 //@tabs.0/@sections.74 //@tabs.0/@sections.75" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePropertyEditor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyEditor"/>
- </constraints>
- </views>
- <views name="Multiple PropertyEditor" sections="//@tabs.0/@sections.53" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePropertyEditor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyEditor"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single CompositeWidget" sections="//@tabs.0/@sections.54 //@tabs.0/@sections.66" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCompositeWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeWidget"/>
- </constraints>
- </views>
- <views name="Multiple CompositeWidget" sections="//@tabs.0/@sections.55" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCompositeWidget">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeWidget"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single Layout" sections="//@tabs.0/@sections.56 //@tabs.0/@sections.71" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLayout">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Layout"/>
- </constraints>
- </views>
- <views name="Multiple Layout" sections="//@tabs.0/@sections.57" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLayout">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Layout"/>
- </constraints>
- </views>
- <views name="Single WidgetAttribute" sections="//@tabs.0/@sections.58" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleWidgetAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="WidgetAttribute"/>
- </constraints>
- </views>
- <views name="Multiple WidgetAttribute" sections="//@tabs.0/@sections.59" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleWidgetAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="WidgetAttribute"/>
- </constraints>
- </views>
- <views name="Single ValueAttribute" sections="//@tabs.0/@sections.60" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleValueAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ValueAttribute"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Multiple ValueAttribute" sections="//@tabs.0/@sections.61" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleValueAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ValueAttribute"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Single ReferenceAttribute" sections="//@tabs.0/@sections.62" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReferenceAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceAttribute"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="Multiple ReferenceAttribute" sections="//@tabs.0/@sections.63" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReferenceAttribute">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceAttribute"/>
- </constraints>
- </views>
- <views name="Single UnknownComponent" sections="//@tabs.0/@sections.64" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUnknownComponent">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UnknownComponent"/>
- </constraints>
- </views>
- <views name="Multiple UnknownComponent" sections="//@tabs.0/@sections.65" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUnknownComponent">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UnknownComponent"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/ui"/>
- </constraints>
- </views>
- <views name="SingleCompositeConstraint" sections="//@tabs.0/@sections.76">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCompositeConstraint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeConstraint"/>
- </constraints>
- </views>
- <views name="MultipleCompositeConstraint" sections="//@tabs.0/@sections.77" elementMultiplicity="-1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCompositeConstraint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CompositeConstraint"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/properties/contexts"/>
- </constraints>
- </views>
- <dataContexts name="properties" label="properties">
- <elements xsi:type="contexts:DataContextPackage" name="environment">
- <elements name="Environment">
- <properties name="modelElementFactories" type="Reference" multiplicity="-1"/>
- <properties name="constraintTypes" type="Reference" multiplicity="-1"/>
- <properties name="widgetTypes" type="Reference" multiplicity="-1"/>
- <properties name="propertyEditorTypes" type="Reference" multiplicity="-1"/>
- <properties name="compositeWidgetTypes" type="Reference" multiplicity="-1"/>
- <properties name="layoutTypes" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="PropertyEditorType" supertypes="//@dataContexts.0/@elements.0/@elements.2">
- <properties name="type" type="Enumeration"/>
- <properties name="multiplicity" type="Integer"/>
- </elements>
- <elements name="WidgetType">
- <properties name="label"/>
- <properties name="widgetClass"/>
- </elements>
- <elements name="CompositeWidgetType" supertypes="//@dataContexts.0/@elements.0/@elements.2"/>
- <elements name="LayoutType" supertypes="//@dataContexts.0/@elements.0/@elements.2"/>
- <elements name="ConstraintType">
- <properties name="label"/>
- <properties name="constraintClass"/>
- </elements>
- <elements name="ModelElementFactoryDescriptor">
- <properties name="name"/>
- <properties name="factoryClass"/>
- </elements>
- <elements name="StandardWidgetType" supertypes="//@dataContexts.0/@elements.0/@elements.2"/>
- </elements>
- <elements xsi:type="contexts:DataContextPackage" name="contexts">
- <elements name="Context">
- <properties name="name" description="The name of the Configuration"/>
- <properties name="views" type="Reference" multiplicity="-1" description="The list of views for this Configuration"/>
- <properties name="tabs" type="Reference" multiplicity="-1" description="The list of tabs for this Configuration"/>
- <properties name="dataContexts" type="Reference" multiplicity="-1" description="The list of Data Contexts used by this configuration"/>
- <properties name="dependencies" type="Reference" multiplicity="-1" description="The list of Configurations on which this configuration depends"/>
- </elements>
- <elements name="DisplayUnit">
- <properties name="constraints" type="Reference" multiplicity="-1" description="The constraints associated to this Display Unit. The unit will be displayed only if at least one constraint is matched"/>
- </elements>
- <elements name="View" supertypes="//@dataContexts.0/@elements.1/@elements.1">
- <properties name="name" description="The name of this view"/>
- <properties name="sections" type="Reference" multiplicity="-1" description="The list of sections for this view"/>
- <properties name="automaticContext" label="" type="Boolean" description="deprecated"/>
- <properties name="datacontexts" type="Reference" multiplicity="-1" description="deprecated"/>
- <properties name="elementMultiplicity" label="" type="Integer" description="The number of selected elements for which this view should be displayed. May be 1 (Single element), -1 (Any number of elements) or any positive integer (For a strict number of elements)"/>
- </elements>
- <elements name="Tab">
- <properties name="label" description="The tab's label"/>
- <properties name="id" description="The tab's id. The ID should be unique within its category"/>
- <properties name="category" description="The tab's category"/>
- <properties name="image" label="" description="The tab's image. The path should be of the form /&lt;plug-in id>/&lt;path to the image>"/>
- <properties name="afterTab" label="" type="Reference" description="The tab after which this tab will be displayed. The afterTab's category should be the same as this tab's category"/>
- <properties name="sections" type="Reference" multiplicity="-1" description="The list of sections that can be displayed in this tab"/>
- <properties name="indented" label="" type="Boolean" description="Indicates if this tab should be indented. The preview isn't available for indentation"/>
- <properties name="priority" type="Integer" description="Indicates the priority for this tab. A lower priority means the tab will be placed before the other tabs. 0 is the highest priority, 100 is a very low priority."/>
- </elements>
- <elements name="Section" supertypes="//@dataContexts.0/@elements.1/@elements.1">
- <properties name="name" description="The section's name. It should be unique within this Configuration"/>
- <properties name="tab" type="Reference" description="The tab in which this section will be displayed"/>
- <properties name="sectionFile" description="The XWT file containing this section's UI declaration"/>
- <properties name="widget" label="" type="Reference" description="The SWT Widget representing this section"/>
- </elements>
- <elements name="DataContextElement">
- <properties name="name" label="" description="The name of this Data Context element"/>
- <properties name="properties" label="" type="Reference" multiplicity="-1" description="The list of properties of this Element"/>
- <properties name="package" type="Reference" description="This element's package"/>
- <properties name="supertypes" type="Reference" multiplicity="-1" description="This element's direct supertypes"/>
- </elements>
- <elements name="Property">
- <properties name="name" label="" description="The name of the property"/>
- <properties name="label" description="The label of this property"/>
- <properties name="type" type="Enumeration" description="The type of this property"/>
- <properties name="contextElement" type="Reference" description="The element to which this property belongs"/>
- <properties name="multiplicity" type="Integer" description="The multiplicity of this property."/>
- <properties name="description"/>
- </elements>
- <elements name="UnknownProperty" supertypes="//@dataContexts.0/@elements.1/@elements.6"/>
- <elements name="DataContextPackage" supertypes="//@dataContexts.0/@elements.1/@elements.5">
- <properties name="elements" type="Reference" multiplicity="-1" description="The list of Data Context elements contained into this package"/>
- </elements>
- <elements name="DataContextRoot" supertypes="//@dataContexts.0/@elements.1/@elements.8">
- <properties name="label" label="" description="The label of this Data Context root"/>
- <properties name="modelElementFactory" type="Reference" description="The factory used to instantiate to ModelElements associated to all the DataContext Elements inside this DataContext Root"/>
- </elements>
- <elements name="ConstraintDescriptor">
- <properties name="name" description="The name of this constraint descriptor"/>
- <properties name="display" type="Reference" description="The display unit (View or Section) associated to this constraint."/>
- <properties name="constraints" type="Reference" multiplicity="-1" description="The sub-constraints of this constraint (Used for Composite constraints - Not implemented yet)"/>
- <properties name="overriddenConstraints" type="Reference" multiplicity="-1" description="The constraints overridden by this constraint. If two constraints match a given selection, a constraint may override another one. In such a case, the overridden constraint's displayUnit won't be displayed. This property is dedicated to manual resolution of constraints : the Constraint classes may also implement an automatic resolution of conflicts"/>
- <properties name="overrideable" type="Boolean" description="If set to false, this constraint cannot be automatically overridden by other constraints. Only constraints which explicitly specify they need to override this constraint (Through the &quot;overriddenConstraints&quot; property) will be able to disable it."/>
- </elements>
- <elements name="ConfigProperty">
- <properties name="name" description="The name of the property"/>
- </elements>
- <elements name="ValueProperty" supertypes="//@dataContexts.0/@elements.1/@elements.11">
- <properties name="value" description="The value of the property"/>
- </elements>
- <elements name="ReferenceProperty" supertypes="//@dataContexts.0/@elements.1/@elements.11">
- <properties name="value" label="" type="Reference" description="The value of the property"/>
- </elements>
- <elements name="CompositeConstraint" supertypes="//@dataContexts.0/@elements.1/@elements.10">
- <properties name="constraints" type="Reference" multiplicity="-1" description="The sub-constraints owned by this composite constraint. The composite constraint is matched if and only if all its sub-constraints are matched."/>
- </elements>
- <elements name="SimpleConstraint" supertypes="//@dataContexts.0/@elements.1/@elements.10">
- <properties name="constraintType" type="Reference" description="The type of this constraint"/>
- <properties name="properties" label="" type="Reference" multiplicity="-1" description="The list of properties used to instantiate this constraint (key - value pairs)"/>
- </elements>
- </elements>
- <elements xsi:type="contexts:DataContextPackage" name="ui">
- <elements name="Element"/>
- <elements name="UIComponent" supertypes="//@dataContexts.0/@elements.2/@elements.0">
- <properties name="attributes" type="Reference" multiplicity="-1" description="The attributes used to instantiate this element. Set of key - value pairs."/>
- </elements>
- <elements name="Widget" supertypes="//@dataContexts.0/@elements.2/@elements.1"/>
- <elements name="StandardWidget" supertypes="//@dataContexts.0/@elements.2/@elements.2">
- <properties name="widgetType" type="Reference" description="The type of this widget"/>
- </elements>
- <elements name="PropertyEditor" supertypes="//@dataContexts.0/@elements.2/@elements.2">
- <properties name="property" type="Reference" description="The property that this editor will edit"/>
- <properties name="readOnly" type="Boolean" description="Indicates if this editor should be read-only. Note that in some cases, the read only state may be applied at runtime, independently of this field's value"/>
- <properties name="widgetType" type="Reference" description="The type of this widget"/>
- <properties name="showLabel" type="Boolean" description="If set to false, the property editor's label won't be displayed"/>
- <properties name="customLabel" label="Custom label" description="Defines a custom label for this editor. The custom label will replace the property's default label (Only for this property editor)"/>
- </elements>
- <elements name="CompositeWidget" supertypes="//@dataContexts.0/@elements.2/@elements.2">
- <properties name="layout" type="Reference" description="The layout of this widget"/>
- <properties name="widgets" type="Reference" multiplicity="-1" description="The widgets directly contained into this Composite"/>
- <properties name="widgetType" type="Reference" description="The type of this Composite widget."/>
- </elements>
- <elements name="Layout" supertypes="//@dataContexts.0/@elements.2/@elements.1">
- <properties name="layoutType" label="" type="Reference" description="The type of this Layout"/>
- </elements>
- <elements name="WidgetAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.0">
- <properties name="name" description="The name of the attribute"/>
- </elements>
- <elements name="ValueAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.7">
- <properties name="value" description="The litteral value of this attribute"/>
- </elements>
- <elements name="ReferenceAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.7">
- <properties name="value" type="Reference" description="The value of this attribute"/>
- </elements>
- <elements name="UnknownComponent" supertypes="//@dataContexts.0/@elements.2/@elements.2">
- <properties name="typeName" description="The fully-qualified name of this element"/>
- </elements>
- </elements>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.2"/>
- </dataContexts>
- <dataContexts name="Custom" label="Custom">
- <elements xsi:type="contexts:DataContextPackage" name="Attribute">
- <elements name="GridLayout">
- <properties name="numColumns" label="" type="Integer" description="The number of columns of this layout"/>
- <properties name="makeColumnsEqualWidth" description="Indicates if all columns should have the same width"/>
- </elements>
- <elements name="Group">
- <properties name="text" description="The label of this Group container"/>
- </elements>
- <elements name="Text">
- <properties name="text" description="The text to display"/>
- </elements>
- <elements name="Label">
- <properties name="text" label="Text" description="The text to display"/>
- </elements>
- <elements name="BooleanToggle">
- <properties name="image" label="Image"/>
- </elements>
- <elements name="FileSelector">
- <properties name="allowWorkspace"/>
- <properties name="allowFileSystem"/>
- <properties name="filteredExtension"/>
- </elements>
- <elements name="IntegerSpinner">
- <properties name="minimum" label="" description="The minimum value that this spinner can return"/>
- <properties name="maximum" description="The maximum value that this spinner can return"/>
- <properties name="increment" description="The increment value for this spinner"/>
- </elements>
- </elements>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.0"/>
- </dataContexts>
- <dataContexts name="Properties" label="Properties">
- <elements name="EcoreInstanceOf">
- <properties name="className" label="Class Name" description="The name of the Class"/>
- <properties name="nsUri" label="NS URI" description="The namespace URI (NsURI) of the EPackage containing the Class"/>
- </elements>
- <elements name="UMLInstanceOf">
- <properties name="umlClassName" label="UML Class name" description="The name of the UML Metaclass"/>
- </elements>
- <elements name="OCLQuery">
- <properties name="query" label="Query" type="Reference" description="The EMF Query"/>
- </elements>
- <elements name="Stereotype">
- <properties name="stereotypeName" label="Stereotype name" description="The fully qualified name of the Stereotype. The separator is &quot;::&quot;. For example : MyProfile::MyPackage::MyStereotype"/>
- </elements>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.1"/>
- </dataContexts>
+<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9"
+ xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9"
+ name="Customization">
+ <tabs label="Context" id="context" category="" priority="10">
+ <sections name="Single Environment" sectionFile="ui/SingleEnvironment.xwt">
+ <widget href="ui/SingleEnvironment.xwt#/" />
+ </sections>
+ <sections name="Multiple Environment" sectionFile="ui/MultipleEnvironment.xwt">
+ <widget href="ui/MultipleEnvironment.xwt#/" />
+ </sections>
+ <sections name="Single WidgetType" sectionFile="ui/SingleWidgetType.xwt">
+ <widget href="ui/SingleWidgetType.xwt#/" />
+ </sections>
+ <sections name="Multiple WidgetType" sectionFile="ui/MultipleWidgetType.xwt">
+ <widget href="ui/MultipleWidgetType.xwt#/" />
+ </sections>
+ <sections name="Single PropertyEditorType" sectionFile="ui/SinglePropertyEditorType.xwt">
+ <widget href="ui/SinglePropertyEditorType.xwt#/" />
+ </sections>
+ <sections name="Multiple PropertyEditorType" sectionFile="ui/MultiplePropertyEditorType.xwt">
+ <widget href="ui/MultiplePropertyEditorType.xwt#/" />
+ </sections>
+ <sections name="Single CompositeWidgetType" sectionFile="ui/SingleCompositeWidgetType.xwt">
+ <widget href="ui/SingleCompositeWidgetType.xwt#/" />
+ </sections>
+ <sections name="Multiple CompositeWidgetType" sectionFile="ui/MultipleCompositeWidgetType.xwt">
+ <widget href="ui/MultipleCompositeWidgetType.xwt#/" />
+ </sections>
+ <sections name="Single LayoutType" sectionFile="ui/SingleLayoutType.xwt">
+ <widget href="ui/SingleLayoutType.xwt#/" />
+ </sections>
+ <sections name="Multiple LayoutType" sectionFile="ui/MultipleLayoutType.xwt">
+ <widget href="ui/MultipleLayoutType.xwt#/" />
+ </sections>
+ <sections name="Single ConstraintType" sectionFile="ui/SingleConstraintType.xwt">
+ <widget href="ui/SingleConstraintType.xwt#/" />
+ </sections>
+ <sections name="Multiple ConstraintType" sectionFile="ui/MultipleConstraintType.xwt">
+ <widget href="ui/MultipleConstraintType.xwt#/" />
+ </sections>
+ <sections name="Single ModelElementFactoryDescriptor"
+ sectionFile="ui/SingleModelElementFactoryDescriptor.xwt">
+ <widget href="ui/SingleModelElementFactoryDescriptor.xwt#/" />
+ </sections>
+ <sections name="Multiple ModelElementFactoryDescriptor"
+ sectionFile="ui/MultipleModelElementFactoryDescriptor.xwt">
+ <widget href="ui/MultipleModelElementFactoryDescriptor.xwt#/" />
+ </sections>
+ <sections name="Single StandardWidgetType" sectionFile="ui/SingleStandardWidgetType.xwt">
+ <widget href="ui/SingleStandardWidgetType.xwt#/" />
+ </sections>
+ <sections name="Multiple StandardWidgetType" sectionFile="ui/MultipleStandardWidgetType.xwt">
+ <widget href="ui/MultipleStandardWidgetType.xwt#/" />
+ </sections>
+ <sections name="Single Context" sectionFile="ui/SingleContext.xwt">
+ <widget href="ui/SingleContext.xwt#/" />
+ </sections>
+ <sections name="Multiple Context" sectionFile="ui/MultipleContext.xwt">
+ <widget href="ui/MultipleContext.xwt#/" />
+ </sections>
+ <sections name="Single DisplayUnit" sectionFile="ui/SingleDisplayUnit.xwt">
+ <widget href="ui/SingleDisplayUnit.xwt#/" />
+ </sections>
+ <sections name="Multiple DisplayUnit" sectionFile="ui/MultipleDisplayUnit.xwt">
+ <widget href="ui/MultipleDisplayUnit.xwt#/" />
+ </sections>
+ <sections name="Single View" sectionFile="ui/SingleView.xwt">
+ <widget href="ui/SingleView.xwt#/" />
+ </sections>
+ <sections name="Multiple View" sectionFile="ui/MultipleView.xwt">
+ <widget href="ui/MultipleView.xwt#/" />
+ </sections>
+ <sections name="Single Tab" sectionFile="ui/SingleTab.xwt">
+ <widget href="ui/SingleTab.xwt#/" />
+ </sections>
+ <sections name="Multiple Tab" sectionFile="ui/MultipleTab.xwt">
+ <widget href="ui/MultipleTab.xwt#/" />
+ </sections>
+ <sections name="Single Section" sectionFile="ui/SingleSection.xwt">
+ <widget href="ui/SingleSection.xwt#/" />
+ </sections>
+ <sections name="Multiple Section" sectionFile="ui/MultipleSection.xwt">
+ <widget href="ui/MultipleSection.xwt#/" />
+ </sections>
+ <sections name="Single DataContextElement" sectionFile="ui/SingleDataContextElement.xwt">
+ <widget href="ui/SingleDataContextElement.xwt#/" />
+ </sections>
+ <sections name="Multiple DataContextElement" sectionFile="ui/MultipleDataContextElement.xwt">
+ <widget href="ui/MultipleDataContextElement.xwt#/" />
+ </sections>
+ <sections name="Single Property" sectionFile="ui/SingleProperty.xwt">
+ <widget href="ui/SingleProperty.xwt#/" />
+ </sections>
+ <sections name="Multiple Property" sectionFile="ui/MultipleProperty.xwt">
+ <widget href="ui/MultipleProperty.xwt#/" />
+ </sections>
+ <sections name="Single UnknownProperty" sectionFile="ui/SingleUnknownProperty.xwt">
+ <widget href="ui/SingleUnknownProperty.xwt#/" />
+ </sections>
+ <sections name="Multiple UnknownProperty" sectionFile="ui/MultipleUnknownProperty.xwt">
+ <widget href="ui/MultipleUnknownProperty.xwt#/" />
+ </sections>
+ <sections name="Single DataContextPackage" sectionFile="ui/SingleDataContextPackage.xwt">
+ <widget href="ui/SingleDataContextPackage.xwt#/" />
+ </sections>
+ <sections name="Multiple DataContextPackage" sectionFile="ui/MultipleDataContextPackage.xwt">
+ <widget href="ui/MultipleDataContextPackage.xwt#/" />
+ </sections>
+ <sections name="Single DataContextRoot" sectionFile="ui/SingleDataContextRoot.xwt">
+ <widget href="ui/SingleDataContextRoot.xwt#/" />
+ </sections>
+ <sections name="Multiple DataContextRoot" sectionFile="ui/MultipleDataContextRoot.xwt">
+ <widget href="ui/MultipleDataContextRoot.xwt#/" />
+ </sections>
+ <sections name="Single ConstraintDescriptor" sectionFile="ui/SingleConstraintDescriptor.xwt">
+ <widget href="ui/SingleConstraintDescriptor.xwt#/" />
+ </sections>
+ <sections name="Multiple ConstraintDescriptor" sectionFile="ui/MultipleConstraintDescriptor.xwt">
+ <widget href="ui/MultipleConstraintDescriptor.xwt#/" />
+ </sections>
+ <sections name="Single ConfigProperty" sectionFile="ui/SingleConfigProperty.xwt">
+ <widget href="ui/SingleConfigProperty.xwt#/" />
+ </sections>
+ <sections name="Multiple ConfigProperty" sectionFile="ui/MultipleConfigProperty.xwt">
+ <widget href="ui/MultipleConfigProperty.xwt#/" />
+ </sections>
+ <sections name="Single ValueProperty" sectionFile="ui/SingleValueProperty.xwt">
+ <widget href="ui/SingleValueProperty.xwt#/" />
+ </sections>
+ <sections name="Multiple ValueProperty" sectionFile="ui/MultipleValueProperty.xwt">
+ <widget href="ui/MultipleValueProperty.xwt#/" />
+ </sections>
+ <sections name="Single ReferenceProperty" sectionFile="ui/SingleReferenceProperty.xwt">
+ <widget href="ui/SingleReferenceProperty.xwt#/" />
+ </sections>
+ <sections name="Multiple ReferenceProperty" sectionFile="ui/MultipleReferenceProperty.xwt">
+ <widget href="ui/MultipleReferenceProperty.xwt#/" />
+ </sections>
+ <sections name="Single Element" sectionFile="ui/SingleElement.xwt">
+ <widget href="ui/SingleElement.xwt#/" />
+ </sections>
+ <sections name="Multiple Element" sectionFile="ui/MultipleElement.xwt">
+ <widget href="ui/MultipleElement.xwt#/" />
+ </sections>
+ <sections name="Single UIComponent" sectionFile="ui/SingleUIComponent.xwt">
+ <widget href="ui/SingleUIComponent.xwt#/" />
+ </sections>
+ <sections name="Multiple UIComponent" sectionFile="ui/MultipleUIComponent.xwt">
+ <widget href="ui/MultipleUIComponent.xwt#/" />
+ </sections>
+ <sections name="Single Widget" sectionFile="ui/SingleWidget.xwt">
+ <widget href="ui/SingleWidget.xwt#/" />
+ </sections>
+ <sections name="Multiple Widget" sectionFile="ui/MultipleWidget.xwt">
+ <widget href="ui/MultipleWidget.xwt#/" />
+ </sections>
+ <sections name="Single StandardWidget" sectionFile="ui/SingleStandardWidget.xwt">
+ <widget href="ui/SingleStandardWidget.xwt#/" />
+ </sections>
+ <sections name="Multiple StandardWidget" sectionFile="ui/MultipleStandardWidget.xwt">
+ <widget href="ui/MultipleStandardWidget.xwt#/" />
+ </sections>
+ <sections name="Single PropertyEditor" sectionFile="ui/SinglePropertyEditor.xwt">
+ <widget href="ui/SinglePropertyEditor.xwt#/" />
+ </sections>
+ <sections name="Multiple PropertyEditor" sectionFile="ui/MultiplePropertyEditor.xwt">
+ <widget href="ui/MultiplePropertyEditor.xwt#/" />
+ </sections>
+ <sections name="Single CompositeWidget" sectionFile="ui/SingleCompositeWidget.xwt">
+ <widget href="ui/SingleCompositeWidget.xwt#/" />
+ </sections>
+ <sections name="Multiple CompositeWidget" sectionFile="ui/MultipleCompositeWidget.xwt">
+ <widget href="ui/MultipleCompositeWidget.xwt#/" />
+ </sections>
+ <sections name="Single Layout" sectionFile="ui/SingleLayout.xwt">
+ <widget href="ui/SingleLayout.xwt#/" />
+ </sections>
+ <sections name="Multiple Layout" sectionFile="ui/MultipleLayout.xwt">
+ <widget href="ui/MultipleLayout.xwt#/" />
+ </sections>
+ <sections name="Single WidgetAttribute" sectionFile="ui/SingleWidgetAttribute.xwt">
+ <widget href="ui/SingleWidgetAttribute.xwt#/" />
+ </sections>
+ <sections name="Multiple WidgetAttribute" sectionFile="ui/MultipleWidgetAttribute.xwt">
+ <widget href="ui/MultipleWidgetAttribute.xwt#/" />
+ </sections>
+ <sections name="Single ValueAttribute" sectionFile="ui/SingleValueAttribute.xwt">
+ <widget href="ui/SingleValueAttribute.xwt#/" />
+ </sections>
+ <sections name="Multiple ValueAttribute" sectionFile="ui/MultipleValueAttribute.xwt">
+ <widget href="ui/MultipleValueAttribute.xwt#/" />
+ </sections>
+ <sections name="Single ReferenceAttribute" sectionFile="ui/SingleReferenceAttribute.xwt">
+ <widget href="ui/SingleReferenceAttribute.xwt#/" />
+ </sections>
+ <sections name="Multiple ReferenceAttribute" sectionFile="ui/MultipleReferenceAttribute.xwt">
+ <widget href="ui/MultipleReferenceAttribute.xwt#/" />
+ </sections>
+ <sections name="Single UnknownComponent" sectionFile="ui/SingleUnknownComponent.xwt">
+ <widget href="ui/SingleUnknownComponent.xwt#/" />
+ </sections>
+ <sections name="Multiple UnknownComponent" sectionFile="ui/MultipleUnknownComponent.xwt">
+ <widget href="ui/MultipleUnknownComponent.xwt#/" />
+ </sections>
+ <sections name="GroupAttributes" sectionFile="ui/GroupAttributes.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isGroup">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isGroup" />
+ </properties>
+ </constraints>
+ <widget href="ui/GroupAttributes.xwt#/" />
+ </sections>
+ <sections name="EcoreInstanceOf" sectionFile="ui/EcoreInstanceOf.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isEcoreInstanceOf">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isEcoreInstanceOf" />
+ </properties>
+ </constraints>
+ <widget href="ui/EcoreInstanceOf.xwt#/" />
+ </sections>
+ <sections name="UMLInstanceOf" sectionFile="ui/UMLInstanceOf.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isUMLInstanceOf">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isUmlInstanceOf" />
+ </properties>
+ </constraints>
+ <widget href="ui/UMLInstanceOf.xwt#/" />
+ </sections>
+ <sections name="OCLQuery" sectionFile="ui/OCLQuery.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isOCLQueryConstraint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isOclQuery" />
+ </properties>
+ </constraints>
+ <widget href="ui/OCLQuery.xwt#/" />
+ </sections>
+ <sections name="Stereotype" sectionFile="ui/Stereotype.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isStereotypeConstraint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isStereotype" />
+ </properties>
+ </constraints>
+ <widget href="ui/Stereotype.xwt#/" />
+ </sections>
+ <sections name="GridLayout" sectionFile="ui/GridLayout.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isGridLayout">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isGridLayout" />
+ </properties>
+ </constraints>
+ <widget href="ui/GridLayout.xwt#/" />
+ </sections>
+ <sections name="Label" sectionFile="ui/Label.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isSWTLabel">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isLabel" />
+ </properties>
+ </constraints>
+ <widget href="ui/Label.xwt#/" />
+ </sections>
+ <sections name="Single ToggleButton" sectionFile="ui/Single ToggleButton.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isSingleToggleButton">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isToggleButton" />
+ </properties>
+ </constraints>
+ <widget href="ui/Single ToggleButton.xwt#/" />
+ </sections>
+ <sections name="SingleFileSelector" sectionFile="ui/SingleFileSelector.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isSingleFileSelector">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isFileSelector" />
+ </properties>
+ </constraints>
+ <widget href="ui/SingleFileSelector.xwt#/" />
+ </sections>
+ <sections name="Single IntegerSpinner" sectionFile="ui/Single IntegerSpinner.xwt">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isIntegerSpinner">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
+ <properties xsi:type="constraints:ReferenceProperty"
+ name="query">
+ <value href="custom.querySet#isIntegerSpinner" />
+ </properties>
+ </constraints>
+ <widget href="ui/Single IntegerSpinner.xwt#/" />
+ </sections>
+ <sections name="SingleCompositeConstraint" sectionFile="ui/SingleCompositeConstraint.xwt">
+ <widget href="ui/SingleCompositeConstraint.xwt#/" />
+ </sections>
+ <sections name="MultipleCompositeConstraint" sectionFile="ui/MultipleCompositeConstraint.xwt">
+ <widget href="ui/MultipleCompositeConstraint.xwt#/" />
+ </sections>
+ </tabs>
+ <views name="Single Environment" sections="//@tabs.0/@sections.0"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleEnvironment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Environment" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple Environment" sections="//@tabs.0/@sections.1"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleEnvironment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Environment" />
+ </constraints>
+ </views>
+ <views name="Single WidgetType" sections="//@tabs.0/@sections.2"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="WidgetType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple WidgetType" sections="//@tabs.0/@sections.3"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="WidgetType" />
+ </constraints>
+ </views>
+ <views name="Single PropertyEditorType" sections="//@tabs.0/@sections.4"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePropertyEditorType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyEditorType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple PropertyEditorType" sections="//@tabs.0/@sections.5"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePropertyEditorType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyEditorType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Single CompositeWidgetType" sections="//@tabs.0/@sections.6"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCompositeWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeWidgetType" />
+ </constraints>
+ </views>
+ <views name="Multiple CompositeWidgetType" sections="//@tabs.0/@sections.7"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCompositeWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeWidgetType" />
+ </constraints>
+ </views>
+ <views name="Single LayoutType" sections="//@tabs.0/@sections.8"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLayoutType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="LayoutType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple LayoutType" sections="//@tabs.0/@sections.9"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLayoutType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="LayoutType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Single ConstraintType" sections="//@tabs.0/@sections.10"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConstraintType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConstraintType" />
+ </constraints>
+ </views>
+ <views name="Multiple ConstraintType" sections="//@tabs.0/@sections.11"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConstraintType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConstraintType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Single ModelElementFactoryDescriptor" sections="//@tabs.0/@sections.12"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isSingleModelElementFactoryDescriptor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ModelElementFactoryDescriptor" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple ModelElementFactoryDescriptor" sections="//@tabs.0/@sections.13"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isMultipleModelElementFactoryDescriptor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ModelElementFactoryDescriptor" />
+ </constraints>
+ </views>
+ <views name="Single StandardWidgetType" sections="//@tabs.0/@sections.14"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStandardWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StandardWidgetType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple StandardWidgetType" sections="//@tabs.0/@sections.15"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStandardWidgetType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StandardWidgetType" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/environment/0.9" />
+ </constraints>
+ </views>
+ <views name="Single Context" sections="//@tabs.0/@sections.16"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleContext">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Context" />
+ </constraints>
+ </views>
+ <views name="Multiple Context" sections="//@tabs.0/@sections.17"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleContext">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Context" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Single DisplayUnit" sections="//@tabs.0/@sections.18"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDisplayUnit">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DisplayUnit" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple DisplayUnit" sections="//@tabs.0/@sections.19"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDisplayUnit">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DisplayUnit" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <views name="Single View" sections="//@tabs.0/@sections.20"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="View" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple View" sections="//@tabs.0/@sections.21"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="View" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Single Tab" sections="//@tabs.0/@sections.22"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTab">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Tab" />
+ </constraints>
+ </views>
+ <views name="Multiple Tab" sections="//@tabs.0/@sections.23"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTab">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Tab" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Single Section" sections="//@tabs.0/@sections.24"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSection">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Section" />
+ </constraints>
+ </views>
+ <views name="Multiple Section" sections="//@tabs.0/@sections.25"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleSection">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Section" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Single DataContextElement" sections="//@tabs.0/@sections.26"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDataContextElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextElement" />
+ </constraints>
+ </views>
+ <views name="Multiple DataContextElement" sections="//@tabs.0/@sections.27"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDataContextElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextElement" />
+ </constraints>
+ </views>
+ <views name="Single Property" sections="//@tabs.0/@sections.28"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Property" />
+ </constraints>
+ </views>
+ <views name="Multiple Property" sections="//@tabs.0/@sections.29"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Property" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Single UnknownProperty" sections="//@tabs.0/@sections.30"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUnknownProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UnknownProperty" />
+ </constraints>
+ </views>
+ <views name="Multiple UnknownProperty" sections="//@tabs.0/@sections.31"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUnknownProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UnknownProperty" />
+ </constraints>
+ </views>
+ <views name="Single DataContextPackage" sections="//@tabs.0/@sections.32"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDataContextPackage">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextPackage" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple DataContextPackage" sections="//@tabs.0/@sections.33"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDataContextPackage">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextPackage" />
+ </constraints>
+ </views>
+ <views name="Single DataContextRoot" sections="//@tabs.0/@sections.34"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDataContextRoot">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextRoot" />
+ </constraints>
+ </views>
+ <views name="Multiple DataContextRoot" sections="//@tabs.0/@sections.35"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDataContextRoot">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/contexts/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataContextRoot" />
+ </constraints>
+ </views>
+ <views name="Single ConstraintDescriptor"
+ sections="//@tabs.0/@sections.36 //@tabs.0/@sections.67 //@tabs.0/@sections.68 //@tabs.0/@sections.69 //@tabs.0/@sections.70"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConstraintDescriptor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConstraintDescriptor" />
+ </constraints>
+ </views>
+ <views name="Multiple ConstraintDescriptor" sections="//@tabs.0/@sections.37"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConstraintDescriptor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConstraintDescriptor" />
+ </constraints>
+ </views>
+ <views name="Single ConfigProperty" sections="//@tabs.0/@sections.38"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConfigProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConfigProperty" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple ConfigProperty" sections="//@tabs.0/@sections.39"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConfigProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConfigProperty" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <views name="Single ValueProperty" sections="//@tabs.0/@sections.40"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleValueProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ValueProperty" />
+ </constraints>
+ </views>
+ <views name="Multiple ValueProperty" sections="//@tabs.0/@sections.41"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleValueProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ValueProperty" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <views name="Single ReferenceProperty" sections="//@tabs.0/@sections.42"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReferenceProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ReferenceProperty" />
+ </constraints>
+ </views>
+ <views name="Multiple ReferenceProperty" sections="//@tabs.0/@sections.43"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReferenceProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ReferenceProperty" />
+ </constraints>
+ </views>
+ <views name="Single Element" sections="//@tabs.0/@sections.44"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Element" />
+ </constraints>
+ </views>
+ <views name="Multiple Element" sections="//@tabs.0/@sections.45"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Element" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single UIComponent" sections="//@tabs.0/@sections.46"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUIComponent">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UIComponent" />
+ </constraints>
+ </views>
+ <views name="Multiple UIComponent" sections="//@tabs.0/@sections.47"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUIComponent">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UIComponent" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single Widget" sections="//@tabs.0/@sections.48"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Widget" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple Widget" sections="//@tabs.0/@sections.49"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Widget" />
+ </constraints>
+ </views>
+ <views name="Single StandardWidget" sections="//@tabs.0/@sections.50 //@tabs.0/@sections.72"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStandardWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StandardWidget" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple StandardWidget" sections="//@tabs.0/@sections.51"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStandardWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StandardWidget" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single PropertyEditor"
+ sections="//@tabs.0/@sections.52 //@tabs.0/@sections.73 //@tabs.0/@sections.74 //@tabs.0/@sections.75"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePropertyEditor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyEditor" />
+ </constraints>
+ </views>
+ <views name="Multiple PropertyEditor" sections="//@tabs.0/@sections.53"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePropertyEditor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyEditor" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single CompositeWidget" sections="//@tabs.0/@sections.54 //@tabs.0/@sections.66"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCompositeWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeWidget" />
+ </constraints>
+ </views>
+ <views name="Multiple CompositeWidget" sections="//@tabs.0/@sections.55"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCompositeWidget">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeWidget" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single Layout" sections="//@tabs.0/@sections.56 //@tabs.0/@sections.71"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLayout">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Layout" />
+ </constraints>
+ </views>
+ <views name="Multiple Layout" sections="//@tabs.0/@sections.57"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLayout">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Layout" />
+ </constraints>
+ </views>
+ <views name="Single WidgetAttribute" sections="//@tabs.0/@sections.58"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleWidgetAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="WidgetAttribute" />
+ </constraints>
+ </views>
+ <views name="Multiple WidgetAttribute" sections="//@tabs.0/@sections.59"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleWidgetAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="WidgetAttribute" />
+ </constraints>
+ </views>
+ <views name="Single ValueAttribute" sections="//@tabs.0/@sections.60"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleValueAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ValueAttribute" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple ValueAttribute" sections="//@tabs.0/@sections.61"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleValueAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ValueAttribute" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Single ReferenceAttribute" sections="//@tabs.0/@sections.62"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReferenceAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ReferenceAttribute" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="Multiple ReferenceAttribute" sections="//@tabs.0/@sections.63"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReferenceAttribute">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ReferenceAttribute" />
+ </constraints>
+ </views>
+ <views name="Single UnknownComponent" sections="//@tabs.0/@sections.64"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUnknownComponent">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UnknownComponent" />
+ </constraints>
+ </views>
+ <views name="Multiple UnknownComponent" sections="//@tabs.0/@sections.65"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUnknownComponent">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UnknownComponent" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/properties/ui/0.9" />
+ </constraints>
+ </views>
+ <views name="SingleCompositeConstraint" sections="//@tabs.0/@sections.76">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCompositeConstraint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeConstraint" />
+ </constraints>
+ </views>
+ <views name="MultipleCompositeConstraint" sections="//@tabs.0/@sections.77"
+ elementMultiplicity="-1">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCompositeConstraint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CompositeConstraint" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/constraints/0.9" />
+ </constraints>
+ </views>
+ <dataContexts name="properties" label="properties">
+ <elements xsi:type="contexts:DataContextPackage" name="environment">
+ <elements name="Environment">
+ <properties name="modelElementFactories" type="Reference"
+ multiplicity="-1" />
+ <properties name="constraintTypes" type="Reference"
+ multiplicity="-1" />
+ <properties name="widgetTypes" type="Reference"
+ multiplicity="-1" />
+ <properties name="propertyEditorTypes" type="Reference"
+ multiplicity="-1" />
+ <properties name="compositeWidgetTypes" type="Reference"
+ multiplicity="-1" />
+ <properties name="layoutTypes" type="Reference"
+ multiplicity="-1" />
+ </elements>
+ <elements name="PropertyEditorType" supertypes="//@dataContexts.0/@elements.0/@elements.2">
+ <properties name="type" type="Enumeration" />
+ <properties name="multiplicity" type="Integer" />
+ </elements>
+ <elements name="WidgetType">
+ <properties name="label" />
+ <properties name="widgetClass" />
+ </elements>
+ <elements name="CompositeWidgetType" supertypes="//@dataContexts.0/@elements.0/@elements.2" />
+ <elements name="LayoutType" supertypes="//@dataContexts.0/@elements.0/@elements.2" />
+ <elements name="ConstraintType">
+ <properties name="label" />
+ <properties name="constraintClass" />
+ </elements>
+ <elements name="ModelElementFactoryDescriptor">
+ <properties name="name" />
+ <properties name="factoryClass" />
+ </elements>
+ <elements name="StandardWidgetType" supertypes="//@dataContexts.0/@elements.0/@elements.2" />
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="contexts">
+ <elements name="Context">
+ <properties name="name" description="The name of the Configuration" />
+ <properties name="views" type="Reference" multiplicity="-1"
+ description="The list of views for this Configuration" />
+ <properties name="tabs" type="Reference" multiplicity="-1"
+ description="The list of tabs for this Configuration" />
+ <properties name="dataContexts" type="Reference"
+ multiplicity="-1" description="The list of Data Contexts used by this configuration" />
+ <properties name="dependencies" type="Reference"
+ multiplicity="-1"
+ description="The list of Configurations on which this configuration depends" />
+ </elements>
+ <elements name="DisplayUnit">
+ <properties name="constraints" type="Reference"
+ multiplicity="-1"
+ description="The constraints associated to this Display Unit. The unit will be displayed only if at least one constraint is matched" />
+ </elements>
+ <elements name="View" supertypes="//@dataContexts.0/@elements.1/@elements.1">
+ <properties name="name" description="The name of this view" />
+ <properties name="sections" type="Reference"
+ multiplicity="-1" description="The list of sections for this view" />
+ <properties name="automaticContext" label="" type="Boolean"
+ description="deprecated" />
+ <properties name="datacontexts" type="Reference"
+ multiplicity="-1" description="deprecated" />
+ <properties name="elementMultiplicity" label="" type="Integer"
+ description="The number of selected elements for which this view should be displayed. May be 1 (Single element), -1 (Any number of elements) or any positive integer (For a strict number of elements)" />
+ </elements>
+ <elements name="Tab">
+ <properties name="label" description="The tab's label" />
+ <properties name="id"
+ description="The tab's id. The ID should be unique within its category" />
+ <properties name="category" description="The tab's category" />
+ <properties name="image" label=""
+ description="The tab's image. The path should be of the form /&lt;plug-in id>/&lt;path to the image>" />
+ <properties name="afterTab" label="" type="Reference"
+ description="The tab after which this tab will be displayed. The afterTab's category should be the same as this tab's category" />
+ <properties name="sections" type="Reference"
+ multiplicity="-1"
+ description="The list of sections that can be displayed in this tab" />
+ <properties name="indented" label="" type="Boolean"
+ description="Indicates if this tab should be indented. The preview isn't available for indentation" />
+ <properties name="priority" type="Integer"
+ description="Indicates the priority for this tab. A lower priority means the tab will be placed before the other tabs. 0 is the highest priority, 100 is a very low priority." />
+ </elements>
+ <elements name="Section" supertypes="//@dataContexts.0/@elements.1/@elements.1">
+ <properties name="name"
+ description="The section's name. It should be unique within this Configuration" />
+ <properties name="tab" type="Reference"
+ description="The tab in which this section will be displayed" />
+ <properties name="sectionFile"
+ description="The XWT file containing this section's UI declaration" />
+ <properties name="widget" label="" type="Reference"
+ description="The SWT Widget representing this section" />
+ </elements>
+ <elements name="DataContextElement">
+ <properties name="name" label=""
+ description="The name of this Data Context element" />
+ <properties name="properties" label="" type="Reference"
+ multiplicity="-1" description="The list of properties of this Element" />
+ <properties name="package" type="Reference" description="This element's package" />
+ <properties name="supertypes" type="Reference"
+ multiplicity="-1" description="This element's direct supertypes" />
+ </elements>
+ <elements name="Property">
+ <properties name="name" label="" description="The name of the property" />
+ <properties name="label" description="The label of this property" />
+ <properties name="type" type="Enumeration" description="The type of this property" />
+ <properties name="contextElement" type="Reference"
+ description="The element to which this property belongs" />
+ <properties name="multiplicity" type="Integer"
+ description="The multiplicity of this property." />
+ <properties name="description" />
+ </elements>
+ <elements name="UnknownProperty" supertypes="//@dataContexts.0/@elements.1/@elements.6" />
+ <elements name="DataContextPackage" supertypes="//@dataContexts.0/@elements.1/@elements.5">
+ <properties name="elements" type="Reference"
+ multiplicity="-1"
+ description="The list of Data Context elements contained into this package" />
+ </elements>
+ <elements name="DataContextRoot" supertypes="//@dataContexts.0/@elements.1/@elements.8">
+ <properties name="label" label=""
+ description="The label of this Data Context root" />
+ <properties name="modelElementFactory" type="Reference"
+ description="The factory used to instantiate to ModelElements associated to all the DataContext Elements inside this DataContext Root" />
+ </elements>
+ <elements name="ConstraintDescriptor">
+ <properties name="name" description="The name of this constraint descriptor" />
+ <properties name="display" type="Reference"
+ description="The display unit (View or Section) associated to this constraint." />
+ <properties name="constraints" type="Reference"
+ multiplicity="-1"
+ description="The sub-constraints of this constraint (Used for Composite constraints - Not implemented yet)" />
+ <properties name="overriddenConstraints" type="Reference"
+ multiplicity="-1"
+ description="The constraints overridden by this constraint. If two constraints match a given selection, a constraint may override another one. In such a case, the overridden constraint's displayUnit won't be displayed. This property is dedicated to manual resolution of constraints : the Constraint classes may also implement an automatic resolution of conflicts" />
+ <properties name="overrideable" type="Boolean"
+ description="If set to false, this constraint cannot be automatically overridden by other constraints. Only constraints which explicitly specify they need to override this constraint (Through the &quot;overriddenConstraints&quot; property) will be able to disable it." />
+ </elements>
+ <elements name="ConfigProperty">
+ <properties name="name" description="The name of the property" />
+ </elements>
+ <elements name="ValueProperty" supertypes="//@dataContexts.0/@elements.1/@elements.11">
+ <properties name="value" description="The value of the property" />
+ </elements>
+ <elements name="ReferenceProperty" supertypes="//@dataContexts.0/@elements.1/@elements.11">
+ <properties name="value" label="" type="Reference"
+ description="The value of the property" />
+ </elements>
+ <elements name="CompositeConstraint" supertypes="//@dataContexts.0/@elements.1/@elements.10">
+ <properties name="constraints" type="Reference"
+ multiplicity="-1"
+ description="The sub-constraints owned by this composite constraint. The composite constraint is matched if and only if all its sub-constraints are matched." />
+ </elements>
+ <elements name="SimpleConstraint" supertypes="//@dataContexts.0/@elements.1/@elements.10">
+ <properties name="constraintType" type="Reference"
+ description="The type of this constraint" />
+ <properties name="properties" label="" type="Reference"
+ multiplicity="-1"
+ description="The list of properties used to instantiate this constraint (key - value pairs)" />
+ </elements>
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="ui">
+ <elements name="Element" />
+ <elements name="UIComponent" supertypes="//@dataContexts.0/@elements.2/@elements.0">
+ <properties name="attributes" type="Reference"
+ multiplicity="-1"
+ description="The attributes used to instantiate this element. Set of key - value pairs." />
+ </elements>
+ <elements name="Widget" supertypes="//@dataContexts.0/@elements.2/@elements.1" />
+ <elements name="StandardWidget" supertypes="//@dataContexts.0/@elements.2/@elements.2">
+ <properties name="widgetType" type="Reference"
+ description="The type of this widget" />
+ </elements>
+ <elements name="PropertyEditor" supertypes="//@dataContexts.0/@elements.2/@elements.2">
+ <properties name="property" type="Reference"
+ description="The property that this editor will edit" />
+ <properties name="readOnly" type="Boolean"
+ description="Indicates if this editor should be read-only. Note that in some cases, the read only state may be applied at runtime, independently of this field's value" />
+ <properties name="widgetType" type="Reference"
+ description="The type of this widget" />
+ <properties name="showLabel" type="Boolean"
+ description="If set to false, the property editor's label won't be displayed" />
+ <properties name="customLabel" label="Custom label"
+ description="Defines a custom label for this editor. The custom label will replace the property's default label (Only for this property editor)" />
+ </elements>
+ <elements name="CompositeWidget" supertypes="//@dataContexts.0/@elements.2/@elements.2">
+ <properties name="layout" type="Reference"
+ description="The layout of this widget" />
+ <properties name="widgets" type="Reference" multiplicity="-1"
+ description="The widgets directly contained into this Composite" />
+ <properties name="widgetType" type="Reference"
+ description="The type of this Composite widget." />
+ </elements>
+ <elements name="Layout" supertypes="//@dataContexts.0/@elements.2/@elements.1">
+ <properties name="layoutType" label="" type="Reference"
+ description="The type of this Layout" />
+ </elements>
+ <elements name="WidgetAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.0">
+ <properties name="name" description="The name of the attribute" />
+ </elements>
+ <elements name="ValueAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.7">
+ <properties name="value" description="The litteral value of this attribute" />
+ </elements>
+ <elements name="ReferenceAttribute" supertypes="//@dataContexts.0/@elements.2/@elements.7">
+ <properties name="value" type="Reference"
+ description="The value of this attribute" />
+ </elements>
+ <elements name="UnknownComponent" supertypes="//@dataContexts.0/@elements.2/@elements.2">
+ <properties name="typeName"
+ description="The fully-qualified name of this element" />
+ </elements>
+ </elements>
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.2" />
+ </dataContexts>
+ <dataContexts name="Custom" label="Custom">
+ <elements xsi:type="contexts:DataContextPackage" name="Attribute">
+ <elements name="GridLayout">
+ <properties name="numColumns" label="" type="Integer"
+ description="The number of columns of this layout" />
+ <properties name="makeColumnsEqualWidth"
+ description="Indicates if all columns should have the same width" />
+ </elements>
+ <elements name="Group">
+ <properties name="text" description="The label of this Group container" />
+ </elements>
+ <elements name="Text">
+ <properties name="text" description="The text to display" />
+ </elements>
+ <elements name="Label">
+ <properties name="text" label="Text" description="The text to display" />
+ </elements>
+ <elements name="BooleanToggle">
+ <properties name="image" label="Image" />
+ </elements>
+ <elements name="FileSelector">
+ <properties name="allowWorkspace" />
+ <properties name="allowFileSystem" />
+ <properties name="filteredExtension" />
+ </elements>
+ <elements name="IntegerSpinner">
+ <properties name="minimum" label=""
+ description="The minimum value that this spinner can return" />
+ <properties name="maximum"
+ description="The maximum value that this spinner can return" />
+ <properties name="increment" description="The increment value for this spinner" />
+ </elements>
+ </elements>
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.0" />
+ </dataContexts>
+ <dataContexts name="Properties" label="Properties">
+ <elements name="EcoreInstanceOf">
+ <properties name="className" label="Class Name"
+ description="The name of the Class" />
+ <properties name="nsUri" label="NS URI"
+ description="The namespace URI (NsURI) of the EPackage containing the Class" />
+ </elements>
+ <elements name="UMLInstanceOf">
+ <properties name="umlClassName" label="UML Class name"
+ description="The name of the UML Metaclass" />
+ </elements>
+ <elements name="OCLQuery">
+ <properties name="query" label="Query" type="Reference"
+ description="The EMF Query" />
+ </elements>
+ <elements name="Stereotype">
+ <properties name="stereotypeName" label="Stereotype name"
+ description="The fully qualified name of the Stereotype. The separator is &quot;::&quot;. For example : MyProfile::MyPackage::MyStereotype" />
+ </elements>
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi#//@modelElementFactories.1" />
+ </dataContexts>
</contexts:Context>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi
index 0dea7f87b3b..89723b198ad 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/CustomizationEnvironment.xmi
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ASCII"?>
-<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment">
+<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment/0.9">
<modelElementFactories name="Generic Attribute" factoryClass="org.eclipse.papyrus.customization.properties.modelelement.GenericAttributeModelElementFactory"/>
<modelElementFactories name="Generic Property" factoryClass="org.eclipse.papyrus.customization.properties.modelelement.GenericPropertyModelElementFactory"/>
<modelElementFactories name="Customization Factory" factoryClass="org.eclipse.papyrus.customization.properties.modelelement.CustomizationModelElementFactory"/>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/custom.querySet b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/custom.querySet
index cc5e9d28125..0f70e58f9fb 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/Model/custom.querySet
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/Model/custom.querySet
@@ -1,45 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="custom">
- <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/contexts#/"/>
- <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/contexts/0.9#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui/0.9#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/constraints/0.9#/"/>
<queries xsi:type="query:OCLModelQuery" name="isGroup" lowerBound="1" query="widgetType.widgetClass = 'Group' and widgetType.namespace.oclIsUndefined()">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//CompositeWidget"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//CompositeWidget"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isUmlInstanceOf" description="" lowerBound="1" query="self.constraintType.constraintClass = 'org.eclipse.papyrus.views.properties.uml.constraints.UmlInstanceOfConstraint'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//ConstraintDescriptor"/>
+ <scope href="http://www.eclipse.org/papyrus/constraints/0.9#//ConstraintDescriptor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isEcoreInstanceOf" lowerBound="1" query="self.constraintType.constraintClass = 'org.eclipse.papyrus.views.properties.constraints.EMFInstanceOfConstraint'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//ConstraintDescriptor"/>
+ <scope href="http://www.eclipse.org/papyrus/constraints/0.9#//ConstraintDescriptor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isOclQuery" lowerBound="1" query="self.constraintType.constraintClass = 'org.eclipse.papyrus.views.properties.constraints.EMFQueryConstraint'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//ConstraintDescriptor"/>
+ <scope href="http://www.eclipse.org/papyrus/constraints/0.9#//ConstraintDescriptor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isStereotype" description="" lowerBound="1" query="self.constraintType.constraintClass = 'org.eclipse.papyrus.views.properties.uml.constraints.HasStereotypeConstraint'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//ConstraintDescriptor"/>
+ <scope href="http://www.eclipse.org/papyrus/constraints/0.9#//ConstraintDescriptor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isGridLayout" lowerBound="1" query="layoutType.widgetClass = 'GridLayout' or (layoutType.widgetClass = 'PropertiesLayout' and layoutType.namespace.name = 'ppel')">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//Layout"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//Layout"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isLabel" description="Tests if a standard widget is an SWT Label" lowerBound="1" query="self.widgetType.widgetClass = 'Label' and widgetType.namespace.oclIsUndefined()">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//StandardWidget"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//StandardWidget"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isToggleButton" description="Tests if the given PropertyEditor is a ToggleButton" lowerBound="1" query="widgetType.widgetClass = 'BooleanToggle' and widgetType.namespace.name = 'ppe'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//PropertyEditor"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//PropertyEditor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isFileSelector" description="Tests if a PropertyEditor is a File Selector" lowerBound="1" query="widgetType.widgetClass = 'StringFileSelector' and widgetType.namespace.name = 'ppe'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//PropertyEditor"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//PropertyEditor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="isIntegerSpinner" description="Tests if a PropertyEditor is an IntegerSpinner" lowerBound="1" query="widgetType.widgetClass = 'IntegerSpinner' and widgetType.namespace.name = 'ppe'">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//PropertyEditor"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//PropertyEditor"/>
</queries>
</query:ModelQuerySet>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Contexts.querySet b/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Contexts.querySet
index 45066af28fc..7bf736b16da 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Contexts.querySet
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Contexts.querySet
@@ -1,53 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="Contexts" description="">
- <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/contexts#/"/>
- <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/contexts/0.9#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui/0.9#/"/>
<queries xsi:type="query:OCLModelQuery" name="Tab label" description="Tab label" lowerBound="1" query="if label.oclIsUndefined() or label = '' then '&lt;&lt;Unnamed>>' else label endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Tab"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Tab"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="View label" description="View label" lowerBound="1" query="if name = null or name = '' then '&lt;&lt;Unnamed>>' else name endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//View"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//View"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Context label" description="Context label" lowerBound="1" query="if name = null or name = '' then '&lt;&lt;Unnamed>>' else name endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Context"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Context"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Section label" description="Section label" lowerBound="1" query="if name = null or name = '' then '&lt;&lt;Unnamed>>' else name.concat(if tab.oclIsUndefined() then ' [&lt;&lt;Undefined>>]' else ' ['.concat(tab.label).concat(']') endif) endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Section"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Section"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Property editor label" description="Returns the PropertyEditor label" lowerBound="1" query="if property.oclIsUndefined() then '&lt;&lt;Undefined>>' else if property.label.oclIsUndefined() or property.label = '' then property.name else _property.label endif endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//PropertyEditor"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//PropertyEditor"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Composite label" lowerBound="1" query="if widgetType = null then '&lt;&lt;Undefined>>' else widgetType.label endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//CompositeWidget"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//CompositeWidget"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Layout label" description="Layout label" lowerBound="1" query="if layoutType = null then '&lt;&lt;Undefined>>' else layoutType.label endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//Layout"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//Layout"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Attribute label" lowerBound="1" query="if name = null or name = '' then '&lt;&lt;Undefined>>' else name endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//WidgetAttribute"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//WidgetAttribute"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="Property label" description="Property label" lowerBound="1" query="if label.oclIsUndefined() or label = '' then name else label endif">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Property"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Property"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="DataContextElement label" description="DataContextElement label" lowerBound="1" query="name">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//DataContextElement"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//DataContextElement"/>
</queries>
<queries xsi:type="query:JavaModelQuery" name="showDataContext-j" description="Tests if the data contexts should be displayed" lowerBound="1" implementationClassName="org.eclipse.papyrus.customization.properties.query.ShowContextQuery">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Context"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Context"/>
</queries>
<queries xsi:type="query:OCLModelQuery" name="showDataContext" description="Blabla" lowerBound="1" query="true">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/contexts#//Context"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/contexts/0.9#//Context"/>
</queries>
</query:ModelQuerySet>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Ui.querySet b/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Ui.querySet
index d35080e5d2f..b49354963c5 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Ui.querySet
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/Query/Ui.querySet
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="ASCII"?>
<query:ModelQuerySet xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" name="Ui">
- <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui#/"/>
+ <associatedMetamodels href="http://www.eclipse.org/papyrus/properties/ui/0.9#/"/>
<queries xsi:type="query:OCLModelQuery" name="isReferenceAttribute" description="Tests if an attribute is a ReferenceAttribute" lowerBound="1" query="self.oclIsKindOf(ReferenceAttribute)">
<returnType xsi:type="ecore:EDataType" href="http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
- <scope href="http://www.eclipse.org/papyrus/properties/ui#//WidgetAttribute"/>
+ <scope href="http://www.eclipse.org/papyrus/properties/ui/0.9#//WidgetAttribute"/>
</queries>
</query:ModelQuerySet>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/context.uiCustom b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/context.uiCustom
index 76b5a18db6a..5f76864bf4d 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/context.uiCustom
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/context.uiCustom
@@ -1,330 +1,471 @@
<?xml version="1.0" encoding="ASCII"?>
-<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/papyrus/properties/contexts">
+<uicustom:MetamodelView
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation"
+ xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8"
+ metamodelURI="http://www.eclipse.org/papyrus/properties/contexts/0.9">
<types metaclassName="contexts.Context">
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#Context label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#Context label"/>
</defaultValue>
</customizedFeatures>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="constraints">
+ <references
+ referenceName="constraints">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="views">
- <customizedFeatures customizedFeature="icon">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="/org.eclipse.papyrus.customization.properties/icons/MultiView.gif"/>
- </customizedFeatures>
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="Views"/>
+ <references
+ referenceName="views">
+ <customizedFeatures
+ customizedFeature="icon">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="/org.eclipse.papyrus.customization.properties/icons/MultiView.gif"/>
+ </customizedFeatures>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="Views"/>
</customizedFeatures>
</references>
- <references referenceName="tabs">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <references
+ referenceName="tabs">
+ <customizedFeatures
+ customizedFeature="collapseLink">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
</references>
- <references referenceName="dataContexts">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:JavaModelQuery" href="emffacet:/query/Contexts#showDataContext-j"/>
+ <references
+ referenceName="dataContexts">
+ <customizedFeatures>
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:JavaModelQuery"
+ href="emffacet:/query/Contexts#showDataContext-j"/>
</defaultValue>
</customizedFeatures>
- <customizedFeatures customizedFeature="icon">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="/org.eclipse.papyrus.customization.properties/icons/DataContexts.gif"/>
+ <customizedFeatures
+ customizedFeature="icon">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="/org.eclipse.papyrus.customization.properties/icons/DataContexts.gif"/>
</customizedFeatures>
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="Data contexts"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="Data contexts"/>
</customizedFeatures>
</references>
- <references referenceName="dependencies">
+ <references
+ referenceName="dependencies">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="eAnnotations">
+ <references
+ referenceName="eAnnotations">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
- <types metaclassName="contexts.ConfigProperty">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </types>
<types metaclassName="contexts.DataContextElement">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#DataContextElement label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#DataContextElement label"/>
</defaultValue>
</customizedFeatures>
- <customizedFeatures customizedFeature="hideMetaclassName">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <customizedFeatures
+ customizedFeature="hideMetaclassName">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="properties">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <references
+ referenceName="properties">
+ <customizedFeatures
+ customizedFeature="collapseLink">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
</references>
- <references referenceName="package">
+ <references
+ referenceName="package">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="supertypes">
+ <references
+ referenceName="supertypes">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
<types metaclassName="contexts.DataContextPackage">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <references referenceName="elements">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <references
+ referenceName="elements">
+ <customizedFeatures
+ customizedFeature="collapseLink">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
</references>
</types>
<types metaclassName="contexts.DataContextRoot">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <attributes attributeName="label">
+ <attributes
+ attributeName="label">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="modelElementFactory">
+ <references
+ referenceName="modelElementFactory">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
<types metaclassName="contexts.Property">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#Property label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#Property label"/>
</defaultValue>
</customizedFeatures>
- <customizedFeatures customizedFeature="hideMetaclassName">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <customizedFeatures
+ customizedFeature="hideMetaclassName">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
- <attributes attributeName="description">
+ <attributes
+ attributeName="description">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="label">
+ <attributes
+ attributeName="label">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="multiplicity">
+ <attributes
+ attributeName="multiplicity">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="type">
+ <attributes
+ attributeName="type">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="contextElement">
+ <references
+ referenceName="contextElement">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
- <types metaclassName="contexts.ReferenceProperty">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </types>
<types metaclassName="contexts.Section">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#Section label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#Section label"/>
</defaultValue>
</customizedFeatures>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="sectionFile">
+ <attributes
+ attributeName="sectionFile">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="tab">
+ <references
+ referenceName="tab">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="widget">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <references
+ referenceName="widget">
+ <customizedFeatures
+ customizedFeature="collapseLink">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
</references>
- <references referenceName="constraints">
+ <references
+ referenceName="constraints">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
<types metaclassName="contexts.Tab">
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#Tab label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#Tab label"/>
</defaultValue>
</customizedFeatures>
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
- <attributes attributeName="category">
+ <attributes
+ attributeName="category">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="id">
+ <attributes
+ attributeName="id">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="image">
+ <attributes
+ attributeName="image">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="label">
+ <attributes
+ attributeName="label">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="afterTab">
+ <references
+ referenceName="afterTab">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="sections">
+ <references
+ referenceName="sections">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
<types metaclassName="contexts.View">
- <customizedFeatures customizedFeature="label">
- <defaultValue xsi:type="uicustom:DerivedFeatureValue">
- <valueCalculator xsi:type="query:OCLModelQuery" href="emffacet:/query/Contexts#View label"/>
+ <customizedFeatures
+ customizedFeature="label">
+ <defaultValue
+ xsi:type="uicustom:DerivedFeatureValue">
+ <valueCalculator
+ xsi:type="query:OCLModelQuery"
+ href="emffacet:/query/Contexts#View label"/>
</defaultValue>
</customizedFeatures>
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
- <attributes attributeName="elementMultiplicity">
+ <attributes
+ attributeName="elementMultiplicity">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="name">
+ <attributes
+ attributeName="name">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <attributes attributeName="automaticContext">
+ <attributes
+ attributeName="automaticContext">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</attributes>
- <references referenceName="constraints">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </references>
- <references referenceName="sections">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
- </customizedFeatures>
- </references>
- <references referenceName="datacontexts">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </references>
- <references referenceName="context">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </references>
- </types>
- <types metaclassName="contexts.ValueProperty">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </types>
- <types metaclassName="contexts.DisplayUnit">
- <references referenceName="constraints">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </references>
- </types>
- <types metaclassName="contexts.ConstraintDescriptor">
- <references referenceName="display">
- <customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
- </customizedFeatures>
- </references>
- <references referenceName="constraintType">
+ <references
+ referenceName="constraints">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="constraints">
- <customizedFeatures customizedFeature="collapseLink">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
+ <references
+ referenceName="sections">
+ <customizedFeatures
+ customizedFeature="collapseLink">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="true"/>
</customizedFeatures>
</references>
- <references referenceName="properties">
+ <references
+ referenceName="datacontexts">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
- <references referenceName="overriddenConstraints">
+ <references
+ referenceName="context">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/environment.uiCustom b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/environment.uiCustom
index 17f4809a2b9..a4524c6dc0a 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/environment.uiCustom
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/environment.uiCustom
@@ -1,18 +1,24 @@
<?xml version="1.0" encoding="ASCII"?>
-<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/papyrus/properties/environment">
+<uicustom:MetamodelView
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8"
+ metamodelURI="http://www.eclipse.org/papyrus/properties/environment/0.9">
<types metaclassName="environment.Environment">
- <customizedFeatures customizedFeature="metaclassVisible">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <customizedFeatures
+ customizedFeature="metaclassVisible">
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
- <references referenceName="eAnnotations">
+ <references
+ referenceName="eAnnotations">
<customizedFeatures>
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="false"/>
+ <defaultValue
+ xsi:type="uicustom:StaticFeatureValue"
+ value="false"/>
</customizedFeatures>
</references>
</types>
- <types metaclassName="environment.ConstraintType">
- <customizedFeatures customizedFeature="bold">
- <defaultValue xsi:type="uicustom:StaticFeatureValue" value="true"/>
- </customizedFeatures>
- </types>
</uicustom:MetamodelView>
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/ui.uiCustom b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/ui.uiCustom
index e0dd487b017..236f250f80a 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/ui.uiCustom
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/UICustom/ui.uiCustom
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ASCII"?>
-<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/papyrus/properties/ui">
+<uicustom:MetamodelView xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:query="http://www.eclipse.org/EmfFacet/infra/query/0.8.incubation" xmlns:uicustom="http://www.eclipse.org/EmfFacet/infra/browser/custom/0.8" metamodelURI="http://www.eclipse.org/papyrus/properties/ui/0.9">
<types metaclassName="ui.CompositeWidget">
<customizedFeatures customizedFeature="label">
<defaultValue xsi:type="uicustom:DerivedFeatureValue">
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextAction.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextAction.java
index 1dc0ca6dbcd..d1ea2769cbf 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextAction.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/editor/actions/ToggleDataContextAction.java
@@ -14,7 +14,6 @@ package org.eclipse.papyrus.customization.properties.editor.actions;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.commands.State;
import org.eclipse.papyrus.customization.properties.editor.UIEditor;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.PlatformUI;
@@ -40,8 +39,8 @@ public class ToggleDataContextAction extends AbstractHandler {
uiEditor.getViewer().refresh();
}
- State state = event.getCommand().getState("org.eclipse.papyrus.customization.properties.displayContextState"); //$NON-NLS-1$
- state.setValue(showDataContext);
+ // State state = event.getCommand().getState("org.eclipse.papyrus.customization.properties.displayContextState"); //$NON-NLS-1$
+ // state.setValue(showDataContext);
return null;
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElement.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElement.java
index 8fec6f50abe..247c5eb2b9e 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElement.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/CustomizationModelElement.java
@@ -27,6 +27,7 @@ import org.eclipse.papyrus.customization.properties.providers.EnvironmentContent
import org.eclipse.papyrus.customization.properties.providers.PropertyContentProvider;
import org.eclipse.papyrus.customization.properties.providers.PropertyEditorTypeContentProvider;
import org.eclipse.papyrus.customization.properties.providers.TabContentProvider;
+import org.eclipse.papyrus.infra.constraints.ConstraintsPackage;
import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
import org.eclipse.papyrus.infra.widgets.creation.ReferenceValueFactory;
import org.eclipse.papyrus.infra.widgets.providers.EmptyContentProvider;
@@ -79,7 +80,7 @@ public class CustomizationModelElement extends AbstractModelElement {
providers = new HashMap<EClassifier, IStaticContentProvider>();
providers.put(EnvironmentPackage.eINSTANCE.getCompositeWidgetType(), new EnvironmentContentProvider(EnvironmentPackage.eINSTANCE.getEnvironment_CompositeWidgetTypes()));
providers.put(EnvironmentPackage.eINSTANCE.getStandardWidgetType(), new EnvironmentContentProvider(EnvironmentPackage.eINSTANCE.getEnvironment_WidgetTypes()));
- providers.put(EnvironmentPackage.eINSTANCE.getConstraintType(), new EnvironmentContentProvider(EnvironmentPackage.eINSTANCE.getEnvironment_ConstraintTypes()));
+ providers.put(org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.eINSTANCE.getConstraintType(), new EnvironmentContentProvider(org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.eINSTANCE.getConstraintEnvironment_ConstraintTypes()));
providers.put(EnvironmentPackage.eINSTANCE.getLayoutType(), new EnvironmentContentProvider(EnvironmentPackage.eINSTANCE.getEnvironment_LayoutTypes()));
providers.put(EnvironmentPackage.eINSTANCE.getModelElementFactoryDescriptor(), new EnvironmentContentProvider(EnvironmentPackage.eINSTANCE.getEnvironment_ModelElementFactories()));
}
@@ -109,7 +110,7 @@ public class CustomizationModelElement extends AbstractModelElement {
//Sections can only be moved to tabs from non-plugin contexts
boolean editableTabsOnly = delegate.getSource() instanceof Section;
return new TabContentProvider(delegate.getSource(), editableTabsOnly);
- } else if(classifier instanceof EClass && EMFHelper.isSubclass((EClass)classifier, ContextsPackage.eINSTANCE.getConstraintDescriptor())) {
+ } else if(classifier instanceof EClass && EMFHelper.isSubclass((EClass)classifier, ConstraintsPackage.eINSTANCE.getConstraintDescriptor())) {
return new ConstraintDescriptorContentProvider(delegate.getSource(), (EClass)classifier);
} else if(isDataContextElement(classifier)) {
return new DataContextElementContentProvider((DataContextElement)delegate.getSource());
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElement.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElement.java
index 84df9b34929..99cada000d7 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElement.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericAttributeModelElement.java
@@ -24,11 +24,11 @@ import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.facet.infra.query.ModelQuery;
import org.eclipse.jface.viewers.ILabelProvider;
+import org.eclipse.papyrus.infra.constraints.ConfigProperty;
+import org.eclipse.papyrus.infra.emf.providers.EMFLabelProvider;
import org.eclipse.papyrus.infra.widgets.providers.AbstractStaticContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
-import org.eclipse.papyrus.views.properties.contexts.ConfigProperty;
import org.eclipse.papyrus.views.properties.modelelement.AbstractModelElement;
-import org.eclipse.papyrus.views.properties.providers.EMFObjectLabelProvider;
import org.eclipse.papyrus.views.properties.ui.WidgetAttribute;
/**
@@ -124,7 +124,7 @@ public class GenericAttributeModelElement extends AbstractModelElement {
@Override
public ILabelProvider getLabelProvider(String propertyPath) {
- return new EMFObjectLabelProvider();
+ return new EMFLabelProvider();
}
@Override
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericPropertyModelElementFactory.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericPropertyModelElementFactory.java
index 0997fc2a501..3d0167e7291 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericPropertyModelElementFactory.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/GenericPropertyModelElementFactory.java
@@ -16,11 +16,11 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.papyrus.infra.constraints.ConfigProperty;
+import org.eclipse.papyrus.infra.constraints.ConstraintsPackage;
import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
import org.eclipse.papyrus.views.properties.Activator;
-import org.eclipse.papyrus.views.properties.contexts.ConfigProperty;
import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.DataContextElement;
import org.eclipse.papyrus.views.properties.modelelement.ModelElement;
import org.eclipse.papyrus.views.properties.modelelement.ModelElementFactory;
@@ -44,9 +44,9 @@ public class GenericPropertyModelElementFactory implements ModelElementFactory {
EditingDomain domain = AdapterFactoryEditingDomain.getEditingDomainFor(source);
- EClass valueProperty = ContextsPackage.eINSTANCE.getValueProperty();
- EClass referenceProperty = ContextsPackage.eINSTANCE.getReferenceProperty();
- EStructuralFeature attributes = ContextsPackage.eINSTANCE.getSimpleConstraint_Properties();
+ EClass valueProperty = ConstraintsPackage.eINSTANCE.getValueProperty();
+ EClass referenceProperty = ConstraintsPackage.eINSTANCE.getReferenceProperty();
+ EStructuralFeature attributes = ConstraintsPackage.eINSTANCE.getSimpleConstraint_Properties();
return new GenericAttributeModelElement(source, domain, attributes, ContextsFactory.eINSTANCE, valueProperty, referenceProperty);
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/SectionNameObservableValue.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/SectionNameObservableValue.java
index 6ad4324442e..52a58ca84e6 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/SectionNameObservableValue.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/modelelement/SectionNameObservableValue.java
@@ -20,9 +20,9 @@ import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.emf.ecore.resource.ResourceSet;
import org.eclipse.emf.edit.command.SetCommand;
import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.papyrus.infra.emf.databinding.EMFObservableValue;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.Section;
-import org.eclipse.papyrus.views.properties.databinding.EMFObservableValue;
/**
* An ObservableValue for handling changes in a section's name.
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/AbstractContextualContentProvider.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/AbstractContextualContentProvider.java
index a47882da905..34335d381cc 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/AbstractContextualContentProvider.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/AbstractContextualContentProvider.java
@@ -20,7 +20,7 @@ import org.eclipse.emf.ecore.resource.Resource;
import org.eclipse.papyrus.infra.widgets.providers.AbstractFilteredContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
import org.eclipse.papyrus.views.properties.contexts.Context;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
/**
* An abstract implementation of {@link IStaticContentProvider} for
@@ -69,6 +69,6 @@ public abstract class AbstractContextualContentProvider extends AbstractFiltered
}
}
- return Util.getDependencies(rootContext);
+ return PropertiesUtil.getDependencies(rootContext);
}
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ConstraintDescriptorContentProvider.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ConstraintDescriptorContentProvider.java
index 70bb1eee0b0..e9d6f0f073e 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ConstraintDescriptorContentProvider.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ConstraintDescriptorContentProvider.java
@@ -16,9 +16,9 @@ import java.util.List;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
+import org.eclipse.papyrus.infra.constraints.ConstraintDescriptor;
+import org.eclipse.papyrus.infra.constraints.DisplayUnit;
import org.eclipse.papyrus.views.properties.contexts.Context;
-import org.eclipse.papyrus.views.properties.contexts.DisplayUnit;
import org.eclipse.papyrus.views.properties.contexts.Section;
import org.eclipse.papyrus.views.properties.contexts.Tab;
import org.eclipse.papyrus.views.properties.contexts.View;
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextContentProvider.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextContentProvider.java
index 0b7f4862454..4b9d461fa83 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextContentProvider.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/providers/ContextContentProvider.java
@@ -20,7 +20,7 @@ import org.eclipse.emf.facet.infra.browser.uicore.CustomizableModelContentProvid
import org.eclipse.emf.facet.infra.browser.uicore.CustomizationManager;
import org.eclipse.papyrus.customization.properties.Activator;
import org.eclipse.papyrus.views.properties.contexts.Context;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
/**
* The customization editor's content provider. Based on the EMF Facet
@@ -66,7 +66,7 @@ public class ContextContentProvider extends CustomizableModelContentProvider {
Set<Context> allContexts = new LinkedHashSet<Context>();
for(EObject element : elements) {
if(element instanceof Context) {
- allContexts.addAll(Util.getDependencies((Context)element));
+ allContexts.addAll(PropertiesUtil.getDependencies((Context)element));
}
}
elements.addAll(allContexts);
diff --git a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CopyContextAction.java b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CopyContextAction.java
index 7568dcf9a71..1220ac8f906 100644
--- a/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CopyContextAction.java
+++ b/plugins/customization/org.eclipse.papyrus.customization.properties/src/org/eclipse/papyrus/customization/properties/ui/CopyContextAction.java
@@ -46,7 +46,7 @@ import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.Section;
import org.eclipse.papyrus.views.properties.contexts.Tab;
import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
import org.eclipse.swt.widgets.Display;
/**
@@ -177,7 +177,7 @@ public class CopyContextAction {
int filesToCopy = source.eResource().getResourceSet().getResources().size();
List<Context> contexts = new LinkedList<Context>();
- for(Context context : Util.getDependencies(source)) {
+ for(Context context : PropertiesUtil.getDependencies(source)) {
if(isRelative(source, context.eResource())) {
contexts.add(context);
for(Tab tab : context.getTabs()) {
diff --git a/plugins/customization/org.eclipse.papyrus.customization/META-INF/MANIFEST.MF b/plugins/customization/org.eclipse.papyrus.customization/META-INF/MANIFEST.MF
index 7281b5bfbcb..a42bed34672 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/META-INF/MANIFEST.MF
+++ b/plugins/customization/org.eclipse.papyrus.customization/META-INF/MANIFEST.MF
@@ -24,7 +24,8 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.edit;bundle-version="2.7.0",
org.eclipse.emf.databinding;bundle-version="1.2.0",
org.eclipse.papyrus.views.properties.model;bundle-version="0.9.0",
- org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0"
Bundle-Vendor: %providerName
Bundle-Version: 0.9.0.qualifier
Bundle-ManifestVersion: 2
diff --git a/plugins/customization/org.eclipse.papyrus.customization/Model/Customization/Customization.ctx b/plugins/customization/org.eclipse.papyrus.customization/Model/Customization/Customization.ctx
index bb691043108..f7f9cbd7971 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/Model/Customization/Customization.ctx
+++ b/plugins/customization/org.eclipse.papyrus.customization/Model/Customization/Customization.ctx
@@ -1,219 +1,312 @@
<?xml version="1.0" encoding="ASCII"?>
-<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts" name="customization">
- <tabs label="Default" id="default" category="default">
- <sections name="Single CustomizationConfiguration" sectionFile="ui/SingleCustomizationConfiguration.xwt">
- <widget href="ui/SingleCustomizationConfiguration.xwt#/"/>
- </sections>
- <sections name="Single CustomizableElement" sectionFile="ui/SingleCustomizableElement.xwt">
- <widget href="ui/SingleCustomizableElement.xwt#/"/>
- </sections>
- <sections name="Single FileBasedCustomizableElement" sectionFile="ui/SingleFileBasedCustomizableElement.xwt">
- <widget href="ui/SingleFileBasedCustomizableElement.xwt#/"/>
- </sections>
- <sections name="Single PropertyView" sectionFile="ui/SinglePropertyView.xwt">
- <widget href="ui/SinglePropertyView.xwt#/"/>
- </sections>
- <sections name="Single UICustom" sectionFile="ui/SingleUICustom.xwt">
- <widget href="ui/SingleUICustom.xwt#/"/>
- </sections>
- <sections name="Single ModelTemplate" sectionFile="ui/SingleModelTemplate.xwt">
- <widget href="ui/SingleModelTemplate.xwt#/"/>
- </sections>
- <sections name="Single Palette" sectionFile="ui/SinglePalette.xwt">
- <widget href="ui/SinglePalette.xwt#/"/>
- </sections>
- <sections name="Single Profile" sectionFile="ui/SingleProfile.xwt">
- <widget href="ui/SingleProfile.xwt#/"/>
- </sections>
- <sections name="Single UMLModel" sectionFile="ui/SingleUMLModel.xwt">
- <widget href="ui/SingleUMLModel.xwt#/"/>
- </sections>
- <sections name="Multiple CustomizationConfiguration" sectionFile="ui/MultipleCustomizationConfiguration.xwt">
- <widget href="ui/MultipleCustomizationConfiguration.xwt#/"/>
- </sections>
- <sections name="Multiple CustomizableElement" sectionFile="ui/MultipleCustomizableElement.xwt">
- <widget href="ui/MultipleCustomizableElement.xwt#/"/>
- </sections>
- <sections name="Multiple FileBasedCustomizableElement" sectionFile="ui/MultipleFileBasedCustomizableElement.xwt">
- <widget href="ui/MultipleFileBasedCustomizableElement.xwt#/"/>
- </sections>
- <sections name="Multiple PropertyView" sectionFile="ui/MultiplePropertyView.xwt">
- <widget href="ui/MultiplePropertyView.xwt#/"/>
- </sections>
- <sections name="Multiple UICustom" sectionFile="ui/MultipleUICustom.xwt">
- <widget href="ui/MultipleUICustom.xwt#/"/>
- </sections>
- <sections name="Multiple ModelTemplate" sectionFile="ui/MultipleModelTemplate.xwt">
- <widget href="ui/MultipleModelTemplate.xwt#/"/>
- </sections>
- <sections name="Multiple Palette" sectionFile="ui/MultiplePalette.xwt">
- <widget href="ui/MultiplePalette.xwt#/"/>
- </sections>
- <sections name="Multiple Profile" sectionFile="ui/MultipleProfile.xwt">
- <widget href="ui/MultipleProfile.xwt#/"/>
- </sections>
- <sections name="Multiple UMLModel" sectionFile="ui/MultipleUMLModel.xwt">
- <widget href="ui/MultipleUMLModel.xwt#/"/>
- </sections>
- </tabs>
- <views name="Single CustomizationConfiguration" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCustomizationConfiguration">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CustomizationConfiguration"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Single CustomizableElement" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCustomizableElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CustomizableElement"/>
- </constraints>
- </views>
- <views name="Single FileBasedCustomizableElement" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFileBasedCustomizableElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FileBasedCustomizableElement"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Single PropertyView" sections="//@tabs.0/@sections.3" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePropertyView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyView"/>
- </constraints>
- </views>
- <views name="Single UICustom" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUICustom">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UICustom"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Single ModelTemplate" sections="//@tabs.0/@sections.5" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleModelTemplate">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ModelTemplate"/>
- </constraints>
- </views>
- <views name="Single Palette" sections="//@tabs.0/@sections.6" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePalette">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Palette"/>
- </constraints>
- </views>
- <views name="Single Profile" sections="//@tabs.0/@sections.7" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleProfile">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Profile"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Single UMLModel" sections="//@tabs.0/@sections.8" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUMLModel">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UMLModel"/>
- </constraints>
- </views>
- <views name="Multiple CustomizationConfiguration" sections="//@tabs.0/@sections.9" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCustomizationConfiguration">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CustomizationConfiguration"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Multiple CustomizableElement" sections="//@tabs.0/@sections.10" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCustomizableElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CustomizableElement"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Multiple FileBasedCustomizableElement" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFileBasedCustomizableElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FileBasedCustomizableElement"/>
- </constraints>
- </views>
- <views name="Multiple PropertyView" sections="//@tabs.0/@sections.12" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePropertyView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyView"/>
- </constraints>
- </views>
- <views name="Multiple UICustom" sections="//@tabs.0/@sections.13" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUICustom">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UICustom"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <views name="Multiple ModelTemplate" sections="//@tabs.0/@sections.14" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleModelTemplate">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ModelTemplate"/>
- </constraints>
- </views>
- <views name="Multiple Palette" sections="//@tabs.0/@sections.15" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePalette">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Palette"/>
- </constraints>
- </views>
- <views name="Multiple Profile" sections="//@tabs.0/@sections.16" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleProfile">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Profile"/>
- </constraints>
- </views>
- <views name="Multiple UMLModel" sections="//@tabs.0/@sections.17" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUMLModel">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="UMLModel"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/papyrus/customization"/>
- </constraints>
- </views>
- <dataContexts name="customization" label="customization">
- <elements name="CustomizationConfiguration">
- <properties name="plugin"/>
- <properties name="elements" label="Configuration elements" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="CustomizableElement"/>
- <elements name="FileBasedCustomizableElement">
- <properties name="file"/>
- </elements>
- <elements name="PropertyView"/>
- <elements name="UICustom">
- <properties name="loadByDefault" type="Boolean"/>
- </elements>
- <elements name="ModelTemplate">
- <properties name="language"/>
- <properties name="name"/>
- <properties name="id"/>
- </elements>
- <elements name="Palette"/>
- <elements name="Profile">
- <properties name="qualifiednames"/>
- <properties name="iconpath"/>
- <properties name="description"/>
- <properties name="provider"/>
- <properties name="name"/>
- </elements>
- <elements name="UMLModel">
- <properties name="name"/>
- <properties name="iconpath"/>
- <properties name="description"/>
- <properties name="provider"/>
- </elements>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.customization/Model/Environment.xmi#//@modelElementFactories.0"/>
- </dataContexts>
+<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9"
+ xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9"
+ name="customization">
+ <tabs label="Default" id="default" category="default">
+ <sections name="Single CustomizationConfiguration"
+ sectionFile="ui/SingleCustomizationConfiguration.xwt">
+ <widget href="ui/SingleCustomizationConfiguration.xwt#/" />
+ </sections>
+ <sections name="Single CustomizableElement" sectionFile="ui/SingleCustomizableElement.xwt">
+ <widget href="ui/SingleCustomizableElement.xwt#/" />
+ </sections>
+ <sections name="Single FileBasedCustomizableElement"
+ sectionFile="ui/SingleFileBasedCustomizableElement.xwt">
+ <widget href="ui/SingleFileBasedCustomizableElement.xwt#/" />
+ </sections>
+ <sections name="Single PropertyView" sectionFile="ui/SinglePropertyView.xwt">
+ <widget href="ui/SinglePropertyView.xwt#/" />
+ </sections>
+ <sections name="Single UICustom" sectionFile="ui/SingleUICustom.xwt">
+ <widget href="ui/SingleUICustom.xwt#/" />
+ </sections>
+ <sections name="Single ModelTemplate" sectionFile="ui/SingleModelTemplate.xwt">
+ <widget href="ui/SingleModelTemplate.xwt#/" />
+ </sections>
+ <sections name="Single Palette" sectionFile="ui/SinglePalette.xwt">
+ <widget href="ui/SinglePalette.xwt#/" />
+ </sections>
+ <sections name="Single Profile" sectionFile="ui/SingleProfile.xwt">
+ <widget href="ui/SingleProfile.xwt#/" />
+ </sections>
+ <sections name="Single UMLModel" sectionFile="ui/SingleUMLModel.xwt">
+ <widget href="ui/SingleUMLModel.xwt#/" />
+ </sections>
+ <sections name="Multiple CustomizationConfiguration"
+ sectionFile="ui/MultipleCustomizationConfiguration.xwt">
+ <widget href="ui/MultipleCustomizationConfiguration.xwt#/" />
+ </sections>
+ <sections name="Multiple CustomizableElement" sectionFile="ui/MultipleCustomizableElement.xwt">
+ <widget href="ui/MultipleCustomizableElement.xwt#/" />
+ </sections>
+ <sections name="Multiple FileBasedCustomizableElement"
+ sectionFile="ui/MultipleFileBasedCustomizableElement.xwt">
+ <widget href="ui/MultipleFileBasedCustomizableElement.xwt#/" />
+ </sections>
+ <sections name="Multiple PropertyView" sectionFile="ui/MultiplePropertyView.xwt">
+ <widget href="ui/MultiplePropertyView.xwt#/" />
+ </sections>
+ <sections name="Multiple UICustom" sectionFile="ui/MultipleUICustom.xwt">
+ <widget href="ui/MultipleUICustom.xwt#/" />
+ </sections>
+ <sections name="Multiple ModelTemplate" sectionFile="ui/MultipleModelTemplate.xwt">
+ <widget href="ui/MultipleModelTemplate.xwt#/" />
+ </sections>
+ <sections name="Multiple Palette" sectionFile="ui/MultiplePalette.xwt">
+ <widget href="ui/MultiplePalette.xwt#/" />
+ </sections>
+ <sections name="Multiple Profile" sectionFile="ui/MultipleProfile.xwt">
+ <widget href="ui/MultipleProfile.xwt#/" />
+ </sections>
+ <sections name="Multiple UMLModel" sectionFile="ui/MultipleUMLModel.xwt">
+ <widget href="ui/MultipleUMLModel.xwt#/" />
+ </sections>
+ </tabs>
+ <views name="Single CustomizationConfiguration" sections="//@tabs.0/@sections.0"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCustomizationConfiguration">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CustomizationConfiguration" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Single CustomizableElement" sections="//@tabs.0/@sections.1"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCustomizableElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CustomizableElement" />
+ </constraints>
+ </views>
+ <views name="Single FileBasedCustomizableElement" sections="//@tabs.0/@sections.2"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isSingleFileBasedCustomizableElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="FileBasedCustomizableElement" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Single PropertyView" sections="//@tabs.0/@sections.3"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePropertyView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyView" />
+ </constraints>
+ </views>
+ <views name="Single UICustom" sections="//@tabs.0/@sections.4"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUICustom">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UICustom" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Single ModelTemplate" sections="//@tabs.0/@sections.5"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleModelTemplate">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ModelTemplate" />
+ </constraints>
+ </views>
+ <views name="Single Palette" sections="//@tabs.0/@sections.6"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePalette">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Palette" />
+ </constraints>
+ </views>
+ <views name="Single Profile" sections="//@tabs.0/@sections.7"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleProfile">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Profile" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Single UMLModel" sections="//@tabs.0/@sections.8"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUMLModel">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UMLModel" />
+ </constraints>
+ </views>
+ <views name="Multiple CustomizationConfiguration" sections="//@tabs.0/@sections.9"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isMultipleCustomizationConfiguration">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CustomizationConfiguration" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Multiple CustomizableElement" sections="//@tabs.0/@sections.10"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCustomizableElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CustomizableElement" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Multiple FileBasedCustomizableElement" sections="//@tabs.0/@sections.11"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isMultipleFileBasedCustomizableElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="FileBasedCustomizableElement" />
+ </constraints>
+ </views>
+ <views name="Multiple PropertyView" sections="//@tabs.0/@sections.12"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePropertyView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyView" />
+ </constraints>
+ </views>
+ <views name="Multiple UICustom" sections="//@tabs.0/@sections.13"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUICustom">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UICustom" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <views name="Multiple ModelTemplate" sections="//@tabs.0/@sections.14"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleModelTemplate">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ModelTemplate" />
+ </constraints>
+ </views>
+ <views name="Multiple Palette" sections="//@tabs.0/@sections.15"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePalette">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Palette" />
+ </constraints>
+ </views>
+ <views name="Multiple Profile" sections="//@tabs.0/@sections.16"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.7">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleProfile">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Profile" />
+ </constraints>
+ </views>
+ <views name="Multiple UMLModel" sections="//@tabs.0/@sections.17"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.8">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUMLModel">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="UMLModel" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/papyrus/customization" />
+ </constraints>
+ </views>
+ <dataContexts name="customization" label="customization">
+ <elements name="CustomizationConfiguration">
+ <properties name="plugin" />
+ <properties name="elements" label="Configuration elements"
+ type="Reference" multiplicity="-1" />
+ </elements>
+ <elements name="CustomizableElement" />
+ <elements name="FileBasedCustomizableElement">
+ <properties name="file" />
+ </elements>
+ <elements name="PropertyView" />
+ <elements name="UICustom">
+ <properties name="loadByDefault" type="Boolean" />
+ </elements>
+ <elements name="ModelTemplate">
+ <properties name="language" />
+ <properties name="name" />
+ <properties name="id" />
+ </elements>
+ <elements name="Palette" />
+ <elements name="Profile">
+ <properties name="qualifiednames" />
+ <properties name="iconpath" />
+ <properties name="description" />
+ <properties name="provider" />
+ <properties name="name" />
+ </elements>
+ <elements name="UMLModel">
+ <properties name="name" />
+ <properties name="iconpath" />
+ <properties name="description" />
+ <properties name="provider" />
+ </elements>
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.customization/Model/Environment.xmi#//@modelElementFactories.0" />
+ </dataContexts>
</contexts:Context>
diff --git a/plugins/customization/org.eclipse.papyrus.customization/Model/Environment.xmi b/plugins/customization/org.eclipse.papyrus.customization/Model/Environment.xmi
index acf1704d653..e761d49334d 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/Model/Environment.xmi
+++ b/plugins/customization/org.eclipse.papyrus.customization/Model/Environment.xmi
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="ASCII"?>
-<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment">
+<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment/0.9">
<modelElementFactories name="Customization Plugin Factory" factoryClass="org.eclipse.papyrus.customization.modelelement.CustomizationModelElementFactory"/>
</environment:Environment>
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java
index a1fce8fcd28..ef87eddf59e 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/impl/CustomizationFactoryImpl.java
@@ -11,6 +11,7 @@ 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.model.customization.*;
import org.eclipse.papyrus.customization.model.customization.CustomizationConfiguration;
import org.eclipse.papyrus.customization.model.customization.CustomizationFactory;
import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationAdapterFactory.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationAdapterFactory.java
index a49c517058b..5e3ec814aa0 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationAdapterFactory.java
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationAdapterFactory.java
@@ -10,6 +10,7 @@ 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.model.customization.*;
import org.eclipse.papyrus.customization.model.customization.CustomizableElement;
import org.eclipse.papyrus.customization.model.customization.CustomizationConfiguration;
import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationSwitch.java b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationSwitch.java
index 2a9a7e12ac8..7de3416e123 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationSwitch.java
+++ b/plugins/customization/org.eclipse.papyrus.customization/src-gen/org/eclipse/papyrus/customization/model/customization/util/CustomizationSwitch.java
@@ -9,6 +9,7 @@ package org.eclipse.papyrus.customization.model.customization.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.model.customization.*;
import org.eclipse.papyrus.customization.model.customization.CustomizableElement;
import org.eclipse.papyrus.customization.model.customization.CustomizationConfiguration;
import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/display/DisplayManager.java b/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/display/DisplayManager.java
index 32d8f05c598..fba9493b385 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/display/DisplayManager.java
+++ b/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/display/DisplayManager.java
@@ -1,7 +1,7 @@
package org.eclipse.papyrus.customization.display;
import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
-import org.eclipse.papyrus.views.properties.runtime.ConstraintEngine;
+import org.eclipse.papyrus.views.properties.runtime.ViewConstraintEngine;
public class DisplayManager {
@@ -11,7 +11,7 @@ public class DisplayManager {
constraintEngine = ConfigurationManager.instance.constraintEngine;
//TODO : Add support for local constraint engines in the creation factories
- // constraintEngine = new DefaultConstraintEngine();
+ // constraintEngine = new DefaultViewConstraintEngine();
// ResourceSet resourceSet = new ResourceSetImpl();
// URI uri = URI.createPlatformPluginURI(Activator.PLUGIN_ID + "/Model/Customization/Customization.ctx", true); //$NON-NLS-1$
// try {
@@ -29,5 +29,5 @@ public class DisplayManager {
public static DisplayManager instance = new DisplayManager();
- public ConstraintEngine constraintEngine;
+ public ViewConstraintEngine constraintEngine;
}
diff --git a/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/wizard/CustomizationPage.java b/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/wizard/CustomizationPage.java
index 5c319ad5347..4330d422290 100644
--- a/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/wizard/CustomizationPage.java
+++ b/plugins/customization/org.eclipse.papyrus.customization/src/org/eclipse/papyrus/customization/wizard/CustomizationPage.java
@@ -21,8 +21,8 @@ import org.eclipse.papyrus.customization.messages.Messages;
import org.eclipse.papyrus.customization.model.customization.CustomizationConfiguration;
import org.eclipse.papyrus.customization.model.customization.CustomizationPackage;
import org.eclipse.papyrus.views.properties.contexts.View;
-import org.eclipse.papyrus.views.properties.runtime.ConstraintEngine;
import org.eclipse.papyrus.views.properties.runtime.EmbeddedDisplayEngine;
+import org.eclipse.papyrus.views.properties.runtime.ViewConstraintEngine;
import org.eclipse.papyrus.views.properties.widgets.layout.PropertiesLayout;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
@@ -59,7 +59,7 @@ public class CustomizationPage extends WizardPage {
IStructuredSelection selection = new StructuredSelection(configuration);
- ConstraintEngine constraintEngine = DisplayManager.instance.constraintEngine;
+ ViewConstraintEngine constraintEngine = DisplayManager.instance.constraintEngine;
Set<View> views = constraintEngine.getViews(selection);
Composite self = new Composite(container, SWT.BORDER);
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/META-INF/MANIFEST.MF b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/META-INF/MANIFEST.MF
index b44549d50b4..80a812e54a6 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/META-INF/MANIFEST.MF
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/META-INF/MANIFEST.MF
@@ -15,7 +15,10 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.gef,
org.junit;bundle-version="4.8.1";resolution:=optional,
org.eclipse.papyrus.infra.core.log;bundle-version="0.9.0";visibility:=reexport,
- org.eclipse.core.runtime;bundle-version="3.7.0"
+ org.eclipse.core.runtime;bundle-version="3.7.0",
+ org.eclipse.e4.core.contexts;bundle-version="1.0.0",
+ org.eclipse.e4.ui.model.workbench;bundle-version="0.10.0",
+ org.eclipse.core.expressions;bundle-version="3.4.300"
Bundle-Vendor: %providerName
Bundle-Version: 0.9.0.qualifier
Bundle-ManifestVersion: 2
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java
index 829893533fc..b6a0dea1940 100644
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java
+++ b/plugins/infra/core/org.eclipse.papyrus.infra.core.sasheditor/src/org/eclipse/papyrus/infra/core/sasheditor/internal/eclipsecopy/MultiPageEditorSite.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2007 IBM Corporation and others.
+ * Copyright (c) 2000, 2011 IBM Corporation 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
@@ -13,13 +13,14 @@ package org.eclipse.papyrus.infra.core.sasheditor.internal.eclipsecopy;
import java.util.ArrayList;
import org.eclipse.core.runtime.Assert;
+import org.eclipse.e4.core.contexts.ContextFunction;
+import org.eclipse.e4.core.contexts.IEclipseContext;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.viewers.ILabelDecorator;
import org.eclipse.jface.viewers.IPostSelectionProvider;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IEditorActionBarContributor;
@@ -29,13 +30,17 @@ import org.eclipse.ui.IKeyBindingService;
import org.eclipse.ui.INestableKeyBindingService;
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchPart;
-import org.eclipse.ui.IWorkbenchPartReference;
import org.eclipse.ui.IWorkbenchPartSite;
import org.eclipse.ui.IWorkbenchWindow;
-import org.eclipse.ui.internal.PartPane;
+import org.eclipse.ui.contexts.IContextService;
+import org.eclipse.ui.handlers.IHandlerService;
import org.eclipse.ui.internal.PartSite;
import org.eclipse.ui.internal.PopupMenuExtender;
import org.eclipse.ui.internal.WorkbenchPlugin;
+import org.eclipse.ui.internal.contexts.NestableContextService;
+import org.eclipse.ui.internal.expressions.ActivePartExpression;
+import org.eclipse.ui.internal.handlers.LegacyHandlerService;
+import org.eclipse.ui.internal.part.IMultiPageEditorSiteHolder;
import org.eclipse.ui.internal.services.INestable;
import org.eclipse.ui.internal.services.IServiceLocatorCreator;
import org.eclipse.ui.internal.services.IWorkbenchLocationService;
@@ -43,9 +48,7 @@ import org.eclipse.ui.internal.services.ServiceLocator;
import org.eclipse.ui.internal.services.WorkbenchLocationService;
import org.eclipse.ui.part.EditorActionBarContributor;
import org.eclipse.ui.services.IDisposable;
-import org.eclipse.ui.services.IServiceLocator;
import org.eclipse.ui.services.IServiceScopes;
-import org.eclipse.ui.internal.WorkbenchPartReference;
/**
* Site for a nested editor within a multi-page editor. Selection is handled by
@@ -54,8 +57,6 @@ import org.eclipse.ui.internal.WorkbenchPartReference;
* <p>
* The base implementation of <code>MultiPageEditor.createSite</code> creates an instance of this class. This class may be instantiated or subclassed.
* </p>
- *
- * @see org.eclipse.ui.part.MultiPageEditorSite.class
*/
public class MultiPageEditorSite implements IEditorSite, INestable {
@@ -113,16 +114,20 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
*/
private final ServiceLocator serviceLocator;
+ private NestableContextService contextService;
+
+ private IEclipseContext context;
+
+ private boolean active = false;
+
/**
* Creates a site for the given editor nested within the given multi-page
* editor.
*
- * @param mainEditorSite
+ * @param multiPageEditor
* the multi-page editor
* @param editor
* the nested editor
- * @param editDomain
- * The shared editDomain.
*/
public MultiPageEditorSite(IEditorSite mainEditorSite, IEditorPart editor, EditorActionBarContributor actionBarContributor) {
Assert.isNotNull(mainEditorSite);
@@ -131,20 +136,22 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
this.editor = editor;
this.actionBarContributor = actionBarContributor;
- final IServiceLocator parentServiceLocator = mainEditorSite;
- IServiceLocatorCreator slc = (IServiceLocatorCreator)parentServiceLocator.getService(IServiceLocatorCreator.class);
- this.serviceLocator = (ServiceLocator)slc.createServiceLocator(mainEditorSite, null, new IDisposable() {
+ PartSite site = (PartSite)mainEditorSite;
+
+ IServiceLocatorCreator slc = (IServiceLocatorCreator)site.getService(IServiceLocatorCreator.class);
+ this.serviceLocator = (ServiceLocator)slc.createServiceLocator(editor.getSite(), null, new IDisposable() {
public void dispose() {
- //old code on Indigo :
-// final Control control = ((PartSite)getMainEditorSite()).getPane().getControl();
-// if(control != null && !control.isDisposed()) {
-// ((PartSite)getMainEditorSite()).getPane().doHide();
-// }
- //FIXME : I don't know how to migrate this code?
+ //final Control control = getMainEditorSite().getPane().getControl();
+ //if(control != null && !control.isDisposed()) {
+ // ((PartSite)getMainEditorSite()).getPane().doHide();
+ //}
}
});
+ context = site.getModel().getContext().createChild("MultiPageEditorSite"); //$NON-NLS-1$
+ serviceLocator.setContext(context);
+
initializeDefaultServices();
}
@@ -172,6 +179,29 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
*/
private void initializeDefaultServices() {
serviceLocator.registerService(IWorkbenchLocationService.class, new WorkbenchLocationService(IServiceScopes.MPESITE_SCOPE, getWorkbenchWindow().getWorkbench(), getWorkbenchWindow(), getMainEditorSite(), this, null, 3));
+ serviceLocator.registerService(IMultiPageEditorSiteHolder.class, new IMultiPageEditorSiteHolder() {
+
+ public org.eclipse.ui.part.MultiPageEditorSite getSite() {
+ return (org.eclipse.ui.part.MultiPageEditorSite)MultiPageEditorSite.this.getMainEditorSite();
+ }
+ });
+
+ context.set(IContextService.class.getName(), new ContextFunction() {
+
+ @Override
+ public Object compute(IEclipseContext ctxt) {
+ if(contextService == null) {
+ contextService = new NestableContextService(ctxt.getParent().get(IContextService.class), new ActivePartExpression(MultiPageEditorSite.this.getPart()));
+ }
+ return contextService;
+ }
+ });
+
+ // create a local handler service so that when this page
+ // activates/deactivates, its handlers will also be taken into/out of
+ // consideration during handler lookups
+ IHandlerService handlerService = new LegacyHandlerService(context);
+ context.set(IHandlerService.class, handlerService);
}
/**
@@ -181,7 +211,13 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
* @since 3.2
*/
public final void activate() {
+ active = true;
+ context.activate();
serviceLocator.activate();
+
+ if(contextService != null) {
+ contextService.activate();
+ }
}
/**
@@ -191,7 +227,13 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
* @since 3.2
*/
public final void deactivate() {
+ active = false;
+ if(contextService != null) {
+ contextService.deactivate();
+ }
+
serviceLocator.deactivate();
+ context.deactivate();
}
/**
@@ -207,51 +249,36 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
// Remove myself from the list of nested key binding services.
if(service != null) {
- // TODO : check original implem - use main editor site !
IKeyBindingService parentService = getEditor().getSite().getKeyBindingService();
if(parentService instanceof INestableKeyBindingService) {
INestableKeyBindingService nestableParent = (INestableKeyBindingService)parentService;
nestableParent.removeKeyBindingService(this);
}
- // TODO : dispose service ?
+ }
+
+ service = null;
- service = null;
+ if(contextService != null) {
+ contextService.dispose();
}
if(serviceLocator != null) {
serviceLocator.dispose();
}
+ context.dispose();
}
/**
- * The <code>MultiPageEditorSite</code> implementation of this <code>IEditorSite</code> method returns the EditorActionBarContributor
- * associated to the site if one is defined, or the
- * EditorActionBarContributor of the multiEditor.
+ * The <code>MultiPageEditorSite</code> implementation of this <code>IEditorSite</code> method returns <code>null</code>, since nested
+ * editors do not have their own action bar contributor.
*
* @return <code>null</code>
*/
public IEditorActionBarContributor getActionBarContributor() {
-
- // If we use an action bar contributor, look for a registered
- // ActionBarContributor.
- // TODO : enable next asap
- // ActionBarContributor contributor =
- // multiPageEditor.getEditorSite().getActionBarContributor();
- // if(contributor instanceof ComposedActionBarContributor)
- // {
- // ComposedActionBarContributor composedContributor =
- // (ComposedActionBarContributor)contributor;
- // return composedContributor.getContributorFor(editor);
- // }
-
- // Return the main ActionBarContributor, usually
- // ComposedActionBarContributor
-
if(actionBarContributor != null)
return actionBarContributor;
else
return getMainEditorEditorSite().getActionBarContributor();
- // return null;
}
/**
@@ -280,6 +307,7 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
* @return The decorator from the workbench window.
* @deprecated use IWorkbench.getDecoratorManager()
*/
+ @Deprecated
public ILabelDecorator getDecoratorManager() {
return getWorkbenchWindow().getWorkbench().getDecoratorManager().getLabelDecorator();
}
@@ -411,7 +439,12 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
}
public final Object getService(final Class key) {
- return serviceLocator.getService(key);
+ Object service = serviceLocator.getService(key);
+ if(active && service instanceof INestable) {
+ // services need to know that it is currently in an active state
+ ((INestable)service).activate();
+ }
+ return service;
}
/**
@@ -446,8 +479,6 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
*/
protected void handlePostSelectionChanged(SelectionChangedEvent event) {
ISelectionProvider parentProvider = getMainEditorSite().getSelectionProvider();
-
- // TODO : use org.eclipse.ui.part.MultiPageSelectionProvider ?
if(parentProvider instanceof MultiPageSelectionProvider) {
SelectionChangedEvent newEvent = new SelectionChangedEvent(parentProvider, event.getSelection());
MultiPageSelectionProvider prov = (MultiPageSelectionProvider)parentProvider;
@@ -536,9 +567,6 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
ISelectionProvider oldSelectionProvider = selectionProvider;
selectionProvider = provider;
if(oldSelectionProvider != null) {
- // see code WindowSelectionService (line287)
- // in some case as GraphicalView do not implement
- // IPostSelectionProvider
oldSelectionProvider.removeSelectionChangedListener(getSelectionChangedListener());
if(oldSelectionProvider instanceof IPostSelectionProvider) {
((IPostSelectionProvider)oldSelectionProvider).removePostSelectionChangedListener(getPostSelectionChangedListener());
@@ -552,7 +580,6 @@ public class MultiPageEditorSite implements IEditorSite, INestable {
((IPostSelectionProvider)selectionProvider).addPostSelectionChangedListener(getPostSelectionChangedListener());
} else {
selectionProvider.addSelectionChangedListener(getPostSelectionChangedListener());
-
}
}
}
diff --git a/plugins/infra/core/org.eclipse.papyrus.infra.core/src/org/eclipse/papyrus/infra/core/utils/GMFtoEMFCommandWrapper.java b/plugins/infra/core/org.eclipse.papyrus.infra.core/src/org/eclipse/papyrus/infra/core/utils/GMFtoEMFCommandWrapper.java
deleted file mode 100644
index 54c953a34b2..00000000000
--- a/plugins/infra/core/org.eclipse.papyrus.infra.core/src/org/eclipse/papyrus/infra/core/utils/GMFtoEMFCommandWrapper.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/***************************************************************************
- * Copyright (c) 2007 Conselleria de Infraestructuras y Transporte,
- * Generalitat de la Comunitat Valenciana . 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: Mario Cervera Ubeda (Prodevelop)
- *
- ******************************************************************************/
-package org.eclipse.papyrus.infra.core.utils;
-
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-
-/**
- * A EMF Command that wraps a GMF command. Each method is redirected to the GMF
- * one.
- *
- * @deprecated use {@link org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper} instead
- */
-public class GMFtoEMFCommandWrapper extends org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper {
-
- /**
- * Constructor.
- *
- * @param gmfCommand
- * the gmf command
- */
- public GMFtoEMFCommandWrapper(ICommand gmfCommand) {
- super(gmfCommand);
- }
-}
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/META-INF/MANIFEST.MF b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/META-INF/MANIFEST.MF
index 007c1110d3e..4328e67e529 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/META-INF/MANIFEST.MF
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/META-INF/MANIFEST.MF
@@ -15,7 +15,10 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.papyrus.infra.core.log;bundle-version="0.9.0",
org.eclipse.emf.edit.ui;bundle-version="2.7.0",
org.eclipse.papyrus.infra.core;bundle-version="0.9.0",
- org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0",
+ org.eclipse.papyrus.uml.tools;bundle-version="0.9.0",
+ org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0"
Bundle-Vendor: %Bundle-Vendor
Bundle-ActivationPolicy: lazy
Bundle-Version: 0.9.0.qualifier
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi
index a5475431cd1..491515a84cd 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="ASCII"?>
<environment:Environment xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment">
+ xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment/0.9">
<modelElementFactories name="GMF Notation"
factoryClass="org.eclipse.papyrus.infra.gmfdiag.properties.modelelement.NotationModelElementFactory" />
<constraintTypes label="GMF Notation Constraint"
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/model/notation.ctx b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/model/notation.ctx
index 440de5d800e..5adef4c4eb0 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/model/notation.ctx
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/model/notation.ctx
@@ -1,1593 +1,2253 @@
<?xml version="1.0" encoding="ASCII"?>
-<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts" name="notation">
- <tabs label="Appearance" id="appearance" category="org.eclipse.papyrus" priority="75">
- <sections name="Single Edge" sectionFile="ui/SingleEdge.xwt">
- <widget href="ui/SingleEdge.xwt#/"/>
- </sections>
- <sections name="Single Node" sectionFile="ui/SingleNode.xwt">
- <widget href="ui/SingleNode.xwt#/"/>
- </sections>
- <sections name="Single Style" sectionFile="ui/SingleStyle.xwt">
- <widget href="ui/SingleStyle.xwt#/"/>
- </sections>
- <sections name="FillStyle" sectionFile="ui/FillStyle.xwt">
- <widget href="ui/FillStyle.xwt#/"/>
- </sections>
- <sections name="Single LineStyle" sectionFile="ui/LineStyle.xwt">
- <widget href="ui/LineStyle.xwt#/"/>
- </sections>
- <sections name="Single FontStyle" sectionFile="ui/FontStyle.xwt">
- <widget href="ui/FontStyle.xwt#/"/>
- </sections>
- <sections name="Single TitleStyle" sectionFile="ui/SingleTitleStyle.xwt">
- <widget href="ui/SingleTitleStyle.xwt#/"/>
- </sections>
- <sections name="Single SortingStyle" sectionFile="ui/SingleSortingStyle.xwt">
- <widget href="ui/SingleSortingStyle.xwt#/"/>
- </sections>
- <sections name="Single DescriptionStyle" sectionFile="ui/SingleDescriptionStyle.xwt">
- <widget href="ui/SingleDescriptionStyle.xwt#/"/>
- </sections>
- <sections name="Single LayoutConstraint" sectionFile="ui/SingleLayoutConstraint.xwt">
- <widget href="ui/SingleLayoutConstraint.xwt#/"/>
- </sections>
- <sections name="Single Size" sectionFile="ui/SingleSize.xwt">
- <widget href="ui/SingleSize.xwt#/"/>
- </sections>
- <sections name="Single Location" sectionFile="ui/SingleLocation.xwt">
- <widget href="ui/SingleLocation.xwt#/"/>
- </sections>
- <sections name="Single Bounds" sectionFile="ui/SingleBounds.xwt">
- <widget href="ui/SingleBounds.xwt#/"/>
- </sections>
- <sections name="Single Ratio" sectionFile="ui/SingleRatio.xwt">
- <widget href="ui/SingleRatio.xwt#/"/>
- </sections>
- <sections name="Single Anchor" sectionFile="ui/SingleAnchor.xwt">
- <widget href="ui/SingleAnchor.xwt#/"/>
- </sections>
- <sections name="Single Bendpoints" sectionFile="ui/SingleBendpoints.xwt">
- <widget href="ui/SingleBendpoints.xwt#/"/>
- </sections>
- <sections name="Single IdentityAnchor" sectionFile="ui/SingleIdentityAnchor.xwt">
- <widget href="ui/SingleIdentityAnchor.xwt#/"/>
- </sections>
- <sections name="Single RoutingStyle" sectionFile="ui/SingleRoutingStyle.xwt">
- <widget href="ui/SingleRoutingStyle.xwt#/"/>
- </sections>
- <sections name="Single View" sectionFile="ui/SingleView.xwt">
- <widget href="ui/SingleView.xwt#/"/>
- </sections>
- <sections name="Single RelativeBendpoints" sectionFile="ui/SingleRelativeBendpoints.xwt">
- <widget href="ui/SingleRelativeBendpoints.xwt#/"/>
- </sections>
- <sections name="Single Diagram" sectionFile="ui/SingleDiagram.xwt">
- <widget href="ui/SingleDiagram.xwt#/"/>
- </sections>
- <sections name="Single Image" sectionFile="ui/SingleImage.xwt">
- <widget href="ui/SingleImage.xwt#/"/>
- </sections>
- <sections name="Single CanonicalStyle" sectionFile="ui/SingleCanonicalStyle.xwt">
- <widget href="ui/SingleCanonicalStyle.xwt#/"/>
- </sections>
- <sections name="Single ShapeStyle" sectionFile="ui/ShapeStyle.xwt">
- <widget href="ui/ShapeStyle.xwt#/"/>
- </sections>
- <sections name="Single ConnectorStyle" sectionFile="ui/SingleConnectorStyle.xwt">
- <widget href="ui/SingleConnectorStyle.xwt#/"/>
- </sections>
- <sections name="Single PageStyle" sectionFile="ui/SinglePageStyle.xwt">
- <widget href="ui/SinglePageStyle.xwt#/"/>
- </sections>
- <sections name="Single DrawerStyle" sectionFile="ui/SingleDrawerStyle.xwt">
- <widget href="ui/SingleDrawerStyle.xwt#/"/>
- </sections>
- <sections name="Single GuideStyle" sectionFile="ui/SingleGuideStyle.xwt">
- <widget href="ui/SingleGuideStyle.xwt#/"/>
- </sections>
- <sections name="Single Guide" sectionFile="ui/SingleGuide.xwt">
- <widget href="ui/SingleGuide.xwt#/"/>
- </sections>
- <sections name="Single NodeEntry" sectionFile="ui/SingleNodeEntry.xwt">
- <widget href="ui/SingleNodeEntry.xwt#/"/>
- </sections>
- <sections name="Single FilteringStyle" sectionFile="ui/SingleFilteringStyle.xwt">
- <widget href="ui/SingleFilteringStyle.xwt#/"/>
- </sections>
- <sections name="Single DiagramStyle" sectionFile="ui/SingleDiagramStyle.xwt">
- <widget href="ui/SingleDiagramStyle.xwt#/"/>
- </sections>
- <sections name="Single ImageStyle" sectionFile="ui/SingleImageStyle.xwt">
- <widget href="ui/SingleImageStyle.xwt#/"/>
- </sections>
- <sections name="Single ImageBufferStyle" sectionFile="ui/SingleImageBufferStyle.xwt">
- <widget href="ui/SingleImageBufferStyle.xwt#/"/>
- </sections>
- <sections name="Single PropertiesSetStyle" sectionFile="ui/SinglePropertiesSetStyle.xwt">
- <widget href="ui/SinglePropertiesSetStyle.xwt#/"/>
- </sections>
- <sections name="Single StringToPropertyValueMapEntry" sectionFile="ui/SingleStringToPropertyValueMapEntry.xwt">
- <widget href="ui/SingleStringToPropertyValueMapEntry.xwt#/"/>
- </sections>
- <sections name="Single PropertyValue" sectionFile="ui/SinglePropertyValue.xwt">
- <widget href="ui/SinglePropertyValue.xwt#/"/>
- </sections>
- <sections name="Single SingleValueStyle" sectionFile="ui/SingleSingleValueStyle.xwt">
- <widget href="ui/SingleSingleValueStyle.xwt#/"/>
- </sections>
- <sections name="Single ListValueStyle" sectionFile="ui/SingleListValueStyle.xwt">
- <widget href="ui/SingleListValueStyle.xwt#/"/>
- </sections>
- <sections name="Single NamedStyle" sectionFile="ui/SingleNamedStyle.xwt">
- <widget href="ui/SingleNamedStyle.xwt#/"/>
- </sections>
- <sections name="Single StringObjectConverter" sectionFile="ui/SingleStringObjectConverter.xwt">
- <widget href="ui/SingleStringObjectConverter.xwt#/"/>
- </sections>
- <sections name="Single DataTypeStyle" sectionFile="ui/SingleDataTypeStyle.xwt">
- <widget href="ui/SingleDataTypeStyle.xwt#/"/>
- </sections>
- <sections name="Single IntValueStyle" sectionFile="ui/SingleIntValueStyle.xwt">
- <widget href="ui/SingleIntValueStyle.xwt#/"/>
- </sections>
- <sections name="Single IntListValueStyle" sectionFile="ui/SingleIntListValueStyle.xwt">
- <widget href="ui/SingleIntListValueStyle.xwt#/"/>
- </sections>
- <sections name="Single BooleanValueStyle" sectionFile="ui/SingleBooleanValueStyle.xwt">
- <widget href="ui/SingleBooleanValueStyle.xwt#/"/>
- </sections>
- <sections name="Single DoubleValueStyle" sectionFile="ui/SingleDoubleValueStyle.xwt">
- <widget href="ui/SingleDoubleValueStyle.xwt#/"/>
- </sections>
- <sections name="Single DoubleListValueStyle" sectionFile="ui/SingleDoubleListValueStyle.xwt">
- <widget href="ui/SingleDoubleListValueStyle.xwt#/"/>
- </sections>
- <sections name="Single StringValueStyle" sectionFile="ui/SingleStringValueStyle.xwt">
- <widget href="ui/SingleStringValueStyle.xwt#/"/>
- </sections>
- <sections name="Single StringListValueStyle" sectionFile="ui/SingleStringListValueStyle.xwt">
- <widget href="ui/SingleStringListValueStyle.xwt#/"/>
- </sections>
- <sections name="Single EObjectValueStyle" sectionFile="ui/SingleEObjectValueStyle.xwt">
- <widget href="ui/SingleEObjectValueStyle.xwt#/"/>
- </sections>
- <sections name="Single EObjectListValueStyle" sectionFile="ui/SingleEObjectListValueStyle.xwt">
- <widget href="ui/SingleEObjectListValueStyle.xwt#/"/>
- </sections>
- <sections name="Single ByteArrayValueStyle" sectionFile="ui/SingleByteArrayValueStyle.xwt">
- <widget href="ui/SingleByteArrayValueStyle.xwt#/"/>
- </sections>
- <sections name="Single BooleanListValueStyle" sectionFile="ui/SingleBooleanListValueStyle.xwt">
- <widget href="ui/SingleBooleanListValueStyle.xwt#/"/>
- </sections>
- <sections name="Single HintedDiagramLinkStyle" sectionFile="ui/SingleHintedDiagramLinkStyle.xwt">
- <widget href="ui/SingleHintedDiagramLinkStyle.xwt#/"/>
- </sections>
- <sections name="Single DiagramLinkStyle" sectionFile="ui/SingleDiagramLinkStyle.xwt">
- <widget href="ui/SingleDiagramLinkStyle.xwt#/"/>
- </sections>
- <sections name="Single MultiDiagramLinkStyle" sectionFile="ui/SingleMultiDiagramLinkStyle.xwt">
- <widget href="ui/SingleMultiDiagramLinkStyle.xwt#/"/>
- </sections>
- <sections name="Single TextStyle" sectionFile="ui/SingleTextStyle.xwt">
- <widget href="ui/SingleTextStyle.xwt#/"/>
- </sections>
- <sections name="Single LineTypeStyle" sectionFile="ui/SingleLineTypeStyle.xwt">
- <widget href="ui/SingleLineTypeStyle.xwt#/"/>
- </sections>
- <sections name="Single ArrowStyle" sectionFile="ui/SingleArrowStyle.xwt">
- <widget href="ui/SingleArrowStyle.xwt#/"/>
- </sections>
- <sections name="Single Shape" sectionFile="ui/SingleShape.xwt">
- <widget href="ui/SingleShape.xwt#/"/>
- </sections>
- <sections name="Single Compartment" sectionFile="ui/SingleCompartment.xwt">
- <widget href="ui/SingleCompartment.xwt#/"/>
- </sections>
- <sections name="Single ListCompartment" sectionFile="ui/SingleListCompartment.xwt">
- <widget href="ui/SingleListCompartment.xwt#/"/>
- </sections>
- <sections name="Single Connector" sectionFile="ui/SingleConnector.xwt">
- <widget href="ui/SingleConnector.xwt#/"/>
- </sections>
- <sections name="Single StandardDiagram" sectionFile="ui/SingleStandardDiagram.xwt">
- <widget href="ui/SingleStandardDiagram.xwt#/"/>
- </sections>
- <sections name="Single DecorationNode" sectionFile="ui/SingleDecorationNode.xwt">
- <widget href="ui/SingleDecorationNode.xwt#/"/>
- </sections>
- <sections name="Single BasicDecorationNode" sectionFile="ui/SingleBasicDecorationNode.xwt">
- <widget href="ui/SingleBasicDecorationNode.xwt#/"/>
- </sections>
- <sections name="Single BasicCompartment" sectionFile="ui/SingleBasicCompartment.xwt">
- <widget href="ui/SingleBasicCompartment.xwt#/"/>
- </sections>
- <sections name="Single BasicSemanticCompartment" sectionFile="ui/SingleBasicSemanticCompartment.xwt">
- <widget href="ui/SingleBasicSemanticCompartment.xwt#/"/>
- </sections>
- <sections name="Single SemanticListCompartment" sectionFile="ui/SingleSemanticListCompartment.xwt">
- <widget href="ui/SingleSemanticListCompartment.xwt#/"/>
- </sections>
- <sections name="Single RoundedCornersStyle" sectionFile="ui/RoundedCornersStyle.xwt">
- <widget href="ui/RoundedCornersStyle.xwt#/"/>
- </sections>
- <sections name="Multiple Edge" sectionFile="ui/MultipleEdge.xwt">
- <widget href="ui/MultipleEdge.xwt#/"/>
- </sections>
- <sections name="Multiple Node" sectionFile="ui/MultipleNode.xwt">
- <widget href="ui/MultipleNode.xwt#/"/>
- </sections>
- <sections name="Multiple Style" sectionFile="ui/MultipleStyle.xwt">
- <widget href="ui/MultipleStyle.xwt#/"/>
- </sections>
- <sections name="Multiple TitleStyle" sectionFile="ui/MultipleTitleStyle.xwt">
- <widget href="ui/MultipleTitleStyle.xwt#/"/>
- </sections>
- <sections name="Multiple SortingStyle" sectionFile="ui/MultipleSortingStyle.xwt">
- <widget href="ui/MultipleSortingStyle.xwt#/"/>
- </sections>
- <sections name="Multiple DescriptionStyle" sectionFile="ui/MultipleDescriptionStyle.xwt">
- <widget href="ui/MultipleDescriptionStyle.xwt#/"/>
- </sections>
- <sections name="Multiple LayoutConstraint" sectionFile="ui/MultipleLayoutConstraint.xwt">
- <widget href="ui/MultipleLayoutConstraint.xwt#/"/>
- </sections>
- <sections name="Multiple Size" sectionFile="ui/MultipleSize.xwt">
- <widget href="ui/MultipleSize.xwt#/"/>
- </sections>
- <sections name="Multiple Location" sectionFile="ui/MultipleLocation.xwt">
- <widget href="ui/MultipleLocation.xwt#/"/>
- </sections>
- <sections name="Multiple Bounds" sectionFile="ui/MultipleBounds.xwt">
- <widget href="ui/MultipleBounds.xwt#/"/>
- </sections>
- <sections name="Multiple Ratio" sectionFile="ui/MultipleRatio.xwt">
- <widget href="ui/MultipleRatio.xwt#/"/>
- </sections>
- <sections name="Multiple Anchor" sectionFile="ui/MultipleAnchor.xwt">
- <widget href="ui/MultipleAnchor.xwt#/"/>
- </sections>
- <sections name="Multiple Bendpoints" sectionFile="ui/MultipleBendpoints.xwt">
- <widget href="ui/MultipleBendpoints.xwt#/"/>
- </sections>
- <sections name="Multiple IdentityAnchor" sectionFile="ui/MultipleIdentityAnchor.xwt">
- <widget href="ui/MultipleIdentityAnchor.xwt#/"/>
- </sections>
- <sections name="Multiple RoutingStyle" sectionFile="ui/MultipleRoutingStyle.xwt">
- <widget href="ui/MultipleRoutingStyle.xwt#/"/>
- </sections>
- <sections name="Multiple View" sectionFile="ui/MultipleView.xwt">
- <widget href="ui/MultipleView.xwt#/"/>
- </sections>
- <sections name="Multiple RelativeBendpoints" sectionFile="ui/MultipleRelativeBendpoints.xwt">
- <widget href="ui/MultipleRelativeBendpoints.xwt#/"/>
- </sections>
- <sections name="Multiple Diagram" sectionFile="ui/MultipleDiagram.xwt">
- <widget href="ui/MultipleDiagram.xwt#/"/>
- </sections>
- <sections name="Multiple Image" sectionFile="ui/MultipleImage.xwt">
- <widget href="ui/MultipleImage.xwt#/"/>
- </sections>
- <sections name="Multiple CanonicalStyle" sectionFile="ui/MultipleCanonicalStyle.xwt">
- <widget href="ui/MultipleCanonicalStyle.xwt#/"/>
- </sections>
- <sections name="Multiple ConnectorStyle" sectionFile="ui/MultipleConnectorStyle.xwt">
- <widget href="ui/MultipleConnectorStyle.xwt#/"/>
- </sections>
- <sections name="Multiple PageStyle" sectionFile="ui/MultiplePageStyle.xwt">
- <widget href="ui/MultiplePageStyle.xwt#/"/>
- </sections>
- <sections name="Multiple DrawerStyle" sectionFile="ui/MultipleDrawerStyle.xwt">
- <widget href="ui/MultipleDrawerStyle.xwt#/"/>
- </sections>
- <sections name="Multiple GuideStyle" sectionFile="ui/MultipleGuideStyle.xwt">
- <widget href="ui/MultipleGuideStyle.xwt#/"/>
- </sections>
- <sections name="Multiple Guide" sectionFile="ui/MultipleGuide.xwt">
- <widget href="ui/MultipleGuide.xwt#/"/>
- </sections>
- <sections name="Multiple NodeEntry" sectionFile="ui/MultipleNodeEntry.xwt">
- <widget href="ui/MultipleNodeEntry.xwt#/"/>
- </sections>
- <sections name="Multiple FilteringStyle" sectionFile="ui/MultipleFilteringStyle.xwt">
- <widget href="ui/MultipleFilteringStyle.xwt#/"/>
- </sections>
- <sections name="Multiple DiagramStyle" sectionFile="ui/MultipleDiagramStyle.xwt">
- <widget href="ui/MultipleDiagramStyle.xwt#/"/>
- </sections>
- <sections name="Multiple ImageStyle" sectionFile="ui/MultipleImageStyle.xwt">
- <widget href="ui/MultipleImageStyle.xwt#/"/>
- </sections>
- <sections name="Multiple ImageBufferStyle" sectionFile="ui/MultipleImageBufferStyle.xwt">
- <widget href="ui/MultipleImageBufferStyle.xwt#/"/>
- </sections>
- <sections name="Multiple PropertiesSetStyle" sectionFile="ui/MultiplePropertiesSetStyle.xwt">
- <widget href="ui/MultiplePropertiesSetStyle.xwt#/"/>
- </sections>
- <sections name="Multiple StringToPropertyValueMapEntry" sectionFile="ui/MultipleStringToPropertyValueMapEntry.xwt">
- <widget href="ui/MultipleStringToPropertyValueMapEntry.xwt#/"/>
- </sections>
- <sections name="Multiple PropertyValue" sectionFile="ui/MultiplePropertyValue.xwt">
- <widget href="ui/MultiplePropertyValue.xwt#/"/>
- </sections>
- <sections name="Multiple SingleValueStyle" sectionFile="ui/MultipleSingleValueStyle.xwt">
- <widget href="ui/MultipleSingleValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple ListValueStyle" sectionFile="ui/MultipleListValueStyle.xwt">
- <widget href="ui/MultipleListValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple NamedStyle" sectionFile="ui/MultipleNamedStyle.xwt">
- <widget href="ui/MultipleNamedStyle.xwt#/"/>
- </sections>
- <sections name="Multiple StringObjectConverter" sectionFile="ui/MultipleStringObjectConverter.xwt">
- <widget href="ui/MultipleStringObjectConverter.xwt#/"/>
- </sections>
- <sections name="Multiple DataTypeStyle" sectionFile="ui/MultipleDataTypeStyle.xwt">
- <widget href="ui/MultipleDataTypeStyle.xwt#/"/>
- </sections>
- <sections name="Multiple IntValueStyle" sectionFile="ui/MultipleIntValueStyle.xwt">
- <widget href="ui/MultipleIntValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple IntListValueStyle" sectionFile="ui/MultipleIntListValueStyle.xwt">
- <widget href="ui/MultipleIntListValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple BooleanValueStyle" sectionFile="ui/MultipleBooleanValueStyle.xwt">
- <widget href="ui/MultipleBooleanValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple DoubleValueStyle" sectionFile="ui/MultipleDoubleValueStyle.xwt">
- <widget href="ui/MultipleDoubleValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple DoubleListValueStyle" sectionFile="ui/MultipleDoubleListValueStyle.xwt">
- <widget href="ui/MultipleDoubleListValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple StringValueStyle" sectionFile="ui/MultipleStringValueStyle.xwt">
- <widget href="ui/MultipleStringValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple StringListValueStyle" sectionFile="ui/MultipleStringListValueStyle.xwt">
- <widget href="ui/MultipleStringListValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple EObjectValueStyle" sectionFile="ui/MultipleEObjectValueStyle.xwt">
- <widget href="ui/MultipleEObjectValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple EObjectListValueStyle" sectionFile="ui/MultipleEObjectListValueStyle.xwt">
- <widget href="ui/MultipleEObjectListValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple ByteArrayValueStyle" sectionFile="ui/MultipleByteArrayValueStyle.xwt">
- <widget href="ui/MultipleByteArrayValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple BooleanListValueStyle" sectionFile="ui/MultipleBooleanListValueStyle.xwt">
- <widget href="ui/MultipleBooleanListValueStyle.xwt#/"/>
- </sections>
- <sections name="Multiple HintedDiagramLinkStyle" sectionFile="ui/MultipleHintedDiagramLinkStyle.xwt">
- <widget href="ui/MultipleHintedDiagramLinkStyle.xwt#/"/>
- </sections>
- <sections name="Multiple DiagramLinkStyle" sectionFile="ui/MultipleDiagramLinkStyle.xwt">
- <widget href="ui/MultipleDiagramLinkStyle.xwt#/"/>
- </sections>
- <sections name="Multiple MultiDiagramLinkStyle" sectionFile="ui/MultipleMultiDiagramLinkStyle.xwt">
- <widget href="ui/MultipleMultiDiagramLinkStyle.xwt#/"/>
- </sections>
- <sections name="Multiple TextStyle" sectionFile="ui/MultipleTextStyle.xwt">
- <widget href="ui/MultipleTextStyle.xwt#/"/>
- </sections>
- <sections name="Multiple LineTypeStyle" sectionFile="ui/MultipleLineTypeStyle.xwt">
- <widget href="ui/MultipleLineTypeStyle.xwt#/"/>
- </sections>
- <sections name="Multiple ArrowStyle" sectionFile="ui/MultipleArrowStyle.xwt">
- <widget href="ui/MultipleArrowStyle.xwt#/"/>
- </sections>
- <sections name="Multiple Shape" sectionFile="ui/MultipleShape.xwt">
- <widget href="ui/MultipleShape.xwt#/"/>
- </sections>
- <sections name="Multiple Compartment" sectionFile="ui/MultipleCompartment.xwt">
- <widget href="ui/MultipleCompartment.xwt#/"/>
- </sections>
- <sections name="Multiple ListCompartment" sectionFile="ui/MultipleListCompartment.xwt">
- <widget href="ui/MultipleListCompartment.xwt#/"/>
- </sections>
- <sections name="Multiple Connector" sectionFile="ui/MultipleConnector.xwt">
- <widget href="ui/MultipleConnector.xwt#/"/>
- </sections>
- <sections name="Multiple StandardDiagram" sectionFile="ui/MultipleStandardDiagram.xwt">
- <widget href="ui/MultipleStandardDiagram.xwt#/"/>
- </sections>
- <sections name="Multiple DecorationNode" sectionFile="ui/MultipleDecorationNode.xwt">
- <widget href="ui/MultipleDecorationNode.xwt#/"/>
- </sections>
- <sections name="Multiple BasicDecorationNode" sectionFile="ui/MultipleBasicDecorationNode.xwt">
- <widget href="ui/MultipleBasicDecorationNode.xwt#/"/>
- </sections>
- <sections name="Multiple BasicCompartment" sectionFile="ui/MultipleBasicCompartment.xwt">
- <widget href="ui/MultipleBasicCompartment.xwt#/"/>
- </sections>
- <sections name="Multiple BasicSemanticCompartment" sectionFile="ui/MultipleBasicSemanticCompartment.xwt">
- <widget href="ui/MultipleBasicSemanticCompartment.xwt#/"/>
- </sections>
- <sections name="Multiple SemanticListCompartment" sectionFile="ui/MultipleSemanticListCompartment.xwt">
- <widget href="ui/MultipleSemanticListCompartment.xwt#/"/>
- </sections>
- <sections name="SingleGradientData" sectionFile="ui/SingleGradientData.xwt">
- <widget href="ui/SingleGradientData.xwt#/"/>
- </sections>
- </tabs>
- <views name="Single Diagram" sections="//@tabs.0/@sections.20" automaticContext="true" datacontexts="//@dataContexts.0/@elements.20">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDiagram">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Diagram"/>
- </constraints>
- </views>
- <views name="Single Edge" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEdge">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Edge"/>
- </constraints>
- </views>
- <views name="Single Node" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNode">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Node"/>
- </constraints>
- </views>
- <views name="Single Style" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Style"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="FillStyle" sections="//@tabs.0/@sections.3" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
- <constraints xsi:type="contexts:SimpleConstraint" name="isFillStyle" overrideable="false">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FillStyle"/>
- </constraints>
- </views>
- <views name="LineStyle" sections="//@tabs.0/@sections.4" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
- <constraints xsi:type="contexts:SimpleConstraint" name="isLineStyle" overrideable="false">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="LineStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="FontStyle" sections="//@tabs.0/@sections.5" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
- <constraints xsi:type="contexts:SimpleConstraint" name="isFontStyle" overrideable="false">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FontStyle"/>
- </constraints>
- </views>
- <views name="Single TitleStyle" sections="//@tabs.0/@sections.6" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTitleStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="TitleStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single SortingStyle" sections="//@tabs.0/@sections.7" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSortingStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="SortingStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single DescriptionStyle" sections="//@tabs.0/@sections.8" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDescriptionStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DescriptionStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single LayoutConstraint" sections="//@tabs.0/@sections.9" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLayoutConstraint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="LayoutConstraint"/>
- </constraints>
- </views>
- <views name="Single Size" sections="//@tabs.0/@sections.10" automaticContext="true" datacontexts="//@dataContexts.0/@elements.10">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSize">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Size"/>
- </constraints>
- </views>
- <views name="Single Location" sections="//@tabs.0/@sections.11" automaticContext="true" datacontexts="//@dataContexts.0/@elements.11">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLocation">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Location"/>
- </constraints>
- </views>
- <views name="Single Bounds" sections="//@tabs.0/@sections.12" automaticContext="true" datacontexts="//@dataContexts.0/@elements.12">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBounds">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Bounds"/>
- </constraints>
- </views>
- <views name="Single Ratio" sections="//@tabs.0/@sections.13" automaticContext="true" datacontexts="//@dataContexts.0/@elements.13">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRatio">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Ratio"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single Anchor" sections="//@tabs.0/@sections.14" automaticContext="true" datacontexts="//@dataContexts.0/@elements.14">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAnchor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Anchor"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single Bendpoints" sections="//@tabs.0/@sections.15" automaticContext="true" datacontexts="//@dataContexts.0/@elements.15">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBendpoints">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Bendpoints"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single IdentityAnchor" sections="//@tabs.0/@sections.16" automaticContext="true" datacontexts="//@dataContexts.0/@elements.16">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleIdentityAnchor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="IdentityAnchor"/>
- </constraints>
- </views>
- <views name="Single RoutingStyle" sections="//@tabs.0/@sections.17" automaticContext="true" datacontexts="//@dataContexts.0/@elements.17">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRoutingStyle" overrideable="false" overriddenConstraints="//@views.84/@constraints.0">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="RoutingStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single View" sections="//@tabs.0/@sections.18" automaticContext="true" datacontexts="//@dataContexts.0/@elements.18">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="View"/>
- </constraints>
- </views>
- <views name="Single RelativeBendpoints" sections="//@tabs.0/@sections.19" automaticContext="true" datacontexts="//@dataContexts.0/@elements.19">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRelativeBendpoints">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="RelativeBendpoints"/>
- </constraints>
- </views>
- <views name="Single Image" sections="//@tabs.0/@sections.21" automaticContext="true" datacontexts="//@dataContexts.0/@elements.21">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleImage">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Image"/>
- </constraints>
- </views>
- <views name="Single CanonicalStyle" sections="//@tabs.0/@sections.22" automaticContext="true" datacontexts="//@dataContexts.0/@elements.22">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCanonicalStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CanonicalStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single ShapeStyle" sections="//@tabs.0/@sections.23" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.23">
- <constraints xsi:type="contexts:SimpleConstraint" name="isShapeStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ShapeStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single ConnectorStyle" sections="//@tabs.0/@sections.24" automaticContext="true" datacontexts="//@dataContexts.0/@elements.24">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConnectorStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ConnectorStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single PageStyle" sections="//@tabs.0/@sections.25" automaticContext="true" datacontexts="//@dataContexts.0/@elements.25">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePageStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PageStyle"/>
- </constraints>
- </views>
- <views name="Single DrawerStyle" sections="//@tabs.0/@sections.26" automaticContext="true" datacontexts="//@dataContexts.0/@elements.26">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDrawerStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DrawerStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single GuideStyle" sections="//@tabs.0/@sections.27" automaticContext="true" datacontexts="//@dataContexts.0/@elements.27">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleGuideStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="GuideStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single Guide" sections="//@tabs.0/@sections.28" automaticContext="true" datacontexts="//@dataContexts.0/@elements.28">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleGuide">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Guide"/>
- </constraints>
- </views>
- <views name="Single NodeEntry" sections="//@tabs.0/@sections.29" automaticContext="true" datacontexts="//@dataContexts.0/@elements.29">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNodeEntry">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="NodeEntry"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single FilteringStyle" sections="//@tabs.0/@sections.30" automaticContext="true" datacontexts="//@dataContexts.0/@elements.30">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFilteringStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FilteringStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single DiagramStyle" sections="//@tabs.0/@sections.31" automaticContext="true" datacontexts="//@dataContexts.0/@elements.31">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDiagramStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DiagramStyle"/>
- </constraints>
- </views>
- <views name="Single ImageStyle" sections="//@tabs.0/@sections.32" automaticContext="true" datacontexts="//@dataContexts.0/@elements.32">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleImageStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ImageStyle"/>
- </constraints>
- </views>
- <views name="Single ImageBufferStyle" sections="//@tabs.0/@sections.33" automaticContext="true" datacontexts="//@dataContexts.0/@elements.33">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleImageBufferStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ImageBufferStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single PropertiesSetStyle" sections="//@tabs.0/@sections.34" automaticContext="true" datacontexts="//@dataContexts.0/@elements.34">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePropertiesSetStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertiesSetStyle"/>
- </constraints>
- </views>
- <views name="Single StringToPropertyValueMapEntry" sections="//@tabs.0/@sections.35" automaticContext="true" datacontexts="//@dataContexts.0/@elements.35">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStringToPropertyValueMapEntry">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StringToPropertyValueMapEntry"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single PropertyValue" sections="//@tabs.0/@sections.36" automaticContext="true" datacontexts="//@dataContexts.0/@elements.36">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePropertyValue">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyValue"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single SingleValueStyle" sections="//@tabs.0/@sections.37" automaticContext="true" datacontexts="//@dataContexts.0/@elements.37">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSingleValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="SingleValueStyle"/>
- </constraints>
- </views>
- <views name="Single ListValueStyle" sections="//@tabs.0/@sections.38" automaticContext="true" datacontexts="//@dataContexts.0/@elements.38">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ListValueStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single NamedStyle" sections="//@tabs.0/@sections.39" automaticContext="true" datacontexts="//@dataContexts.0/@elements.39">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNamedStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="NamedStyle"/>
- </constraints>
- </views>
- <views name="Single StringObjectConverter" sections="//@tabs.0/@sections.40" automaticContext="true" datacontexts="//@dataContexts.0/@elements.40">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStringObjectConverter">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StringObjectConverter"/>
- </constraints>
- </views>
- <views name="Single DataTypeStyle" sections="//@tabs.0/@sections.41" automaticContext="true" datacontexts="//@dataContexts.0/@elements.41">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDataTypeStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataTypeStyle"/>
- </constraints>
- </views>
- <views name="Single IntValueStyle" sections="//@tabs.0/@sections.42" automaticContext="true" datacontexts="//@dataContexts.0/@elements.42">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleIntValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="IntValueStyle"/>
- </constraints>
- </views>
- <views name="Single IntListValueStyle" sections="//@tabs.0/@sections.43" automaticContext="true" datacontexts="//@dataContexts.0/@elements.43">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleIntListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="IntListValueStyle"/>
- </constraints>
- </views>
- <views name="Single BooleanValueStyle" sections="//@tabs.0/@sections.44" automaticContext="true" datacontexts="//@dataContexts.0/@elements.44">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBooleanValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="BooleanValueStyle"/>
- </constraints>
- </views>
- <views name="Single DoubleValueStyle" sections="//@tabs.0/@sections.45" automaticContext="true" datacontexts="//@dataContexts.0/@elements.45">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDoubleValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DoubleValueStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single DoubleListValueStyle" sections="//@tabs.0/@sections.46" automaticContext="true" datacontexts="//@dataContexts.0/@elements.46">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDoubleListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DoubleListValueStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single StringValueStyle" sections="//@tabs.0/@sections.47" automaticContext="true" datacontexts="//@dataContexts.0/@elements.47">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStringValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StringValueStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single StringListValueStyle" sections="//@tabs.0/@sections.48" automaticContext="true" datacontexts="//@dataContexts.0/@elements.48">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStringListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StringListValueStyle"/>
- </constraints>
- </views>
- <views name="Single EObjectValueStyle" sections="//@tabs.0/@sections.49" automaticContext="true" datacontexts="//@dataContexts.0/@elements.49">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEObjectValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="EObjectValueStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single EObjectListValueStyle" sections="//@tabs.0/@sections.50" automaticContext="true" datacontexts="//@dataContexts.0/@elements.50">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEObjectListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="EObjectListValueStyle"/>
- </constraints>
- </views>
- <views name="Single ByteArrayValueStyle" sections="//@tabs.0/@sections.51" automaticContext="true" datacontexts="//@dataContexts.0/@elements.51">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleByteArrayValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ByteArrayValueStyle"/>
- </constraints>
- </views>
- <views name="Single BooleanListValueStyle" sections="//@tabs.0/@sections.52" automaticContext="true" datacontexts="//@dataContexts.0/@elements.52">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBooleanListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="BooleanListValueStyle"/>
- </constraints>
- </views>
- <views name="Single HintedDiagramLinkStyle" sections="//@tabs.0/@sections.53" automaticContext="true" datacontexts="//@dataContexts.0/@elements.53">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleHintedDiagramLinkStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="HintedDiagramLinkStyle"/>
- </constraints>
- </views>
- <views name="Single DiagramLinkStyle" sections="//@tabs.0/@sections.54" automaticContext="true" datacontexts="//@dataContexts.0/@elements.54">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDiagramLinkStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DiagramLinkStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single MultiDiagramLinkStyle" sections="//@tabs.0/@sections.55" automaticContext="true" datacontexts="//@dataContexts.0/@elements.55">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMultiDiagramLinkStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="MultiDiagramLinkStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single TextStyle" sections="//@tabs.0/@sections.56" automaticContext="true" datacontexts="//@dataContexts.0/@elements.56">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTextStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="TextStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single LineTypeStyle" sections="//@tabs.0/@sections.57" automaticContext="true" datacontexts="//@dataContexts.0/@elements.57">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLineTypeStyle" overrideable="false">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="LineTypeStyle"/>
- </constraints>
- </views>
- <views name="Single ArrowStyle" sections="//@tabs.0/@sections.58" automaticContext="true" datacontexts="//@dataContexts.0/@elements.58">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleArrowStyle" overrideable="false">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ArrowStyle"/>
- </constraints>
- </views>
- <views name="Single Shape" sections="//@tabs.0/@sections.59" automaticContext="true" datacontexts="//@dataContexts.0/@elements.59">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleShape">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Shape"/>
- </constraints>
- </views>
- <views name="Single Compartment" sections="//@tabs.0/@sections.60" automaticContext="true" datacontexts="//@dataContexts.0/@elements.60">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCompartment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Compartment"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single ListCompartment" sections="//@tabs.0/@sections.61" automaticContext="true" datacontexts="//@dataContexts.0/@elements.61">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleListCompartment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ListCompartment"/>
- </constraints>
- </views>
- <views name="Single Connector" sections="//@tabs.0/@sections.62" automaticContext="true" datacontexts="//@dataContexts.0/@elements.62">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConnector">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Connector"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single StandardDiagram" sections="//@tabs.0/@sections.63" automaticContext="true" datacontexts="//@dataContexts.0/@elements.63">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStandardDiagram">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StandardDiagram"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single DecorationNode" sections="//@tabs.0/@sections.64" automaticContext="true" datacontexts="//@dataContexts.0/@elements.64">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDecorationNode">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DecorationNode"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single BasicDecorationNode" sections="//@tabs.0/@sections.65" automaticContext="true" datacontexts="//@dataContexts.0/@elements.65">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBasicDecorationNode">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="BasicDecorationNode"/>
- </constraints>
- </views>
- <views name="Single BasicCompartment" sections="//@tabs.0/@sections.66" automaticContext="true" datacontexts="//@dataContexts.0/@elements.66">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBasicCompartment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="BasicCompartment"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single BasicSemanticCompartment" sections="//@tabs.0/@sections.67" automaticContext="true" datacontexts="//@dataContexts.0/@elements.67">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBasicSemanticCompartment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="BasicSemanticCompartment"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Single SemanticListCompartment" sections="//@tabs.0/@sections.68" automaticContext="true" datacontexts="//@dataContexts.0/@elements.68">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSemanticListCompartment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="SemanticListCompartment"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="RoundedCornersStyle" sections="//@tabs.0/@sections.69" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.69">
- <constraints xsi:type="contexts:SimpleConstraint" name="isRoundedCornersStyle" overrideable="false">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="RoundedCornersStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple Edge" sections="//@tabs.0/@sections.70" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEdge">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Edge"/>
- </constraints>
- </views>
- <views name="Multiple Node" sections="//@tabs.0/@sections.71" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNode">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Node"/>
- </constraints>
- </views>
- <views name="Multiple Style" sections="//@tabs.0/@sections.72" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Style"/>
- </constraints>
- </views>
- <views name="Multiple TitleStyle" sections="//@tabs.0/@sections.73" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTitleStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="TitleStyle"/>
- </constraints>
- </views>
- <views name="Multiple SortingStyle" sections="//@tabs.0/@sections.74" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSortingStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="SortingStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple DescriptionStyle" sections="//@tabs.0/@sections.75" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDescriptionStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DescriptionStyle"/>
- </constraints>
- </views>
- <views name="Multiple LayoutConstraint" sections="//@tabs.0/@sections.76" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLayoutConstraint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="LayoutConstraint"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple Size" sections="//@tabs.0/@sections.77" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.10">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSize">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Size"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple Location" sections="//@tabs.0/@sections.78" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.11">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLocation">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Location"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple Bounds" sections="//@tabs.0/@sections.79" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.12">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBounds">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Bounds"/>
- </constraints>
- </views>
- <views name="Multiple Ratio" sections="//@tabs.0/@sections.80" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.13">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRatio">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Ratio"/>
- </constraints>
- </views>
- <views name="Multiple Anchor" sections="//@tabs.0/@sections.81" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.14">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAnchor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Anchor"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple Bendpoints" sections="//@tabs.0/@sections.82" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.15">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBendpoints">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Bendpoints"/>
- </constraints>
- </views>
- <views name="Multiple IdentityAnchor" sections="//@tabs.0/@sections.83" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.16">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleIdentityAnchor">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="IdentityAnchor"/>
- </constraints>
- </views>
- <views name="Multiple RoutingStyle" sections="//@tabs.0/@sections.84" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.17">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRoutingStyle" overrideable="false">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="RoutingStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple View" sections="//@tabs.0/@sections.85" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.18">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="View"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple RelativeBendpoints" sections="//@tabs.0/@sections.86" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.19">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRelativeBendpoints">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="RelativeBendpoints"/>
- </constraints>
- </views>
- <views name="Multiple Diagram" sections="//@tabs.0/@sections.87" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.20">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDiagram">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Diagram"/>
- </constraints>
- </views>
- <views name="Multiple Image" sections="//@tabs.0/@sections.88" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.21">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleImage">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Image"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple CanonicalStyle" sections="//@tabs.0/@sections.89" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.22">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCanonicalStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="CanonicalStyle"/>
- </constraints>
- </views>
- <views name="Multiple ConnectorStyle" sections="//@tabs.0/@sections.90" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.24">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConnectorStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ConnectorStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple PageStyle" sections="//@tabs.0/@sections.91" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.25">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePageStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PageStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple DrawerStyle" sections="//@tabs.0/@sections.92" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.26">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDrawerStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DrawerStyle"/>
- </constraints>
- </views>
- <views name="Multiple GuideStyle" sections="//@tabs.0/@sections.93" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.27">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleGuideStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="GuideStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple Guide" sections="//@tabs.0/@sections.94" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.28">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleGuide">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Guide"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple NodeEntry" sections="//@tabs.0/@sections.95" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.29">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNodeEntry">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="NodeEntry"/>
- </constraints>
- </views>
- <views name="Multiple FilteringStyle" sections="//@tabs.0/@sections.96" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.30">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFilteringStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FilteringStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple DiagramStyle" sections="//@tabs.0/@sections.97" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.31">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDiagramStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DiagramStyle"/>
- </constraints>
- </views>
- <views name="Multiple ImageStyle" sections="//@tabs.0/@sections.98" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.32">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleImageStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ImageStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple ImageBufferStyle" sections="//@tabs.0/@sections.99" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.33">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleImageBufferStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ImageBufferStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple PropertiesSetStyle" sections="//@tabs.0/@sections.100" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.34">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePropertiesSetStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertiesSetStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple StringToPropertyValueMapEntry" sections="//@tabs.0/@sections.101" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.35">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStringToPropertyValueMapEntry">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StringToPropertyValueMapEntry"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple PropertyValue" sections="//@tabs.0/@sections.102" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.36">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePropertyValue">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PropertyValue"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple SingleValueStyle" sections="//@tabs.0/@sections.103" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.37">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSingleValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="SingleValueStyle"/>
- </constraints>
- </views>
- <views name="Multiple ListValueStyle" sections="//@tabs.0/@sections.104" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.38">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ListValueStyle"/>
- </constraints>
- </views>
- <views name="Multiple NamedStyle" sections="//@tabs.0/@sections.105" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.39">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNamedStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="NamedStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple StringObjectConverter" sections="//@tabs.0/@sections.106" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.40">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStringObjectConverter">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StringObjectConverter"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple DataTypeStyle" sections="//@tabs.0/@sections.107" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.41">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDataTypeStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DataTypeStyle"/>
- </constraints>
- </views>
- <views name="Multiple IntValueStyle" sections="//@tabs.0/@sections.108" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.42">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleIntValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="IntValueStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple IntListValueStyle" sections="//@tabs.0/@sections.109" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.43">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleIntListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="IntListValueStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple BooleanValueStyle" sections="//@tabs.0/@sections.110" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.44">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBooleanValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="BooleanValueStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple DoubleValueStyle" sections="//@tabs.0/@sections.111" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.45">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDoubleValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DoubleValueStyle"/>
- </constraints>
- </views>
- <views name="Multiple DoubleListValueStyle" sections="//@tabs.0/@sections.112" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.46">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDoubleListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DoubleListValueStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple StringValueStyle" sections="//@tabs.0/@sections.113" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.47">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStringValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StringValueStyle"/>
- </constraints>
- </views>
- <views name="Multiple StringListValueStyle" sections="//@tabs.0/@sections.114" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.48">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStringListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StringListValueStyle"/>
- </constraints>
- </views>
- <views name="Multiple EObjectValueStyle" sections="//@tabs.0/@sections.115" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.49">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEObjectValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="EObjectValueStyle"/>
- </constraints>
- </views>
- <views name="Multiple EObjectListValueStyle" sections="//@tabs.0/@sections.116" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.50">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEObjectListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="EObjectListValueStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple ByteArrayValueStyle" sections="//@tabs.0/@sections.117" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.51">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleByteArrayValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ByteArrayValueStyle"/>
- </constraints>
- </views>
- <views name="Multiple BooleanListValueStyle" sections="//@tabs.0/@sections.118" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.52">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBooleanListValueStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="BooleanListValueStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple HintedDiagramLinkStyle" sections="//@tabs.0/@sections.119" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.53">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleHintedDiagramLinkStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="HintedDiagramLinkStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple DiagramLinkStyle" sections="//@tabs.0/@sections.120" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.54">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDiagramLinkStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DiagramLinkStyle"/>
- </constraints>
- </views>
- <views name="Multiple MultiDiagramLinkStyle" sections="//@tabs.0/@sections.121" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.55">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMultiDiagramLinkStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="MultiDiagramLinkStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple TextStyle" sections="//@tabs.0/@sections.122" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.56">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTextStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="TextStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple LineTypeStyle" sections="//@tabs.0/@sections.123" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.57">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLineTypeStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="LineTypeStyle"/>
- </constraints>
- </views>
- <views name="Multiple ArrowStyle" sections="//@tabs.0/@sections.124" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.58">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleArrowStyle">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ArrowStyle"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple Shape" sections="//@tabs.0/@sections.125" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.59">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleShape">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Shape"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple Compartment" sections="//@tabs.0/@sections.126" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.60">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCompartment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Compartment"/>
- </constraints>
- </views>
- <views name="Multiple ListCompartment" sections="//@tabs.0/@sections.127" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.61">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleListCompartment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ListCompartment"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple Connector" sections="//@tabs.0/@sections.128" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.62">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConnector">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Connector"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple StandardDiagram" sections="//@tabs.0/@sections.129" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.63">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStandardDiagram">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="StandardDiagram"/>
- </constraints>
- </views>
- <views name="Multiple DecorationNode" sections="//@tabs.0/@sections.130" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.64">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDecorationNode">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DecorationNode"/>
- </constraints>
- </views>
- <views name="Multiple BasicDecorationNode" sections="//@tabs.0/@sections.131" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.65">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBasicDecorationNode">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="BasicDecorationNode"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple BasicCompartment" sections="//@tabs.0/@sections.132" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.66">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBasicCompartment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="BasicCompartment"/>
- </constraints>
- </views>
- <views name="Multiple BasicSemanticCompartment" sections="//@tabs.0/@sections.133" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.67">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBasicSemanticCompartment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="BasicSemanticCompartment"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- </constraints>
- </views>
- <views name="Multiple SemanticListCompartment" sections="//@tabs.0/@sections.134" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.68">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSemanticListCompartment">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="SemanticListCompartment"/>
- </constraints>
- </views>
- <views name="SingleGradientData" sections="//@tabs.0/@sections.135">
- <constraints xsi:type="contexts:SimpleConstraint" name="isGradientData">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.3"/>
- <properties xsi:type="contexts:ValueProperty" name="class" value="org.eclipse.gmf.runtime.notation.datatype.GradientData"/>
- </constraints>
- </views>
- <dataContexts name="notation" label="notation">
- <elements name="Edge" supertypes="//@dataContexts.0/@elements.18">
- <properties name="source" type="Reference"/>
- <properties name="target" type="Reference"/>
- <properties name="bendpoints" type="Reference"/>
- <properties name="sourceAnchor" type="Reference"/>
- <properties name="targetAnchor" type="Reference"/>
- </elements>
- <elements name="Node" supertypes="//@dataContexts.0/@elements.18">
- <properties name="layoutConstraint" type="Reference"/>
- </elements>
- <elements name="Style"/>
- <elements name="FillStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="fillColor" type="Integer"/>
- <properties name="transparency" type="Integer"/>
- <properties name="gradient" type="Reference"/>
- </elements>
- <elements name="LineStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="lineColor" type="Integer"/>
- <properties name="lineWidth" type="Integer"/>
- </elements>
- <elements name="FontStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="fontColor" type="Integer"/>
- <properties name="fontName"/>
- <properties name="fontHeight" type="Integer"/>
- <properties name="bold" type="Boolean"/>
- <properties name="italic" type="Boolean"/>
- <properties name="underline" type="Boolean"/>
- <properties name="strikeThrough" type="Boolean"/>
- </elements>
- <elements name="TitleStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="showTitle" type="Boolean"/>
- </elements>
- <elements name="SortingStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="sorting" type="Enumeration"/>
- <properties name="sortingKeys"/>
- <properties name="sortedObjects" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="DescriptionStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="description"/>
- </elements>
- <elements name="LayoutConstraint"/>
- <elements name="Size" supertypes="//@dataContexts.0/@elements.9">
- <properties name="width" type="Integer"/>
- <properties name="height" type="Integer"/>
- </elements>
- <elements name="Location" supertypes="//@dataContexts.0/@elements.9">
- <properties name="x" type="Integer"/>
- <properties name="y" type="Integer"/>
- </elements>
- <elements name="Bounds" supertypes="//@dataContexts.0/@elements.11 //@dataContexts.0/@elements.10"/>
- <elements name="Ratio" supertypes="//@dataContexts.0/@elements.9">
- <properties name="value"/>
- </elements>
- <elements name="Anchor"/>
- <elements name="Bendpoints"/>
- <elements name="IdentityAnchor" supertypes="//@dataContexts.0/@elements.14">
- <properties name="id"/>
- </elements>
- <elements name="RoutingStyle" supertypes="//@dataContexts.0/@elements.69">
- <properties name="routing" type="Enumeration"/>
- <properties name="smoothness" type="Enumeration"/>
- <properties name="avoidObstructions" type="Boolean"/>
- <properties name="closestDistance" type="Boolean"/>
- <properties name="jumpLinkStatus" type="Enumeration"/>
- <properties name="jumpLinkType" type="Enumeration"/>
- <properties name="jumpLinksReverse" type="Boolean"/>
- </elements>
- <elements name="View">
- <properties name="visible" type="Boolean"/>
- <properties name="type"/>
- <properties name="mutable" type="Boolean"/>
- <properties name="sourceEdges" type="Reference" multiplicity="-1"/>
- <properties name="targetEdges" type="Reference" multiplicity="-1"/>
- <properties name="persistedChildren" type="Reference" multiplicity="-1"/>
- <properties name="styles" type="Reference" multiplicity="-1"/>
- <properties name="element" type="Reference"/>
- <properties name="diagram" type="Reference"/>
- <properties name="transientChildren" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="RelativeBendpoints" supertypes="//@dataContexts.0/@elements.15">
- <properties name="points"/>
- </elements>
- <elements name="Diagram" supertypes="//@dataContexts.0/@elements.18">
- <properties name="name" label="Name"/>
- <properties name="measurementUnit" type="Enumeration"/>
- <properties name="persistedEdges" type="Reference" multiplicity="-1"/>
- <properties name="TransientEdges" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="Image">
- <properties name="data"/>
- </elements>
- <elements name="CanonicalStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="canonical" type="Boolean"/>
- </elements>
- <elements name="ShapeStyle" supertypes="//@dataContexts.0/@elements.5 //@dataContexts.0/@elements.8 //@dataContexts.0/@elements.3 //@dataContexts.0/@elements.4 //@dataContexts.0/@elements.69"/>
- <elements name="ConnectorStyle" supertypes="//@dataContexts.0/@elements.17 //@dataContexts.0/@elements.4"/>
- <elements name="PageStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="pageX" type="Integer"/>
- <properties name="pageY" type="Integer"/>
- <properties name="pageWidth" type="Integer"/>
- <properties name="pageHeight" type="Integer"/>
- </elements>
- <elements name="DrawerStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="collapsed" type="Boolean"/>
- </elements>
- <elements name="GuideStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="horizontalGuides" type="Reference" multiplicity="-1"/>
- <properties name="verticalGuides" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="Guide">
- <properties name="position" type="Integer"/>
- <properties name="nodeMap" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="NodeEntry">
- <properties name="value" type="Enumeration"/>
- <properties name="key" type="Reference"/>
- </elements>
- <elements name="FilteringStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="filtering" type="Enumeration"/>
- <properties name="filteringKeys"/>
- <properties name="filteredObjects" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="DiagramStyle" supertypes="//@dataContexts.0/@elements.25 //@dataContexts.0/@elements.27 //@dataContexts.0/@elements.8"/>
- <elements name="ImageStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="antiAlias"/>
- <properties name="maintainAspectRatio"/>
- <properties name="cropBound" type="Reference"/>
- </elements>
- <elements name="ImageBufferStyle" supertypes="//@dataContexts.0/@elements.32">
- <properties name="imageBuffer" type="Reference"/>
- </elements>
- <elements name="PropertiesSetStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="propertiesMap" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="StringToPropertyValueMapEntry">
- <properties name="key"/>
- <properties name="value" type="Reference"/>
- </elements>
- <elements name="PropertyValue" supertypes="//@dataContexts.0/@elements.40">
- <properties name="rawValue"/>
- <properties name="instanceType" type="Reference"/>
- </elements>
- <elements name="SingleValueStyle" supertypes="//@dataContexts.0/@elements.41">
- <properties name="rawValue"/>
- </elements>
- <elements name="ListValueStyle" supertypes="//@dataContexts.0/@elements.41">
- <properties name="rawValuesList" multiplicity="-1"/>
- </elements>
- <elements name="NamedStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="name"/>
- </elements>
- <elements name="StringObjectConverter"/>
- <elements name="DataTypeStyle" supertypes="//@dataContexts.0/@elements.39 //@dataContexts.0/@elements.40">
- <properties name="instanceType" type="Reference"/>
- </elements>
- <elements name="IntValueStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="intValue"/>
- </elements>
- <elements name="IntListValueStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="intListValue" multiplicity="-1"/>
- </elements>
- <elements name="BooleanValueStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="booleanValue"/>
- </elements>
- <elements name="DoubleValueStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="doubleValue"/>
- </elements>
- <elements name="DoubleListValueStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="doubleListValue" multiplicity="-1"/>
- </elements>
- <elements name="StringValueStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="stringValue"/>
- </elements>
- <elements name="StringListValueStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="stringListValue" multiplicity="-1"/>
- </elements>
- <elements name="EObjectValueStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="eObjectValue" type="Reference"/>
- </elements>
- <elements name="EObjectListValueStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="eObjectListValue" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="ByteArrayValueStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="byteArrayValue"/>
- </elements>
- <elements name="BooleanListValueStyle" supertypes="//@dataContexts.0/@elements.39">
- <properties name="booleanListValue" multiplicity="-1"/>
- </elements>
- <elements name="HintedDiagramLinkStyle" supertypes="//@dataContexts.0/@elements.54 //@dataContexts.0/@elements.2">
- <properties name="hint"/>
- </elements>
- <elements name="DiagramLinkStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="diagramLink" type="Reference"/>
- </elements>
- <elements name="MultiDiagramLinkStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="diagramLinks" type="Reference" multiplicity="-1"/>
- </elements>
- <elements name="TextStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="textAlignment" type="Enumeration"/>
- </elements>
- <elements name="LineTypeStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="lineType" type="Enumeration"/>
- </elements>
- <elements name="ArrowStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="arrowSource" type="Enumeration"/>
- <properties name="arrowTarget" type="Enumeration"/>
- </elements>
- <elements name="Shape" supertypes="//@dataContexts.0/@elements.1 //@dataContexts.0/@elements.23"/>
- <elements name="Compartment" supertypes="//@dataContexts.0/@elements.66 //@dataContexts.0/@elements.22 //@dataContexts.0/@elements.6"/>
- <elements name="ListCompartment" supertypes="//@dataContexts.0/@elements.66 //@dataContexts.0/@elements.7 //@dataContexts.0/@elements.30 //@dataContexts.0/@elements.6"/>
- <elements name="Connector" supertypes="//@dataContexts.0/@elements.0 //@dataContexts.0/@elements.24"/>
- <elements name="StandardDiagram" supertypes="//@dataContexts.0/@elements.20 //@dataContexts.0/@elements.31"/>
- <elements name="DecorationNode" supertypes="//@dataContexts.0/@elements.65"/>
- <elements name="BasicDecorationNode" supertypes="//@dataContexts.0/@elements.1"/>
- <elements name="BasicCompartment" supertypes="//@dataContexts.0/@elements.64 //@dataContexts.0/@elements.26"/>
- <elements name="BasicSemanticCompartment" supertypes="//@dataContexts.0/@elements.65 //@dataContexts.0/@elements.26"/>
- <elements name="SemanticListCompartment" supertypes="//@dataContexts.0/@elements.67 //@dataContexts.0/@elements.7 //@dataContexts.0/@elements.30 //@dataContexts.0/@elements.6"/>
- <elements name="RoundedCornersStyle" supertypes="//@dataContexts.0/@elements.2">
- <properties name="roundedBendpointsRadius" type="Integer"/>
- </elements>
- <elements name="GradientData">
- <properties name="gradientColor1" label="Gradient color" type="Integer"/>
- <properties name="gradientColor2" label="Gradient color 2" type="Integer"/>
- <properties name="gradientStyle" type="Enumeration"/>
- <properties name="activate" label="Activate" type="Boolean"/>
- </elements>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@modelElementFactories.0"/>
- </dataContexts>
+<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9"
+ xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9"
+ name="notation">
+ <tabs label="Appearance" id="appearance" category="org.eclipse.papyrus"
+ priority="75">
+ <sections name="Single Edge" sectionFile="ui/SingleEdge.xwt">
+ <widget href="ui/SingleEdge.xwt#/" />
+ </sections>
+ <sections name="Single Node" sectionFile="ui/SingleNode.xwt">
+ <widget href="ui/SingleNode.xwt#/" />
+ </sections>
+ <sections name="Single Style" sectionFile="ui/SingleStyle.xwt">
+ <widget href="ui/SingleStyle.xwt#/" />
+ </sections>
+ <sections name="FillStyle" sectionFile="ui/FillStyle.xwt">
+ <widget href="ui/FillStyle.xwt#/" />
+ </sections>
+ <sections name="Single LineStyle" sectionFile="ui/LineStyle.xwt">
+ <widget href="ui/LineStyle.xwt#/" />
+ </sections>
+ <sections name="Single FontStyle" sectionFile="ui/FontStyle.xwt">
+ <widget href="ui/FontStyle.xwt#/" />
+ </sections>
+ <sections name="Single TitleStyle" sectionFile="ui/SingleTitleStyle.xwt">
+ <widget href="ui/SingleTitleStyle.xwt#/" />
+ </sections>
+ <sections name="Single SortingStyle" sectionFile="ui/SingleSortingStyle.xwt">
+ <widget href="ui/SingleSortingStyle.xwt#/" />
+ </sections>
+ <sections name="Single DescriptionStyle" sectionFile="ui/SingleDescriptionStyle.xwt">
+ <widget href="ui/SingleDescriptionStyle.xwt#/" />
+ </sections>
+ <sections name="Single LayoutConstraint" sectionFile="ui/SingleLayoutConstraint.xwt">
+ <widget href="ui/SingleLayoutConstraint.xwt#/" />
+ </sections>
+ <sections name="Single Size" sectionFile="ui/SingleSize.xwt">
+ <widget href="ui/SingleSize.xwt#/" />
+ </sections>
+ <sections name="Single Location" sectionFile="ui/SingleLocation.xwt">
+ <widget href="ui/SingleLocation.xwt#/" />
+ </sections>
+ <sections name="Single Bounds" sectionFile="ui/SingleBounds.xwt">
+ <widget href="ui/SingleBounds.xwt#/" />
+ </sections>
+ <sections name="Single Ratio" sectionFile="ui/SingleRatio.xwt">
+ <widget href="ui/SingleRatio.xwt#/" />
+ </sections>
+ <sections name="Single Anchor" sectionFile="ui/SingleAnchor.xwt">
+ <widget href="ui/SingleAnchor.xwt#/" />
+ </sections>
+ <sections name="Single Bendpoints" sectionFile="ui/SingleBendpoints.xwt">
+ <widget href="ui/SingleBendpoints.xwt#/" />
+ </sections>
+ <sections name="Single IdentityAnchor" sectionFile="ui/SingleIdentityAnchor.xwt">
+ <widget href="ui/SingleIdentityAnchor.xwt#/" />
+ </sections>
+ <sections name="Single RoutingStyle" sectionFile="ui/SingleRoutingStyle.xwt">
+ <widget href="ui/SingleRoutingStyle.xwt#/" />
+ </sections>
+ <sections name="Single View" sectionFile="ui/SingleView.xwt">
+ <widget href="ui/SingleView.xwt#/" />
+ </sections>
+ <sections name="Single RelativeBendpoints" sectionFile="ui/SingleRelativeBendpoints.xwt">
+ <widget href="ui/SingleRelativeBendpoints.xwt#/" />
+ </sections>
+ <sections name="Single Diagram" sectionFile="ui/SingleDiagram.xwt">
+ <widget href="ui/SingleDiagram.xwt#/" />
+ </sections>
+ <sections name="Single Image" sectionFile="ui/SingleImage.xwt">
+ <widget href="ui/SingleImage.xwt#/" />
+ </sections>
+ <sections name="Single CanonicalStyle" sectionFile="ui/SingleCanonicalStyle.xwt">
+ <widget href="ui/SingleCanonicalStyle.xwt#/" />
+ </sections>
+ <sections name="Single ShapeStyle" sectionFile="ui/ShapeStyle.xwt">
+ <widget href="ui/ShapeStyle.xwt#/" />
+ </sections>
+ <sections name="Single ConnectorStyle" sectionFile="ui/SingleConnectorStyle.xwt">
+ <widget href="ui/SingleConnectorStyle.xwt#/" />
+ </sections>
+ <sections name="Single PageStyle" sectionFile="ui/SinglePageStyle.xwt">
+ <widget href="ui/SinglePageStyle.xwt#/" />
+ </sections>
+ <sections name="Single DrawerStyle" sectionFile="ui/SingleDrawerStyle.xwt">
+ <widget href="ui/SingleDrawerStyle.xwt#/" />
+ </sections>
+ <sections name="Single GuideStyle" sectionFile="ui/SingleGuideStyle.xwt">
+ <widget href="ui/SingleGuideStyle.xwt#/" />
+ </sections>
+ <sections name="Single Guide" sectionFile="ui/SingleGuide.xwt">
+ <widget href="ui/SingleGuide.xwt#/" />
+ </sections>
+ <sections name="Single NodeEntry" sectionFile="ui/SingleNodeEntry.xwt">
+ <widget href="ui/SingleNodeEntry.xwt#/" />
+ </sections>
+ <sections name="Single FilteringStyle" sectionFile="ui/SingleFilteringStyle.xwt">
+ <widget href="ui/SingleFilteringStyle.xwt#/" />
+ </sections>
+ <sections name="Single DiagramStyle" sectionFile="ui/SingleDiagramStyle.xwt">
+ <widget href="ui/SingleDiagramStyle.xwt#/" />
+ </sections>
+ <sections name="Single ImageStyle" sectionFile="ui/SingleImageStyle.xwt">
+ <widget href="ui/SingleImageStyle.xwt#/" />
+ </sections>
+ <sections name="Single ImageBufferStyle" sectionFile="ui/SingleImageBufferStyle.xwt">
+ <widget href="ui/SingleImageBufferStyle.xwt#/" />
+ </sections>
+ <sections name="Single PropertiesSetStyle" sectionFile="ui/SinglePropertiesSetStyle.xwt">
+ <widget href="ui/SinglePropertiesSetStyle.xwt#/" />
+ </sections>
+ <sections name="Single StringToPropertyValueMapEntry"
+ sectionFile="ui/SingleStringToPropertyValueMapEntry.xwt">
+ <widget href="ui/SingleStringToPropertyValueMapEntry.xwt#/" />
+ </sections>
+ <sections name="Single PropertyValue" sectionFile="ui/SinglePropertyValue.xwt">
+ <widget href="ui/SinglePropertyValue.xwt#/" />
+ </sections>
+ <sections name="Single SingleValueStyle" sectionFile="ui/SingleSingleValueStyle.xwt">
+ <widget href="ui/SingleSingleValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single ListValueStyle" sectionFile="ui/SingleListValueStyle.xwt">
+ <widget href="ui/SingleListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single NamedStyle" sectionFile="ui/SingleNamedStyle.xwt">
+ <widget href="ui/SingleNamedStyle.xwt#/" />
+ </sections>
+ <sections name="Single StringObjectConverter" sectionFile="ui/SingleStringObjectConverter.xwt">
+ <widget href="ui/SingleStringObjectConverter.xwt#/" />
+ </sections>
+ <sections name="Single DataTypeStyle" sectionFile="ui/SingleDataTypeStyle.xwt">
+ <widget href="ui/SingleDataTypeStyle.xwt#/" />
+ </sections>
+ <sections name="Single IntValueStyle" sectionFile="ui/SingleIntValueStyle.xwt">
+ <widget href="ui/SingleIntValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single IntListValueStyle" sectionFile="ui/SingleIntListValueStyle.xwt">
+ <widget href="ui/SingleIntListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single BooleanValueStyle" sectionFile="ui/SingleBooleanValueStyle.xwt">
+ <widget href="ui/SingleBooleanValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single DoubleValueStyle" sectionFile="ui/SingleDoubleValueStyle.xwt">
+ <widget href="ui/SingleDoubleValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single DoubleListValueStyle" sectionFile="ui/SingleDoubleListValueStyle.xwt">
+ <widget href="ui/SingleDoubleListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single StringValueStyle" sectionFile="ui/SingleStringValueStyle.xwt">
+ <widget href="ui/SingleStringValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single StringListValueStyle" sectionFile="ui/SingleStringListValueStyle.xwt">
+ <widget href="ui/SingleStringListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single EObjectValueStyle" sectionFile="ui/SingleEObjectValueStyle.xwt">
+ <widget href="ui/SingleEObjectValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single EObjectListValueStyle" sectionFile="ui/SingleEObjectListValueStyle.xwt">
+ <widget href="ui/SingleEObjectListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single ByteArrayValueStyle" sectionFile="ui/SingleByteArrayValueStyle.xwt">
+ <widget href="ui/SingleByteArrayValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single BooleanListValueStyle" sectionFile="ui/SingleBooleanListValueStyle.xwt">
+ <widget href="ui/SingleBooleanListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Single HintedDiagramLinkStyle" sectionFile="ui/SingleHintedDiagramLinkStyle.xwt">
+ <widget href="ui/SingleHintedDiagramLinkStyle.xwt#/" />
+ </sections>
+ <sections name="Single DiagramLinkStyle" sectionFile="ui/SingleDiagramLinkStyle.xwt">
+ <widget href="ui/SingleDiagramLinkStyle.xwt#/" />
+ </sections>
+ <sections name="Single MultiDiagramLinkStyle" sectionFile="ui/SingleMultiDiagramLinkStyle.xwt">
+ <widget href="ui/SingleMultiDiagramLinkStyle.xwt#/" />
+ </sections>
+ <sections name="Single TextStyle" sectionFile="ui/SingleTextStyle.xwt">
+ <widget href="ui/SingleTextStyle.xwt#/" />
+ </sections>
+ <sections name="Single LineTypeStyle" sectionFile="ui/SingleLineTypeStyle.xwt">
+ <widget href="ui/SingleLineTypeStyle.xwt#/" />
+ </sections>
+ <sections name="Single ArrowStyle" sectionFile="ui/SingleArrowStyle.xwt">
+ <widget href="ui/SingleArrowStyle.xwt#/" />
+ </sections>
+ <sections name="Single Shape" sectionFile="ui/SingleShape.xwt">
+ <widget href="ui/SingleShape.xwt#/" />
+ </sections>
+ <sections name="Single Compartment" sectionFile="ui/SingleCompartment.xwt">
+ <widget href="ui/SingleCompartment.xwt#/" />
+ </sections>
+ <sections name="Single ListCompartment" sectionFile="ui/SingleListCompartment.xwt">
+ <widget href="ui/SingleListCompartment.xwt#/" />
+ </sections>
+ <sections name="Single Connector" sectionFile="ui/SingleConnector.xwt">
+ <widget href="ui/SingleConnector.xwt#/" />
+ </sections>
+ <sections name="Single StandardDiagram" sectionFile="ui/SingleStandardDiagram.xwt">
+ <widget href="ui/SingleStandardDiagram.xwt#/" />
+ </sections>
+ <sections name="Single DecorationNode" sectionFile="ui/SingleDecorationNode.xwt">
+ <widget href="ui/SingleDecorationNode.xwt#/" />
+ </sections>
+ <sections name="Single BasicDecorationNode" sectionFile="ui/SingleBasicDecorationNode.xwt">
+ <widget href="ui/SingleBasicDecorationNode.xwt#/" />
+ </sections>
+ <sections name="Single BasicCompartment" sectionFile="ui/SingleBasicCompartment.xwt">
+ <widget href="ui/SingleBasicCompartment.xwt#/" />
+ </sections>
+ <sections name="Single BasicSemanticCompartment" sectionFile="ui/SingleBasicSemanticCompartment.xwt">
+ <widget href="ui/SingleBasicSemanticCompartment.xwt#/" />
+ </sections>
+ <sections name="Single SemanticListCompartment" sectionFile="ui/SingleSemanticListCompartment.xwt">
+ <widget href="ui/SingleSemanticListCompartment.xwt#/" />
+ </sections>
+ <sections name="Single RoundedCornersStyle" sectionFile="ui/RoundedCornersStyle.xwt">
+ <widget href="ui/RoundedCornersStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple Edge" sectionFile="ui/MultipleEdge.xwt">
+ <widget href="ui/MultipleEdge.xwt#/" />
+ </sections>
+ <sections name="Multiple Node" sectionFile="ui/MultipleNode.xwt">
+ <widget href="ui/MultipleNode.xwt#/" />
+ </sections>
+ <sections name="Multiple Style" sectionFile="ui/MultipleStyle.xwt">
+ <widget href="ui/MultipleStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple TitleStyle" sectionFile="ui/MultipleTitleStyle.xwt">
+ <widget href="ui/MultipleTitleStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple SortingStyle" sectionFile="ui/MultipleSortingStyle.xwt">
+ <widget href="ui/MultipleSortingStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple DescriptionStyle" sectionFile="ui/MultipleDescriptionStyle.xwt">
+ <widget href="ui/MultipleDescriptionStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple LayoutConstraint" sectionFile="ui/MultipleLayoutConstraint.xwt">
+ <widget href="ui/MultipleLayoutConstraint.xwt#/" />
+ </sections>
+ <sections name="Multiple Size" sectionFile="ui/MultipleSize.xwt">
+ <widget href="ui/MultipleSize.xwt#/" />
+ </sections>
+ <sections name="Multiple Location" sectionFile="ui/MultipleLocation.xwt">
+ <widget href="ui/MultipleLocation.xwt#/" />
+ </sections>
+ <sections name="Multiple Bounds" sectionFile="ui/MultipleBounds.xwt">
+ <widget href="ui/MultipleBounds.xwt#/" />
+ </sections>
+ <sections name="Multiple Ratio" sectionFile="ui/MultipleRatio.xwt">
+ <widget href="ui/MultipleRatio.xwt#/" />
+ </sections>
+ <sections name="Multiple Anchor" sectionFile="ui/MultipleAnchor.xwt">
+ <widget href="ui/MultipleAnchor.xwt#/" />
+ </sections>
+ <sections name="Multiple Bendpoints" sectionFile="ui/MultipleBendpoints.xwt">
+ <widget href="ui/MultipleBendpoints.xwt#/" />
+ </sections>
+ <sections name="Multiple IdentityAnchor" sectionFile="ui/MultipleIdentityAnchor.xwt">
+ <widget href="ui/MultipleIdentityAnchor.xwt#/" />
+ </sections>
+ <sections name="Multiple RoutingStyle" sectionFile="ui/MultipleRoutingStyle.xwt">
+ <widget href="ui/MultipleRoutingStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple View" sectionFile="ui/MultipleView.xwt">
+ <widget href="ui/MultipleView.xwt#/" />
+ </sections>
+ <sections name="Multiple RelativeBendpoints" sectionFile="ui/MultipleRelativeBendpoints.xwt">
+ <widget href="ui/MultipleRelativeBendpoints.xwt#/" />
+ </sections>
+ <sections name="Multiple Diagram" sectionFile="ui/MultipleDiagram.xwt">
+ <widget href="ui/MultipleDiagram.xwt#/" />
+ </sections>
+ <sections name="Multiple Image" sectionFile="ui/MultipleImage.xwt">
+ <widget href="ui/MultipleImage.xwt#/" />
+ </sections>
+ <sections name="Multiple CanonicalStyle" sectionFile="ui/MultipleCanonicalStyle.xwt">
+ <widget href="ui/MultipleCanonicalStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple ConnectorStyle" sectionFile="ui/MultipleConnectorStyle.xwt">
+ <widget href="ui/MultipleConnectorStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple PageStyle" sectionFile="ui/MultiplePageStyle.xwt">
+ <widget href="ui/MultiplePageStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple DrawerStyle" sectionFile="ui/MultipleDrawerStyle.xwt">
+ <widget href="ui/MultipleDrawerStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple GuideStyle" sectionFile="ui/MultipleGuideStyle.xwt">
+ <widget href="ui/MultipleGuideStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple Guide" sectionFile="ui/MultipleGuide.xwt">
+ <widget href="ui/MultipleGuide.xwt#/" />
+ </sections>
+ <sections name="Multiple NodeEntry" sectionFile="ui/MultipleNodeEntry.xwt">
+ <widget href="ui/MultipleNodeEntry.xwt#/" />
+ </sections>
+ <sections name="Multiple FilteringStyle" sectionFile="ui/MultipleFilteringStyle.xwt">
+ <widget href="ui/MultipleFilteringStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple DiagramStyle" sectionFile="ui/MultipleDiagramStyle.xwt">
+ <widget href="ui/MultipleDiagramStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple ImageStyle" sectionFile="ui/MultipleImageStyle.xwt">
+ <widget href="ui/MultipleImageStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple ImageBufferStyle" sectionFile="ui/MultipleImageBufferStyle.xwt">
+ <widget href="ui/MultipleImageBufferStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple PropertiesSetStyle" sectionFile="ui/MultiplePropertiesSetStyle.xwt">
+ <widget href="ui/MultiplePropertiesSetStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple StringToPropertyValueMapEntry"
+ sectionFile="ui/MultipleStringToPropertyValueMapEntry.xwt">
+ <widget href="ui/MultipleStringToPropertyValueMapEntry.xwt#/" />
+ </sections>
+ <sections name="Multiple PropertyValue" sectionFile="ui/MultiplePropertyValue.xwt">
+ <widget href="ui/MultiplePropertyValue.xwt#/" />
+ </sections>
+ <sections name="Multiple SingleValueStyle" sectionFile="ui/MultipleSingleValueStyle.xwt">
+ <widget href="ui/MultipleSingleValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple ListValueStyle" sectionFile="ui/MultipleListValueStyle.xwt">
+ <widget href="ui/MultipleListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple NamedStyle" sectionFile="ui/MultipleNamedStyle.xwt">
+ <widget href="ui/MultipleNamedStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple StringObjectConverter" sectionFile="ui/MultipleStringObjectConverter.xwt">
+ <widget href="ui/MultipleStringObjectConverter.xwt#/" />
+ </sections>
+ <sections name="Multiple DataTypeStyle" sectionFile="ui/MultipleDataTypeStyle.xwt">
+ <widget href="ui/MultipleDataTypeStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple IntValueStyle" sectionFile="ui/MultipleIntValueStyle.xwt">
+ <widget href="ui/MultipleIntValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple IntListValueStyle" sectionFile="ui/MultipleIntListValueStyle.xwt">
+ <widget href="ui/MultipleIntListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple BooleanValueStyle" sectionFile="ui/MultipleBooleanValueStyle.xwt">
+ <widget href="ui/MultipleBooleanValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple DoubleValueStyle" sectionFile="ui/MultipleDoubleValueStyle.xwt">
+ <widget href="ui/MultipleDoubleValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple DoubleListValueStyle" sectionFile="ui/MultipleDoubleListValueStyle.xwt">
+ <widget href="ui/MultipleDoubleListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple StringValueStyle" sectionFile="ui/MultipleStringValueStyle.xwt">
+ <widget href="ui/MultipleStringValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple StringListValueStyle" sectionFile="ui/MultipleStringListValueStyle.xwt">
+ <widget href="ui/MultipleStringListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple EObjectValueStyle" sectionFile="ui/MultipleEObjectValueStyle.xwt">
+ <widget href="ui/MultipleEObjectValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple EObjectListValueStyle" sectionFile="ui/MultipleEObjectListValueStyle.xwt">
+ <widget href="ui/MultipleEObjectListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple ByteArrayValueStyle" sectionFile="ui/MultipleByteArrayValueStyle.xwt">
+ <widget href="ui/MultipleByteArrayValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple BooleanListValueStyle" sectionFile="ui/MultipleBooleanListValueStyle.xwt">
+ <widget href="ui/MultipleBooleanListValueStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple HintedDiagramLinkStyle" sectionFile="ui/MultipleHintedDiagramLinkStyle.xwt">
+ <widget href="ui/MultipleHintedDiagramLinkStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple DiagramLinkStyle" sectionFile="ui/MultipleDiagramLinkStyle.xwt">
+ <widget href="ui/MultipleDiagramLinkStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple MultiDiagramLinkStyle" sectionFile="ui/MultipleMultiDiagramLinkStyle.xwt">
+ <widget href="ui/MultipleMultiDiagramLinkStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple TextStyle" sectionFile="ui/MultipleTextStyle.xwt">
+ <widget href="ui/MultipleTextStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple LineTypeStyle" sectionFile="ui/MultipleLineTypeStyle.xwt">
+ <widget href="ui/MultipleLineTypeStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple ArrowStyle" sectionFile="ui/MultipleArrowStyle.xwt">
+ <widget href="ui/MultipleArrowStyle.xwt#/" />
+ </sections>
+ <sections name="Multiple Shape" sectionFile="ui/MultipleShape.xwt">
+ <widget href="ui/MultipleShape.xwt#/" />
+ </sections>
+ <sections name="Multiple Compartment" sectionFile="ui/MultipleCompartment.xwt">
+ <widget href="ui/MultipleCompartment.xwt#/" />
+ </sections>
+ <sections name="Multiple ListCompartment" sectionFile="ui/MultipleListCompartment.xwt">
+ <widget href="ui/MultipleListCompartment.xwt#/" />
+ </sections>
+ <sections name="Multiple Connector" sectionFile="ui/MultipleConnector.xwt">
+ <widget href="ui/MultipleConnector.xwt#/" />
+ </sections>
+ <sections name="Multiple StandardDiagram" sectionFile="ui/MultipleStandardDiagram.xwt">
+ <widget href="ui/MultipleStandardDiagram.xwt#/" />
+ </sections>
+ <sections name="Multiple DecorationNode" sectionFile="ui/MultipleDecorationNode.xwt">
+ <widget href="ui/MultipleDecorationNode.xwt#/" />
+ </sections>
+ <sections name="Multiple BasicDecorationNode" sectionFile="ui/MultipleBasicDecorationNode.xwt">
+ <widget href="ui/MultipleBasicDecorationNode.xwt#/" />
+ </sections>
+ <sections name="Multiple BasicCompartment" sectionFile="ui/MultipleBasicCompartment.xwt">
+ <widget href="ui/MultipleBasicCompartment.xwt#/" />
+ </sections>
+ <sections name="Multiple BasicSemanticCompartment"
+ sectionFile="ui/MultipleBasicSemanticCompartment.xwt">
+ <widget href="ui/MultipleBasicSemanticCompartment.xwt#/" />
+ </sections>
+ <sections name="Multiple SemanticListCompartment"
+ sectionFile="ui/MultipleSemanticListCompartment.xwt">
+ <widget href="ui/MultipleSemanticListCompartment.xwt#/" />
+ </sections>
+ <sections name="SingleGradientData" sectionFile="ui/SingleGradientData.xwt">
+ <widget href="ui/SingleGradientData.xwt#/" />
+ </sections>
+ </tabs>
+ <views name="Single Diagram" sections="//@tabs.0/@sections.20"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.20">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDiagram">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Diagram" />
+ </constraints>
+ </views>
+ <views name="Single Edge" sections="//@tabs.0/@sections.0"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleEdge">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Edge" />
+ </constraints>
+ </views>
+ <views name="Single Node" sections="//@tabs.0/@sections.1"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleNode">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Node" />
+ </constraints>
+ </views>
+ <views name="Single Style" sections="//@tabs.0/@sections.2"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Style" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="FillStyle" sections="//@tabs.0/@sections.3"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.3">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isFillStyle"
+ overrideable="false">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="FillStyle" />
+ </constraints>
+ </views>
+ <views name="LineStyle" sections="//@tabs.0/@sections.4"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.4">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isLineStyle"
+ overrideable="false">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="LineStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="FontStyle" sections="//@tabs.0/@sections.5"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.5">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isFontStyle"
+ overrideable="false">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="FontStyle" />
+ </constraints>
+ </views>
+ <views name="Single TitleStyle" sections="//@tabs.0/@sections.6"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTitleStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="TitleStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single SortingStyle" sections="//@tabs.0/@sections.7"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSortingStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="SortingStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single DescriptionStyle" sections="//@tabs.0/@sections.8"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDescriptionStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DescriptionStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single LayoutConstraint" sections="//@tabs.0/@sections.9"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLayoutConstraint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="LayoutConstraint" />
+ </constraints>
+ </views>
+ <views name="Single Size" sections="//@tabs.0/@sections.10"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.10">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSize">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Size" />
+ </constraints>
+ </views>
+ <views name="Single Location" sections="//@tabs.0/@sections.11"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.11">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLocation">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Location" />
+ </constraints>
+ </views>
+ <views name="Single Bounds" sections="//@tabs.0/@sections.12"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.12">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBounds">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Bounds" />
+ </constraints>
+ </views>
+ <views name="Single Ratio" sections="//@tabs.0/@sections.13"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.13">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRatio">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Ratio" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single Anchor" sections="//@tabs.0/@sections.14"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.14">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAnchor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Anchor" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single Bendpoints" sections="//@tabs.0/@sections.15"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.15">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBendpoints">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Bendpoints" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single IdentityAnchor" sections="//@tabs.0/@sections.16"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.16">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleIdentityAnchor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="IdentityAnchor" />
+ </constraints>
+ </views>
+ <views name="Single RoutingStyle" sections="//@tabs.0/@sections.17"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.17">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRoutingStyle"
+ overrideable="false" overriddenConstraints="//@views.84/@constraints.0">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="RoutingStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single View" sections="//@tabs.0/@sections.18"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.18">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="View" />
+ </constraints>
+ </views>
+ <views name="Single RelativeBendpoints" sections="//@tabs.0/@sections.19"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.19">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRelativeBendpoints">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="RelativeBendpoints" />
+ </constraints>
+ </views>
+ <views name="Single Image" sections="//@tabs.0/@sections.21"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.21">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleImage">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Image" />
+ </constraints>
+ </views>
+ <views name="Single CanonicalStyle" sections="//@tabs.0/@sections.22"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.22">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCanonicalStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CanonicalStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single ShapeStyle" sections="//@tabs.0/@sections.23"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.23">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isShapeStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ShapeStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single ConnectorStyle" sections="//@tabs.0/@sections.24"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.24">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConnectorStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConnectorStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single PageStyle" sections="//@tabs.0/@sections.25"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.25">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePageStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PageStyle" />
+ </constraints>
+ </views>
+ <views name="Single DrawerStyle" sections="//@tabs.0/@sections.26"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.26">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDrawerStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DrawerStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single GuideStyle" sections="//@tabs.0/@sections.27"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.27">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleGuideStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="GuideStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single Guide" sections="//@tabs.0/@sections.28"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.28">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleGuide">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Guide" />
+ </constraints>
+ </views>
+ <views name="Single NodeEntry" sections="//@tabs.0/@sections.29"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.29">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleNodeEntry">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="NodeEntry" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single FilteringStyle" sections="//@tabs.0/@sections.30"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.30">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFilteringStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="FilteringStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single DiagramStyle" sections="//@tabs.0/@sections.31"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.31">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDiagramStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DiagramStyle" />
+ </constraints>
+ </views>
+ <views name="Single ImageStyle" sections="//@tabs.0/@sections.32"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.32">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleImageStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ImageStyle" />
+ </constraints>
+ </views>
+ <views name="Single ImageBufferStyle" sections="//@tabs.0/@sections.33"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.33">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleImageBufferStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ImageBufferStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single PropertiesSetStyle" sections="//@tabs.0/@sections.34"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.34">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePropertiesSetStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertiesSetStyle" />
+ </constraints>
+ </views>
+ <views name="Single StringToPropertyValueMapEntry" sections="//@tabs.0/@sections.35"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.35">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isSingleStringToPropertyValueMapEntry">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StringToPropertyValueMapEntry" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single PropertyValue" sections="//@tabs.0/@sections.36"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.36">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePropertyValue">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyValue" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single SingleValueStyle" sections="//@tabs.0/@sections.37"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.37">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSingleValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="SingleValueStyle" />
+ </constraints>
+ </views>
+ <views name="Single ListValueStyle" sections="//@tabs.0/@sections.38"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.38">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ListValueStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single NamedStyle" sections="//@tabs.0/@sections.39"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.39">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleNamedStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="NamedStyle" />
+ </constraints>
+ </views>
+ <views name="Single StringObjectConverter" sections="//@tabs.0/@sections.40"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.40">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStringObjectConverter">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StringObjectConverter" />
+ </constraints>
+ </views>
+ <views name="Single DataTypeStyle" sections="//@tabs.0/@sections.41"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.41">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDataTypeStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataTypeStyle" />
+ </constraints>
+ </views>
+ <views name="Single IntValueStyle" sections="//@tabs.0/@sections.42"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.42">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleIntValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="IntValueStyle" />
+ </constraints>
+ </views>
+ <views name="Single IntListValueStyle" sections="//@tabs.0/@sections.43"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.43">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleIntListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="IntListValueStyle" />
+ </constraints>
+ </views>
+ <views name="Single BooleanValueStyle" sections="//@tabs.0/@sections.44"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.44">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBooleanValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="BooleanValueStyle" />
+ </constraints>
+ </views>
+ <views name="Single DoubleValueStyle" sections="//@tabs.0/@sections.45"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.45">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDoubleValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DoubleValueStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single DoubleListValueStyle" sections="//@tabs.0/@sections.46"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.46">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDoubleListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DoubleListValueStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single StringValueStyle" sections="//@tabs.0/@sections.47"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.47">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStringValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StringValueStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single StringListValueStyle" sections="//@tabs.0/@sections.48"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.48">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStringListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StringListValueStyle" />
+ </constraints>
+ </views>
+ <views name="Single EObjectValueStyle" sections="//@tabs.0/@sections.49"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.49">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleEObjectValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="EObjectValueStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single EObjectListValueStyle" sections="//@tabs.0/@sections.50"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.50">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleEObjectListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="EObjectListValueStyle" />
+ </constraints>
+ </views>
+ <views name="Single ByteArrayValueStyle" sections="//@tabs.0/@sections.51"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.51">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleByteArrayValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ByteArrayValueStyle" />
+ </constraints>
+ </views>
+ <views name="Single BooleanListValueStyle" sections="//@tabs.0/@sections.52"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.52">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBooleanListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="BooleanListValueStyle" />
+ </constraints>
+ </views>
+ <views name="Single HintedDiagramLinkStyle" sections="//@tabs.0/@sections.53"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.53">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleHintedDiagramLinkStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="HintedDiagramLinkStyle" />
+ </constraints>
+ </views>
+ <views name="Single DiagramLinkStyle" sections="//@tabs.0/@sections.54"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.54">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDiagramLinkStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DiagramLinkStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single MultiDiagramLinkStyle" sections="//@tabs.0/@sections.55"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.55">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleMultiDiagramLinkStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="MultiDiagramLinkStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single TextStyle" sections="//@tabs.0/@sections.56"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.56">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTextStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="TextStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single LineTypeStyle" sections="//@tabs.0/@sections.57"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.57">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLineTypeStyle"
+ overrideable="false">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="LineTypeStyle" />
+ </constraints>
+ </views>
+ <views name="Single ArrowStyle" sections="//@tabs.0/@sections.58"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.58">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleArrowStyle"
+ overrideable="false">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ArrowStyle" />
+ </constraints>
+ </views>
+ <views name="Single Shape" sections="//@tabs.0/@sections.59"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.59">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleShape">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Shape" />
+ </constraints>
+ </views>
+ <views name="Single Compartment" sections="//@tabs.0/@sections.60"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.60">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCompartment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Compartment" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single ListCompartment" sections="//@tabs.0/@sections.61"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.61">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleListCompartment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ListCompartment" />
+ </constraints>
+ </views>
+ <views name="Single Connector" sections="//@tabs.0/@sections.62"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.62">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConnector">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Connector" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single StandardDiagram" sections="//@tabs.0/@sections.63"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.63">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStandardDiagram">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StandardDiagram" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single DecorationNode" sections="//@tabs.0/@sections.64"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.64">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDecorationNode">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DecorationNode" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single BasicDecorationNode" sections="//@tabs.0/@sections.65"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.65">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBasicDecorationNode">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="BasicDecorationNode" />
+ </constraints>
+ </views>
+ <views name="Single BasicCompartment" sections="//@tabs.0/@sections.66"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.66">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBasicCompartment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="BasicCompartment" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single BasicSemanticCompartment" sections="//@tabs.0/@sections.67"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.67">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBasicSemanticCompartment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="BasicSemanticCompartment" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Single SemanticListCompartment" sections="//@tabs.0/@sections.68"
+ automaticContext="true" datacontexts="//@dataContexts.0/@elements.68">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSemanticListCompartment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="SemanticListCompartment" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="RoundedCornersStyle" sections="//@tabs.0/@sections.69"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.69">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isRoundedCornersStyle"
+ overrideable="false">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="RoundedCornersStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple Edge" sections="//@tabs.0/@sections.70"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.0">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleEdge">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Edge" />
+ </constraints>
+ </views>
+ <views name="Multiple Node" sections="//@tabs.0/@sections.71"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.1">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleNode">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Node" />
+ </constraints>
+ </views>
+ <views name="Multiple Style" sections="//@tabs.0/@sections.72"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.2">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Style" />
+ </constraints>
+ </views>
+ <views name="Multiple TitleStyle" sections="//@tabs.0/@sections.73"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.6">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTitleStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="TitleStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple SortingStyle" sections="//@tabs.0/@sections.74"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.7">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleSortingStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="SortingStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple DescriptionStyle" sections="//@tabs.0/@sections.75"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.8">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDescriptionStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DescriptionStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple LayoutConstraint" sections="//@tabs.0/@sections.76"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.9">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLayoutConstraint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="LayoutConstraint" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple Size" sections="//@tabs.0/@sections.77"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.10">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleSize">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Size" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple Location" sections="//@tabs.0/@sections.78"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.11">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLocation">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Location" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple Bounds" sections="//@tabs.0/@sections.79"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.12">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBounds">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Bounds" />
+ </constraints>
+ </views>
+ <views name="Multiple Ratio" sections="//@tabs.0/@sections.80"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.13">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleRatio">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Ratio" />
+ </constraints>
+ </views>
+ <views name="Multiple Anchor" sections="//@tabs.0/@sections.81"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.14">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAnchor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Anchor" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple Bendpoints" sections="//@tabs.0/@sections.82"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.15">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBendpoints">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Bendpoints" />
+ </constraints>
+ </views>
+ <views name="Multiple IdentityAnchor" sections="//@tabs.0/@sections.83"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.16">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleIdentityAnchor">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="IdentityAnchor" />
+ </constraints>
+ </views>
+ <views name="Multiple RoutingStyle" sections="//@tabs.0/@sections.84"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.17">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleRoutingStyle"
+ overrideable="false">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="RoutingStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple View" sections="//@tabs.0/@sections.85"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.18">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="View" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple RelativeBendpoints" sections="//@tabs.0/@sections.86"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.19">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleRelativeBendpoints">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="RelativeBendpoints" />
+ </constraints>
+ </views>
+ <views name="Multiple Diagram" sections="//@tabs.0/@sections.87"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.20">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDiagram">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Diagram" />
+ </constraints>
+ </views>
+ <views name="Multiple Image" sections="//@tabs.0/@sections.88"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.21">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleImage">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Image" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple CanonicalStyle" sections="//@tabs.0/@sections.89"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.22">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCanonicalStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="CanonicalStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple ConnectorStyle" sections="//@tabs.0/@sections.90"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.24">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConnectorStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ConnectorStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple PageStyle" sections="//@tabs.0/@sections.91"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.25">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePageStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PageStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple DrawerStyle" sections="//@tabs.0/@sections.92"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.26">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDrawerStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DrawerStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple GuideStyle" sections="//@tabs.0/@sections.93"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.27">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleGuideStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="GuideStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple Guide" sections="//@tabs.0/@sections.94"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.28">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleGuide">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Guide" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple NodeEntry" sections="//@tabs.0/@sections.95"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.29">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleNodeEntry">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="NodeEntry" />
+ </constraints>
+ </views>
+ <views name="Multiple FilteringStyle" sections="//@tabs.0/@sections.96"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.30">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFilteringStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="FilteringStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple DiagramStyle" sections="//@tabs.0/@sections.97"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.31">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDiagramStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DiagramStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple ImageStyle" sections="//@tabs.0/@sections.98"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.32">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleImageStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ImageStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple ImageBufferStyle" sections="//@tabs.0/@sections.99"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.33">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleImageBufferStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ImageBufferStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple PropertiesSetStyle" sections="//@tabs.0/@sections.100"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.34">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePropertiesSetStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertiesSetStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple StringToPropertyValueMapEntry" sections="//@tabs.0/@sections.101"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.35">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isMultipleStringToPropertyValueMapEntry">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StringToPropertyValueMapEntry" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple PropertyValue" sections="//@tabs.0/@sections.102"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.36">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePropertyValue">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="PropertyValue" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple SingleValueStyle" sections="//@tabs.0/@sections.103"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.37">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleSingleValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="SingleValueStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple ListValueStyle" sections="//@tabs.0/@sections.104"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.38">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ListValueStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple NamedStyle" sections="//@tabs.0/@sections.105"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.39">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleNamedStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="NamedStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple StringObjectConverter" sections="//@tabs.0/@sections.106"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.40">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStringObjectConverter">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StringObjectConverter" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple DataTypeStyle" sections="//@tabs.0/@sections.107"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.41">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDataTypeStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DataTypeStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple IntValueStyle" sections="//@tabs.0/@sections.108"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.42">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleIntValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="IntValueStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple IntListValueStyle" sections="//@tabs.0/@sections.109"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.43">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleIntListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="IntListValueStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple BooleanValueStyle" sections="//@tabs.0/@sections.110"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.44">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBooleanValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="BooleanValueStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple DoubleValueStyle" sections="//@tabs.0/@sections.111"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.45">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDoubleValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DoubleValueStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple DoubleListValueStyle" sections="//@tabs.0/@sections.112"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.46">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDoubleListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DoubleListValueStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple StringValueStyle" sections="//@tabs.0/@sections.113"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.47">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStringValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StringValueStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple StringListValueStyle" sections="//@tabs.0/@sections.114"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.48">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStringListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StringListValueStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple EObjectValueStyle" sections="//@tabs.0/@sections.115"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.49">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleEObjectValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="EObjectValueStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple EObjectListValueStyle" sections="//@tabs.0/@sections.116"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.50">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleEObjectListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="EObjectListValueStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple ByteArrayValueStyle" sections="//@tabs.0/@sections.117"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.51">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleByteArrayValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ByteArrayValueStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple BooleanListValueStyle" sections="//@tabs.0/@sections.118"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.52">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBooleanListValueStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="BooleanListValueStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple HintedDiagramLinkStyle" sections="//@tabs.0/@sections.119"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.53">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleHintedDiagramLinkStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="HintedDiagramLinkStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple DiagramLinkStyle" sections="//@tabs.0/@sections.120"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.54">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDiagramLinkStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DiagramLinkStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple MultiDiagramLinkStyle" sections="//@tabs.0/@sections.121"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.55">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleMultiDiagramLinkStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="MultiDiagramLinkStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple TextStyle" sections="//@tabs.0/@sections.122"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.56">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTextStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="TextStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple LineTypeStyle" sections="//@tabs.0/@sections.123"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.57">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLineTypeStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="LineTypeStyle" />
+ </constraints>
+ </views>
+ <views name="Multiple ArrowStyle" sections="//@tabs.0/@sections.124"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.58">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleArrowStyle">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ArrowStyle" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple Shape" sections="//@tabs.0/@sections.125"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.59">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleShape">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Shape" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple Compartment" sections="//@tabs.0/@sections.126"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.60">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCompartment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Compartment" />
+ </constraints>
+ </views>
+ <views name="Multiple ListCompartment" sections="//@tabs.0/@sections.127"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.61">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleListCompartment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="ListCompartment" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple Connector" sections="//@tabs.0/@sections.128"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.62">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConnector">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="Connector" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple StandardDiagram" sections="//@tabs.0/@sections.129"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.63">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStandardDiagram">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="StandardDiagram" />
+ </constraints>
+ </views>
+ <views name="Multiple DecorationNode" sections="//@tabs.0/@sections.130"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.64">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDecorationNode">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="DecorationNode" />
+ </constraints>
+ </views>
+ <views name="Multiple BasicDecorationNode" sections="//@tabs.0/@sections.131"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.65">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBasicDecorationNode">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="BasicDecorationNode" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple BasicCompartment" sections="//@tabs.0/@sections.132"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.66">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBasicCompartment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="BasicCompartment" />
+ </constraints>
+ </views>
+ <views name="Multiple BasicSemanticCompartment" sections="//@tabs.0/@sections.133"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.67">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBasicSemanticCompartment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="BasicSemanticCompartment" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ </constraints>
+ </views>
+ <views name="Multiple SemanticListCompartment" sections="//@tabs.0/@sections.134"
+ elementMultiplicity="-1" automaticContext="true"
+ datacontexts="//@dataContexts.0/@elements.68">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleSemanticListCompartment">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="nsUri"
+ value="http://www.eclipse.org/gmf/runtime/1.0.2/notation" />
+ <properties xsi:type="constraints:ValueProperty" name="className"
+ value="SemanticListCompartment" />
+ </constraints>
+ </views>
+ <views name="SingleGradientData" sections="//@tabs.0/@sections.135">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isGradientData">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.3" />
+ <properties xsi:type="constraints:ValueProperty" name="class"
+ value="org.eclipse.gmf.runtime.notation.datatype.GradientData" />
+ </constraints>
+ </views>
+ <dataContexts name="notation" label="notation">
+ <elements name="Edge" supertypes="//@dataContexts.0/@elements.18">
+ <properties name="source" type="Reference" />
+ <properties name="target" type="Reference" />
+ <properties name="bendpoints" type="Reference" />
+ <properties name="sourceAnchor" type="Reference" />
+ <properties name="targetAnchor" type="Reference" />
+ </elements>
+ <elements name="Node" supertypes="//@dataContexts.0/@elements.18">
+ <properties name="layoutConstraint" type="Reference" />
+ </elements>
+ <elements name="Style" />
+ <elements name="FillStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="fillColor" type="Integer" />
+ <properties name="transparency" type="Integer" />
+ <properties name="gradient" type="Reference" />
+ </elements>
+ <elements name="LineStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="lineColor" type="Integer" />
+ <properties name="lineWidth" type="Integer" />
+ </elements>
+ <elements name="FontStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="fontColor" type="Integer" />
+ <properties name="fontName" />
+ <properties name="fontHeight" type="Integer" />
+ <properties name="bold" type="Boolean" />
+ <properties name="italic" type="Boolean" />
+ <properties name="underline" type="Boolean" />
+ <properties name="strikeThrough" type="Boolean" />
+ </elements>
+ <elements name="TitleStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="showTitle" type="Boolean" />
+ </elements>
+ <elements name="SortingStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="sorting" type="Enumeration" />
+ <properties name="sortingKeys" />
+ <properties name="sortedObjects" type="Reference"
+ multiplicity="-1" />
+ </elements>
+ <elements name="DescriptionStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="description" />
+ </elements>
+ <elements name="LayoutConstraint" />
+ <elements name="Size" supertypes="//@dataContexts.0/@elements.9">
+ <properties name="width" type="Integer" />
+ <properties name="height" type="Integer" />
+ </elements>
+ <elements name="Location" supertypes="//@dataContexts.0/@elements.9">
+ <properties name="x" type="Integer" />
+ <properties name="y" type="Integer" />
+ </elements>
+ <elements name="Bounds"
+ supertypes="//@dataContexts.0/@elements.11 //@dataContexts.0/@elements.10" />
+ <elements name="Ratio" supertypes="//@dataContexts.0/@elements.9">
+ <properties name="value" />
+ </elements>
+ <elements name="Anchor" />
+ <elements name="Bendpoints" />
+ <elements name="IdentityAnchor" supertypes="//@dataContexts.0/@elements.14">
+ <properties name="id" />
+ </elements>
+ <elements name="RoutingStyle" supertypes="//@dataContexts.0/@elements.69">
+ <properties name="routing" type="Enumeration" />
+ <properties name="smoothness" type="Enumeration" />
+ <properties name="avoidObstructions" type="Boolean" />
+ <properties name="closestDistance" type="Boolean" />
+ <properties name="jumpLinkStatus" type="Enumeration" />
+ <properties name="jumpLinkType" type="Enumeration" />
+ <properties name="jumpLinksReverse" type="Boolean" />
+ </elements>
+ <elements name="View">
+ <properties name="visible" type="Boolean" />
+ <properties name="type" />
+ <properties name="mutable" type="Boolean" />
+ <properties name="sourceEdges" type="Reference"
+ multiplicity="-1" />
+ <properties name="targetEdges" type="Reference"
+ multiplicity="-1" />
+ <properties name="persistedChildren" type="Reference"
+ multiplicity="-1" />
+ <properties name="styles" type="Reference" multiplicity="-1" />
+ <properties name="element" type="Reference" />
+ <properties name="diagram" type="Reference" />
+ <properties name="transientChildren" type="Reference"
+ multiplicity="-1" />
+ </elements>
+ <elements name="RelativeBendpoints" supertypes="//@dataContexts.0/@elements.15">
+ <properties name="points" />
+ </elements>
+ <elements name="Diagram" supertypes="//@dataContexts.0/@elements.18">
+ <properties name="name" label="Name" />
+ <properties name="measurementUnit" type="Enumeration" />
+ <properties name="persistedEdges" type="Reference"
+ multiplicity="-1" />
+ <properties name="TransientEdges" type="Reference"
+ multiplicity="-1" />
+ </elements>
+ <elements name="Image">
+ <properties name="data" />
+ </elements>
+ <elements name="CanonicalStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="canonical" type="Boolean" />
+ </elements>
+ <elements name="ShapeStyle"
+ supertypes="//@dataContexts.0/@elements.5 //@dataContexts.0/@elements.8 //@dataContexts.0/@elements.3 //@dataContexts.0/@elements.4 //@dataContexts.0/@elements.69" />
+ <elements name="ConnectorStyle"
+ supertypes="//@dataContexts.0/@elements.17 //@dataContexts.0/@elements.4" />
+ <elements name="PageStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="pageX" type="Integer" />
+ <properties name="pageY" type="Integer" />
+ <properties name="pageWidth" type="Integer" />
+ <properties name="pageHeight" type="Integer" />
+ </elements>
+ <elements name="DrawerStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="collapsed" type="Boolean" />
+ </elements>
+ <elements name="GuideStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="horizontalGuides" type="Reference"
+ multiplicity="-1" />
+ <properties name="verticalGuides" type="Reference"
+ multiplicity="-1" />
+ </elements>
+ <elements name="Guide">
+ <properties name="position" type="Integer" />
+ <properties name="nodeMap" type="Reference" multiplicity="-1" />
+ </elements>
+ <elements name="NodeEntry">
+ <properties name="value" type="Enumeration" />
+ <properties name="key" type="Reference" />
+ </elements>
+ <elements name="FilteringStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="filtering" type="Enumeration" />
+ <properties name="filteringKeys" />
+ <properties name="filteredObjects" type="Reference"
+ multiplicity="-1" />
+ </elements>
+ <elements name="DiagramStyle"
+ supertypes="//@dataContexts.0/@elements.25 //@dataContexts.0/@elements.27 //@dataContexts.0/@elements.8" />
+ <elements name="ImageStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="antiAlias" />
+ <properties name="maintainAspectRatio" />
+ <properties name="cropBound" type="Reference" />
+ </elements>
+ <elements name="ImageBufferStyle" supertypes="//@dataContexts.0/@elements.32">
+ <properties name="imageBuffer" type="Reference" />
+ </elements>
+ <elements name="PropertiesSetStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="propertiesMap" type="Reference"
+ multiplicity="-1" />
+ </elements>
+ <elements name="StringToPropertyValueMapEntry">
+ <properties name="key" />
+ <properties name="value" type="Reference" />
+ </elements>
+ <elements name="PropertyValue" supertypes="//@dataContexts.0/@elements.40">
+ <properties name="rawValue" />
+ <properties name="instanceType" type="Reference" />
+ </elements>
+ <elements name="SingleValueStyle" supertypes="//@dataContexts.0/@elements.41">
+ <properties name="rawValue" />
+ </elements>
+ <elements name="ListValueStyle" supertypes="//@dataContexts.0/@elements.41">
+ <properties name="rawValuesList" multiplicity="-1" />
+ </elements>
+ <elements name="NamedStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="name" />
+ </elements>
+ <elements name="StringObjectConverter" />
+ <elements name="DataTypeStyle"
+ supertypes="//@dataContexts.0/@elements.39 //@dataContexts.0/@elements.40">
+ <properties name="instanceType" type="Reference" />
+ </elements>
+ <elements name="IntValueStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="intValue" />
+ </elements>
+ <elements name="IntListValueStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="intListValue" multiplicity="-1" />
+ </elements>
+ <elements name="BooleanValueStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="booleanValue" />
+ </elements>
+ <elements name="DoubleValueStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="doubleValue" />
+ </elements>
+ <elements name="DoubleListValueStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="doubleListValue" multiplicity="-1" />
+ </elements>
+ <elements name="StringValueStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="stringValue" />
+ </elements>
+ <elements name="StringListValueStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="stringListValue" multiplicity="-1" />
+ </elements>
+ <elements name="EObjectValueStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="eObjectValue" type="Reference" />
+ </elements>
+ <elements name="EObjectListValueStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="eObjectListValue" type="Reference"
+ multiplicity="-1" />
+ </elements>
+ <elements name="ByteArrayValueStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="byteArrayValue" />
+ </elements>
+ <elements name="BooleanListValueStyle" supertypes="//@dataContexts.0/@elements.39">
+ <properties name="booleanListValue" multiplicity="-1" />
+ </elements>
+ <elements name="HintedDiagramLinkStyle"
+ supertypes="//@dataContexts.0/@elements.54 //@dataContexts.0/@elements.2">
+ <properties name="hint" />
+ </elements>
+ <elements name="DiagramLinkStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="diagramLink" type="Reference" />
+ </elements>
+ <elements name="MultiDiagramLinkStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="diagramLinks" type="Reference"
+ multiplicity="-1" />
+ </elements>
+ <elements name="TextStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="textAlignment" type="Enumeration" />
+ </elements>
+ <elements name="LineTypeStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="lineType" type="Enumeration" />
+ </elements>
+ <elements name="ArrowStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="arrowSource" type="Enumeration" />
+ <properties name="arrowTarget" type="Enumeration" />
+ </elements>
+ <elements name="Shape"
+ supertypes="//@dataContexts.0/@elements.1 //@dataContexts.0/@elements.23" />
+ <elements name="Compartment"
+ supertypes="//@dataContexts.0/@elements.66 //@dataContexts.0/@elements.22 //@dataContexts.0/@elements.6" />
+ <elements name="ListCompartment"
+ supertypes="//@dataContexts.0/@elements.66 //@dataContexts.0/@elements.7 //@dataContexts.0/@elements.30 //@dataContexts.0/@elements.6" />
+ <elements name="Connector"
+ supertypes="//@dataContexts.0/@elements.0 //@dataContexts.0/@elements.24" />
+ <elements name="StandardDiagram"
+ supertypes="//@dataContexts.0/@elements.20 //@dataContexts.0/@elements.31" />
+ <elements name="DecorationNode" supertypes="//@dataContexts.0/@elements.65" />
+ <elements name="BasicDecorationNode" supertypes="//@dataContexts.0/@elements.1" />
+ <elements name="BasicCompartment"
+ supertypes="//@dataContexts.0/@elements.64 //@dataContexts.0/@elements.26" />
+ <elements name="BasicSemanticCompartment"
+ supertypes="//@dataContexts.0/@elements.65 //@dataContexts.0/@elements.26" />
+ <elements name="SemanticListCompartment"
+ supertypes="//@dataContexts.0/@elements.67 //@dataContexts.0/@elements.7 //@dataContexts.0/@elements.30 //@dataContexts.0/@elements.6" />
+ <elements name="RoundedCornersStyle" supertypes="//@dataContexts.0/@elements.2">
+ <properties name="roundedBendpointsRadius" type="Integer" />
+ </elements>
+ <elements name="GradientData">
+ <properties name="gradientColor1" label="Gradient color"
+ type="Integer" />
+ <properties name="gradientColor2" label="Gradient color 2"
+ type="Integer" />
+ <properties name="gradientStyle" type="Enumeration" />
+ <properties name="activate" label="Activate" type="Boolean" />
+ </elements>
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@modelElementFactories.0" />
+ </dataContexts>
</contexts:Context>
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/GMFNotationConstraint.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/GMFNotationConstraint.java
index a04f65a82da..6b78eb9fe03 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/GMFNotationConstraint.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/GMFNotationConstraint.java
@@ -14,8 +14,8 @@ package org.eclipse.papyrus.infra.gmfdiag.properties.constraint;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.gef.EditPart;
import org.eclipse.gmf.runtime.notation.View;
+import org.eclipse.papyrus.infra.constraints.constraints.EMFInstanceOfConstraint;
import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-import org.eclipse.papyrus.views.properties.constraints.EMFInstanceOfConstraint;
/**
* A constraint for the GMF Notation metamodel
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/HasEditPolicy.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/HasEditPolicy.java
index cbbdcc02b85..25d03b481c4 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/HasEditPolicy.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/HasEditPolicy.java
@@ -12,9 +12,9 @@
package org.eclipse.papyrus.infra.gmfdiag.properties.constraint;
import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.papyrus.views.properties.constraints.AbstractConstraint;
-import org.eclipse.papyrus.views.properties.constraints.Constraint;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
+import org.eclipse.papyrus.infra.constraints.SimpleConstraint;
+import org.eclipse.papyrus.infra.constraints.constraints.AbstractConstraint;
+import org.eclipse.papyrus.infra.constraints.constraints.Constraint;
/**
*
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/IsEditPartConstraint.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/IsEditPartConstraint.java
index 5e7c0c6435c..a44467b4f65 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/IsEditPartConstraint.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/constraint/IsEditPartConstraint.java
@@ -12,8 +12,8 @@
package org.eclipse.papyrus.infra.gmfdiag.properties.constraint;
import org.eclipse.gef.EditPart;
-import org.eclipse.papyrus.views.properties.constraints.AbstractConstraint;
-import org.eclipse.papyrus.views.properties.constraints.Constraint;
+import org.eclipse.papyrus.infra.constraints.constraints.AbstractConstraint;
+import org.eclipse.papyrus.infra.constraints.constraints.Constraint;
/**
* Tests if the selection is an EditPart
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/databinding/GradientObservableValue.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/databinding/GradientObservableValue.java
index 743a4421e52..11cdef4f794 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/databinding/GradientObservableValue.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/databinding/GradientObservableValue.java
@@ -15,7 +15,7 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.gmf.runtime.notation.datatype.GradientData;
-import org.eclipse.papyrus.uml.properties.databinding.PapyrusObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.PapyrusObservableValue;
/**
* An IObservableValue for a Gradient
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/modelelement/GMFModelElement.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/modelelement/GMFModelElement.java
index 2ecfa0dc03e..c83369ed04d 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/modelelement/GMFModelElement.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/modelelement/GMFModelElement.java
@@ -23,8 +23,8 @@ import org.eclipse.gmf.runtime.notation.NotationPackage;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.papyrus.infra.gmfdiag.properties.databinding.GradientObservableValue;
import org.eclipse.papyrus.infra.gmfdiag.properties.providers.GMFLabelProvider;
-import org.eclipse.papyrus.uml.properties.databinding.PapyrusObservableList;
-import org.eclipse.papyrus.uml.properties.databinding.PapyrusObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.PapyrusObservableList;
+import org.eclipse.papyrus.uml.tools.databinding.PapyrusObservableValue;
import org.eclipse.papyrus.views.properties.modelelement.EMFModelElement;
/**
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/providers/GMFLabelProvider.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/providers/GMFLabelProvider.java
index 2a046a03c43..f0334d597a4 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/providers/GMFLabelProvider.java
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/providers/GMFLabelProvider.java
@@ -16,7 +16,7 @@ import org.eclipse.papyrus.infra.core.editorsfactory.IPageIconsRegistry;
import org.eclipse.papyrus.infra.core.editorsfactory.PageIconsRegistry;
import org.eclipse.papyrus.infra.core.services.ServiceException;
import org.eclipse.papyrus.infra.core.utils.EditorUtils;
-import org.eclipse.papyrus.views.properties.providers.EMFObjectLabelProvider;
+import org.eclipse.papyrus.infra.emf.providers.EMFLabelProvider;
import org.eclipse.swt.graphics.Image;
/**
@@ -25,7 +25,7 @@ import org.eclipse.swt.graphics.Image;
* @author Camille Letavernier
*
*/
-public class GMFLabelProvider extends EMFObjectLabelProvider {
+public class GMFLabelProvider extends EMFLabelProvider {
protected IPageIconsRegistry editorRegistry;
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/util/NotationUtil.java b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/util/NotationUtil.java
new file mode 100644
index 00000000000..18ca429fd7e
--- /dev/null
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.properties/src/org/eclipse/papyrus/infra/gmfdiag/properties/util/NotationUtil.java
@@ -0,0 +1,28 @@
+package org.eclipse.papyrus.infra.gmfdiag.properties.util;
+
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
+
+
+public class NotationUtil {
+
+ /**
+ * Retrieve the IGraphicalEditPart from the given Object
+ *
+ * @param source
+ * The object to resolve
+ * @return
+ * The IGraphicalEditPart, or null if it couldn't be resolved
+ */
+ public static IGraphicalEditPart resolveEditPart(Object source) {
+ if(source instanceof IGraphicalEditPart) {
+ return (IGraphicalEditPart)source;
+ }
+
+ if(source instanceof IAdaptable) {
+ return (IGraphicalEditPart)((IAdaptable)source).getAdapter(IGraphicalEditPart.class);
+ }
+
+ return null;
+ }
+}
diff --git a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets/model/Environment.xmi b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets/model/Environment.xmi
index 2b77b809afe..6dc484a5f4e 100644
--- a/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets/model/Environment.xmi
+++ b/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.widgets/model/Environment.xmi
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ASCII"?>
-<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment">
+<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment/0.9">
<propertyEditorTypes label="ColorPicker" widgetClass="XWTAwareColorPicker" namespace="//@namespaces.0" type="Integer"/>
<propertyEditorTypes label="FontEditor" widgetClass="XWTAwareFontEditor" namespace="//@namespaces.0"/>
<namespaces prefix="clr-namespace" name="gmf" value="org.eclipse.papyrus.infra.gmfdiag.widgets.editors"/>
diff --git a/plugins/infra/org.eclipse.papyrus.infra.tools/.classpath b/plugins/infra/org.eclipse.papyrus.infra.tools/.classpath
new file mode 100644
index 00000000000..947a9a83f9e
--- /dev/null
+++ b/plugins/infra/org.eclipse.papyrus.infra.tools/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <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 excluding="org/eclipse/papyrus/infra/tools/databinding/MultipleObservableList.java" kind="src" path="src"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/plugins/infra/org.eclipse.papyrus.infra.tools/.project b/plugins/infra/org.eclipse.papyrus.infra.tools/.project
new file mode 100644
index 00000000000..c539737c29a
--- /dev/null
+++ b/plugins/infra/org.eclipse.papyrus.infra.tools/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.eclipse.papyrus.infra.tools</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>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
diff --git a/plugins/infra/org.eclipse.papyrus.infra.tools/.settings/org.eclipse.jdt.core.prefs b/plugins/infra/org.eclipse.papyrus.infra.tools/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 00000000000..44217f8c068
--- /dev/null
+++ b/plugins/infra/org.eclipse.papyrus.infra.tools/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+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
diff --git a/plugins/infra/org.eclipse.papyrus.infra.tools/META-INF/MANIFEST.MF b/plugins/infra/org.eclipse.papyrus.infra.tools/META-INF/MANIFEST.MF
new file mode 100644
index 00000000000..17d7d58cccb
--- /dev/null
+++ b/plugins/infra/org.eclipse.papyrus.infra.tools/META-INF/MANIFEST.MF
@@ -0,0 +1,17 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Papyrus Tools
+Bundle-SymbolicName: org.eclipse.papyrus.infra.tools
+Bundle-Version: 0.9.0.qualifier
+Bundle-Activator: org.eclipse.papyrus.infra.tools.Activator
+Bundle-Vendor: Eclipse Modeling Project
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.papyrus.infra.core.log;bundle-version="0.9.0",
+ org.eclipse.core.databinding;bundle-version="1.4.1",
+ org.eclipse.papyrus.infra.widgets;bundle-version="0.9.0"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-ActivationPolicy: lazy
+Export-Package: org.eclipse.papyrus.infra.tools.databinding,
+ org.eclipse.papyrus.infra.tools.util
+Eclipse-BuddyPolicy: dependent
diff --git a/plugins/infra/org.eclipse.papyrus.infra.tools/build.properties b/plugins/infra/org.eclipse.papyrus.infra.tools/build.properties
new file mode 100644
index 00000000000..41eb6ade2b4
--- /dev/null
+++ b/plugins/infra/org.eclipse.papyrus.infra.tools/build.properties
@@ -0,0 +1,4 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .
diff --git a/plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/Activator.java b/plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/Activator.java
new file mode 100644
index 00000000000..3fefb3f26c6
--- /dev/null
+++ b/plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/Activator.java
@@ -0,0 +1,58 @@
+package org.eclipse.papyrus.infra.tools;
+
+import org.eclipse.papyrus.infra.core.log.LogHelper;
+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 ID
+ public static final String PLUGIN_ID = "org.eclipse.papyrus.infra.tools"; //$NON-NLS-1$
+
+ // The shared instance
+ private static Activator plugin;
+
+ public static LogHelper log;
+
+ /**
+ * The constructor
+ */
+ public Activator() {
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+ */
+ @Override
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ plugin = this;
+ log = new LogHelper(this);
+ }
+
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+ */
+ @Override
+ public void stop(BundleContext context) throws Exception {
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared instance
+ *
+ * @return the shared instance
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/MultipleObservableList.java b/plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/databinding/MultipleObservableList.java
index f8d70f6e246..c44970aca08 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/MultipleObservableList.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/databinding/MultipleObservableList.java
@@ -9,15 +9,15 @@
* Contributors:
* Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
*****************************************************************************/
-package org.eclipse.papyrus.views.properties.databinding;
+package org.eclipse.papyrus.infra.tools.databinding;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
-import org.eclipse.core.databinding.observable.IObservable;
import org.eclipse.core.databinding.observable.list.IObservableList;
import org.eclipse.core.databinding.observable.list.ObservableList;
+import org.eclipse.papyrus.infra.widgets.databinding.AggregatedObservable;
import org.eclipse.papyrus.infra.widgets.editors.AbstractEditor;
import org.eclipse.papyrus.infra.widgets.editors.ICommitListener;
@@ -35,7 +35,7 @@ import org.eclipse.papyrus.infra.widgets.editors.ICommitListener;
* @author Camille Letavernier
*/
//TODO : Add listeners on sub-observables, and remove them on dispose
-public class MultipleObservableList extends ObservableList implements ICommitListener, MultipleObservable {
+public class MultipleObservableList extends ObservableList implements ICommitListener, AggregatedObservable {
List<IObservableList> observableLists = new LinkedList<IObservableList>();
@@ -167,15 +167,6 @@ public class MultipleObservableList extends ObservableList implements ICommitLis
}
}
- public boolean add(IObservable observable) {
- if(observable instanceof IObservableList) {
- observableLists.add((IObservableList)observable);
- return true;
- }
-
- return false;
- }
-
@Override
public void dispose() {
super.dispose();
@@ -183,5 +174,4 @@ public class MultipleObservableList extends ObservableList implements ICommitLis
observable.dispose();
}
}
-
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/MultipleObservableValue.java b/plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/databinding/MultipleObservableValue.java
index bae48c59594..28198f51516 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/MultipleObservableValue.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/databinding/MultipleObservableValue.java
@@ -9,7 +9,7 @@
* Contributors:
* Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
*****************************************************************************/
-package org.eclipse.papyrus.views.properties.databinding;
+package org.eclipse.papyrus.infra.tools.databinding;
import java.util.Collection;
import java.util.LinkedList;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/ClassLoader.java b/plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/util/ClassLoaderHelper.java
index 3f25f0b20da..da6ae044f7d 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/ClassLoader.java
+++ b/plugins/infra/org.eclipse.papyrus.infra.tools/src/org/eclipse/papyrus/infra/tools/util/ClassLoaderHelper.java
@@ -9,19 +9,24 @@
* Contributors:
* Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
*****************************************************************************/
-package org.eclipse.papyrus.views.properties.util;
+package org.eclipse.papyrus.infra.tools.util;
-import org.eclipse.papyrus.views.properties.Activator;
+import org.eclipse.papyrus.infra.tools.Activator;
/**
* A Helper class for Class Loading.
*
* @author Camille Letavernier
*/
-//TODO : Rename that class to ClassLoaderHelper (avoir class name conflict with the standard ClassLoader)
-//TODO : Change all methods to static methods
-//TODO : Move that class to a more generic plug-in
-public class ClassLoader {
+//This class needs the "BuddyPolicy" set to "dependent" in the Manifest.MF,
+//in order to be able to retrieve the classes it loads
+//
+//This is the org.eclipse.papyrus.infra.tools class loader which is used for loading
+//a class, instead of each caller's ClassLoader
+//
+//Plug-ins using this class should also either set their Buddy-policy to dependent or
+//reexport the dependency to oep.infra.tools
+public class ClassLoaderHelper {
/**
* Loads the class matching the given className. Exceptions are caught and sent
@@ -32,12 +37,12 @@ public class ClassLoader {
* @return
* The loaded Class, or null if an error occured
*/
- public Class<?> loadClass(String className) {
+ public static Class<?> loadClass(String className) {
try {
Class<?> clazz = Activator.getDefault().getBundle().loadClass(className);
return clazz;
} catch (ClassNotFoundException ex) {
- Activator.log.error("The class " + className + " doesn't exist", ex); //$NON-NLS-1$
+ Activator.log.error(String.format("The class %s doesn't exist", className), ex); //$NON-NLS-1$
} catch (NullPointerException ex) {
Activator.log.error("Cannot load class " + className, ex); //$NON-NLS-1$
}
@@ -57,7 +62,7 @@ public class ClassLoader {
* The loaded class, or null if the class doesn't exist or is invalid.
* In such a case, the exception is logged.
*/
- public <T> Class<? extends T> loadClass(String className, Class<T> asSubClass) {
+ public static <T> Class<? extends T> loadClass(String className, Class<T> asSubClass) {
Class<?> theClass = loadClass(className);
if(theClass == null) {
return null;
@@ -85,7 +90,7 @@ public class ClassLoader {
* An instance of the loaded class, or null if a valid instance
* cannot be created. In such a case, the exception is logged.
*/
- public <T> T newInstance(String className, Class<T> asSubclass) {
+ public static <T> T newInstance(String className, Class<T> asSubclass) {
Class<? extends T> typedClass = loadClass(className, asSubclass);
if(typedClass == null) {
return null;
@@ -103,7 +108,7 @@ public class ClassLoader {
* A new instance of the given class, or null if the class couldn't be
* instantiated
*/
- public Object newInstance(String className) {
+ public static Object newInstance(String className) {
return newInstance(loadClass(className));
}
@@ -116,7 +121,7 @@ public class ClassLoader {
* A new instance of the given class, or null if the class couldn't be
* instantiated
*/
- public <T extends Object> T newInstance(Class<T> theClass) {
+ public static <T extends Object> T newInstance(Class<T> theClass) {
if(theClass == null) {
return null;
}
diff --git a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/SelectAndValidateModelHandler.java b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/SelectAndValidateModelHandler.java
index ac4c2fd04ef..ebda2e19909 100644
--- a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/SelectAndValidateModelHandler.java
+++ b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/SelectAndValidateModelHandler.java
@@ -15,9 +15,8 @@
package org.eclipse.papyrus.infra.services.validation.handler;
import org.eclipse.emf.common.command.Command;
-import org.eclipse.papyrus.infra.core.utils.GMFtoEMFCommandWrapper;
+import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
import org.eclipse.papyrus.infra.services.validation.commands.SelectAndValidateModelCommand;
-import org.eclipse.papyrus.infra.services.validation.handler.AbstractCommandHandler;
/**
* Action used for pasting either a model element or a shape (i.e. the model element represented
diff --git a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/SelectAndValidateSubtreeHandler.java b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/SelectAndValidateSubtreeHandler.java
index a00ead7727c..93e28d58a92 100644
--- a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/SelectAndValidateSubtreeHandler.java
+++ b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/SelectAndValidateSubtreeHandler.java
@@ -15,9 +15,8 @@
package org.eclipse.papyrus.infra.services.validation.handler;
import org.eclipse.emf.common.command.Command;
-import org.eclipse.papyrus.infra.core.utils.GMFtoEMFCommandWrapper;
+import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
import org.eclipse.papyrus.infra.services.validation.commands.SelectAndValidateSubtreeCommand;
-import org.eclipse.papyrus.infra.services.validation.handler.AbstractCommandHandler;
/**
* Action used for pasting either a model element or a shape (i.e. the model element represented
diff --git a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateDelMarkersFromModelHandler.java b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateDelMarkersFromModelHandler.java
index 80d3118236e..5714e81e4cc 100644
--- a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateDelMarkersFromModelHandler.java
+++ b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateDelMarkersFromModelHandler.java
@@ -15,7 +15,7 @@
package org.eclipse.papyrus.infra.services.validation.handler;
import org.eclipse.emf.common.command.Command;
-import org.eclipse.papyrus.infra.core.utils.GMFtoEMFCommandWrapper;
+import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
import org.eclipse.papyrus.infra.services.validation.commands.ValidateDelMarkersFromModelCommand;
/**
diff --git a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateDelMarkersFromSubtreeHandler.java b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateDelMarkersFromSubtreeHandler.java
index 907a41ac4b8..7a92b388e13 100644
--- a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateDelMarkersFromSubtreeHandler.java
+++ b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateDelMarkersFromSubtreeHandler.java
@@ -15,7 +15,7 @@
package org.eclipse.papyrus.infra.services.validation.handler;
import org.eclipse.emf.common.command.Command;
-import org.eclipse.papyrus.infra.core.utils.GMFtoEMFCommandWrapper;
+import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
import org.eclipse.papyrus.infra.services.validation.commands.ValidateDelMarkersFromSubtreeCommand;
/**
diff --git a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateModelHandler.java b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateModelHandler.java
index 96c5e014d52..815a0fcad29 100644
--- a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateModelHandler.java
+++ b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateModelHandler.java
@@ -15,7 +15,7 @@
package org.eclipse.papyrus.infra.services.validation.handler;
import org.eclipse.emf.common.command.Command;
-import org.eclipse.papyrus.infra.core.utils.GMFtoEMFCommandWrapper;
+import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
import org.eclipse.papyrus.infra.services.validation.commands.ValidateModelCommand;
/**
diff --git a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateSubtreeHandler.java b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateSubtreeHandler.java
index 4f2bd825aa3..6c06005e082 100644
--- a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateSubtreeHandler.java
+++ b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/handler/ValidateSubtreeHandler.java
@@ -15,7 +15,7 @@
package org.eclipse.papyrus.infra.services.validation.handler;
import org.eclipse.emf.common.command.Command;
-import org.eclipse.papyrus.infra.core.utils.GMFtoEMFCommandWrapper;
+import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
import org.eclipse.papyrus.infra.services.validation.commands.ValidateSubtreeCommand;
/**
diff --git a/plugins/infra/table/org.eclipse.papyrus.infra.table.common/META-INF/MANIFEST.MF b/plugins/infra/table/org.eclipse.papyrus.infra.table.common/META-INF/MANIFEST.MF
index 84f56b2678e..272bd805ebd 100644
--- a/plugins/infra/table/org.eclipse.papyrus.infra.table.common/META-INF/MANIFEST.MF
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.common/META-INF/MANIFEST.MF
@@ -1,7 +1,6 @@
Manifest-Version: 1.0
Require-Bundle: org.eclipse.emf.facet.widgets.nattable.instance,
org.eclipse.emf.facet.widgets.nattable,
- org.eclipse.papyrus.uml.diagram.common;bundle-version="0.9.0",
org.eclipse.papyrus.infra.widgets;bundle-version="0.9.0",
org.eclipse.papyrus.views.properties;bundle-version="0.9.0",
org.eclipse.emf.databinding;bundle-version="1.2.0",
@@ -13,7 +12,14 @@ Require-Bundle: org.eclipse.emf.facet.widgets.nattable.instance,
org.eclipse.papyrus.infra.services.edit;bundle-version="0.9.0",
org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="0.9.0",
net.sourceforge.nattable.core;bundle-version="2.1.0",
- org.eclipse.emf.facet.infra.facet.core
+ org.eclipse.emf.facet.infra.facet.core,
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0",
+ org.eclipse.papyrus.uml.tools;bundle-version="0.9.0",
+ org.eclipse.core.runtime;bundle-version="3.8.0",
+ org.eclipse.emf.transaction;bundle-version="1.4.0",
+ org.eclipse.gmf.runtime.common.core;bundle-version="1.4.1",
+ org.eclipse.gmf.runtime.emf.type.core;bundle-version="1.4.0",
+ org.eclipse.uml2.uml;bundle-version="4.0.0"
Export-Package: org.eclipse.papyrus.infra.table.common,
org.eclipse.papyrus.infra.table.common.dialog,
org.eclipse.papyrus.infra.table.common.editor,
diff --git a/plugins/infra/table/org.eclipse.papyrus.infra.table.common/src/org/eclipse/papyrus/infra/table/common/internal/NatTableEditor.java b/plugins/infra/table/org.eclipse.papyrus.infra.table.common/src/org/eclipse/papyrus/infra/table/common/internal/NatTableEditor.java
index 4a5f53d4b78..9ea1d265372 100644
--- a/plugins/infra/table/org.eclipse.papyrus.infra.table.common/src/org/eclipse/papyrus/infra/table/common/internal/NatTableEditor.java
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.common/src/org/eclipse/papyrus/infra/table/common/internal/NatTableEditor.java
@@ -56,14 +56,14 @@ import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.papyrus.infra.emf.databinding.EMFObservableValue;
import org.eclipse.papyrus.infra.table.common.messages.Messages;
import org.eclipse.papyrus.infra.table.instance.papyrustableinstance.PapyrusTableInstance;
import org.eclipse.papyrus.infra.table.instance.papyrustableinstance.PapyrustableinstancePackage;
import org.eclipse.papyrus.infra.widgets.editors.BooleanRadio;
import org.eclipse.papyrus.infra.widgets.editors.StringEditor;
import org.eclipse.papyrus.infra.widgets.editors.StringLabel;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
-import org.eclipse.papyrus.views.properties.databinding.EMFObservableValue;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
@@ -119,7 +119,7 @@ public class NatTableEditor extends EditorPart implements ISelectionProvider, IE
/**
*
* @see org.eclipse.emf.common.notify.impl.AdapterImpl#notifyChanged(org.eclipse.emf.common.notify.Notification)
- *
+ *
* @param notification
*/
@Override
@@ -234,7 +234,7 @@ public class NatTableEditor extends EditorPart implements ISelectionProvider, IE
return this.natTableWidget;
}
- private Composite createCompositeCompositeWthTableBorder(final Composite parent){
+ private Composite createCompositeCompositeWthTableBorder(final Composite parent) {
Composite editorComposite = new Composite(parent, SWT.BORDER);
final GridLayout editorGridLayout = new GridLayout(1, true);
editorGridLayout.marginHeight = 0;
@@ -251,12 +251,12 @@ public class NatTableEditor extends EditorPart implements ISelectionProvider, IE
/**
*
* @param parent
- * the parent composite
+ * the parent composite
*/
- protected void createFirstLine(final Composite parent){
+ protected void createFirstLine(final Composite parent) {
final TableInstance table = this.tableEditorInput.getPapyrusTableInstance().getTable();
- Composite firstLineComposite = new Composite(parent, SWT.NONE);
+ Composite firstLineComposite = new Composite(parent, SWT.NONE);
final GridLayout smallGridLayout = new GridLayout(2, true);
smallGridLayout.marginHeight = 0;
smallGridLayout.marginWidth = 0;
@@ -270,7 +270,7 @@ public class NatTableEditor extends EditorPart implements ISelectionProvider, IE
firstLineComposite.setLayoutData(lineData);
//we display the context of the table
- this.contextLabel = new StringLabel(firstLineComposite,SWT.LEFT);
+ this.contextLabel = new StringLabel(firstLineComposite, SWT.LEFT);
this.contextLabel.setLabel(Messages.NatTableEditor_TableContextLabel);
this.contextLabel.setToolTipText(Messages.NatTableEditor_TableContextTollTip);
@@ -281,17 +281,17 @@ public class NatTableEditor extends EditorPart implements ISelectionProvider, IE
* we should set the converted before the observable!
*/
this.contextLabel.setConverters(null, new ContextLabelConverter());
- this.contextLabel.setLabelProvider(new EditorLabelProvider());
+ this.contextLabel.setLabelProvider(new UMLLabelProvider());
this.contextLabel.setModelObservable(contextObservable);
//set the layout for contextLabel
GridData contextGridData = new GridData();
contextGridData.grabExcessHorizontalSpace = true;
contextGridData.horizontalAlignment = SWT.FILL;
- contextGridData.horizontalSpan=1;
+ contextGridData.horizontalSpan = 1;
this.contextLabel.setLayoutData(contextGridData);
- BooleanRadio checkbox = new BooleanRadio(firstLineComposite, SWT.NONE, "IsSynchronized :" );
+ BooleanRadio checkbox = new BooleanRadio(firstLineComposite, SWT.NONE, "IsSynchronized :");
checkbox.setToolTipText("Indicates if the table is synchronized with queries");
final IObservableValue isSynchronizedObservable = new EMFObservableValue(this.tableEditorInput.getPapyrusTableInstance(), PapyrustableinstancePackage.eINSTANCE.getPapyrusTableInstance_IsSynchronized(), getEditingDomain());
checkbox.setModelObservable(isSynchronizedObservable);
@@ -303,7 +303,7 @@ public class NatTableEditor extends EditorPart implements ISelectionProvider, IE
}
- protected void createDescription(final Composite parent){
+ protected void createDescription(final Composite parent) {
final TableInstance table = this.tableEditorInput.getPapyrusTableInstance().getTable();
EClass tableEClass = table.eClass();
@@ -369,9 +369,9 @@ public class NatTableEditor extends EditorPart implements ISelectionProvider, IE
* if not, we return the papyrus table instance
*/
Control[] children = ((Composite)this.natTableWidget).getChildren();
- if(children.length!=0){
+ if(children.length != 0) {
boolean focus = children[0].isFocusControl();
- if(focus){
+ if(focus) {
return this.natTableWidget.getSelection();
}
}
diff --git a/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/Environment.xmi b/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/Environment.xmi
index a308a421d64..3261d8ce5ed 100644
--- a/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/Environment.xmi
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/Environment.xmi
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="ASCII"?>
-<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment">
+<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment/0.9">
<modelElementFactories name="PapyrusTableFactory" factoryClass="org.eclipse.papyrus.infra.table.properties.modelelement.PapyrusTableFactory"/>
</environment:Environment>
diff --git a/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/papyrustableinstance.ctx b/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/papyrustableinstance.ctx
index 7efe8ad4932..cf66bed2288 100644
--- a/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/papyrustableinstance.ctx
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/papyrustableinstance.ctx
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ASCII"?>
-<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts" name="papyrustableinstance">
+<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9" xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9" name="papyrustableinstance">
<dependencies href="ppe:/context/org.eclipse.papyrus.infra.table.properties/model/tableinstance2.ctx#/"/>
<tabs label="Default" id="default" category="default">
<sections name="Single PapyrusTableInstance" sectionFile="ui/SinglePapyrusTableInstance.xwt">
@@ -10,17 +10,17 @@
</sections>
</tabs>
<views name="Single PapyrusTableInstance" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePapyrusTableInstance">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePapyrusTableInstance">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/Papyrus/Table/0.8.0/papyrustableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PapyrusTableInstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/Papyrus/Table/0.8.0/papyrustableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="PapyrusTableInstance"/>
</constraints>
</views>
<views name="Multiple PapyrusTableInstance" sections="//@tabs.0/@sections.1" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePapyrusTableInstance">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePapyrusTableInstance">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PapyrusTableInstance"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/Papyrus/Table/0.8.0/papyrustableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="PapyrusTableInstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/Papyrus/Table/0.8.0/papyrustableinstance"/>
</constraints>
</views>
<dataContexts name="papyrustableinstance" label="papyrustableinstance">
diff --git a/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/tableinstance.ctx b/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/tableinstance.ctx
index a7ac61599f0..b83450c6a11 100644
--- a/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/tableinstance.ctx
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/tableinstance.ctx
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ASCII"?>
-<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts" name="tableinstance">
+<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9" xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9" name="tableinstance">
<tabs label="Default" id="default" category="default">
<sections name="Single TableInstance" sectionFile="ui/SingleTableInstance.xwt">
<widget href="ui/SingleTableInstance.xwt#/"/>
@@ -93,213 +93,213 @@
</sections>
</tabs>
<views name="Single TableInstance" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTableInstance">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTableInstance">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="TableInstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="TableInstance"/>
</constraints>
</views>
<views name="Single QueryTableInstance" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQueryTableInstance">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleQueryTableInstance">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="QueryTableInstance"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="QueryTableInstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Single Column" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Column"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="Column"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Single QueryColumn" sections="//@tabs.0/@sections.3" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQueryColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleQueryColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="QueryColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="QueryColumn"/>
</constraints>
</views>
<views name="Single ReferenceColumn" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReferenceColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReferenceColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="ReferenceColumn"/>
</constraints>
</views>
<views name="Single ContextColumn" sections="//@tabs.0/@sections.5" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleContextColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleContextColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ContextColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="ContextColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Single MetaClassColumn" sections="//@tabs.0/@sections.6" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMetaClassColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleMetaClassColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="MetaClassColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="MetaClassColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Single AttributeColumn" sections="//@tabs.0/@sections.7" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAttributeColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAttributeColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="AttributeColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="AttributeColumn"/>
</constraints>
</views>
<views name="Single EContainerColumn" sections="//@tabs.0/@sections.8" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEContainerColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleEContainerColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="EContainerColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="EContainerColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Single DefaultLabelColumn" sections="//@tabs.0/@sections.9" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDefaultLabelColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDefaultLabelColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DefaultLabelColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="DefaultLabelColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Single FeatureColumn" sections="//@tabs.0/@sections.10" automaticContext="true" datacontexts="//@dataContexts.0/@elements.10">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFeatureColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFeatureColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FeatureColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="FeatureColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Single Row" sections="//@tabs.0/@sections.11" automaticContext="true" datacontexts="//@dataContexts.0/@elements.11">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRow">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Row"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="Row"/>
</constraints>
</views>
<views name="Single FacetAttributeColumn" sections="//@tabs.0/@sections.12" automaticContext="true" datacontexts="//@dataContexts.0/@elements.12">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFacetAttributeColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFacetAttributeColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FacetAttributeColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="FacetAttributeColumn"/>
</constraints>
</views>
<views name="Single FacetReferenceColumn" sections="//@tabs.0/@sections.13" automaticContext="true" datacontexts="//@dataContexts.0/@elements.13">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFacetReferenceColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFacetReferenceColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FacetReferenceColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="FacetReferenceColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Single FacetFeatureColumn" sections="//@tabs.0/@sections.14" automaticContext="true" datacontexts="//@dataContexts.0/@elements.14">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFacetFeatureColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFacetFeatureColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FacetFeatureColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="FacetFeatureColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Multiple TableInstance" sections="//@tabs.0/@sections.15" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTableInstance">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTableInstance">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="TableInstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="TableInstance"/>
</constraints>
</views>
<views name="Multiple QueryTableInstance" sections="//@tabs.0/@sections.16" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleQueryTableInstance">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleQueryTableInstance">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="QueryTableInstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="QueryTableInstance"/>
</constraints>
</views>
<views name="Multiple Column" sections="//@tabs.0/@sections.17" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Column"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="Column"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Multiple QueryColumn" sections="//@tabs.0/@sections.18" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleQueryColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleQueryColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="QueryColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="QueryColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Multiple ReferenceColumn" sections="//@tabs.0/@sections.19" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReferenceColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReferenceColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ReferenceColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="ReferenceColumn"/>
</constraints>
</views>
<views name="Multiple ContextColumn" sections="//@tabs.0/@sections.20" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleContextColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleContextColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ContextColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="ContextColumn"/>
</constraints>
</views>
<views name="Multiple MetaClassColumn" sections="//@tabs.0/@sections.21" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.6">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMetaClassColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleMetaClassColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="MetaClassColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="MetaClassColumn"/>
</constraints>
</views>
<views name="Multiple AttributeColumn" sections="//@tabs.0/@sections.22" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.7">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAttributeColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAttributeColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="AttributeColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="AttributeColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Multiple EContainerColumn" sections="//@tabs.0/@sections.23" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.8">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEContainerColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleEContainerColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="EContainerColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="EContainerColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Multiple DefaultLabelColumn" sections="//@tabs.0/@sections.24" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.9">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDefaultLabelColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDefaultLabelColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="DefaultLabelColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="DefaultLabelColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Multiple FeatureColumn" sections="//@tabs.0/@sections.25" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.10">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFeatureColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFeatureColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FeatureColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="FeatureColumn"/>
</constraints>
</views>
<views name="Multiple Row" sections="//@tabs.0/@sections.26" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.11">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleRow">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="Row"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="Row"/>
</constraints>
</views>
<views name="Multiple FacetAttributeColumn" sections="//@tabs.0/@sections.27" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.12">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFacetAttributeColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFacetAttributeColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FacetAttributeColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="FacetAttributeColumn"/>
</constraints>
</views>
<views name="Multiple FacetReferenceColumn" sections="//@tabs.0/@sections.28" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.13">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFacetReferenceColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFacetReferenceColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FacetReferenceColumn"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="FacetReferenceColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
</constraints>
</views>
<views name="Multiple FacetFeatureColumn" sections="//@tabs.0/@sections.29" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.14">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFacetFeatureColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFacetFeatureColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="FacetFeatureColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/ModelCellEditor/0.1.0/tableinstance"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="FacetFeatureColumn"/>
</constraints>
</views>
<dataContexts name="tableinstance" label="tableinstance">
diff --git a/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/tableinstance2.ctx b/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/tableinstance2.ctx
index 32477c24d43..ee9663fdb97 100644
--- a/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/tableinstance2.ctx
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/model/tableinstance2.ctx
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ASCII"?>
-<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts" name="tableinstance2">
+<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9" xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9" name="tableinstance2">
<dependencies href="ppe:/context/org.eclipse.papyrus.infra.table.properties/model/tableinstance.ctx#/"/>
<tabs label="Default" id="default" category="default">
<sections name="Single TableInstance2" sectionFile="ui/SingleTableInstance2.xwt">
@@ -43,87 +43,87 @@
</sections>
</tabs>
<views name="Single TableInstance2" sections="//@tabs.0/@sections.0" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTableInstance2">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTableInstance2">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="TableInstance2"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="TableInstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
</constraints>
</views>
<views name="Single QueryRow" sections="//@tabs.0/@sections.1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQueryRow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleQueryRow">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="QueryRow"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="QueryRow"/>
</constraints>
</views>
<views name="Single PrimitiveTypeQueryRow" sections="//@tabs.0/@sections.2" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePrimitiveTypeQueryRow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePrimitiveTypeQueryRow">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PrimitiveTypeQueryRow"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="PrimitiveTypeQueryRow"/>
</constraints>
</views>
<views name="Single EObjectQueryRow" sections="//@tabs.0/@sections.3" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEObjectQueryRow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleEObjectQueryRow">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="EObjectQueryRow"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="EObjectQueryRow"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
</constraints>
</views>
<views name="Single ValueColumn" sections="//@tabs.0/@sections.4" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleValueColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleValueColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ValueColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="ValueColumn"/>
</constraints>
</views>
<views name="Single QueryTableInstance2" sections="//@tabs.0/@sections.5" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQueryTableInstance2">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleQueryTableInstance2">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="QueryTableInstance2"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="QueryTableInstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
</constraints>
</views>
<views name="Multiple TableInstance2" sections="//@tabs.0/@sections.6" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.0">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTableInstance2">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTableInstance2">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="TableInstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="TableInstance2"/>
</constraints>
</views>
<views name="Multiple QueryRow" sections="//@tabs.0/@sections.7" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleQueryRow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleQueryRow">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="QueryRow"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="QueryRow"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
</constraints>
</views>
<views name="Multiple PrimitiveTypeQueryRow" sections="//@tabs.0/@sections.8" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.2">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePrimitiveTypeQueryRow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePrimitiveTypeQueryRow">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="PrimitiveTypeQueryRow"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="PrimitiveTypeQueryRow"/>
</constraints>
</views>
<views name="Multiple EObjectQueryRow" sections="//@tabs.0/@sections.9" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.3">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEObjectQueryRow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleEObjectQueryRow">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="EObjectQueryRow"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="EObjectQueryRow"/>
</constraints>
</views>
<views name="Multiple ValueColumn" sections="//@tabs.0/@sections.10" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.4">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleValueColumn">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleValueColumn">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="ValueColumn"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="ValueColumn"/>
</constraints>
</views>
<views name="Multiple QueryTableInstance2" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true" datacontexts="//@dataContexts.0/@elements.5">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleQueryTableInstance2">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleQueryTableInstance2">
<constraintType href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
- <properties xsi:type="contexts:ValueProperty" name="className" value="QueryTableInstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="nsUri" value="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableinstance2"/>
+ <properties xsi:type="constraints:ValueProperty" name="className" value="QueryTableInstance2"/>
</constraints>
</views>
<views name="Description" sections="//@tabs.0/@sections.12"/>
diff --git a/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/src/org/eclipse/papyrus/infra/table/properties/provider/CustomizationContentProvider.java b/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/src/org/eclipse/papyrus/infra/table/properties/provider/CustomizationContentProvider.java
index a9e037f5942..f284e2fa9f4 100644
--- a/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/src/org/eclipse/papyrus/infra/table/properties/provider/CustomizationContentProvider.java
+++ b/plugins/infra/table/org.eclipse.papyrus.infra.table.properties/src/org/eclipse/papyrus/infra/table/properties/provider/CustomizationContentProvider.java
@@ -21,15 +21,15 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.facet.infra.browser.custom.MetamodelView;
import org.eclipse.emf.facet.widgets.nattable.instance.tableinstance2.TableInstance2;
+import org.eclipse.papyrus.infra.emf.providers.EMFContentProvider;
import org.eclipse.papyrus.infra.table.properties.modelelement.PapyrusTableModelElement;
-import org.eclipse.papyrus.views.properties.providers.EcoreReferenceContentProvider;
/**
*
* The content provider for the MetamodelView
*
*/
-public class CustomizationContentProvider extends EcoreReferenceContentProvider {
+public class CustomizationContentProvider extends EMFContentProvider {
/**
* the table instance
@@ -50,15 +50,15 @@ public class CustomizationContentProvider extends EcoreReferenceContentProvider
* @param eObject
* the eobject
* @param pref
- * the preference : it allows to display to choose how to display the local customization :
- * <ul>
- * <li> all customization</li>
- * <li> one customization</li>
- * <li> no customization</li>
+ * the preference : it allows to display to choose how to display the local customization :
+ * <ul>
+ * <li>all customization</li>
+ * <li>one customization</li>
+ * <li>no customization</li>
* </ul>
*/
public CustomizationContentProvider(final EStructuralFeature feature, final EObject eObject, final int pref) {
- super(feature, eObject);
+ super(eObject, feature);
preference = pref;
Assert.isTrue(eObject instanceof TableInstance2);
source = (TableInstance2)eObject;
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/META-INF/MANIFEST.MF b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/META-INF/MANIFEST.MF
index a7b1e7ae0e9..fdb741a5ea8 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/META-INF/MANIFEST.MF
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/META-INF/MANIFEST.MF
@@ -20,7 +20,8 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.gmf.runtime.diagram.core;bundle-version="1.4.1",
org.eclipse.draw2d;bundle-version="3.7.1",
org.eclipse.gef;bundle-version="3.7.1",
- org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0"
+ org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
+ org.eclipse.papyrus.uml.tools;bundle-version="0.9.0"
Bundle-Vendor: %providerName
Bundle-ActivationPolicy: lazy
Bundle-Version: 0.9.0.qualifier
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/ui/InterfaceManagerDialog.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/ui/InterfaceManagerDialog.java
index 764fab82b15..7cb4513c6af 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/ui/InterfaceManagerDialog.java
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.blockdefinition/src/org/eclipse/papyrus/sysml/diagram/blockdefinition/ui/InterfaceManagerDialog.java
@@ -55,10 +55,10 @@ import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector;
import org.eclipse.papyrus.sysml.diagram.blockdefinition.messages.Messages;
import org.eclipse.papyrus.sysml.portandflows.FlowSpecification;
import org.eclipse.papyrus.uml.diagram.common.Activator;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.common.util.Util;
import org.eclipse.papyrus.uml.diagram.common.util.Visitor;
import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.papyrus.uml.tools.utils.ElementUtil;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CLabel;
@@ -733,7 +733,7 @@ public class InterfaceManagerDialog extends SelectionDialog {
}
- public class CreateElementLabelProvider extends EditorLabelProvider {
+ public class CreateElementLabelProvider extends UMLLabelProvider {
/**
*
@@ -745,9 +745,7 @@ public class InterfaceManagerDialog extends SelectionDialog {
@Override
public Image getImage(Object element) {
if(element instanceof NewElementRepresentation) {
- String imagePath = new String(imageFolder);
- imagePath += "Interface.gif"; //$NON-NLS-1$
- return Activator.getPluginIconImage(pluginID, imagePath);
+ return org.eclipse.papyrus.uml.tools.Activator.getDefault().getImageForUMLMetaclass(UMLPackage.eINSTANCE.getInterface());
}
return super.getImage(element);
}
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/META-INF/MANIFEST.MF b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/META-INF/MANIFEST.MF
index 855c3587ed0..7610b9bd1f2 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/META-INF/MANIFEST.MF
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/META-INF/MANIFEST.MF
@@ -20,7 +20,9 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.papyrus.uml.modelexplorer.widgets;bundle-version="0.9.0",
org.eclipse.draw2d;bundle-version="3.7.1",
org.eclipse.gmf.runtime.diagram.core;bundle-version="1.4.1",
- org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0"
+ org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
+ org.eclipse.papyrus.uml.tools;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
Export-Package: org.eclipse.papyrus.gmf.diagram.common.commands,
org.eclipse.papyrus.gmf.diagram.common.compatibility,
org.eclipse.papyrus.gmf.diagram.common.edit.part,
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/CreateOrSelectTypeDialog.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/CreateOrSelectTypeDialog.java
index 525912aedf4..e19ab0e7724 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/CreateOrSelectTypeDialog.java
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/CreateOrSelectTypeDialog.java
@@ -25,16 +25,16 @@ import org.eclipse.gmf.runtime.emf.type.core.IElementType;
import org.eclipse.gmf.runtime.emf.type.core.ISpecializationType;
import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
import org.eclipse.jface.dialogs.IDialogConstants;
-import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.window.Window;
import org.eclipse.papyrus.infra.services.edit.commands.ConfigureFeatureCommandFactory;
import org.eclipse.papyrus.infra.services.edit.commands.IConfigureCommandFactory;
import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
import org.eclipse.papyrus.infra.widgets.editors.TreeSelectorDialog;
-import org.eclipse.papyrus.infra.widgets.providers.EncapsulatedContentProvider;
import org.eclipse.papyrus.sysml.diagram.common.Activator;
import org.eclipse.papyrus.sysml.diagram.common.messages.Messages;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.papyrus.uml.tools.utils.NamedElementUtil;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.ModifyEvent;
@@ -87,18 +87,18 @@ public class CreateOrSelectTypeDialog extends FormDialog {
protected EObject defaultContainer;
- protected LabelProvider labelProvider;
-
+ protected ILabelProvider labelProvider;
+
protected IElementType elementType;
protected EStructuralFeature editedFeature;
-
+
protected EClass elementEClass;
protected IElementType containerType;
protected EStructuralFeature containerFeature;
-
+
protected EClass containerEClass;
/**
@@ -475,22 +475,22 @@ public class CreateOrSelectTypeDialog extends FormDialog {
protected void handleChooseType() {
TreeSelectorDialog dialog = new TreeSelectorDialog(getShell());
-
+
dialog.setMessage(getTypeDialogMessage());
dialog.setTitle(getTypeDialogTitle());
dialog.setInput(EcoreUtil.getRootContainer(defaultContainer));
- ServiceEditContentProvider provider = new ServiceEditContentProvider(elementType, editedFeature, EcoreUtil.getRootContainer(defaultContainer));
- dialog.setContentProvider(new EncapsulatedContentProvider(provider));
+ ServiceEditContentProvider provider = new ServiceEditContentProvider(elementType, editedFeature, EcoreUtil.getRootContainer(defaultContainer));
+ dialog.setContentProvider(provider);
dialog.setLabelProvider(labelProvider);
-
+
if(dialog.open() == Window.OK) {
Object result = dialog.getResult()[0];
- if (result instanceof IAdaptable) {
+ if(result instanceof IAdaptable) {
result = ((IAdaptable)result).getAdapter(EObject.class);
}
-
- if (result instanceof EObject) {
+
+ if(result instanceof EObject) {
setExistingTypeSelection((EObject)result);
} else {
setExistingTypeSelection(null);
@@ -517,22 +517,22 @@ public class CreateOrSelectTypeDialog extends FormDialog {
protected void handleChooseNewTypeContainer() {
TreeSelectorDialog dialog = new TreeSelectorDialog(getShell());
-
+
dialog.setMessage(getNewTypeContainerDialogMessage());
dialog.setTitle(getNewTypeContainerDialogTitle());
dialog.setInput(EcoreUtil.getRootContainer(defaultContainer));
- ServiceEditContentProvider provider = new ServiceEditContentProvider(containerType, containerFeature, EcoreUtil.getRootContainer(defaultContainer));
- dialog.setContentProvider(new EncapsulatedContentProvider(provider));
+ ServiceEditContentProvider provider = new ServiceEditContentProvider(containerType, containerFeature, EcoreUtil.getRootContainer(defaultContainer));
+ dialog.setContentProvider(provider);
dialog.setLabelProvider(labelProvider);
-
+
if(dialog.open() == Window.OK) {
Object result = dialog.getResult()[0];
- if (result instanceof IAdaptable) {
+ if(result instanceof IAdaptable) {
result = ((IAdaptable)result).getAdapter(EObject.class);
}
-
- if (result instanceof EObject) {
+
+ if(result instanceof EObject) {
setNewTypeContainer((EObject)result);
} else {
setNewTypeContainer(null);
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/ServiceEditContentProvider.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/ServiceEditContentProvider.java
index 8e2c308a029..0fa16cd46c4 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/ServiceEditContentProvider.java
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/ServiceEditContentProvider.java
@@ -19,7 +19,7 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.gmf.runtime.emf.type.core.IElementType;
import org.eclipse.papyrus.infra.services.edit.utils.ElementTypeValidator;
-import org.eclipse.papyrus.uml.modelexplorer.widgets.UMLElementMEBContentProvider;
+import org.eclipse.papyrus.uml.tools.providers.internal.UMLElementMEBContentProvider;
/**
* A content provider that takes into account the nature of the searched element
@@ -38,6 +38,6 @@ public class ServiceEditContentProvider extends UMLElementMEBContentProvider {
@Override
public boolean isValidValue(Object element) {
- return super.isValidValue(element) && validator.validate(new Object[]{getAdaptedValue(element)}).isOK();
+ return super.isValidValue(element) && validator.validate(new Object[]{ getAdaptedValue(element) }).isOK();
}
}
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/UMLLabelProvider.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/UMLLabelProvider.java
deleted file mode 100644
index f8f90f47a40..00000000000
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/dialogs/UMLLabelProvider.java
+++ /dev/null
@@ -1,75 +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.sysml.diagram.common.dialogs;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.papyrus.infra.widgets.providers.IDetailLabelProvider;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
-import org.eclipse.papyrus.views.modelexplorer.MoDiscoLabelProvider;
-import org.eclipse.swt.graphics.Image;
-
-/**
- * Copied from org.eclipse.papyrus.uml.properties.providers.UMLLabelProvider.
- *
- * The Modisco customizable label provider doesn't handle standard EObjects,
- * while standard EMF label providers don't handle MoDisco elements.
- *
- * This label provider aggregates both a MoDisco label provider and an
- * EMF Label Provider.
- *
- * @author Camille Letavernier
- */
-public class UMLLabelProvider extends LabelProvider implements IDetailLabelProvider {
-
- private ILabelProvider modiscoLabelProvider;
-
- private ILabelProvider eObjectLabelProvider;
-
- /**
- *
- * Constructor.
- *
- */
- public UMLLabelProvider() {
- modiscoLabelProvider = new MoDiscoLabelProvider();
- eObjectLabelProvider = new EditorLabelProvider();
- }
-
- @Override
- public String getText(Object inputObject) {
- return getProviderFor(inputObject).getText(inputObject);
- }
-
- @Override
- public Image getImage(Object inputObject) {
- return getProviderFor(inputObject).getImage(inputObject);
- }
-
- /**
- * @param inputObject
- * @return the ILabelProvider for input object
- */
- protected ILabelProvider getProviderFor(Object inputObject) {
- if(inputObject == null || inputObject instanceof EObject) {
- return eObjectLabelProvider;
- }
-
- return modiscoLabelProvider;
- }
-
- public String getDetail(Object object) {
- return getText(object);
- }
-
-}
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/edit/part/FlowPortAffixedLabelNameEditPart.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/edit/part/FlowPortAffixedLabelNameEditPart.java
index 51e08ce68dd..38a9f85fb7a 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/edit/part/FlowPortAffixedLabelNameEditPart.java
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src-common-sysml/org/eclipse/papyrus/sysml/diagram/common/edit/part/FlowPortAffixedLabelNameEditPart.java
@@ -22,7 +22,7 @@ import org.eclipse.gmf.runtime.diagram.ui.editparts.IBorderItemEditPart;
import org.eclipse.gmf.runtime.diagram.ui.figures.IBorderItemLocator;
import org.eclipse.gmf.runtime.notation.NotationPackage;
import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.papyrus.sysml.diagram.common.Activator;
import org.eclipse.papyrus.uml.diagram.common.edit.part.AbstractElementLabelEditPart;
import org.eclipse.papyrus.uml.diagram.common.figure.node.PapyrusWrappingLabel;
@@ -36,7 +36,7 @@ import org.eclipse.swt.graphics.Image;
public class FlowPortAffixedLabelNameEditPart extends AbstractElementLabelEditPart implements IBorderItemEditPart {
/** label provider for icons */
- private final LabelProvider labelProvider;
+ private final ILabelProvider labelProvider;
/** Constructor */
public FlowPortAffixedLabelNameEditPart(View view) {
@@ -62,6 +62,7 @@ public class FlowPortAffixedLabelNameEditPart extends AbstractElementLabelEditPa
return null;
}
+ @Override
public void refreshBounds() {
int x = ((Integer)getStructuralFeatureValue(NotationPackage.eINSTANCE.getLocation_X())).intValue();
int y = ((Integer)getStructuralFeatureValue(NotationPackage.eINSTANCE.getLocation_Y())).intValue();
@@ -113,6 +114,7 @@ public class FlowPortAffixedLabelNameEditPart extends AbstractElementLabelEditPa
/**
* {@inheritDoc}
*/
+ @Override
public String getLabelRole() {
return "Label"; //$NON-NLS-1$
}
@@ -120,6 +122,7 @@ public class FlowPortAffixedLabelNameEditPart extends AbstractElementLabelEditPa
/**
* {@inheritDoc}
*/
+ @Override
public String getIconPathRole() {
return ""; //$NON-NLS-1$
}
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/Activator.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/Activator.java
index 7943ab2bc67..8c716f6af4a 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/Activator.java
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.common/src/org/eclipse/papyrus/sysml/diagram/common/Activator.java
@@ -16,18 +16,18 @@ import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory
import org.eclipse.emf.edit.ui.provider.ExtendedImageRegistry;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.viewers.LabelProvider;
+import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.papyrus.infra.core.log.LogHelper;
import org.eclipse.papyrus.sysml.activities.provider.ActivitiesItemProviderAdapterFactory;
import org.eclipse.papyrus.sysml.allocations.provider.AllocationsItemProviderAdapterFactory;
import org.eclipse.papyrus.sysml.blocks.provider.BlocksItemProviderAdapterFactory;
import org.eclipse.papyrus.sysml.constraints.provider.ConstraintsItemProviderAdapterFactory;
-import org.eclipse.papyrus.sysml.diagram.common.dialogs.UMLLabelProvider;
import org.eclipse.papyrus.sysml.modelelements.provider.ModelelementsItemProviderAdapterFactory;
import org.eclipse.papyrus.sysml.portandflows.FlowDirection;
import org.eclipse.papyrus.sysml.portandflows.FlowPort;
import org.eclipse.papyrus.sysml.portandflows.provider.PortandflowsItemProviderAdapterFactory;
import org.eclipse.papyrus.sysml.requirements.provider.RequirementsItemProviderAdapterFactory;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.swt.graphics.Image;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.uml2.uml.edit.providers.UMLItemProviderAdapterFactory;
@@ -249,7 +249,7 @@ public class Activator extends AbstractUIPlugin {
*
* @return a label provider supported by EMF Facet
*/
- public LabelProvider getLabelProvider() {
+ public ILabelProvider getLabelProvider() {
if(labelProvider == null) {
// add a generic label provider for sysml elements
labelProvider = new UMLLabelProvider();
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/META-INF/MANIFEST.MF b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/META-INF/MANIFEST.MF
index 3295b3cb3dd..5bf586c37d1 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/META-INF/MANIFEST.MF
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/META-INF/MANIFEST.MF
@@ -15,7 +15,8 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.papyrus.uml.service.types;bundle-version="0.9.0",
org.eclipse.papyrus.infra.widgets;bundle-version="0.9.0",
org.eclipse.gmf.runtime.diagram.core;bundle-version="1.4.1",
- org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0"
+ org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
+ org.eclipse.papyrus.uml.tools;bundle-version="0.9.0"
Bundle-Vendor: %providerName
Bundle-ActivationPolicy: lazy
Bundle-Version: 0.9.0.qualifier
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/handler/ShowHideRelatedContentsAction.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/handler/ShowHideRelatedContentsAction.java
index 20110b95585..644443fa149 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/handler/ShowHideRelatedContentsAction.java
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/handler/ShowHideRelatedContentsAction.java
@@ -23,7 +23,7 @@ import org.eclipse.papyrus.sysml.diagram.internalblock.messages.Messages;
import org.eclipse.papyrus.uml.diagram.common.actions.AbstractShowHideAction;
import org.eclipse.papyrus.uml.diagram.common.actions.ShowHideContentsAction;
import org.eclipse.papyrus.uml.diagram.common.editpolicies.ShowHideRelatedContentsEditPolicy;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.uml2.uml.Classifier;
import org.eclipse.uml2.uml.Property;
import org.eclipse.uml2.uml.Type;
@@ -41,7 +41,7 @@ public class ShowHideRelatedContentsAction extends ShowHideContentsAction {
@Override
protected void initAction() {
super.initAction();
- setEditorLabelProvider(new EditorLabelProvider());
+ setEditorLabelProvider(new UMLLabelProvider());
this.representations = new ArrayList<AbstractShowHideAction.EditPartRepresentation>();
for(EditPart current : this.selectedElements) {
diff --git a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/ui/InterfaceManagerDialog.java b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/ui/InterfaceManagerDialog.java
index 082bbfbe273..7c5cb553d0f 100644
--- a/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/ui/InterfaceManagerDialog.java
+++ b/plugins/sysml/diagram/org.eclipse.papyrus.sysml.diagram.internalblock/src/org/eclipse/papyrus/sysml/diagram/internalblock/ui/InterfaceManagerDialog.java
@@ -55,10 +55,10 @@ import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector;
import org.eclipse.papyrus.sysml.diagram.internalblock.messages.Messages;
import org.eclipse.papyrus.sysml.portandflows.FlowSpecification;
import org.eclipse.papyrus.uml.diagram.common.Activator;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.common.util.Util;
import org.eclipse.papyrus.uml.diagram.common.util.Visitor;
import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.papyrus.uml.tools.utils.ElementUtil;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CLabel;
@@ -733,7 +733,7 @@ public class InterfaceManagerDialog extends SelectionDialog {
}
- public class CreateElementLabelProvider extends EditorLabelProvider {
+ public class CreateElementLabelProvider extends UMLLabelProvider {
/**
*
@@ -745,9 +745,7 @@ public class InterfaceManagerDialog extends SelectionDialog {
@Override
public Image getImage(Object element) {
if(element instanceof NewElementRepresentation) {
- String imagePath = new String(imageFolder);
- imagePath += "Interface.gif"; //$NON-NLS-1$
- return Activator.getPluginIconImage(pluginID, imagePath);
+ return org.eclipse.papyrus.uml.tools.Activator.getDefault().getImageForUMLMetaclass(UMLPackage.eINSTANCE.getInterface());
}
return super.getImage(element);
}
diff --git a/plugins/sysml/properties/org.eclipse.papyrus.sysml.properties/META-INF/MANIFEST.MF b/plugins/sysml/properties/org.eclipse.papyrus.sysml.properties/META-INF/MANIFEST.MF
index d2ffd583552..cf6e7959e3b 100644
--- a/plugins/sysml/properties/org.eclipse.papyrus.sysml.properties/META-INF/MANIFEST.MF
+++ b/plugins/sysml/properties/org.eclipse.papyrus.sysml.properties/META-INF/MANIFEST.MF
@@ -11,4 +11,3 @@ Bundle-ManifestVersion: 2
Bundle-Activator: org.eclipse.papyrus.sysml.properties.Activator
Bundle-SymbolicName: org.eclipse.papyrus.sysml.properties;singleton:=true
Bundle-RequiredExecutionEnvironment: J2SE-1.5
-
diff --git a/plugins/sysml/properties/org.eclipse.papyrus.sysml.properties/Model/SysML.ctx b/plugins/sysml/properties/org.eclipse.papyrus.sysml.properties/Model/SysML.ctx
index 251ab0b66e0..0a4fd15cba8 100644
--- a/plugins/sysml/properties/org.eclipse.papyrus.sysml.properties/Model/SysML.ctx
+++ b/plugins/sysml/properties/org.eclipse.papyrus.sysml.properties/Model/SysML.ctx
@@ -1,759 +1,1001 @@
<?xml version="1.0" encoding="UTF-8"?>
-<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts" name="SysML">
- <dependencies href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#/"/>
- <tabs label="SysML" id="basicTabSysML" category="org.eclipse.papyrus" priority="20">
- <sections name="SingleConform" sectionFile="ui/SingleConform.xwt">
- <widget href="ui/SingleConform.xwt#/"/>
- </sections>
- <sections name="MultipleConform" sectionFile="ui/MultipleConform.xwt">
- <widget href="ui/MultipleConform.xwt#/"/>
- </sections>
- <sections name="SingleView" sectionFile="ui/SingleView.xwt">
- <widget href="ui/SingleView.xwt#/"/>
- </sections>
- <sections name="MultipleView" sectionFile="ui/MultipleView.xwt">
- <widget href="ui/MultipleView.xwt#/"/>
- </sections>
- <sections name="SingleViewPoint" sectionFile="ui/SingleViewPoint.xwt">
- <widget href="ui/SingleViewPoint.xwt#/"/>
- </sections>
- <sections name="MultipleViewPoint" sectionFile="ui/MultipleViewPoint.xwt">
- <widget href="ui/MultipleViewPoint.xwt#/"/>
- </sections>
- <sections name="SingleBlock" sectionFile="ui/SingleBlock.xwt">
- <widget href="ui/SingleBlock.xwt#/"/>
- </sections>
- <sections name="MultipleBlock" sectionFile="ui/MultipleBlock.xwt">
- <widget href="ui/MultipleBlock.xwt#/"/>
- </sections>
- <sections name="SingleDistributedProperty" sectionFile="ui/SingleDistributedProperty.xwt">
- <widget href="ui/SingleDistributedProperty.xwt#/"/>
- </sections>
- <sections name="MultipleDistributedProperty" sectionFile="ui/MultipleDistributedProperty.xwt">
- <widget href="ui/MultipleDistributedProperty.xwt#/"/>
- </sections>
- <sections name="SingleDimension" sectionFile="ui/SingleDimension.xwt">
- <widget href="ui/SingleDimension.xwt#/"/>
- </sections>
- <sections name="MultipleDimension" sectionFile="ui/MultipleDimension.xwt">
- <widget href="ui/MultipleDimension.xwt#/"/>
- </sections>
- <sections name="SingleUnit" sectionFile="ui/SingleUnit.xwt">
- <widget href="ui/SingleUnit.xwt#/"/>
- </sections>
- <sections name="MultipleUnit" sectionFile="ui/MultipleUnit.xwt">
- <widget href="ui/MultipleUnit.xwt#/"/>
- </sections>
- <sections name="SingleValueType" sectionFile="ui/SingleValueType.xwt">
- <widget href="ui/SingleValueType.xwt#/"/>
- </sections>
- <sections name="MultipleValueType" sectionFile="ui/MultipleValueType.xwt">
- <widget href="ui/MultipleValueType.xwt#/"/>
- </sections>
- <sections name="SingleNestedConnectorEnd" sectionFile="ui/SingleNestedConnectorEnd.xwt">
- <widget href="ui/SingleNestedConnectorEnd.xwt#/"/>
- </sections>
- <sections name="MultipleNestedConnectorEnd" sectionFile="ui/MultipleNestedConnectorEnd.xwt">
- <widget href="ui/MultipleNestedConnectorEnd.xwt#/"/>
- </sections>
- <sections name="SingleParticipantProperty" sectionFile="ui/SingleParticipantProperty.xwt">
- <widget href="ui/SingleParticipantProperty.xwt#/"/>
- </sections>
- <sections name="MultipleParticipantProperty" sectionFile="ui/MultipleParticipantProperty.xwt">
- <widget href="ui/MultipleParticipantProperty.xwt#/"/>
- </sections>
- <sections name="SingleConnectorProperty" sectionFile="ui/SingleConnectorProperty.xwt">
- <widget href="ui/SingleConnectorProperty.xwt#/"/>
- </sections>
- <sections name="MultipleConnectorProperty" sectionFile="ui/MultipleConnectorProperty.xwt">
- <widget href="ui/MultipleConnectorProperty.xwt#/"/>
- </sections>
- <sections name="SingleBindingConnector" sectionFile="ui/SingleBindingConnector.xwt">
- <widget href="ui/SingleBindingConnector.xwt#/"/>
- </sections>
- <sections name="MultipleBindingConnector" sectionFile="ui/MultipleBindingConnector.xwt">
- <widget href="ui/MultipleBindingConnector.xwt#/"/>
- </sections>
- <sections name="SinglePropertySpecificType" sectionFile="ui/SinglePropertySpecificType.xwt">
- <widget href="ui/SinglePropertySpecificType.xwt#/"/>
- </sections>
- <sections name="MultiplePropertySpecificType" sectionFile="ui/MultiplePropertySpecificType.xwt">
- <widget href="ui/MultiplePropertySpecificType.xwt#/"/>
- </sections>
- <sections name="SingleFlowPort" sectionFile="ui/SingleFlowPort.xwt">
- <widget href="ui/SingleFlowPort.xwt#/"/>
- </sections>
- <sections name="MultipleFlowPort" sectionFile="ui/MultipleFlowPort.xwt">
- <widget href="ui/MultipleFlowPort.xwt#/"/>
- </sections>
- <sections name="SingleFlowProperty" sectionFile="ui/SingleFlowProperty.xwt">
- <widget href="ui/SingleFlowProperty.xwt#/"/>
- </sections>
- <sections name="MultipleFlowProperty" sectionFile="ui/MultipleFlowProperty.xwt">
- <widget href="ui/MultipleFlowProperty.xwt#/"/>
- </sections>
- <sections name="SingleFlowSpecification" sectionFile="ui/SingleFlowSpecification.xwt">
- <widget href="ui/SingleFlowSpecification.xwt#/"/>
- </sections>
- <sections name="MultipleFlowSpecification" sectionFile="ui/MultipleFlowSpecification.xwt">
- <widget href="ui/MultipleFlowSpecification.xwt#/"/>
- </sections>
- <sections name="SingleItemFlow" sectionFile="ui/SingleItemFlow.xwt">
- <widget href="ui/SingleItemFlow.xwt#/"/>
- </sections>
- <sections name="MultipleItemFlow" sectionFile="ui/MultipleItemFlow.xwt">
- <widget href="ui/MultipleItemFlow.xwt#/"/>
- </sections>
- <sections name="SingleConstraintBlock" sectionFile="ui/SingleConstraintBlock.xwt">
- <widget href="ui/SingleConstraintBlock.xwt#/"/>
- </sections>
- <sections name="MultipleConstraintBlock" sectionFile="ui/MultipleConstraintBlock.xwt">
- <widget href="ui/MultipleConstraintBlock.xwt#/"/>
- </sections>
- <sections name="SingleConstraintProperty" sectionFile="ui/SingleConstraintProperty.xwt">
- <widget href="ui/SingleConstraintProperty.xwt#/"/>
- </sections>
- <sections name="MultipleConstraintProperty" sectionFile="ui/MultipleConstraintProperty.xwt">
- <widget href="ui/MultipleConstraintProperty.xwt#/"/>
- </sections>
- <sections name="SingleOptional" sectionFile="ui/SingleOptional.xwt">
- <widget href="ui/SingleOptional.xwt#/"/>
- </sections>
- <sections name="MultipleOptional" sectionFile="ui/MultipleOptional.xwt">
- <widget href="ui/MultipleOptional.xwt#/"/>
- </sections>
- <sections name="SingleRate" sectionFile="ui/SingleRate.xwt">
- <widget href="ui/SingleRate.xwt#/"/>
- </sections>
- <sections name="MultipleRate" sectionFile="ui/MultipleRate.xwt">
- <widget href="ui/MultipleRate.xwt#/"/>
- </sections>
- <sections name="SingleProbability" sectionFile="ui/SingleProbability.xwt">
- <widget href="ui/SingleProbability.xwt#/"/>
- </sections>
- <sections name="MultipleProbability" sectionFile="ui/MultipleProbability.xwt">
- <widget href="ui/MultipleProbability.xwt#/"/>
- </sections>
- <sections name="SingleContinuous" sectionFile="ui/SingleContinuous.xwt">
- <widget href="ui/SingleContinuous.xwt#/"/>
- </sections>
- <sections name="MultipleContinuous" sectionFile="ui/MultipleContinuous.xwt">
- <widget href="ui/MultipleContinuous.xwt#/"/>
- </sections>
- <sections name="SingleDiscrete" sectionFile="ui/SingleDiscrete.xwt">
- <widget href="ui/SingleDiscrete.xwt#/"/>
- </sections>
- <sections name="MultipleDiscrete" sectionFile="ui/MultipleDiscrete.xwt">
- <widget href="ui/MultipleDiscrete.xwt#/"/>
- </sections>
- <sections name="SingleControlOperator" sectionFile="ui/SingleControlOperator.xwt">
- <widget href="ui/SingleControlOperator.xwt#/"/>
- </sections>
- <sections name="MultipleControlOperator" sectionFile="ui/MultipleControlOperator.xwt">
- <widget href="ui/MultipleControlOperator.xwt#/"/>
- </sections>
- <sections name="SingleNoBuffer" sectionFile="ui/SingleNoBuffer.xwt">
- <widget href="ui/SingleNoBuffer.xwt#/"/>
- </sections>
- <sections name="MultipleNoBuffer" sectionFile="ui/MultipleNoBuffer.xwt">
- <widget href="ui/MultipleNoBuffer.xwt#/"/>
- </sections>
- <sections name="SingleOverwrite" sectionFile="ui/SingleOverwrite.xwt">
- <widget href="ui/SingleOverwrite.xwt#/"/>
- </sections>
- <sections name="MultipleOverwrite" sectionFile="ui/MultipleOverwrite.xwt">
- <widget href="ui/MultipleOverwrite.xwt#/"/>
- </sections>
- <sections name="SingleAllocate" sectionFile="ui/SingleAllocate.xwt">
- <widget href="ui/SingleAllocate.xwt#/"/>
- </sections>
- <sections name="MultipleAllocate" sectionFile="ui/MultipleAllocate.xwt">
- <widget href="ui/MultipleAllocate.xwt#/"/>
- </sections>
- <sections name="SingleAllocated" sectionFile="ui/SingleAllocated.xwt">
- <widget href="ui/SingleAllocated.xwt#/"/>
- </sections>
- <sections name="MultipleAllocated" sectionFile="ui/MultipleAllocated.xwt">
- <widget href="ui/MultipleAllocated.xwt#/"/>
- </sections>
- <sections name="SingleAllocateActivityPartition" sectionFile="ui/SingleAllocateActivityPartition.xwt">
- <widget href="ui/SingleAllocateActivityPartition.xwt#/"/>
- </sections>
- <sections name="MultipleAllocateActivityPartition" sectionFile="ui/MultipleAllocateActivityPartition.xwt">
- <widget href="ui/MultipleAllocateActivityPartition.xwt#/"/>
- </sections>
- <sections name="SingleTestCase" sectionFile="ui/SingleTestCase.xwt">
- <widget href="ui/SingleTestCase.xwt#/"/>
- </sections>
- <sections name="MultipleTestCase" sectionFile="ui/MultipleTestCase.xwt">
- <widget href="ui/MultipleTestCase.xwt#/"/>
- </sections>
- <sections name="SingleRequirement" sectionFile="ui/SingleRequirement.xwt">
- <widget href="ui/SingleRequirement.xwt#/"/>
- </sections>
- <sections name="MultipleRequirement" sectionFile="ui/MultipleRequirement.xwt">
- <widget href="ui/MultipleRequirement.xwt#/"/>
- </sections>
- <sections name="SingleRequirementRelated" sectionFile="ui/SingleRequirementRelated.xwt">
- <widget href="ui/SingleRequirementRelated.xwt#/"/>
- </sections>
- <sections name="MultipleRequirementRelated" sectionFile="ui/MultipleRequirementRelated.xwt">
- <widget href="ui/MultipleRequirementRelated.xwt#/"/>
- </sections>
- </tabs>
- <views name="SingleConform" sections="//@tabs.0/@sections.0" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConform">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::ModelElements::Conform"/>
- </constraints>
- </views>
- <views name="MultipleConform" sections="//@tabs.0/@sections.1" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConform">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::ModelElements::Conform"/>
- </constraints>
- </views>
- <views name="SingleView" sections="//@tabs.0/@sections.2" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::ModelElements::View"/>
- </constraints>
- </views>
- <views name="MultipleView" sections="//@tabs.0/@sections.3" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleView">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::ModelElements::View"/>
- </constraints>
- </views>
- <views name="SingleViewPoint" sections="//@tabs.0/@sections.4" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleViewPoint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::ModelElements::ViewPoint"/>
- </constraints>
- </views>
- <views name="MultipleViewPoint" sections="//@tabs.0/@sections.5" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleViewPoint">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::ModelElements::ViewPoint"/>
- </constraints>
- </views>
- <views name="SingleBlock" sections="//@tabs.0/@sections.6" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBlock">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::Block"/>
- </constraints>
- </views>
- <views name="MultipleBlock" sections="//@tabs.0/@sections.7" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBlock">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::Block"/>
- </constraints>
- </views>
- <views name="SingleDistributedProperty" sections="//@tabs.0/@sections.8" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDistributedProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::DistributedProperty"/>
- </constraints>
- </views>
- <views name="MultipleDistributedProperty" sections="//@tabs.0/@sections.9" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDistributedProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::DistributedProperty"/>
- </constraints>
- </views>
- <views name="SingleDimension" sections="//@tabs.0/@sections.10" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDimension">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::Dimension"/>
- </constraints>
- </views>
- <views name="MultipleDimension" sections="//@tabs.0/@sections.11" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDimension">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::Dimension"/>
- </constraints>
- </views>
- <views name="SingleUnit" sections="//@tabs.0/@sections.12" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUnit">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::Unit"/>
- </constraints>
- </views>
- <views name="MultipleUnit" sections="//@tabs.0/@sections.13" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUnit">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::Unit"/>
- </constraints>
- </views>
- <views name="SingleValueType" sections="//@tabs.0/@sections.14" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleValueType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::ValueType"/>
- </constraints>
- </views>
- <views name="MultipleValueType" sections="//@tabs.0/@sections.15" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleValueType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::ValueType"/>
- </constraints>
- </views>
- <views name="SingleNestedConnectorEnd" sections="//@tabs.0/@sections.16" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNestedConnectorEnd">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::NestedConnectorEnd"/>
- </constraints>
- </views>
- <views name="MultipleNestedConnectorEnd" sections="//@tabs.0/@sections.17" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNestedConnectorEnd">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::NestedConnectorEnd"/>
- </constraints>
- </views>
- <views name="SingleParticipantProperty" sections="//@tabs.0/@sections.18" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleParticipantProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::ParticipantProperty"/>
- </constraints>
- </views>
- <views name="MultipleParticipantProperty" sections="//@tabs.0/@sections.19" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleParticipantProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::ParticipantProperty"/>
- </constraints>
- </views>
- <views name="SingleConnectorProperty" sections="//@tabs.0/@sections.20" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConnectorProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::ConnectorProperty"/>
- </constraints>
- </views>
- <views name="MultipleConnectorProperty" sections="//@tabs.0/@sections.21" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConnectorProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::ConnectorProperty"/>
- </constraints>
- </views>
- <views name="SingleBindingConnector" sections="//@tabs.0/@sections.22" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBindingConnector">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::BindingConnector"/>
- </constraints>
- </views>
- <views name="MultipleBindingConnector" sections="//@tabs.0/@sections.23" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBindingConnector">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::BindingConnector"/>
- </constraints>
- </views>
- <views name="SinglePropertySpecificType" sections="//@tabs.0/@sections.24" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePropertySpecificType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::PropertySpecificType"/>
- </constraints>
- </views>
- <views name="MultiplePropertySpecificType" sections="//@tabs.0/@sections.25" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePropertySpecificType">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Blocks::PropertySpecificType"/>
- </constraints>
- </views>
- <views name="SingleFlowPort" sections="//@tabs.0/@sections.26" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFlowPort">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::PortAndFlows::FlowPort"/>
- </constraints>
- </views>
- <views name="MultipleFlowPort" sections="//@tabs.0/@sections.27" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFlowPort">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::PortAndFlows::FlowPort"/>
- </constraints>
- </views>
- <views name="SingleFlowProperty" sections="//@tabs.0/@sections.28" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFlowProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::PortAndFlows::FlowProperty"/>
- </constraints>
- </views>
- <views name="MultipleFlowProperty" sections="//@tabs.0/@sections.29" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFlowProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::PortAndFlows::FlowProperty"/>
- </constraints>
- </views>
- <views name="SingleFlowSpecification" sections="//@tabs.0/@sections.30" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFlowSpecification">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::PortAndFlows::FlowSpecification"/>
- </constraints>
- </views>
- <views name="MultipleFlowSpecification" sections="//@tabs.0/@sections.31" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFlowSpecification">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::PortAndFlows::FlowSpecification"/>
- </constraints>
- </views>
- <views name="SingleItemFlow" sections="//@tabs.0/@sections.32" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleItemFlow">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::PortAndFlows::ItemFlow"/>
- </constraints>
- </views>
- <views name="MultipleItemFlow" sections="//@tabs.0/@sections.33" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleItemFlow">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::PortAndFlows::ItemFlow"/>
- </constraints>
- </views>
- <views name="SingleConstraintBlock" sections="//@tabs.0/@sections.34" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstraintBlock">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Constraints::ConstraintBlock"/>
- </constraints>
- </views>
- <views name="MultipleConstraintBlock" sections="//@tabs.0/@sections.35" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstraintBlock">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Constraints::ConstraintBlock"/>
- </constraints>
- </views>
- <views name="SingleConstraintProperty" sections="//@tabs.0/@sections.36" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstraintProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Constraints::ConstraintProperty"/>
- </constraints>
- </views>
- <views name="MultipleConstraintProperty" sections="//@tabs.0/@sections.37" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstraintProperty">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Constraints::ConstraintProperty"/>
- </constraints>
- </views>
- <views name="SingleOptional" sections="//@tabs.0/@sections.38" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleOptional">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Optional"/>
- </constraints>
- </views>
- <views name="MultipleOptional" sections="//@tabs.0/@sections.39" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleOptional">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Optional"/>
- </constraints>
- </views>
- <views name="SingleRate" sections="//@tabs.0/@sections.40" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRate">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Rate"/>
- </constraints>
- </views>
- <views name="MultipleRate" sections="//@tabs.0/@sections.41" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRate">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Rate"/>
- </constraints>
- </views>
- <views name="SingleProbability" sections="//@tabs.0/@sections.42" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleProbability">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Probability"/>
- </constraints>
- </views>
- <views name="MultipleProbability" sections="//@tabs.0/@sections.43" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleProbability">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Probability"/>
- </constraints>
- </views>
- <views name="SingleContinuous" sections="//@tabs.0/@sections.44" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleContinuous">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Continuous"/>
- </constraints>
- </views>
- <views name="MultipleContinuous" sections="//@tabs.0/@sections.45" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleContinuous">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Continuous"/>
- </constraints>
- </views>
- <views name="SingleDiscrete" sections="//@tabs.0/@sections.46" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDiscrete">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Discrete"/>
- </constraints>
- </views>
- <views name="MultipleDiscrete" sections="//@tabs.0/@sections.47" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDiscrete">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Discrete"/>
- </constraints>
- </views>
- <views name="SingleControlOperator" sections="//@tabs.0/@sections.48" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleControlOperator">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::ControlOperator"/>
- </constraints>
- </views>
- <views name="MultipleControlOperator" sections="//@tabs.0/@sections.49" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleControlOperator">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::ControlOperator"/>
- </constraints>
- </views>
- <views name="SingleNoBuffer" sections="//@tabs.0/@sections.50" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNoBuffer">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::NoBuffer"/>
- </constraints>
- </views>
- <views name="MultipleNoBuffer" sections="//@tabs.0/@sections.51" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNoBuffer">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::NoBuffer"/>
- </constraints>
- </views>
- <views name="SingleOverwrite" sections="//@tabs.0/@sections.52" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleOverwrite">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Overwrite"/>
- </constraints>
- </views>
- <views name="MultipleOverwrite" sections="//@tabs.0/@sections.53" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleOverwrite">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Activities::Overwrite"/>
- </constraints>
- </views>
- <views name="SingleAllocate" sections="//@tabs.0/@sections.54" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAllocate">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Allocations::Allocate"/>
- </constraints>
- </views>
- <views name="MultipleAllocate" sections="//@tabs.0/@sections.55" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAllocate">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Allocations::Allocate"/>
- </constraints>
- </views>
- <views name="SingleAllocated" sections="//@tabs.0/@sections.56" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAllocated">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Allocations::Allocated"/>
- </constraints>
- </views>
- <views name="MultipleAllocated" sections="//@tabs.0/@sections.57" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAllocated">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Allocations::Allocated"/>
- </constraints>
- </views>
- <views name="SingleAllocateActivityPartition" sections="//@tabs.0/@sections.58" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAllocateActivityPartition">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Allocations::AllocateActivityPartition"/>
- </constraints>
- </views>
- <views name="MultipleAllocateActivityPartition" sections="//@tabs.0/@sections.59" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAllocateActivityPartition">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Allocations::AllocateActivityPartition"/>
- </constraints>
- </views>
- <views name="SingleTestCase" sections="//@tabs.0/@sections.60" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTestCase">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Requirements::TestCase"/>
- </constraints>
- </views>
- <views name="MultipleTestCase" sections="//@tabs.0/@sections.61" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTestCase">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Requirements::TestCase"/>
- </constraints>
- </views>
- <views name="SingleRequirement" sections="//@tabs.0/@sections.62" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRequirement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Requirements::Requirement"/>
- </constraints>
- </views>
- <views name="MultipleRequirement" sections="//@tabs.0/@sections.63" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRequirement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Requirements::Requirement"/>
- </constraints>
- </views>
- <views name="SingleRequirementRelated" sections="//@tabs.0/@sections.64" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRequirementRelated">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Requirements::RequirementRelated"/>
- </constraints>
- </views>
- <views name="MultipleRequirementRelated" sections="//@tabs.0/@sections.65" elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRequirementRelated">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName" value="SysML::Requirements::RequirementRelated"/>
- </constraints>
- </views>
- <dataContexts name="SysML" label="SysML">
- <elements xsi:type="contexts:DataContextPackage" name="Activities">
- <elements name="Continuous" supertypes="//@dataContexts.0/@elements.0/@elements.5"/>
- <elements name="Discrete" supertypes="//@dataContexts.0/@elements.0/@elements.5"/>
- <elements name="NoBuffer">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.116"/>
- </elements>
- <elements name="Overwrite">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.116"/>
- </elements>
- <elements name="Probability">
- <properties name="probability" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.112"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.72"/>
- </elements>
- <elements name="Rate">
- <properties name="rate" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.112"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.31"/>
- </elements>
- <elements name="ControlOperator">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.42"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.44"/>
- </elements>
- <elements name="Optional">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.31"/>
- </elements>
- </elements>
- <elements xsi:type="contexts:DataContextPackage" name="PortAndFlows">
- <elements name="FlowSpecification">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.48"/>
- </elements>
- <elements name="FlowProperty">
- <properties name="direction" type="Enumeration"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.35"/>
- </elements>
- <elements name="FlowPort">
- <properties name="isAtomic" type="Boolean"/>
- <properties name="direction" type="Enumeration"/>
- <properties name="isConjugated" type="Boolean"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.58"/>
- </elements>
- <elements name="ItemFlow">
- <properties name="itemProperty" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.224"/>
- </elements>
- </elements>
- <elements xsi:type="contexts:DataContextPackage" name="Blocks">
- <elements name="Dimension">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.92"/>
- </elements>
- <elements name="Unit">
- <properties name="dimension" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.92"/>
- </elements>
- <elements name="DistributedProperty">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.35"/>
- </elements>
- <elements name="Block">
- <properties name="isEncapsulated" type="Boolean"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.45"/>
- </elements>
- <elements name="ValueType">
- <properties name="dimension" type="Reference"/>
- <properties name="unit" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.73"/>
- </elements>
- <elements name="ParticipantProperty">
- <properties name="end" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.35"/>
- </elements>
- <elements name="NestedConnectorEnd">
- <properties name="propertyPath" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.34"/>
- </elements>
- <elements name="PropertySpecificType">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.16"/>
- </elements>
- <elements name="ConnectorProperty">
- <properties name="connector" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.35"/>
- </elements>
- <elements name="BindingConnector">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.65"/>
- </elements>
- </elements>
- <elements xsi:type="contexts:DataContextPackage" name="Requirements">
- <elements name="Requirement">
- <properties name="satisfiedBy" type="Reference"/>
- <properties name="verifiedBy" type="Reference"/>
- <properties name="tracedTo" type="Reference"/>
- <properties name="derivedFrom" type="Reference"/>
- <properties name="refinedBy" type="Reference"/>
- <properties name="text"/>
- <properties name="master" type="Reference"/>
- <properties name="derived" type="Reference"/>
- <properties name="id"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.45"/>
- </elements>
- <elements name="RequirementRelated">
- <properties name="refines" type="Reference"/>
- <properties name="verifies" type="Reference"/>
- <properties name="satisfies" type="Reference"/>
- <properties name="tracedFrom" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.4"/>
- </elements>
- <elements name="TestCase">
- <properties name="verifies" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.42"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.44"/>
- </elements>
- </elements>
- <elements xsi:type="contexts:DataContextPackage" name="ModelElements">
- <elements name="View">
- <properties name="viewPoint" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.2"/>
- </elements>
- <elements name="ViewPoint">
- <properties name="concerns"/>
- <properties name="languages"/>
- <properties name="methods"/>
- <properties name="purpose"/>
- <properties name="stakeHolders"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.45"/>
- </elements>
- <elements name="Conform">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.5"/>
- </elements>
- <elements name="Problem">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.0"/>
- </elements>
- <elements name="Rationale">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.0"/>
- </elements>
- </elements>
- <elements xsi:type="contexts:DataContextPackage" name="Interactions"/>
- <elements xsi:type="contexts:DataContextPackage" name="UseCases"/>
- <elements xsi:type="contexts:DataContextPackage" name="Constraints">
- <elements name="ConstraintBlock" supertypes="//@dataContexts.0/@elements.2/@elements.3"/>
- <elements name="ConstraintProperty">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.35"/>
- </elements>
- </elements>
- <elements xsi:type="contexts:DataContextPackage" name="Allocations">
- <elements name="Allocate">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.29"/>
- </elements>
- <elements name="Allocated">
- <properties name="allocatedFrom" type="Reference"/>
- <properties name="allocatedTo" type="Reference"/>
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.4"/>
- </elements>
- <elements name="AllocateActivityPartition">
- <supertypes href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.113"/>
- </elements>
- </elements>
- <elements xsi:type="contexts:DataContextPackage" name="StateMachines"/>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@modelElementFactories.2"/>
- </dataContexts>
+<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9"
+ xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9"
+ name="SysML">
+ <dependencies
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#/" />
+ <tabs label="SysML" id="basicTabSysML" category="org.eclipse.papyrus"
+ priority="20">
+ <sections name="SingleConform" sectionFile="ui/SingleConform.xwt">
+ <widget href="ui/SingleConform.xwt#/" />
+ </sections>
+ <sections name="MultipleConform" sectionFile="ui/MultipleConform.xwt">
+ <widget href="ui/MultipleConform.xwt#/" />
+ </sections>
+ <sections name="SingleView" sectionFile="ui/SingleView.xwt">
+ <widget href="ui/SingleView.xwt#/" />
+ </sections>
+ <sections name="MultipleView" sectionFile="ui/MultipleView.xwt">
+ <widget href="ui/MultipleView.xwt#/" />
+ </sections>
+ <sections name="SingleViewPoint" sectionFile="ui/SingleViewPoint.xwt">
+ <widget href="ui/SingleViewPoint.xwt#/" />
+ </sections>
+ <sections name="MultipleViewPoint" sectionFile="ui/MultipleViewPoint.xwt">
+ <widget href="ui/MultipleViewPoint.xwt#/" />
+ </sections>
+ <sections name="SingleBlock" sectionFile="ui/SingleBlock.xwt">
+ <widget href="ui/SingleBlock.xwt#/" />
+ </sections>
+ <sections name="MultipleBlock" sectionFile="ui/MultipleBlock.xwt">
+ <widget href="ui/MultipleBlock.xwt#/" />
+ </sections>
+ <sections name="SingleDistributedProperty" sectionFile="ui/SingleDistributedProperty.xwt">
+ <widget href="ui/SingleDistributedProperty.xwt#/" />
+ </sections>
+ <sections name="MultipleDistributedProperty" sectionFile="ui/MultipleDistributedProperty.xwt">
+ <widget href="ui/MultipleDistributedProperty.xwt#/" />
+ </sections>
+ <sections name="SingleDimension" sectionFile="ui/SingleDimension.xwt">
+ <widget href="ui/SingleDimension.xwt#/" />
+ </sections>
+ <sections name="MultipleDimension" sectionFile="ui/MultipleDimension.xwt">
+ <widget href="ui/MultipleDimension.xwt#/" />
+ </sections>
+ <sections name="SingleUnit" sectionFile="ui/SingleUnit.xwt">
+ <widget href="ui/SingleUnit.xwt#/" />
+ </sections>
+ <sections name="MultipleUnit" sectionFile="ui/MultipleUnit.xwt">
+ <widget href="ui/MultipleUnit.xwt#/" />
+ </sections>
+ <sections name="SingleValueType" sectionFile="ui/SingleValueType.xwt">
+ <widget href="ui/SingleValueType.xwt#/" />
+ </sections>
+ <sections name="MultipleValueType" sectionFile="ui/MultipleValueType.xwt">
+ <widget href="ui/MultipleValueType.xwt#/" />
+ </sections>
+ <sections name="SingleNestedConnectorEnd" sectionFile="ui/SingleNestedConnectorEnd.xwt">
+ <widget href="ui/SingleNestedConnectorEnd.xwt#/" />
+ </sections>
+ <sections name="MultipleNestedConnectorEnd" sectionFile="ui/MultipleNestedConnectorEnd.xwt">
+ <widget href="ui/MultipleNestedConnectorEnd.xwt#/" />
+ </sections>
+ <sections name="SingleParticipantProperty" sectionFile="ui/SingleParticipantProperty.xwt">
+ <widget href="ui/SingleParticipantProperty.xwt#/" />
+ </sections>
+ <sections name="MultipleParticipantProperty" sectionFile="ui/MultipleParticipantProperty.xwt">
+ <widget href="ui/MultipleParticipantProperty.xwt#/" />
+ </sections>
+ <sections name="SingleConnectorProperty" sectionFile="ui/SingleConnectorProperty.xwt">
+ <widget href="ui/SingleConnectorProperty.xwt#/" />
+ </sections>
+ <sections name="MultipleConnectorProperty" sectionFile="ui/MultipleConnectorProperty.xwt">
+ <widget href="ui/MultipleConnectorProperty.xwt#/" />
+ </sections>
+ <sections name="SingleBindingConnector" sectionFile="ui/SingleBindingConnector.xwt">
+ <widget href="ui/SingleBindingConnector.xwt#/" />
+ </sections>
+ <sections name="MultipleBindingConnector" sectionFile="ui/MultipleBindingConnector.xwt">
+ <widget href="ui/MultipleBindingConnector.xwt#/" />
+ </sections>
+ <sections name="SinglePropertySpecificType" sectionFile="ui/SinglePropertySpecificType.xwt">
+ <widget href="ui/SinglePropertySpecificType.xwt#/" />
+ </sections>
+ <sections name="MultiplePropertySpecificType" sectionFile="ui/MultiplePropertySpecificType.xwt">
+ <widget href="ui/MultiplePropertySpecificType.xwt#/" />
+ </sections>
+ <sections name="SingleFlowPort" sectionFile="ui/SingleFlowPort.xwt">
+ <widget href="ui/SingleFlowPort.xwt#/" />
+ </sections>
+ <sections name="MultipleFlowPort" sectionFile="ui/MultipleFlowPort.xwt">
+ <widget href="ui/MultipleFlowPort.xwt#/" />
+ </sections>
+ <sections name="SingleFlowProperty" sectionFile="ui/SingleFlowProperty.xwt">
+ <widget href="ui/SingleFlowProperty.xwt#/" />
+ </sections>
+ <sections name="MultipleFlowProperty" sectionFile="ui/MultipleFlowProperty.xwt">
+ <widget href="ui/MultipleFlowProperty.xwt#/" />
+ </sections>
+ <sections name="SingleFlowSpecification" sectionFile="ui/SingleFlowSpecification.xwt">
+ <widget href="ui/SingleFlowSpecification.xwt#/" />
+ </sections>
+ <sections name="MultipleFlowSpecification" sectionFile="ui/MultipleFlowSpecification.xwt">
+ <widget href="ui/MultipleFlowSpecification.xwt#/" />
+ </sections>
+ <sections name="SingleItemFlow" sectionFile="ui/SingleItemFlow.xwt">
+ <widget href="ui/SingleItemFlow.xwt#/" />
+ </sections>
+ <sections name="MultipleItemFlow" sectionFile="ui/MultipleItemFlow.xwt">
+ <widget href="ui/MultipleItemFlow.xwt#/" />
+ </sections>
+ <sections name="SingleConstraintBlock" sectionFile="ui/SingleConstraintBlock.xwt">
+ <widget href="ui/SingleConstraintBlock.xwt#/" />
+ </sections>
+ <sections name="MultipleConstraintBlock" sectionFile="ui/MultipleConstraintBlock.xwt">
+ <widget href="ui/MultipleConstraintBlock.xwt#/" />
+ </sections>
+ <sections name="SingleConstraintProperty" sectionFile="ui/SingleConstraintProperty.xwt">
+ <widget href="ui/SingleConstraintProperty.xwt#/" />
+ </sections>
+ <sections name="MultipleConstraintProperty" sectionFile="ui/MultipleConstraintProperty.xwt">
+ <widget href="ui/MultipleConstraintProperty.xwt#/" />
+ </sections>
+ <sections name="SingleOptional" sectionFile="ui/SingleOptional.xwt">
+ <widget href="ui/SingleOptional.xwt#/" />
+ </sections>
+ <sections name="MultipleOptional" sectionFile="ui/MultipleOptional.xwt">
+ <widget href="ui/MultipleOptional.xwt#/" />
+ </sections>
+ <sections name="SingleRate" sectionFile="ui/SingleRate.xwt">
+ <widget href="ui/SingleRate.xwt#/" />
+ </sections>
+ <sections name="MultipleRate" sectionFile="ui/MultipleRate.xwt">
+ <widget href="ui/MultipleRate.xwt#/" />
+ </sections>
+ <sections name="SingleProbability" sectionFile="ui/SingleProbability.xwt">
+ <widget href="ui/SingleProbability.xwt#/" />
+ </sections>
+ <sections name="MultipleProbability" sectionFile="ui/MultipleProbability.xwt">
+ <widget href="ui/MultipleProbability.xwt#/" />
+ </sections>
+ <sections name="SingleContinuous" sectionFile="ui/SingleContinuous.xwt">
+ <widget href="ui/SingleContinuous.xwt#/" />
+ </sections>
+ <sections name="MultipleContinuous" sectionFile="ui/MultipleContinuous.xwt">
+ <widget href="ui/MultipleContinuous.xwt#/" />
+ </sections>
+ <sections name="SingleDiscrete" sectionFile="ui/SingleDiscrete.xwt">
+ <widget href="ui/SingleDiscrete.xwt#/" />
+ </sections>
+ <sections name="MultipleDiscrete" sectionFile="ui/MultipleDiscrete.xwt">
+ <widget href="ui/MultipleDiscrete.xwt#/" />
+ </sections>
+ <sections name="SingleControlOperator" sectionFile="ui/SingleControlOperator.xwt">
+ <widget href="ui/SingleControlOperator.xwt#/" />
+ </sections>
+ <sections name="MultipleControlOperator" sectionFile="ui/MultipleControlOperator.xwt">
+ <widget href="ui/MultipleControlOperator.xwt#/" />
+ </sections>
+ <sections name="SingleNoBuffer" sectionFile="ui/SingleNoBuffer.xwt">
+ <widget href="ui/SingleNoBuffer.xwt#/" />
+ </sections>
+ <sections name="MultipleNoBuffer" sectionFile="ui/MultipleNoBuffer.xwt">
+ <widget href="ui/MultipleNoBuffer.xwt#/" />
+ </sections>
+ <sections name="SingleOverwrite" sectionFile="ui/SingleOverwrite.xwt">
+ <widget href="ui/SingleOverwrite.xwt#/" />
+ </sections>
+ <sections name="MultipleOverwrite" sectionFile="ui/MultipleOverwrite.xwt">
+ <widget href="ui/MultipleOverwrite.xwt#/" />
+ </sections>
+ <sections name="SingleAllocate" sectionFile="ui/SingleAllocate.xwt">
+ <widget href="ui/SingleAllocate.xwt#/" />
+ </sections>
+ <sections name="MultipleAllocate" sectionFile="ui/MultipleAllocate.xwt">
+ <widget href="ui/MultipleAllocate.xwt#/" />
+ </sections>
+ <sections name="SingleAllocated" sectionFile="ui/SingleAllocated.xwt">
+ <widget href="ui/SingleAllocated.xwt#/" />
+ </sections>
+ <sections name="MultipleAllocated" sectionFile="ui/MultipleAllocated.xwt">
+ <widget href="ui/MultipleAllocated.xwt#/" />
+ </sections>
+ <sections name="SingleAllocateActivityPartition" sectionFile="ui/SingleAllocateActivityPartition.xwt">
+ <widget href="ui/SingleAllocateActivityPartition.xwt#/" />
+ </sections>
+ <sections name="MultipleAllocateActivityPartition"
+ sectionFile="ui/MultipleAllocateActivityPartition.xwt">
+ <widget href="ui/MultipleAllocateActivityPartition.xwt#/" />
+ </sections>
+ <sections name="SingleTestCase" sectionFile="ui/SingleTestCase.xwt">
+ <widget href="ui/SingleTestCase.xwt#/" />
+ </sections>
+ <sections name="MultipleTestCase" sectionFile="ui/MultipleTestCase.xwt">
+ <widget href="ui/MultipleTestCase.xwt#/" />
+ </sections>
+ <sections name="SingleRequirement" sectionFile="ui/SingleRequirement.xwt">
+ <widget href="ui/SingleRequirement.xwt#/" />
+ </sections>
+ <sections name="MultipleRequirement" sectionFile="ui/MultipleRequirement.xwt">
+ <widget href="ui/MultipleRequirement.xwt#/" />
+ </sections>
+ <sections name="SingleRequirementRelated" sectionFile="ui/SingleRequirementRelated.xwt">
+ <widget href="ui/SingleRequirementRelated.xwt#/" />
+ </sections>
+ <sections name="MultipleRequirementRelated" sectionFile="ui/MultipleRequirementRelated.xwt">
+ <widget href="ui/MultipleRequirementRelated.xwt#/" />
+ </sections>
+ </tabs>
+ <views name="SingleConform" sections="//@tabs.0/@sections.0"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConform">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::ModelElements::Conform" />
+ </constraints>
+ </views>
+ <views name="MultipleConform" sections="//@tabs.0/@sections.1"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConform">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::ModelElements::Conform" />
+ </constraints>
+ </views>
+ <views name="SingleView" sections="//@tabs.0/@sections.2"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::ModelElements::View" />
+ </constraints>
+ </views>
+ <views name="MultipleView" sections="//@tabs.0/@sections.3"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleView">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::ModelElements::View" />
+ </constraints>
+ </views>
+ <views name="SingleViewPoint" sections="//@tabs.0/@sections.4"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleViewPoint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::ModelElements::ViewPoint" />
+ </constraints>
+ </views>
+ <views name="MultipleViewPoint" sections="//@tabs.0/@sections.5"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleViewPoint">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::ModelElements::ViewPoint" />
+ </constraints>
+ </views>
+ <views name="SingleBlock" sections="//@tabs.0/@sections.6"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBlock">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::Block" />
+ </constraints>
+ </views>
+ <views name="MultipleBlock" sections="//@tabs.0/@sections.7"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBlock">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::Block" />
+ </constraints>
+ </views>
+ <views name="SingleDistributedProperty" sections="//@tabs.0/@sections.8"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDistributedProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::DistributedProperty" />
+ </constraints>
+ </views>
+ <views name="MultipleDistributedProperty" sections="//@tabs.0/@sections.9"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDistributedProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::DistributedProperty" />
+ </constraints>
+ </views>
+ <views name="SingleDimension" sections="//@tabs.0/@sections.10"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDimension">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::Dimension" />
+ </constraints>
+ </views>
+ <views name="MultipleDimension" sections="//@tabs.0/@sections.11"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDimension">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::Dimension" />
+ </constraints>
+ </views>
+ <views name="SingleUnit" sections="//@tabs.0/@sections.12"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUnit">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::Unit" />
+ </constraints>
+ </views>
+ <views name="MultipleUnit" sections="//@tabs.0/@sections.13"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUnit">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::Unit" />
+ </constraints>
+ </views>
+ <views name="SingleValueType" sections="//@tabs.0/@sections.14"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleValueType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::ValueType" />
+ </constraints>
+ </views>
+ <views name="MultipleValueType" sections="//@tabs.0/@sections.15"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleValueType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::ValueType" />
+ </constraints>
+ </views>
+ <views name="SingleNestedConnectorEnd" sections="//@tabs.0/@sections.16"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleNestedConnectorEnd">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::NestedConnectorEnd" />
+ </constraints>
+ </views>
+ <views name="MultipleNestedConnectorEnd" sections="//@tabs.0/@sections.17"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleNestedConnectorEnd">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::NestedConnectorEnd" />
+ </constraints>
+ </views>
+ <views name="SingleParticipantProperty" sections="//@tabs.0/@sections.18"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleParticipantProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::ParticipantProperty" />
+ </constraints>
+ </views>
+ <views name="MultipleParticipantProperty" sections="//@tabs.0/@sections.19"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleParticipantProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::ParticipantProperty" />
+ </constraints>
+ </views>
+ <views name="SingleConnectorProperty" sections="//@tabs.0/@sections.20"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConnectorProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::ConnectorProperty" />
+ </constraints>
+ </views>
+ <views name="MultipleConnectorProperty" sections="//@tabs.0/@sections.21"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConnectorProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::ConnectorProperty" />
+ </constraints>
+ </views>
+ <views name="SingleBindingConnector" sections="//@tabs.0/@sections.22"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBindingConnector">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::BindingConnector" />
+ </constraints>
+ </views>
+ <views name="MultipleBindingConnector" sections="//@tabs.0/@sections.23"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBindingConnector">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::BindingConnector" />
+ </constraints>
+ </views>
+ <views name="SinglePropertySpecificType" sections="//@tabs.0/@sections.24"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePropertySpecificType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::PropertySpecificType" />
+ </constraints>
+ </views>
+ <views name="MultiplePropertySpecificType" sections="//@tabs.0/@sections.25"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePropertySpecificType">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Blocks::PropertySpecificType" />
+ </constraints>
+ </views>
+ <views name="SingleFlowPort" sections="//@tabs.0/@sections.26"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFlowPort">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::PortAndFlows::FlowPort" />
+ </constraints>
+ </views>
+ <views name="MultipleFlowPort" sections="//@tabs.0/@sections.27"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFlowPort">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::PortAndFlows::FlowPort" />
+ </constraints>
+ </views>
+ <views name="SingleFlowProperty" sections="//@tabs.0/@sections.28"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFlowProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::PortAndFlows::FlowProperty" />
+ </constraints>
+ </views>
+ <views name="MultipleFlowProperty" sections="//@tabs.0/@sections.29"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFlowProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::PortAndFlows::FlowProperty" />
+ </constraints>
+ </views>
+ <views name="SingleFlowSpecification" sections="//@tabs.0/@sections.30"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFlowSpecification">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::PortAndFlows::FlowSpecification" />
+ </constraints>
+ </views>
+ <views name="MultipleFlowSpecification" sections="//@tabs.0/@sections.31"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFlowSpecification">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::PortAndFlows::FlowSpecification" />
+ </constraints>
+ </views>
+ <views name="SingleItemFlow" sections="//@tabs.0/@sections.32"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleItemFlow">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::PortAndFlows::ItemFlow" />
+ </constraints>
+ </views>
+ <views name="MultipleItemFlow" sections="//@tabs.0/@sections.33"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleItemFlow">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::PortAndFlows::ItemFlow" />
+ </constraints>
+ </views>
+ <views name="SingleConstraintBlock" sections="//@tabs.0/@sections.34"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConstraintBlock">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Constraints::ConstraintBlock" />
+ </constraints>
+ </views>
+ <views name="MultipleConstraintBlock" sections="//@tabs.0/@sections.35"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConstraintBlock">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Constraints::ConstraintBlock" />
+ </constraints>
+ </views>
+ <views name="SingleConstraintProperty" sections="//@tabs.0/@sections.36"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConstraintProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Constraints::ConstraintProperty" />
+ </constraints>
+ </views>
+ <views name="MultipleConstraintProperty" sections="//@tabs.0/@sections.37"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConstraintProperty">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Constraints::ConstraintProperty" />
+ </constraints>
+ </views>
+ <views name="SingleOptional" sections="//@tabs.0/@sections.38"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleOptional">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Optional" />
+ </constraints>
+ </views>
+ <views name="MultipleOptional" sections="//@tabs.0/@sections.39"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleOptional">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Optional" />
+ </constraints>
+ </views>
+ <views name="SingleRate" sections="//@tabs.0/@sections.40"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRate">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Rate" />
+ </constraints>
+ </views>
+ <views name="MultipleRate" sections="//@tabs.0/@sections.41"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleRate">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Rate" />
+ </constraints>
+ </views>
+ <views name="SingleProbability" sections="//@tabs.0/@sections.42"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleProbability">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Probability" />
+ </constraints>
+ </views>
+ <views name="MultipleProbability" sections="//@tabs.0/@sections.43"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleProbability">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Probability" />
+ </constraints>
+ </views>
+ <views name="SingleContinuous" sections="//@tabs.0/@sections.44"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleContinuous">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Continuous" />
+ </constraints>
+ </views>
+ <views name="MultipleContinuous" sections="//@tabs.0/@sections.45"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleContinuous">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Continuous" />
+ </constraints>
+ </views>
+ <views name="SingleDiscrete" sections="//@tabs.0/@sections.46"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDiscrete">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Discrete" />
+ </constraints>
+ </views>
+ <views name="MultipleDiscrete" sections="//@tabs.0/@sections.47"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDiscrete">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Discrete" />
+ </constraints>
+ </views>
+ <views name="SingleControlOperator" sections="//@tabs.0/@sections.48"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleControlOperator">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::ControlOperator" />
+ </constraints>
+ </views>
+ <views name="MultipleControlOperator" sections="//@tabs.0/@sections.49"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleControlOperator">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::ControlOperator" />
+ </constraints>
+ </views>
+ <views name="SingleNoBuffer" sections="//@tabs.0/@sections.50"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleNoBuffer">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::NoBuffer" />
+ </constraints>
+ </views>
+ <views name="MultipleNoBuffer" sections="//@tabs.0/@sections.51"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleNoBuffer">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::NoBuffer" />
+ </constraints>
+ </views>
+ <views name="SingleOverwrite" sections="//@tabs.0/@sections.52"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleOverwrite">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Overwrite" />
+ </constraints>
+ </views>
+ <views name="MultipleOverwrite" sections="//@tabs.0/@sections.53"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleOverwrite">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Activities::Overwrite" />
+ </constraints>
+ </views>
+ <views name="SingleAllocate" sections="//@tabs.0/@sections.54"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAllocate">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Allocations::Allocate" />
+ </constraints>
+ </views>
+ <views name="MultipleAllocate" sections="//@tabs.0/@sections.55"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAllocate">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Allocations::Allocate" />
+ </constraints>
+ </views>
+ <views name="SingleAllocated" sections="//@tabs.0/@sections.56"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAllocated">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Allocations::Allocated" />
+ </constraints>
+ </views>
+ <views name="MultipleAllocated" sections="//@tabs.0/@sections.57"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAllocated">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Allocations::Allocated" />
+ </constraints>
+ </views>
+ <views name="SingleAllocateActivityPartition" sections="//@tabs.0/@sections.58"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAllocateActivityPartition">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Allocations::AllocateActivityPartition" />
+ </constraints>
+ </views>
+ <views name="MultipleAllocateActivityPartition" sections="//@tabs.0/@sections.59"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint"
+ name="isMultipleAllocateActivityPartition">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Allocations::AllocateActivityPartition" />
+ </constraints>
+ </views>
+ <views name="SingleTestCase" sections="//@tabs.0/@sections.60"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTestCase">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Requirements::TestCase" />
+ </constraints>
+ </views>
+ <views name="MultipleTestCase" sections="//@tabs.0/@sections.61"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTestCase">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Requirements::TestCase" />
+ </constraints>
+ </views>
+ <views name="SingleRequirement" sections="//@tabs.0/@sections.62"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRequirement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Requirements::Requirement" />
+ </constraints>
+ </views>
+ <views name="MultipleRequirement" sections="//@tabs.0/@sections.63"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleRequirement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Requirements::Requirement" />
+ </constraints>
+ </views>
+ <views name="SingleRequirementRelated" sections="//@tabs.0/@sections.64"
+ automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRequirementRelated">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Requirements::RequirementRelated" />
+ </constraints>
+ </views>
+ <views name="MultipleRequirementRelated" sections="//@tabs.0/@sections.65"
+ elementMultiplicity="-1" automaticContext="true">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleRequirementRelated">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
+ value="SysML::Requirements::RequirementRelated" />
+ </constraints>
+ </views>
+ <dataContexts name="SysML" label="SysML">
+ <elements xsi:type="contexts:DataContextPackage" name="Activities">
+ <elements name="Continuous" supertypes="//@dataContexts.0/@elements.0/@elements.5" />
+ <elements name="Discrete" supertypes="//@dataContexts.0/@elements.0/@elements.5" />
+ <elements name="NoBuffer">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.116" />
+ </elements>
+ <elements name="Overwrite">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.116" />
+ </elements>
+ <elements name="Probability">
+ <properties name="probability" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.112" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.72" />
+ </elements>
+ <elements name="Rate">
+ <properties name="rate" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.112" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.31" />
+ </elements>
+ <elements name="ControlOperator">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.42" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.44" />
+ </elements>
+ <elements name="Optional">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.31" />
+ </elements>
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="PortAndFlows">
+ <elements name="FlowSpecification">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.48" />
+ </elements>
+ <elements name="FlowProperty">
+ <properties name="direction" type="Enumeration" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.35" />
+ </elements>
+ <elements name="FlowPort">
+ <properties name="isAtomic" type="Boolean" />
+ <properties name="direction" type="Enumeration" />
+ <properties name="isConjugated" type="Boolean" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.58" />
+ </elements>
+ <elements name="ItemFlow">
+ <properties name="itemProperty" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.224" />
+ </elements>
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="Blocks">
+ <elements name="Dimension">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.92" />
+ </elements>
+ <elements name="Unit">
+ <properties name="dimension" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.92" />
+ </elements>
+ <elements name="DistributedProperty">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.35" />
+ </elements>
+ <elements name="Block">
+ <properties name="isEncapsulated" type="Boolean" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.45" />
+ </elements>
+ <elements name="ValueType">
+ <properties name="dimension" type="Reference" />
+ <properties name="unit" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.73" />
+ </elements>
+ <elements name="ParticipantProperty">
+ <properties name="end" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.35" />
+ </elements>
+ <elements name="NestedConnectorEnd">
+ <properties name="propertyPath" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.34" />
+ </elements>
+ <elements name="PropertySpecificType">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.16" />
+ </elements>
+ <elements name="ConnectorProperty">
+ <properties name="connector" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.35" />
+ </elements>
+ <elements name="BindingConnector">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.65" />
+ </elements>
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="Requirements">
+ <elements name="Requirement">
+ <properties name="satisfiedBy" type="Reference" />
+ <properties name="verifiedBy" type="Reference" />
+ <properties name="tracedTo" type="Reference" />
+ <properties name="derivedFrom" type="Reference" />
+ <properties name="refinedBy" type="Reference" />
+ <properties name="text" />
+ <properties name="master" type="Reference" />
+ <properties name="derived" type="Reference" />
+ <properties name="id" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.45" />
+ </elements>
+ <elements name="RequirementRelated">
+ <properties name="refines" type="Reference" />
+ <properties name="verifies" type="Reference" />
+ <properties name="satisfies" type="Reference" />
+ <properties name="tracedFrom" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.4" />
+ </elements>
+ <elements name="TestCase">
+ <properties name="verifies" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.42" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.44" />
+ </elements>
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="ModelElements">
+ <elements name="View">
+ <properties name="viewPoint" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.2" />
+ </elements>
+ <elements name="ViewPoint">
+ <properties name="concerns" />
+ <properties name="languages" />
+ <properties name="methods" />
+ <properties name="purpose" />
+ <properties name="stakeHolders" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.45" />
+ </elements>
+ <elements name="Conform">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.5" />
+ </elements>
+ <elements name="Problem">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.0" />
+ </elements>
+ <elements name="Rationale">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.0" />
+ </elements>
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="Interactions" />
+ <elements xsi:type="contexts:DataContextPackage" name="UseCases" />
+ <elements xsi:type="contexts:DataContextPackage" name="Constraints">
+ <elements name="ConstraintBlock" supertypes="//@dataContexts.0/@elements.2/@elements.3" />
+ <elements name="ConstraintProperty">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.35" />
+ </elements>
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="Allocations">
+ <elements name="Allocate">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.29" />
+ </elements>
+ <elements name="Allocated">
+ <properties name="allocatedFrom" type="Reference" />
+ <properties name="allocatedTo" type="Reference" />
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.4" />
+ </elements>
+ <elements name="AllocateActivityPartition">
+ <supertypes
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@dataContexts.0/@elements.113" />
+ </elements>
+ </elements>
+ <elements xsi:type="contexts:DataContextPackage" name="StateMachines" />
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@modelElementFactories.2" />
+ </dataContexts>
</contexts:Context>
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/META-INF/MANIFEST.MF b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/META-INF/MANIFEST.MF
index dda6d2f0c37..d16e65653f1 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/META-INF/MANIFEST.MF
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/META-INF/MANIFEST.MF
@@ -73,7 +73,8 @@ Require-Bundle: org.eclipse.uml2.uml.edit;visibility:=reexport,
org.eclipse.gmf.runtime.diagram.ui.printing,
org.eclipse.gmf.runtime.diagram.ui.providers.ide,
org.eclipse.papyrus.infra.services.decoration;bundle-version="0.9.0",
- org.eclipse.papyrus.infra.services.resourceloading;bundle-version="0.9.0"
+ org.eclipse.papyrus.infra.services.resourceloading;bundle-version="0.9.0",
+ org.eclipse.papyrus.uml.tools;bundle-version="0.9.0"
Bundle-Vendor: %providerName
Ant-Version: Apache Ant 1.7.0
Bundle-Version: 0.9.0.qualifier
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/plugin.xml b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/plugin.xml
index c6ee462af97..fb75a2af612 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/plugin.xml
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/plugin.xml
@@ -33,7 +33,7 @@
point="org.eclipse.papyrus.infra.core.modelListener">
<listener
name="StereotypeApplicationListener"
- realization="org.eclipse.papyrus.uml.diagram.common.editparts.PapyrusStereotypeListener">
+ realization="org.eclipse.papyrus.uml.tools.listeners.PapyrusStereotypeListener">
</listener>
</extension>
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/Activator.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/Activator.java
index b426b3702cc..07e81987534 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/Activator.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/Activator.java
@@ -260,26 +260,34 @@ public class Activator extends AbstractUIPlugin {
}
}
- // @unused
- public static Image getIconElement(Element elt) {
- return getIconElement(elt, false);
+ /**
+ * this method returns the icon image that represents the first applied
+ * stereotype on the element.
+ *
+ * @param element
+ * The element for which we will retrieve the stereotype icon
+ * @return
+ * The element's first applied stereotype's Image
+ */
+ public static Image getIconElement(Element element) {
+ return getIconElement(element, false);
}
/**
* this method returns the icon image that represents the first applied
* stereotype.
*
- * @param elt
+ * @param element
* the stereotyped element
* @return {@link image} of the icon
*/
- public static Image getIconElement(Element elt, boolean withVisibilityDecorator) {
+ public static Image getIconElement(Element element, boolean withVisibilityDecorator) {
- List<Stereotype> stereotypeList = elt.getAppliedStereotypes();
+ List<Stereotype> stereotypeList = element.getAppliedStereotypes();
if(stereotypeList == null || stereotypeList.isEmpty()) {
return null;
}
- return getIconElement(elt, stereotypeList.get(0), withVisibilityDecorator);
+ return getIconElement(element, stereotypeList.get(0), withVisibilityDecorator);
}
/**
@@ -341,7 +349,7 @@ public class Activator extends AbstractUIPlugin {
}
}
- /** get the imageassociated to a image uml element**/
+ /** get the imageassociated to a image uml element **/
public static Image getShape(Element elt, Stereotype stereotype, boolean withVisibilityDecorator) {
VisibilityKind vis = null;
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/actions/AbstractShowHideAction.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/actions/AbstractShowHideAction.java
index bde295689ae..70eacaab215 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/actions/AbstractShowHideAction.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/actions/AbstractShowHideAction.java
@@ -31,8 +31,8 @@ import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.papyrus.commands.wrappers.GEFtoEMFCommandWrapper;
import org.eclipse.papyrus.uml.diagram.common.Activator;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.common.util.ViewServiceUtil;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.ui.IActionDelegate;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
@@ -240,7 +240,7 @@ public abstract class AbstractShowHideAction implements IActionDelegate, IWorkbe
*
*/
protected void initAction() {
- this.labelProvider = new EditorLabelProvider();
+ this.labelProvider = new UMLLabelProvider();
this.representations = new ArrayList<AbstractShowHideAction.EditPartRepresentation>();
}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/actions/ShowHideContentsAction.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/actions/ShowHideContentsAction.java
index 9c2e716d41e..b6bfa6c1490 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/actions/ShowHideContentsAction.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/actions/ShowHideContentsAction.java
@@ -46,12 +46,13 @@ import org.eclipse.papyrus.uml.diagram.common.Activator;
import org.eclipse.papyrus.uml.diagram.common.Messages;
import org.eclipse.papyrus.uml.diagram.common.commands.ShowHideElementsRequest;
import org.eclipse.papyrus.uml.diagram.common.editpolicies.ShowHideClassifierContentsEditPolicy;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.common.util.Util;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.swt.graphics.Image;
import org.eclipse.ui.IActionDelegate;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
+import org.eclipse.ui.dialogs.CheckedTreeSelectionDialog;
import org.eclipse.uml2.uml.Classifier;
import org.eclipse.uml2.uml.NamedElement;
import org.eclipse.uml2.uml.Type;
@@ -448,7 +449,7 @@ public class ShowHideContentsAction extends AbstractShowHideAction implements IA
* EditorLabelProvider for the {@link CheckedTreeSelectionDialog}
*
*/
- public class CustomEditorLabelProvider extends EditorLabelProvider {
+ public class CustomEditorLabelProvider extends UMLLabelProvider {
/**
*
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/PapyrusStereotypeListener.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/PapyrusStereotypeListener.java
deleted file mode 100644
index 5110b62c89f..00000000000
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/PapyrusStereotypeListener.java
+++ /dev/null
@@ -1,186 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2009 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:
- * Remi Schnekenburger (CEA LIST) - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.common.editparts;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-import org.eclipse.papyrus.infra.core.listenerservice.IPapyrusListener;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Extension;
-import org.eclipse.uml2.uml.internal.impl.ElementImpl;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/**
- * Listener for stereotypes application/deapplication
- *
- * @author remi.schnekenburger@cea.fr
- */
-public class PapyrusStereotypeListener implements IPapyrusListener {
-
- /**
- * An {@link Notification#getEventType event type} indicating that a
- * stereotype has been applied to the notifier
- *
- * @see Notification#getEventType
- */
- public static final int APPLIED_STEREOTYPE = 20;
-
- /**
- * An {@link Notification#getEventType event type} indicating that a
- * stereotype has been unapplied to the notifier
- *
- * @see Notification#getEventType
- */
- public static final int UNAPPLIED_STEREOTYPE = 21;
-
- /**
- * An {@link Notification#getEventType event type} indicating that a
- * stereotype has been unapplied to the notifier
- *
- * @see Notification#getEventType
- */
- public static final int MODIFIED_STEREOTYPE = 22;
-
- /**
- * Creates a new PapyrusStereotypeListener.
- */
- public PapyrusStereotypeListener() {
- }
-
- /**
- * {@inheritDoc}
- */
- public void notifyChanged(Notification notification) {
- // feature should be the base_class feature
- // check this is a EStructuralFeature that is changed. Could be
- // something else ?!
- final EStructuralFeature feature;
-
- if(!(notification.getFeature() instanceof EStructuralFeature)) {
- return;
- }
-
- feature = (EStructuralFeature)notification.getFeature();
-
- if(!isBaseElementChanged(feature)) {
- // stereotype itself has changed.
- Object notifier = notification.getNotifier();
- // notifier may be the stereotype application
- if (notifier instanceof EObject) {
- EObject baseElement = UMLUtil.getBaseElement((EObject) notifier);
- if (baseElement instanceof Element) {
- // notifier listeners for the base element
- StereotypeCustomNotification newNotification = new StereotypeCustomNotification((ElementImpl)baseElement, MODIFIED_STEREOTYPE, feature.getFeatureID(), null, notification.getNotifier());
- baseElement.eNotify(newNotification);
- }
- }
- return;
- }
-
- // check the SET base Element for stereotype elements.... if this is
- // this kind of element
- if(Notification.SET != notification.getEventType()) {
- return;
- }
-
- // should retrieve the element on which modification is done. This
- // should be the new value
- // of the notification
- int notificationValue;
- Object value = notification.getNewValue(); // this should be the
- // stereotyped element
- if(value instanceof Element) {
- // check the notifier (stereotype application) is in the list of
- // stereotypes for the
- // element
- boolean isStereoApplication = ((Element)value).getStereotypeApplications().contains(notification.getNotifier());
- if(!isStereoApplication) {
- return;
- }
- // we are sure this is a new stereotype application
- notificationValue = APPLIED_STEREOTYPE;
- }
- else {
- value = notification.getOldValue();
- if (!(value instanceof Element)) {
- return;
- }
- // check that the notifier (stereotype application) is NOT in the
- // list of stereotypes for the
- // element
- boolean isStereoApplication = ((Element)value).getStereotypeApplications().contains(notification.getNotifier());
- if(isStereoApplication) {
- return;
- }
- // element is no longer applied.
- notificationValue = UNAPPLIED_STEREOTYPE;
- }
-
- // emit notification, so its edit parts can react
- StereotypeCustomNotification newNotification = new StereotypeCustomNotification((ElementImpl)value, notificationValue, feature.getFeatureID(), null, notification.getNotifier());
- ((Element)value).eNotify(newNotification);
- }
-
- /**
- * checks if the notifier modified feature is the feature modified by
- * stereotype applications
- *
- * @return <code>true</code> if the feature of the notification is the
- * "base_XXX" feature, else return <code>false</code>.
- */
- private boolean isBaseElementChanged(EStructuralFeature feature) {
- return feature.getName().startsWith(Extension.METACLASS_ROLE_PREFIX);
- // && (element == null ||
- // eStructuralFeature.getEType().isInstance(element))) {
- }
-
- /**
- * Specific notification handled by this listener.
- * <p>
- * It implements the {@link ENotificationImpl} notification, as it is filtered bye GMF. It should be possible to further inspect how notification
- * are filtered, and so, do not use hidden APIs.
- * </p>
- */
- public class StereotypeCustomNotification extends ENotificationImpl {
-
- /**
- * Creates a new StereotypeCustomeNotification
- *
- * @param notifier
- * the notifier that sends this notification
- * @param eventType
- * the type of event
- * @param featureID
- * the kind of feature modified that caused this modification
- * @param oldValue
- * the old value of the modified feature
- * @param newValue
- * the new value of the modified feature
- */
- public StereotypeCustomNotification(ElementImpl notifier, int eventType, int featureID, Object oldValue, Object newValue) {
- super(notifier, eventType, featureID, oldValue, newValue);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public boolean isTouch() {
- return false;
- }
-
- }
-}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/UMLConnectionNodeEditPart.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/UMLConnectionNodeEditPart.java
index 81c80f6200b..e93fbd7e0d2 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/UMLConnectionNodeEditPart.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editparts/UMLConnectionNodeEditPart.java
@@ -28,6 +28,7 @@ import org.eclipse.papyrus.uml.diagram.common.editpolicies.ApplyStereotypeEditPo
import org.eclipse.papyrus.uml.diagram.common.editpolicies.ShowHideLabelEditPolicy;
import org.eclipse.papyrus.uml.diagram.common.figure.edge.UMLEdgeFigure;
import org.eclipse.papyrus.uml.diagram.common.service.ApplyStereotypeRequest;
+import org.eclipse.papyrus.uml.tools.listeners.PapyrusStereotypeListener;
import org.eclipse.papyrus.uml.tools.utils.ui.VisualInformationPapyrusConstant;
import org.eclipse.papyrus.uml.tools.utils.ui.helper.AppliedStereotypeHelper;
import org.eclipse.swt.graphics.Image;
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editpolicies/AbstractAppliedStereotypeDisplayEditPolicy.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editpolicies/AbstractAppliedStereotypeDisplayEditPolicy.java
index 76dc3c76110..9660e6273d2 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editpolicies/AbstractAppliedStereotypeDisplayEditPolicy.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/editpolicies/AbstractAppliedStereotypeDisplayEditPolicy.java
@@ -31,7 +31,7 @@ import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
import org.eclipse.gmf.runtime.notation.View;
import org.eclipse.papyrus.infra.core.listenerservice.IPapyrusListener;
import org.eclipse.papyrus.uml.diagram.common.Activator;
-import org.eclipse.papyrus.uml.diagram.common.editparts.PapyrusStereotypeListener;
+import org.eclipse.papyrus.uml.tools.listeners.PapyrusStereotypeListener;
import org.eclipse.papyrus.uml.tools.utils.ui.VisualInformationPapyrusConstant;
import org.eclipse.papyrus.uml.tools.utils.ui.helper.AppliedStereotypeHelper;
import org.eclipse.swt.graphics.Image;
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/providers/EditorLabelProvider.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/providers/EditorLabelProvider.java
deleted file mode 100644
index 8faba55a73c..00000000000
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.common/src/org/eclipse/papyrus/uml/diagram/common/providers/EditorLabelProvider.java
+++ /dev/null
@@ -1,356 +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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Modification
- *****************************************************************************/
-package org.eclipse.papyrus.uml.diagram.common.providers;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.ui.provider.ExtendedImageRegistry;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.ResizableCompartmentEditPart;
-import org.eclipse.gmf.runtime.diagram.ui.services.editpart.EditPartService;
-import org.eclipse.gmf.runtime.notation.BasicCompartment;
-import org.eclipse.gmf.runtime.notation.DecorationNode;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.ILabelProviderListener;
-import org.eclipse.papyrus.infra.core.editorsfactory.IPageIconsRegistry;
-import org.eclipse.papyrus.infra.core.editorsfactory.PageIconsRegistry;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.core.utils.ServiceUtilsForActionHandlers;
-import org.eclipse.papyrus.uml.diagram.common.Activator;
-import org.eclipse.papyrus.uml.tools.utils.ImageUtil;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.ElementImport;
-import org.eclipse.uml2.uml.InstanceSpecification;
-import org.eclipse.uml2.uml.InstanceValue;
-import org.eclipse.uml2.uml.LiteralNull;
-import org.eclipse.uml2.uml.LiteralString;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.PackageImport;
-import org.eclipse.uml2.uml.Type;
-import org.eclipse.uml2.uml.ValueSpecification;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-/**
- * The Class EditorLabelProvider. This class provides Label and Image for UML
- * Element
- *
- */
-public class EditorLabelProvider implements ILabelProvider {
-
- /**
- * We store the next index for the UML Element, which are not NamedElement
- * Key is a String representing the type of Element
- */
- private final Map<String, Integer> index = new HashMap<String, Integer>();
-
- /** the plugin where owning the icons for the UML Element */
- public static final String pluginID = "org.eclipse.uml2.uml.edit"; //$NON-NLS-1$
-
- /** folder where are the UML Icon */
- public static final String imageFolder = "/icons/full/obj16/"; //$NON-NLS-1$
-
- /** Image returned when the image was not found */
- public static final Image imageNotFound = Activator.getPluginIconImage(pluginID, "notFound.gif");
-
- /** icon for metaclass */
- public static final String ICON_METACLASS = "/icons/Metaclass.gif";//$NON-NLS-1$
-
- /** icon for a compartment */
- public static final String ICON_COMPARTMENT = "/icons/none_comp_vis.gif"; //$NON-NLS-1$
-
- /**
- *
- * @see org.eclipse.jface.viewers.IBaseLabelProvider#addListener(org.eclipse.jface.viewers.ILabelProviderListener)
- *
- * @param listener
- */
- public void addListener(ILabelProviderListener listener) {
- // TODO
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.IBaseLabelProvider#isLabelProperty(java.lang.Object, java.lang.String)
- *
- * @param element
- * @param property
- * @return
- */
- public boolean isLabelProperty(Object element, String property) {
- // TODO Auto-generated method stub
- return false;
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.IBaseLabelProvider#removeListener(org.eclipse.jface.viewers.ILabelProviderListener)
- *
- * @param listener
- */
- public void removeListener(ILabelProviderListener listener) {
- // TODO
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.ILabelProvider#getImage(java.lang.Object)
- *
- * @param element
- * @return <ul>
- * <li>if stereotypes are applied on the elements : return the image corresponding to the first applied stereotype</li>
- * <li>if the element is a MetaClass return the image representing a metaclass</li>
- * <li>if the element is a {@link DecorationNode}, returns the image corresponding to a compartment</li>
- * <li> <code>null</code> if no image was found</li>
- * </ul>
- */
- public Image getImage(Object element) {
- if(!(element instanceof EObject) && element instanceof IAdaptable) {
- EObject eObject = (EObject)((IAdaptable)element).getAdapter(EObject.class);
- if(eObject != null) {
- element = eObject;
- }
- }
-
- // test for Metaclass
- if(element instanceof Class) {
- if(org.eclipse.papyrus.uml.diagram.common.util.Util.isMetaclass((Type)element)) {
- return Activator.getPluginIconImage(Activator.ID, ICON_METACLASS);
- }
- }
-
- // test for other UML Elements
- if(element instanceof Element) {
- // return the stereotype image if a stereotype is applied on the
- // element
- Image im = Activator.getIconElement((Element)element);
- String imagePath = new String(imageFolder);
- if(im == null) {
- imagePath += element.getClass().getSimpleName() + ".gif"; //$NON-NLS-1$
- imagePath = imagePath.replace("Impl", ""); //$NON-NLS-1$ //$NON-NLS-2$
- im = Activator.getPluginIconImage(pluginID, imagePath);
- }
- if(im.equals(imageNotFound)) {
- return null;
- }
- return im;
- }
-
- // if the element is a compartment
- if(element instanceof BasicCompartment || element instanceof DecorationNode) {
- return Activator.getPluginIconImage(Activator.ID, ICON_COMPARTMENT);
- } else if(element instanceof Diagram) {
- IPageIconsRegistry registry = null;
- try {
- registry = ServiceUtilsForActionHandlers.getInstance().getServiceRegistry().getService(IPageIconsRegistry.class);
- } catch (ServiceException e) {
- // nothing to do
- }
- if(registry == null) {
- registry = new PageIconsRegistry();
- }
- return registry.getEditorIcon(element);
- }
-
- // Standard EMF image
- if(element instanceof EObject) {
- EObject eObject = (EObject)element;
- //
- IItemLabelProvider itemLabelProvider = null;
- if(eObject != null) {
- String uri = eObject.eClass().getEPackage().getNsURI();
- AdapterFactory adapterFactory = null;
- IConfigurationElement[] extensions = Platform.getExtensionRegistry().getConfigurationElementsFor("org.eclipse.emf.edit.itemProviderAdapterFactories"); //$NON-NLS-1$
- for(IConfigurationElement e : extensions) {
- if(uri.equals(e.getAttribute("uri"))) { //$NON-NLS-1$
- try {
- adapterFactory = (AdapterFactory)e.createExecutableExtension("class"); //$NON-NLS-1$
- } catch (CoreException ex) {
- Activator.log.error(ex);
- }
- if(adapterFactory != null) {
- break;
- }
- }
- }
- if(adapterFactory != null) {
- itemLabelProvider = (IItemLabelProvider)adapterFactory.adapt(eObject, IItemLabelProvider.class);
- }
- }
-
- if (itemLabelProvider != null){
- Object imageObject = itemLabelProvider.getImage(eObject);
- return ExtendedImageRegistry.getInstance().getImage(imageObject);
- }
- }
-
- return null;
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.ILabelProvider#getText(java.lang.Object)
- *
- * @param element
- * @return <ul>
- * <li>if element is a {@link NamedElement}, we return its name</li>
- * <li>else if element is a {@link Element}, we return its type + a index</li>
- * <li>else return {@link Messages#EditorLabelProvider_No_name}</li>
- * </ul>
- */
- public String getText(Object element) {
- if(element == null) {
- return "<Undefined>";
- }
-
- if(!(element instanceof EObject) && element instanceof IAdaptable) {
- EObject eObject = (EObject)((IAdaptable)element).getAdapter(EObject.class);
- if(eObject != null) {
- element = eObject;
- }
- }
-
- // if(element instanceof EditPart) {
- // element = ((View)((EditPart)element).getModel()).getElement();
- // }
-
- if(element instanceof EObject && UMLUtil.getBaseElement((EObject)element) != null) { // Stereotype
- // Application
- // We return the label of the Stereotyped element, not of the
- // Stereotype itself
- return getText(UMLUtil.getBaseElement((EObject)element));
- } else if(element instanceof org.eclipse.uml2.uml.Image) {
- // imageName
- // location
- // imageName : location
- // Image
- org.eclipse.uml2.uml.Image image = ((org.eclipse.uml2.uml.Image)element);
-
- String imageName = ImageUtil.getName(image);
- String location = image.getLocation();
-
- if(isEmptyString(imageName)) {
- if(isEmptyString(location)) {
- return "Image";
- }
- return location;
- }
-
- if(isEmptyString(location)) {
- return imageName;
- }
-
- return imageName + " : " + location; //$NON-NLS-1$
- } else if(element instanceof PackageImport) {
- Package importedPackage = ((PackageImport)element).getImportedPackage();
- if(importedPackage == null) {
- return "<Package Import>";
- } else {
- return "<Package Import> " + importedPackage.getName();
- }
- } else if(element instanceof ElementImport) {
- NamedElement importedElement = ((ElementImport)element).getImportedElement();
- if(importedElement == null) {
- return "<Element Import>";
- } else {
- return "<Element Import> " + importedElement.getName();
- }
- } else if(element instanceof NamedElement) {
- if(element instanceof ValueSpecification) { // Format :
- // [name=]value
- String value = null;
- if(element instanceof InstanceValue) {
- InstanceSpecification specification = ((InstanceValue)element).getInstance();
- if(specification != null) {
- value = getText(specification);
- }
- } else if(element instanceof LiteralString) {
- value = "\"" + ((ValueSpecification)element).stringValue() + "\""; //$NON-NLS-1$ //$NON-NLS-2$
- } else if(element instanceof LiteralNull) {
- value = "null";
- } else {
- value = ((ValueSpecification)element).stringValue();
- }
-
- if(value != null) {
- if(((NamedElement)element).isSetName()) {
- return ((NamedElement)element).getName() + "=" + value; //$NON-NLS-1$
- } else {
- return value;
- }
- } else {
- if(((NamedElement)element).isSetName()) {
- return ((NamedElement)element).getName();
- } else {
- return ""; //$NON-NLS-1$
- }
- }
- } else {
- return ((NamedElement)element).getName();
- }
- } else if(element instanceof Element) {
- // when the element is not a NamedElement, we return its Type + a
- // index
- String className = element.getClass().getName();
- int i = className.lastIndexOf(".");
- className = className.substring(i + 1);
- className = className.replace("Impl", "");
- Integer number = index.get(className);
- if(number == null) {
- number = 0;
- }
-
- index.put(className, number + 1);
- return className + " " + number;
- } else if(element instanceof Diagram) {
- return ((Diagram)element).getName();
- } else if(element instanceof View) { // maybe it is a view of a
- // compartment
- EditPart dummyEP = EditPartService.getInstance().createGraphicEditPart((View)element);
- if(dummyEP instanceof ResizableCompartmentEditPart) {
- return ((ResizableCompartmentEditPart)dummyEP).getCompartmentName();
- }
- } else if(element instanceof EClass) {
- return ((EClass)element).getName();
- }
-
- return element.toString();
- }
-
- private boolean isEmptyString(String s) {
- return s == null || s.trim().equals(""); //$NON-NLS-1$
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.IBaseLabelProvider#dispose()
- *
- */
- public void dispose() {
- // TODO
- }
-}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/META-INF/MANIFEST.MF b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/META-INF/MANIFEST.MF
index ba1a307e47f..5d158aaa262 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/META-INF/MANIFEST.MF
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/META-INF/MANIFEST.MF
@@ -43,7 +43,8 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.papyrus.editor;bundle-version="0.9.0",
org.eclipse.papyrus.infra.services.edit;bundle-version="0.9.0",
org.eclipse.papyrus.infra.widgets;bundle-version="0.9.0",
- org.eclipse.emf.validation;visibility:=reexport
+ org.eclipse.emf.validation;visibility:=reexport,
+ org.eclipse.papyrus.uml.tools;bundle-version="0.9.0"
Bundle-Vendor: %providerName
Eclipse-LazyStart: true
Bundle-Version: 0.9.0.qualifier
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/custom-src/org/eclipse/papyrus/uml/diagram/component/custom/actions/ShowHideRelatedContentsAction.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/custom-src/org/eclipse/papyrus/uml/diagram/component/custom/actions/ShowHideRelatedContentsAction.java
index 7868aa1dd78..2dd1067a147 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/custom-src/org/eclipse/papyrus/uml/diagram/component/custom/actions/ShowHideRelatedContentsAction.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/custom-src/org/eclipse/papyrus/uml/diagram/component/custom/actions/ShowHideRelatedContentsAction.java
@@ -22,8 +22,8 @@ import org.eclipse.gmf.runtime.notation.View;
import org.eclipse.papyrus.uml.diagram.common.actions.AbstractShowHideAction;
import org.eclipse.papyrus.uml.diagram.common.actions.ShowHideContentsAction;
import org.eclipse.papyrus.uml.diagram.common.editpolicies.ShowHideRelatedContentsEditPolicy;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.component.custom.messages.Messages;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.uml2.uml.Classifier;
import org.eclipse.uml2.uml.Property;
import org.eclipse.uml2.uml.Type;
@@ -45,13 +45,13 @@ public class ShowHideRelatedContentsAction extends ShowHideContentsAction {
/**
* Inits the action.
- *
+ *
* @see org.eclipse.papyrus.uml.diagram.common.actions.AbstractShowHideAction#initAction()
*/
@Override
protected void initAction() {
super.initAction();
- setEditorLabelProvider(new EditorLabelProvider());
+ setEditorLabelProvider(new UMLLabelProvider());
this.representations = new ArrayList<AbstractShowHideAction.EditPartRepresentation>();
for(EditPart current : this.selectedElements) {
@@ -76,8 +76,9 @@ public class ShowHideRelatedContentsAction extends ShowHideContentsAction {
/**
* Gets the parent.
- *
- * @param element the element
+ *
+ * @param element
+ * the element
* @return the parent
* @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
*/
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/custom-src/org/eclipse/papyrus/uml/diagram/component/custom/ui/InterfaceManagerDialog.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/custom-src/org/eclipse/papyrus/uml/diagram/component/custom/ui/InterfaceManagerDialog.java
index 265788cc03c..37582982110 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/custom-src/org/eclipse/papyrus/uml/diagram/component/custom/ui/InterfaceManagerDialog.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.component/custom-src/org/eclipse/papyrus/uml/diagram/component/custom/ui/InterfaceManagerDialog.java
@@ -53,12 +53,12 @@ import org.eclipse.papyrus.infra.widgets.editors.SelectionEditor;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector;
import org.eclipse.papyrus.uml.diagram.common.Activator;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.common.util.Util;
import org.eclipse.papyrus.uml.diagram.common.util.Visitor;
import org.eclipse.papyrus.uml.diagram.component.custom.messages.Messages;
import org.eclipse.papyrus.uml.diagram.component.part.UMLDiagramEditorPlugin;
import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CLabel;
import org.eclipse.swt.events.SelectionEvent;
@@ -116,7 +116,9 @@ public class InterfaceManagerDialog extends SelectionDialog {
/** In this map, we link the {@link Interface} with their {@link Usage} This map is used when we want remove an Interface from a Usage. */
private Map<Interface, List<Usage>> requiredInterfacesMappedWithUsage = new HashMap<Interface, List<Usage>>();
- /** In this map, we link the {@link Interface} with their {@link Realization} This map is used when we want remove an Interface from a Realization. */
+ /**
+ * In this map, we link the {@link Interface} with their {@link Realization} This map is used when we want remove an Interface from a Realization.
+ */
private Map<Interface, List<Realization>> providedInterfacesMappedWithRealization = new HashMap<Interface, List<Realization>>();
/** the label provider for selector. */
@@ -168,7 +170,7 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Creates the.
- *
+ *
* @see org.eclipse.jface.dialogs.Dialog#create()
*/
@Override
@@ -426,15 +428,21 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Creates a {@link SelectionEditor} and returns it.
- *
- * @param parent the composite parent
- * @param selector the selector used by the created editor
- * @param message the message to display in the created editor
- * @param withCreateButton indicates if the editor provides an additional button for a specific action
- * @param listener the listener for the button
- * @param initialSelection the initial selection for this editor
+ *
+ * @param parent
+ * the composite parent
+ * @param selector
+ * the selector used by the created editor
+ * @param message
+ * the message to display in the created editor
+ * @param withCreateButton
+ * indicates if the editor provides an additional button for a specific action
+ * @param listener
+ * the listener for the button
+ * @param initialSelection
+ * the initial selection for this editor
* @return the selection editor
- * the created {@link SelectionEditor}
+ * the created {@link SelectionEditor}
*/
protected SelectionEditor createEditor(Composite parent, IElementSelector selector, String message, boolean withCreateButton, SelectionListener listener, List<Object> initialSelection) {
SelectionEditor editor = new SelectionEditor(parent, selector, selectorLabelProvider, initialSelection);
@@ -445,11 +453,12 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Returns all the available Interfaces.
- *
- * @param pack the pack
+ *
+ * @param pack
+ * the pack
* @return the all available interfaces
- * all the available Interfaces
- * //TODO add the interfaces of the package import!
+ * all the available Interfaces
+ * //TODO add the interfaces of the package import!
*/
@SuppressWarnings("unchecked")
protected List<Interface> getAllAvailableInterfaces(Package pack) {
@@ -469,9 +478,9 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Returns the commands to apply the changes.
- *
+ *
* @return the command
- * the commands to apply the changes
+ * the commands to apply the changes
*/
public Command getCommand() {
CompoundCommand command = new CompoundCommand("Command to manage interfaces on Port"); //$NON-NLS-1$
@@ -491,10 +500,10 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Returns the command to remove referenced Interfaces in Usage and InterfaceRealization.
- *
+ *
* @return the command to remove referenced interfaces
- * The command to remove referenced Interfaces the Usage and InterfaceRealization.
- * Moreover, we add a command to destroy Usage and InterfaceRealization when they have any Suppliers after this action
+ * The command to remove referenced Interfaces the Usage and InterfaceRealization.
+ * Moreover, we add a command to destroy Usage and InterfaceRealization when they have any Suppliers after this action
*/
protected Command getCommandToRemoveReferencedInterfaces() {
CompoundCommand command = new CompoundCommand("Command to destroy Usage and InterfaceRealization"); //$NON-NLS-1$
@@ -540,9 +549,9 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Returns the command to create new Usage and new InterfaceRealization.
- *
+ *
* @return the commands to create elements
- * the command to create new Usage and new InterfaceRealization
+ * the command to create new Usage and new InterfaceRealization
*/
protected Command getCommandsToCreateElements() {
CompoundCommand command = new CompoundCommand("Command to create Usage and InterfaceRealization"); //$NON-NLS-1$
@@ -587,10 +596,11 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Return the command corresponding to the request.
- *
- * @param req a request
+ *
+ * @param req
+ * a request
* @return the command
- * the command corresponding to the request
+ * the command corresponding to the request
*/
protected Command getCommand(AbstractEditCommandRequest req) {
IElementEditService provider = ElementEditServiceUtils.getCommandProvider(model);
@@ -605,15 +615,16 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* This listener is used to know when the user clicks on the Button to create a new {@link Interface}.
- *
+ *
* @see CreateButtonEvent
*/
public class CreateButtonListener implements SelectionListener {
/**
* Widget selected.
- *
- * @param e the e
+ *
+ * @param e
+ * the e
* @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
*/
public void widgetSelected(SelectionEvent e) {
@@ -642,8 +653,9 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Widget default selected.
- *
- * @param e the e
+ *
+ * @param e
+ * the e
* @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
*/
public void widgetDefaultSelected(SelectionEvent e) {
@@ -660,8 +672,9 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Selection has to be a Classifier or an Interface to allow creation.
- *
- * @param selection the selection
+ *
+ * @param selection
+ * the selection
* @return the i status
* @see org.eclipse.ui.dialogs.ISelectionStatusValidator#validate(java.lang.Object[])
*/
@@ -694,8 +707,9 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Gets the text.
- *
- * @param element the element
+ *
+ * @param element
+ * the element
* @return the text
* @see org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider#getText(java.lang.Object)
*/
@@ -714,29 +728,29 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* The Class CreateElementLabelProvider.
*/
- public class CreateElementLabelProvider extends EditorLabelProvider {
+ public class CreateElementLabelProvider extends UMLLabelProvider {
/**
* Gets the image.
- *
- * @param element the element
+ *
+ * @param element
+ * the element
* @return the image
* @see org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider#getImage(java.lang.Object)
*/
@Override
public Image getImage(Object element) {
if(element instanceof NewElementRepresentation) {
- String imagePath = new String(imageFolder);
- imagePath += "Interface.gif"; //$NON-NLS-1$
- return Activator.getPluginIconImage(pluginID, imagePath);
+ return org.eclipse.papyrus.uml.tools.Activator.getDefault().getImageForUMLMetaclass(UMLPackage.eINSTANCE.getInterface());
}
return super.getImage(element);
}
/**
* Gets the text.
- *
- * @param element the element
+ *
+ * @param element
+ * the element
* @return the text
* @see org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider#getText(java.lang.Object)
*/
@@ -761,7 +775,7 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Dispose.
- *
+ *
* @see org.eclipse.jface.viewers.IContentProvider#dispose()
*/
public void dispose() {
@@ -769,10 +783,13 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Input changed.
- *
- * @param viewer the viewer
- * @param oldInput the old input
- * @param newInput the new input
+ *
+ * @param viewer
+ * the viewer
+ * @param oldInput
+ * the old input
+ * @param newInput
+ * the new input
* @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
*/
public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
@@ -781,8 +798,9 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Gets the elements.
- *
- * @param inputElement the input element
+ *
+ * @param inputElement
+ * the input element
* @return the elements
* @see org.eclipse.jface.viewers.ITreeContentProvider#getElements(java.lang.Object)
*/
@@ -795,8 +813,9 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Gets the children.
- *
- * @param parentElement the parent element
+ *
+ * @param parentElement
+ * the parent element
* @return the children
* @see org.eclipse.jface.viewers.ITreeContentProvider#getChildren(java.lang.Object)
*/
@@ -826,8 +845,9 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Gets the parent.
- *
- * @param element the element
+ *
+ * @param element
+ * the element
* @return the parent
* @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
*/
@@ -842,8 +862,9 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Checks for children.
- *
- * @param element the element
+ *
+ * @param element
+ * the element
* @return true, if successful
* @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.lang.Object)
*/
@@ -892,13 +913,16 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Do execute with result.
- *
- * @param monitor the monitor
- * @param info the info
+ *
+ * @param monitor
+ * the monitor
+ * @param info
+ * the info
* @return the command result
- * @throws ExecutionException the execution exception
+ * @throws ExecutionException
+ * the execution exception
* @see org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor,
- * org.eclipse.core.runtime.IAdaptable)
+ * org.eclipse.core.runtime.IAdaptable)
*/
@Override
protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
@@ -951,13 +975,16 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Do execute with result.
- *
- * @param monitor the monitor
- * @param info the info
+ *
+ * @param monitor
+ * the monitor
+ * @param info
+ * the info
* @return the command result
- * @throws ExecutionException the execution exception
+ * @throws ExecutionException
+ * the execution exception
* @see org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor,
- * org.eclipse.core.runtime.IAdaptable)
+ * org.eclipse.core.runtime.IAdaptable)
*/
@Override
protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
@@ -998,13 +1025,16 @@ public class InterfaceManagerDialog extends SelectionDialog {
/**
* Do execute with result.
- *
- * @param monitor the monitor
- * @param info the info
+ *
+ * @param monitor
+ * the monitor
+ * @param info
+ * the info
* @return the command result
- * @throws ExecutionException the execution exception
+ * @throws ExecutionException
+ * the execution exception
* @see org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor,
- * org.eclipse.core.runtime.IAdaptable)
+ * org.eclipse.core.runtime.IAdaptable)
*/
@Override
protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/META-INF/MANIFEST.MF b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/META-INF/MANIFEST.MF
index 7c89620a448..7f5d868ec42 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/META-INF/MANIFEST.MF
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/META-INF/MANIFEST.MF
@@ -56,7 +56,8 @@ Require-Bundle: org.eclipse.emf.ecore,
org.eclipse.papyrus.infra.services.edit;bundle-version="0.9.0",
org.eclipse.papyrus.infra.widgets;bundle-version="0.9.0",
org.eclipse.papyrus.uml.service.types;bundle-version="0.9.0",
- org.eclipse.emf.validation;visibility:=reexport
+ org.eclipse.emf.validation;visibility:=reexport,
+ org.eclipse.papyrus.uml.tools;bundle-version="0.9.0"
Bundle-Vendor: %providerName
Eclipse-LazyStart: true
Bundle-Version: 0.9.0.qualifier
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/custom-src/org/eclipse/papyrus/uml/diagram/composite/custom/actions/ShowHideRelatedContentsAction.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/custom-src/org/eclipse/papyrus/uml/diagram/composite/custom/actions/ShowHideRelatedContentsAction.java
index 5a99f1bbe22..57e25c23f1c 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/custom-src/org/eclipse/papyrus/uml/diagram/composite/custom/actions/ShowHideRelatedContentsAction.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/custom-src/org/eclipse/papyrus/uml/diagram/composite/custom/actions/ShowHideRelatedContentsAction.java
@@ -22,8 +22,8 @@ import org.eclipse.gmf.runtime.notation.View;
import org.eclipse.papyrus.uml.diagram.common.actions.AbstractShowHideAction;
import org.eclipse.papyrus.uml.diagram.common.actions.ShowHideContentsAction;
import org.eclipse.papyrus.uml.diagram.common.editpolicies.ShowHideRelatedContentsEditPolicy;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.composite.custom.messages.Messages;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.uml2.uml.Classifier;
import org.eclipse.uml2.uml.Property;
import org.eclipse.uml2.uml.Type;
@@ -47,7 +47,7 @@ public class ShowHideRelatedContentsAction extends ShowHideContentsAction {
@Override
protected void initAction() {
super.initAction();
- setEditorLabelProvider(new EditorLabelProvider());
+ setEditorLabelProvider(new UMLLabelProvider());
this.representations = new ArrayList<AbstractShowHideAction.EditPartRepresentation>();
for(EditPart current : this.selectedElements) {
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/custom-src/org/eclipse/papyrus/uml/diagram/composite/custom/ui/InterfaceManagerDialog.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/custom-src/org/eclipse/papyrus/uml/diagram/composite/custom/ui/InterfaceManagerDialog.java
index 934f5f32034..469391a761c 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/custom-src/org/eclipse/papyrus/uml/diagram/composite/custom/ui/InterfaceManagerDialog.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.composite/custom-src/org/eclipse/papyrus/uml/diagram/composite/custom/ui/InterfaceManagerDialog.java
@@ -53,12 +53,12 @@ import org.eclipse.papyrus.infra.widgets.editors.SelectionEditor;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
import org.eclipse.papyrus.infra.widgets.selectors.ReferenceSelector;
import org.eclipse.papyrus.uml.diagram.common.Activator;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.common.util.Util;
import org.eclipse.papyrus.uml.diagram.common.util.Visitor;
import org.eclipse.papyrus.uml.diagram.composite.custom.messages.Messages;
import org.eclipse.papyrus.uml.diagram.composite.part.UMLDiagramEditorPlugin;
import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.swt.SWT;
import org.eclipse.swt.custom.CLabel;
import org.eclipse.swt.events.SelectionEvent;
@@ -728,7 +728,7 @@ public class InterfaceManagerDialog extends SelectionDialog {
}
- public class CreateElementLabelProvider extends EditorLabelProvider {
+ public class CreateElementLabelProvider extends UMLLabelProvider {
/**
*
@@ -740,9 +740,7 @@ public class InterfaceManagerDialog extends SelectionDialog {
@Override
public Image getImage(Object element) {
if(element instanceof NewElementRepresentation) {
- String imagePath = new String(imageFolder);
- imagePath += "Interface.gif"; //$NON-NLS-1$
- return Activator.getPluginIconImage(pluginID, imagePath);
+ return org.eclipse.papyrus.uml.tools.Activator.getDefault().getImageForUMLMetaclass(UMLPackage.eINSTANCE.getInterface());
}
return super.getImage(element);
}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/META-INF/MANIFEST.MF b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/META-INF/MANIFEST.MF
index 510c897d3d4..793d13f0ed9 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/META-INF/MANIFEST.MF
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/META-INF/MANIFEST.MF
@@ -41,7 +41,8 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.papyrus.extensionpoints.editors;bundle-version="0.9.0",
org.eclipse.papyrus.infra.services.edit;bundle-version="0.9.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="0.9.0",
- org.eclipse.emf.validation;visibility:=reexport
+ org.eclipse.emf.validation;visibility:=reexport,
+ org.eclipse.papyrus.uml.tools;bundle-version="0.9.0"
Bundle-Vendor: %providerName
Eclipse-LazyStart: true
Bundle-Version: 0.9.0.qualifier
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/custom-src/org/eclipse/papyrus/uml/diagram/deployment/custom/actions/ShowHideRelatedContentsAction.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/custom-src/org/eclipse/papyrus/uml/diagram/deployment/custom/actions/ShowHideRelatedContentsAction.java
index 1548f8f43d4..fe04cb07872 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/custom-src/org/eclipse/papyrus/uml/diagram/deployment/custom/actions/ShowHideRelatedContentsAction.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.deployment/custom-src/org/eclipse/papyrus/uml/diagram/deployment/custom/actions/ShowHideRelatedContentsAction.java
@@ -22,8 +22,8 @@ import org.eclipse.gmf.runtime.notation.View;
import org.eclipse.papyrus.uml.diagram.common.actions.AbstractShowHideAction;
import org.eclipse.papyrus.uml.diagram.common.actions.ShowHideContentsAction;
import org.eclipse.papyrus.uml.diagram.common.editpolicies.ShowHideRelatedContentsEditPolicy;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.deployment.custom.messages.Messages;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.uml2.uml.Classifier;
import org.eclipse.uml2.uml.Property;
import org.eclipse.uml2.uml.Type;
@@ -43,7 +43,7 @@ public class ShowHideRelatedContentsAction extends ShowHideContentsAction {
@Override
protected void initAction() {
super.initAction();
- setEditorLabelProvider(new EditorLabelProvider());
+ setEditorLabelProvider(new UMLLabelProvider());
this.representations = new ArrayList<AbstractShowHideAction.EditPartRepresentation>();
for(EditPart current : this.selectedElements) {
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/META-INF/MANIFEST.MF b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/META-INF/MANIFEST.MF
index 8e639435908..309145082c4 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/META-INF/MANIFEST.MF
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/META-INF/MANIFEST.MF
@@ -13,7 +13,8 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.papyrus.uml.diagram.wizards;bundle-version="0.9.0",
org.eclipse.papyrus.uml.diagram.common;bundle-version="0.9.0",
org.eclipse.ui.views.log,
- org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="0.9.0"
+ org.eclipse.papyrus.infra.gmfdiag.commands;bundle-version="0.9.0",
+ org.eclipse.papyrus.uml.tools;bundle-version="0.9.0"
Export-Package: org.eclipse.papyrus.uml.diagram.menu,
org.eclipse.papyrus.uml.diagram.menu.actions,
org.eclipse.papyrus.uml.diagram.menu.actions.handlers
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/AbstractShowHideAction.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/AbstractShowHideAction.java
index e813618ff80..4e1c715af23 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/AbstractShowHideAction.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/AbstractShowHideAction.java
@@ -32,8 +32,8 @@ import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.papyrus.commands.wrappers.GEFtoEMFCommandWrapper;
import org.eclipse.papyrus.uml.diagram.common.Activator;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.common.util.ViewServiceUtil;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.ui.IActionDelegate;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.IWorkbenchWindowActionDelegate;
@@ -239,7 +239,7 @@ public abstract class AbstractShowHideAction implements IActionDelegate, IWorkbe
*
*/
protected void initAction() {
- this.labelProvider = new EditorLabelProvider();
+ this.labelProvider = new UMLLabelProvider();
this.representations = new ArrayList<AbstractShowHideAction.EditPartRepresentation>();
}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/ShowHideCompartmentAction.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/ShowHideCompartmentAction.java
index e1c191b9fbf..2e1e0a37f04 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/ShowHideCompartmentAction.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/ShowHideCompartmentAction.java
@@ -40,13 +40,13 @@ import org.eclipse.papyrus.uml.diagram.common.actions.AbstractShowHideAction;
import org.eclipse.papyrus.uml.diagram.common.commands.ShowHideCompartmentRequest;
import org.eclipse.papyrus.uml.diagram.common.commands.ShowHideTitleOfCompartmentCommand;
import org.eclipse.papyrus.uml.diagram.common.editpolicies.ShowHideCompartmentEditPolicy;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.common.util.CompartmentTitleRepresentation;
import org.eclipse.papyrus.uml.diagram.common.util.CompartmentUtils;
import org.eclipse.papyrus.uml.diagram.common.util.DiagramEditPartsUtil;
import org.eclipse.papyrus.uml.diagram.common.util.ViewServiceUtil;
import org.eclipse.papyrus.uml.diagram.menu.dialogs.ShowHideCompartmentSelectionDialog;
import org.eclipse.papyrus.uml.diagram.menu.messages.Messages;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.dialogs.SelectionDialog;
import org.eclipse.uml2.uml.Element;
@@ -131,7 +131,7 @@ public class ShowHideCompartmentAction extends AbstractShowHideAction {
*/
@Override
protected SelectionDialog getSelectionDialog() {
- ShowHideCompartmentSelectionDialog selectionDialog = new ShowHideCompartmentSelectionDialog(DisplayUtils.getDisplay().getActiveShell(), new EditorLabelProvider(), new ContentProvider());
+ ShowHideCompartmentSelectionDialog selectionDialog = new ShowHideCompartmentSelectionDialog(DisplayUtils.getDisplay().getActiveShell(), new UMLLabelProvider(), new ContentProvider());
selectionDialog.setTitle(Messages.ShowHideCompartmentAction_Title);
selectionDialog.setMessage(Messages.ShowHideCompartmentAction_Messages);
selectionDialog.setContainerMode(true);
@@ -205,7 +205,7 @@ public class ShowHideCompartmentAction extends AbstractShowHideAction {
return;
}
setContentProvider(new ContentProvider());
- this.setEditorLabelProvider(new EditorLabelProvider());
+ this.setEditorLabelProvider(new UMLLabelProvider());
this.domain = ((IGraphicalEditPart)this.selectedElements.get(0)).getEditingDomain();
this.initialSelection = getInitialSelection();
}
@@ -266,21 +266,21 @@ public class ShowHideCompartmentAction extends AbstractShowHideAction {
completeCmd.add(tmp);
}
} else if(current instanceof CompartmentTitleRepresentation) {
- CompartmentTitleRepresentation compartmentTitleRep = (CompartmentTitleRepresentation) current;
- final View view = (View) compartmentTitleRep.getRealObject();
+ CompartmentTitleRepresentation compartmentTitleRep = (CompartmentTitleRepresentation)current;
+ final View view = (View)compartmentTitleRep.getRealObject();
Style style = view.getStyle(NotationPackage.eINSTANCE.getTitleStyle());
if(style == null) {
// style is not existing yet (true for models created with Papyrus 0.7.x) => create now
// See bug 351084
- completeCmd.add(new ICommandProxy(
- new AbstractTransactionalCommand(domain, "Create title style", Collections.EMPTY_LIST) { //$NON-NLS-1$
+ completeCmd.add(new ICommandProxy(new AbstractTransactionalCommand(domain, "Create title style", Collections.EMPTY_LIST) { //$NON-NLS-1$
+ @Override
public CommandResult doExecuteWithResult(IProgressMonitor dummy, IAdaptable info) {
TitleStyle style = (TitleStyle)view.createStyle(NotationPackage.eINSTANCE.getTitleStyle());
style.setShowTitle(false);
return CommandResult.newOKCommandResult();
- }
- }));
+ }
+ }));
}
ShowHideTitleOfCompartmentCommand tmp = new ShowHideTitleOfCompartmentCommand(this.domain, view, true);
if(tmp != null && tmp.canExecute()) {
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/ShowHideLabelsAction.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/ShowHideLabelsAction.java
index 010fd2188f0..fab28c16095 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/ShowHideLabelsAction.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/actions/ShowHideLabelsAction.java
@@ -27,9 +27,11 @@ import org.eclipse.gef.commands.Command;
import org.eclipse.gef.commands.CompoundCommand;
import org.eclipse.gef.commands.UnexecutableCommand;
import org.eclipse.gmf.runtime.common.ui.util.DisplayUtils;
+import org.eclipse.gmf.runtime.diagram.ui.actions.internal.ShowConnectionLabelsAction;
import org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart;
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
import org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPart;
+import org.eclipse.gmf.runtime.diagram.ui.editpolicies.ConnectionLabelsEditPolicy;
import org.eclipse.gmf.runtime.diagram.ui.services.editpart.EditPartService;
import org.eclipse.gmf.runtime.notation.LayoutConstraint;
import org.eclipse.gmf.runtime.notation.Location;
@@ -41,10 +43,10 @@ import org.eclipse.jface.viewers.ITreeContentProvider;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.papyrus.uml.diagram.common.commands.ShowHideLabelsRequest;
import org.eclipse.papyrus.uml.diagram.common.editparts.ILabelRoleProvider;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.common.util.DiagramEditPartsUtil;
import org.eclipse.papyrus.uml.diagram.menu.dialogs.ShowHideLabelSelectionDialog;
import org.eclipse.papyrus.uml.diagram.menu.messages.Messages;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
/**
* Adapted code from {@link ShowConnectionLabelsAction}
@@ -255,7 +257,7 @@ public class ShowHideLabelsAction extends AbstractGraphicalParametricAction {
CompoundCommand cmd = new CompoundCommand("Manage Conection Labels "); //$NON-NLS-1$
DiagramEditPart diagramEP = DiagramEditPartsUtil.getDiagramEditPart(editparts.get(0));
- ShowHideLabelSelectionDialog selectionDialog = new ShowHideLabelSelectionDialog(DisplayUtils.getDisplay().getActiveShell(), new EditorLabelProvider(), new ContentProvider(diagramEP));
+ ShowHideLabelSelectionDialog selectionDialog = new ShowHideLabelSelectionDialog(DisplayUtils.getDisplay().getActiveShell(), new UMLLabelProvider(), new ContentProvider(diagramEP));
selectionDialog.setTitle(this.title);
selectionDialog.setMessage(this.message);
selectionDialog.setContainerMode(true);
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/dialogs/ShowHideCompartmentSelectionDialog.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/dialogs/ShowHideCompartmentSelectionDialog.java
index def5da1ad04..37198e1b066 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/dialogs/ShowHideCompartmentSelectionDialog.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.menu/src/org/eclipse/papyrus/uml/diagram/menu/dialogs/ShowHideCompartmentSelectionDialog.java
@@ -37,10 +37,10 @@ import org.eclipse.jface.viewers.TreePath;
import org.eclipse.jface.viewers.ViewerCell;
import org.eclipse.papyrus.uml.diagram.common.Activator;
import org.eclipse.papyrus.uml.diagram.common.dialogs.AbstractCheckedTreeColumnViewerSelectionDialog;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
import org.eclipse.papyrus.uml.diagram.common.util.CompartmentTitleRepresentation;
import org.eclipse.papyrus.uml.diagram.common.util.CompartmentUtils;
import org.eclipse.papyrus.uml.diagram.menu.messages.Messages;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionAdapter;
import org.eclipse.swt.events.SelectionEvent;
@@ -102,12 +102,12 @@ public class ShowHideCompartmentSelectionDialog extends AbstractCheckedTreeColum
}
/**
- * @see org.eclipse.papyrus.uml.diagram.common.dialogs.CheckedTreeSelectionDialog#setInput()
- */
+ * @see org.eclipse.papyrus.uml.diagram.common.dialogs.CheckedTreeSelectionDialog#setInput()
+ */
@Override
- public void setInput(Object input) {
+ public void setInput(Object input) {
super.setInput(input);
- }
+ }
/**
* Setter for {@link #titleRepresentations}
@@ -120,24 +120,23 @@ public class ShowHideCompartmentSelectionDialog extends AbstractCheckedTreeColum
}
/**
- * Adds the propagation button (in addition to the buttons added by the super class) to the dialog.
- * @see org.eclipse.papyrus.uml.diagram.common.dialogs.CustomCheckedTreeSelectionDialog.createSelectionButtons
- * @param composite
- * the parent composite
- * @return Composite the composite the buttons were created in.
- */
+ * Adds the propagation button (in addition to the buttons added by the super class) to the dialog.
+ *
+ * @see org.eclipse.papyrus.uml.diagram.common.dialogs.CustomCheckedTreeSelectionDialog.createSelectionButtons
+ * @param composite
+ * the parent composite
+ * @return Composite the composite the buttons were created in.
+ */
@Override
protected Composite createSelectionButtons(Composite composite) {
Composite buttonComposite = super.createSelectionButtons(composite);
-
- Button propagateToSameType = createButton(buttonComposite,
- IDialogConstants.SELECT_TYPES_ID, Messages.ShowHideCompartmentAction_PropagateToSameType,
- false);
+
+ Button propagateToSameType = createButton(buttonComposite, IDialogConstants.SELECT_TYPES_ID, Messages.ShowHideCompartmentAction_PropagateToSameType, false);
SelectionListener listener = new PropagateSelectionAdapter();
- propagateToSameType.addSelectionListener(listener);
-
- return buttonComposite;
- }
+ propagateToSameType.addSelectionListener(listener);
+
+ return buttonComposite;
+ }
/**
*
@@ -281,7 +280,7 @@ public class ShowHideCompartmentSelectionDialog extends AbstractCheckedTreeColum
private final ILabelProvider provider;
public CompartmentNameProvider() {
- provider = new EditorLabelProvider();
+ provider = new UMLLabelProvider();
}
/**
@@ -372,40 +371,41 @@ public class ShowHideCompartmentSelectionDialog extends AbstractCheckedTreeColum
return null;
}
}
-
+
/**
* Listener for propagation button
*/
public class PropagateSelectionAdapter extends SelectionAdapter {
+
+ @Override
public void widgetSelected(SelectionEvent e) {
ISelection sel = getTreeViewer().getSelection();
- if (sel instanceof ITreeSelection) {
- TreePath paths[] = ((ITreeSelection) sel).getPaths();
+ if(sel instanceof ITreeSelection) {
+ TreePath paths[] = ((ITreeSelection)sel).getPaths();
EditPart selectedEP;
// Obtain EditPart at top of selection
- if (paths.length != 1) {
+ if(paths.length != 1) {
return;
}
Object objSelectedEP = paths[0].getFirstSegment();
- if (objSelectedEP instanceof EditPart) {
- selectedEP = (EditPart) objSelectedEP;
- }
- else {
+ if(objSelectedEP instanceof EditPart) {
+ selectedEP = (EditPart)objSelectedEP;
+ } else {
return;
}
- Class<? extends EditPart> clazz = ((EditPart) selectedEP).getClass();
+ Class<? extends EditPart> clazz = selectedEP.getClass();
List<View> sourceViews = CompartmentUtils.getAllCompartments(selectedEP, false);
boolean changedTitle = false;
Object[] viewerElements = fContentProvider.getElements(fInput);
- for (Object viewerElement : viewerElements) {
+ for(Object viewerElement : viewerElements) {
// Identity guarantees that viewerElement is an instance of EditPart
if((viewerElement.getClass() == clazz) && (viewerElement != selectedEP)) {
// copy selection
- Iterator<View> targetViews = CompartmentUtils.getAllCompartments((EditPart) viewerElement, false).iterator();
- for (View sourceView : sourceViews) {
- if (targetViews.hasNext()) {
+ Iterator<View> targetViews = CompartmentUtils.getAllCompartments((EditPart)viewerElement, false).iterator();
+ for(View sourceView : sourceViews) {
+ if(targetViews.hasNext()) {
View targetView = targetViews.next();
boolean isChecked = getTreeViewer().getChecked(sourceView);
getTreeViewer().setChecked(targetView, isChecked);
@@ -415,13 +415,12 @@ public class ShowHideCompartmentSelectionDialog extends AbstractCheckedTreeColum
CompartmentTitleRepresentation targetRepresentation = CompartmentUtils.getCompartmentTitleRepresentation(titleRepresentations, targetView);
if((sourceRepresentation != null) && (targetRepresentation != null)) {
if(selectedTitles.contains(sourceRepresentation)) {
- if (!selectedTitles.contains(targetRepresentation)) {
+ if(!selectedTitles.contains(targetRepresentation)) {
selectedTitles.add(targetRepresentation);
changedTitle = true;
}
- }
- else {
- if (selectedTitles.contains(targetRepresentation)) {
+ } else {
+ if(selectedTitles.contains(targetRepresentation)) {
selectedTitles.remove(targetRepresentation);
changedTitle = true;
}
@@ -430,14 +429,12 @@ public class ShowHideCompartmentSelectionDialog extends AbstractCheckedTreeColum
}
}
}
- }
+ }
updateOKStatus();
- if (changedTitle) {
+ if(changedTitle) {
getTreeViewer().refresh();
}
}
}
}
}
-
-
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/META-INF/MANIFEST.MF b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/META-INF/MANIFEST.MF
index 36f8eeadb9c..05dbe515775 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/META-INF/MANIFEST.MF
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/META-INF/MANIFEST.MF
@@ -11,7 +11,8 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.emf.ecore,
org.eclipse.gmf.runtime.notation,
org.eclipse.emf.facet.infra.query.core,
- org.eclipse.ui.views.properties.tabbed;bundle-version="3.5.200"
+ org.eclipse.ui.views.properties.tabbed;bundle-version="3.5.200",
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
Bundle-Vendor: %providerName
Bundle-ActivationPolicy: lazy
Bundle-Version: 0.9.0.qualifier
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/src/org/eclipse/papyrus/uml/diagram/modelexplorer/handler/DiagramViewHandler.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/src/org/eclipse/papyrus/uml/diagram/modelexplorer/handler/DiagramViewHandler.java
index 157d4d7f28a..cfc283bf6c2 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/src/org/eclipse/papyrus/uml/diagram/modelexplorer/handler/DiagramViewHandler.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/src/org/eclipse/papyrus/uml/diagram/modelexplorer/handler/DiagramViewHandler.java
@@ -16,9 +16,9 @@ package org.eclipse.papyrus.uml.diagram.modelexplorer.handler;
import org.eclipse.core.commands.AbstractHandler;
import org.eclipse.core.commands.ExecutionEvent;
import org.eclipse.core.commands.ExecutionException;
+import org.eclipse.papyrus.infra.emf.providers.internal.MoDiscoContentProvider;
import org.eclipse.papyrus.uml.diagram.modelexplorer.provider.DiagramContentProvider;
import org.eclipse.papyrus.uml.diagram.modelexplorer.provider.DiagramLabelProvider;
-import org.eclipse.papyrus.views.modelexplorer.MoDiscoContentProvider;
import org.eclipse.papyrus.views.modelexplorer.MoDiscoLabelProviderWTooltips;
import org.eclipse.papyrus.views.modelexplorer.ModelExplorerPageBookView;
import org.eclipse.swt.widgets.Event;
@@ -38,9 +38,9 @@ public class DiagramViewHandler extends AbstractHandler {
* @return the common navigator
*/
protected CommonNavigator getCommonNavigator() {
- IViewPart part = org.eclipse.papyrus.views.modelexplorer.NavigatorUtils.findViewPart(ModelExplorerPageBookView.VIEW_ID);
+ IViewPart part = org.eclipse.papyrus.views.modelexplorer.NavigatorUtils.findViewPart(ModelExplorerPageBookView.VIEW_ID);
// the part is only a book, retrieving correct page
- if (part instanceof ModelExplorerPageBookView) {
+ if(part instanceof ModelExplorerPageBookView) {
IViewPart page = ((ModelExplorerPageBookView)part).getActiveView();
if(page instanceof CommonNavigator) {
return ((CommonNavigator)page);
@@ -54,11 +54,10 @@ public class DiagramViewHandler extends AbstractHandler {
*/
public Object execute(ExecutionEvent event) throws ExecutionException {
- if(((ToolItem)((Event)event.getTrigger()).widget).getSelection()){
+ if(((ToolItem)((Event)event.getTrigger()).widget).getSelection()) {
getCommonNavigator().getCommonViewer().setContentProvider(new DiagramContentProvider());
getCommonNavigator().getCommonViewer().setLabelProvider(new DiagramLabelProvider());
- }
- else{
+ } else {
getCommonNavigator().getCommonViewer().setContentProvider(new MoDiscoContentProvider());
getCommonNavigator().getCommonViewer().setLabelProvider(new MoDiscoLabelProviderWTooltips());
}
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/src/org/eclipse/papyrus/uml/diagram/modelexplorer/provider/DiagramContentProvider.java b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/src/org/eclipse/papyrus/uml/diagram/modelexplorer/provider/DiagramContentProvider.java
index 906034404f8..d29a20167a7 100644
--- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/src/org/eclipse/papyrus/uml/diagram/modelexplorer/provider/DiagramContentProvider.java
+++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.modelexplorer/src/org/eclipse/papyrus/uml/diagram/modelexplorer/provider/DiagramContentProvider.java
@@ -22,48 +22,51 @@ import org.eclipse.papyrus.infra.core.resource.ModelUtils;
import org.eclipse.papyrus.infra.core.resource.notation.NotationUtils;
import org.eclipse.papyrus.infra.core.sasheditor.di.contentprovider.DiSashModelMngr;
import org.eclipse.papyrus.infra.core.services.ServicesRegistry;
+import org.eclipse.papyrus.infra.emf.providers.internal.MoDiscoContentProvider;
import org.eclipse.papyrus.uml.diagram.modelexplorer.Activator;
-import org.eclipse.papyrus.views.modelexplorer.MoDiscoContentProvider;
/**
*
* this content provider is used to display diagrams and their contents
- *
+ *
*/
-public class DiagramContentProvider extends MoDiscoContentProvider{
+public class DiagramContentProvider extends MoDiscoContentProvider {
+ @Override
public Object[] getChildren(final Object parentElement) {
ArrayList<Object> result = new ArrayList<Object>();
-
- if (parentElement instanceof IAdaptable) {
+
+ if(parentElement instanceof IAdaptable) {
EObject eObject = (EObject)((IAdaptable)parentElement).getAdapter(EObject.class);
if(eObject instanceof Diagram) {
return result.toArray();
}
}
-
+
Object[] arrayObject = super.getChildren(parentElement);
- if (arrayObject != null) {
- for (int i = 0; i < arrayObject.length; i++) {
+ if(arrayObject != null) {
+ for(int i = 0; i < arrayObject.length; i++) {
result.add(arrayObject[i]);
}
}
return result.toArray();
}
+ @Override
public Object[] getElements(final Object inputElement) {
Object[] rootElements = getRootElements(inputElement);
- if (rootElements == null) {
+ if(rootElements == null) {
return null;
}
return rootElements;
}
+
+ @Override
public EObject[] getRootElements(Object inputElement) {
try {
- if(! (inputElement instanceof ServicesRegistry) )
- {
+ if(!(inputElement instanceof ServicesRegistry)) {
return null;
}
@@ -72,13 +75,13 @@ public class DiagramContentProvider extends MoDiscoContentProvider{
modelSet = ModelUtils.getModelSetChecked(servicesRegistry);
pageMngr = servicesRegistry.getService(DiSashModelMngr.class).getIPageMngr();
- ArrayList<EObject> result= new ArrayList<EObject>();
- for (int i=0; i< pageMngr.allPages().size();i++){
- if( pageMngr.allPages().get(i) instanceof EObject){
+ ArrayList<EObject> result = new ArrayList<EObject>();
+ for(int i = 0; i < pageMngr.allPages().size(); i++) {
+ if(pageMngr.allPages().get(i) instanceof EObject) {
result.add((EObject)pageMngr.allPages().get(i));
}
}
- EObject[] eObject= new EObject[result.size()];
+ EObject[] eObject = new EObject[result.size()];
return NotationUtils.getNotationModel().getResource().getContents().toArray(eObject);
} catch (Exception e) {
diff --git a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/META-INF/MANIFEST.MF b/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/META-INF/MANIFEST.MF
index c49120bc7ba..9fab70eca3b 100644
--- a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/META-INF/MANIFEST.MF
+++ b/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/META-INF/MANIFEST.MF
@@ -4,8 +4,7 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.papyrus.views.modelexplorer.widgets;bundle-version="0.9.0";visibility:=reexport,
org.eclipse.uml2.uml;bundle-version="3.2.0",
org.eclipse.papyrus.infra.services.edit;bundle-version="0.9.0"
-Export-Package: org.eclipse.papyrus.uml.modelexplorer.widgets,
- org.eclipse.papyrus.uml.modelexplorer.widgets.util
+Export-Package: org.eclipse.papyrus.uml.modelexplorer.widgets
Bundle-Vendor: %providerName
Bundle-ActivationPolicy: lazy
Bundle-Version: 0.9.0.qualifier
diff --git a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/ServiceEditFilteredUMLContentProvider.java b/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/ServiceEditFilteredUMLContentProvider.java
deleted file mode 100644
index ea63ae5616d..00000000000
--- a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/ServiceEditFilteredUMLContentProvider.java
+++ /dev/null
@@ -1,32 +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.uml.modelexplorer.widgets;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.papyrus.uml.modelexplorer.widgets.util.HistoryUtil;
-import org.eclipse.papyrus.views.modelexplorer.widgets.EditServiceValidator;
-
-public class ServiceEditFilteredUMLContentProvider extends UMLElementMEBContentProvider {
-
- private EditServiceValidator validator;
-
- public ServiceEditFilteredUMLContentProvider(EObject editedObject, EStructuralFeature feature, EObject semanticRoot) {
- super(semanticRoot, HistoryUtil.getHistoryID(editedObject, feature, semanticRoot));
- validator = new EditServiceValidator(editedObject, feature);
- }
-
- @Override
- public boolean isValidValue(Object element) {
- return super.isValidValue(element) && validator.isValidValue(getAdaptedValue(element));
- }
-}
diff --git a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLElementMEBContentProvider.java b/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLElementMEBContentProvider.java
deleted file mode 100644
index 4c151dfd6d4..00000000000
--- a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLElementMEBContentProvider.java
+++ /dev/null
@@ -1,183 +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:
- * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.modelexplorer.widgets;
-
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.viewers.ViewerFilter;
-import org.eclipse.papyrus.views.modelexplorer.widgets.GraphicalModelExplorerBasedContentProvider;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Stereotype;
-import org.eclipse.uml2.uml.UMLPackage;
-import org.eclipse.uml2.uml.util.UMLUtil;
-
-
-/**
- * this content provider is specific for UML, it specifies getvalidValue by taking in account stereotypes
- *
- */
-public class UMLElementMEBContentProvider extends GraphicalModelExplorerBasedContentProvider {
-
- public UMLElementMEBContentProvider(EObject semanticRoot, String historyId) {
- super(semanticRoot, historyId);
- }
-
- /**
- *
- * @see org.eclipse.papyrus.views.modelexplorer.widgets.EclassModelExplorerBasedContentProvider#isValidValue(java.lang.Object)
- *
- */
- @Override
- public boolean isValidValue(Object element) {
-
- if(metaClassWanted != null) {
- EObject semanticObject = null;
- if(element instanceof IAdaptable) {
- semanticObject = (EObject)brige.getSemanticElement(element);
- }
- if(element instanceof EObject) {
- semanticObject = (EObject)element;
- }
- //return false for Ereference
- if(element instanceof EReference || semanticObject instanceof EReference) {
- return false;
- }
-
- //this is a Eclass
- if(semanticObject != null) {
- if(metaClassWanted instanceof EClass) {
- if(((EClass)metaClassWanted).isSuperTypeOf(semanticObject.eClass())) {
- if(metaClassNotWantedList.size() > 0) {
- Iterator<Object> iternotwanted = metaClassNotWantedList.iterator();
- while(iternotwanted.hasNext()) {
- Object notWanted = iternotwanted.next();
- if(notWanted instanceof EClass) {
- if(((EClass)notWanted).isSuperTypeOf(semanticObject.eClass())) {
- return false;
- }
- }
- }
- }
- return true;
- }
- }
- //this is a stereotype (Dynamic profile)
- if(metaClassWanted instanceof Stereotype) {
- if(semanticObject instanceof Element) {
- Element selectedUMLelement = (Element)semanticObject;
- return selectedUMLelement.getAppliedStereotypes().contains(metaClassWanted);
- }
- }
- //This is a Stereotype (Static profile)
- if(metaClassWanted instanceof EClass && !(metaClassWanted instanceof Element)) {
- if(semanticObject instanceof Element) {
- Element selectedUMLElement = (Element)semanticObject;
- for(EObject stereotypeApplication : selectedUMLElement.getStereotypeApplications()) {
- if(((EClass)metaClassWanted).isInstance(stereotypeApplication)) {
- return true;
- }
- }
- }
- }
- }
- return false;
- }
-
- return super.isValidValue(element);
- }
-
- @Override
- public Object getAdaptedValue(Object selection) {
- selection = super.getAdaptedValue(selection);
- if(isStereotype() && selection instanceof Element) {
- Element element = (Element)selection;
- EObject stereotypeApplication = null;
- if(metaClassWanted instanceof Stereotype) { //Dynamic profile
- stereotypeApplication = element.getStereotypeApplication((Stereotype)metaClassWanted);
- if(stereotypeApplication == null) {
- List<Stereotype> subStereotypes = element.getAppliedSubstereotypes((Stereotype)metaClassWanted);
- for(Stereotype subSteretoype : subStereotypes) {
- stereotypeApplication = element.getStereotypeApplication(subSteretoype);
- if(stereotypeApplication != null) {
- break;
- }
- }
- }
- } else { //Static profile
- for(EObject appliedStereotype : element.getStereotypeApplications()) {
- if(((EClass)metaClassWanted).isInstance(appliedStereotype)) {
- stereotypeApplication = appliedStereotype;
- }
- }
- }
-
- if(stereotypeApplication != null) {
- return stereotypeApplication;
- }
- }
- return selection;
- }
-
- @Override
- public Object getContainerValue(Object selection) {
- Object semanticElement = selection;;
- if(isStereotype() && selection instanceof EObject) {
- if(selection instanceof EObject) {
- semanticElement = UMLUtil.getBaseElement((EObject)selection);
- }
- }
- return super.getContainerValue(semanticElement);
- }
-
- protected boolean isStereotype() {
- boolean isStereotype = metaClassWanted instanceof Stereotype;
- boolean isUMLElement = false;
- if(metaClassWanted instanceof EClass) {
- EClass eClass = (EClass)metaClassWanted;
- isUMLElement = eClass.getEAllSuperTypes().contains(UMLPackage.eINSTANCE.getElement()) || eClass == UMLPackage.eINSTANCE.getElement();
- }
-
- return isStereotype || !isUMLElement;
- }
-
- @Override
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
- super.inputChanged(viewer, oldInput, newInput);
- if(this.viewer != null) {
- this.viewer.setFilters(new ViewerFilter[]{ new UMLHierarchicViewerFilter(this) });
- }
- }
-
- @Override
- protected IStructuredContentProvider getMetamodelContentProvider() {
- return new ProfileContentProvider();
- }
-
- @Override
- protected IStructuredContentProvider getMetaclassContentProvider() {
- return new StereotypeContentProvider(metaClassWanted, metaClassNotWantedList);
- }
-
- @Override
- protected ViewerFilter getMetaclassViewerFilter(Object selectedMetaClass) {
- return new StereotypeViewerFilter(selectedMetaClass);
- }
-}
diff --git a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLHierarchicViewerFilter.java b/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLHierarchicViewerFilter.java
deleted file mode 100644
index afb9d62b389..00000000000
--- a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLHierarchicViewerFilter.java
+++ /dev/null
@@ -1,40 +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:
- * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Adaptation to AbstractTreeFilter
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.modelexplorer.widgets;
-
-import java.util.Set;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.papyrus.infra.widgets.providers.IHierarchicContentProvider;
-import org.eclipse.papyrus.views.modelexplorer.widgets.HierarchicViewerFilter;
-import org.eclipse.uml2.uml.PackageImport;
-import org.eclipse.uml2.uml.UMLPackage;
-
-public class UMLHierarchicViewerFilter extends HierarchicViewerFilter {
-
- public UMLHierarchicViewerFilter(IHierarchicContentProvider contentProvider) {
- super(contentProvider);
- }
-
- @Override
- protected Set<EReference> getReferencesToBrowse(EObject element) {
- Set<EReference> result = super.getReferencesToBrowse(element);
- if(element == null || element instanceof PackageImport) {
- result.add(UMLPackage.eINSTANCE.getPackageImport_ImportedPackage());
- }
- return result;
- }
-} \ No newline at end of file
diff --git a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLTreeSelectorDialog.java b/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLTreeSelectorDialog.java
deleted file mode 100644
index 2338b8ed0cd..00000000000
--- a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/UMLTreeSelectorDialog.java
+++ /dev/null
@@ -1,209 +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:
- * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Added a lighter constructor
- *
- *****************************************************************************/
-package org.eclipse.papyrus.uml.modelexplorer.widgets;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.jface.viewers.ViewerFilter;
-import org.eclipse.papyrus.infra.core.resource.ModelSet;
-import org.eclipse.papyrus.infra.core.resource.ModelUtils;
-import org.eclipse.papyrus.infra.core.resource.uml.UmlModel;
-import org.eclipse.papyrus.infra.core.resource.uml.UmlUtils;
-import org.eclipse.papyrus.infra.core.services.ServicesRegistry;
-import org.eclipse.papyrus.infra.core.utils.EditorUtils;
-import org.eclipse.papyrus.views.modelexplorer.widgets.AdvancedMETreeDialog;
-import org.eclipse.papyrus.views.modelexplorer.widgets.EclassComparator;
-import org.eclipse.papyrus.views.modelexplorer.widgets.MetaclassLabelProvider;
-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.widgets.Combo;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.Profile;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * this dialog box display a Tree dialog by using the model explorer and propose to filter by taking in account metaclasses of UML, or
- * stereotypes of applied profiles
- *
- * @deprecated you should now use the generic {@link org.eclipse.papyrus.infra.widgets.editors.TreeSelectorDialog}
- */
-@Deprecated
-public class UMLTreeSelectorDialog extends AdvancedMETreeDialog {
-
- //display of UML domain model
- protected static final String UML = "UML";
-
- //the list of applied profiles
- protected HashSet<Profile> appliedProfiles = null;
-
- //the combo that show metamodels and profiles
- protected Combo comboMetamodel;
-
- /**
- *
- * Constructor.
- *
- * @param parentShell
- * a shell
- * @param root
- * the root element that can be display at the top of the tree, can be null
- * @param wantedEClass
- * the object use to filter in the tree all object that are instance of wantedEclasse
- * it can be stereotype of Eclass (can be null)
- *
- * @param metaClassNotWanted
- * list of not wanted metaclass or stereotypes (can be null)
- */
- public UMLTreeSelectorDialog(Shell parentShell, EObject editedEObject, EStructuralFeature feature, EObject root, EClass wantedEClass, List<Object> metaClassNotWanted) {
- super(parentShell, root, wantedEClass, metaClassNotWanted, UMLPackage.eINSTANCE);
- init(editedEObject, feature, root, wantedEClass, metaClassNotWanted);
- }
-
- /**
- *
- * Constructor.
- *
- * @param parentShell
- * a shell
- */
- public UMLTreeSelectorDialog(Shell parentShell) {
- super(parentShell, UMLPackage.eINSTANCE);
- }
-
- /**
- * Sets the preferences for initializing this Dialog's ContentProvider.
- *
- * @param root
- * the root element that can be display at the top of the tree, can be null
- * @param wantedEClass
- * the object use to filter in the tree all object that are instance of wantedEclasse
- * it can be stereotype of Eclass (can be null)
- * @param metaClassNotWanted
- * list of not wanted metaclass or stereotypes (can be null)
- */
- public void init(EObject editedEObject, EStructuralFeature feature, EObject root, EClass wantedEClass, List<Object> metaClassNotWanted) {
- super.init(root, wantedEClass, metaClassNotWanted);
- contentProvider = new ServiceEditFilteredUMLContentProvider(editedEObject, feature, root);
- // contentProvider = new UMLElementMEBContentProvider(root);
- contentProvider.setMetaClassWanted(wantedEClass);
- contentProvider.setMetaClassNotWanted(metaClassNotWanted);
- appliedProfiles = getAppliedProfile();
- }
-
- @Override
- public void create() {
- super.create();
- //create the label
- Label metamodelLabel = new Label(getDialogArea(), SWT.WRAP);
- metamodelLabel.setText("Metamodel:");
- //create the combo
- comboMetamodel = new Combo(getDialogArea(), SWT.NONE);
- comboMetamodel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
-
- //fill the combo for domain model
- final ArrayList<Profile> profiles = new ArrayList<Profile>();
- profiles.addAll(appliedProfiles);
- Collections.sort(profiles, new NamedElementComparator());
- for(Iterator<Profile> iterator = profiles.iterator(); iterator.hasNext();) {
- Profile profile = iterator.next();
- comboMetamodel.add(profile.getQualifiedName());
- }
- comboMetamodel.add(UML);
-
- comboMetamodel.addSelectionListener(new SelectionListener() {
-
- //creation of inner class for the selection
- public void widgetSelected(SelectionEvent e) {
- // a metamodel has been choosen, we have to update the list of metaclass or stereotypes
- int index = comboMetamodel.getSelectionIndex();
- //in the case of UML this is management by using EClass
- if(comboMetamodel.getItem(index).equals(UML)) {
- fillmetaclassList(UMLPackage.eINSTANCE);
- setMetaclassLabelProvider(new MetaclassLabelProvider());
- fillMetaclassCombo(metaclasses, new EclassComparator());
- } else {
- //in the case of profile, this a uml specific management due to stereotypes
- Profile selectedProfile = profiles.get(index);
- ArrayList<Object> stereotypesList = new ArrayList<Object>(selectedProfile.getOwnedStereotypes());
- setMetaclassLabelProvider(new StereotypeMetaclassLabelProvider());
- fillMetaclassCombo(stereotypesList, new NamedElementComparator());
-
- }
- }
-
- public void widgetDefaultSelected(SelectionEvent e) {
- }
- });
-
- ViewerFilter[] filters = { new UMLHierarchicViewerFilter(contentProvider) };
- getViewer().setFilters(filters);
- getShell().pack();
-
-
- }
-
- /**
- *
- * @return all profile without doublon. it is never null
- *
- * @throws ServiceException
- */
- protected HashSet<Profile> getAppliedProfile() {
- HashSet<Profile> profileList = new HashSet<Profile>();
- //a root has been given.
- if(root != null && root instanceof Package) {
- profileList.addAll(((Package)root).getAllAppliedProfiles());
- return profileList;
-
- }
- //look for from contentprovider
- ServicesRegistry servicesRegistry = EditorUtils.getMultiDiagramEditor().getServicesRegistry();
- if(servicesRegistry != null) {
- UmlModel umlModel = null;
- try {
- ModelSet modelSet = ModelUtils.getModelSetChecked(servicesRegistry);
- umlModel = (UmlUtils.getUmlModel(modelSet));
-
- } catch (Exception e) {
- Activator.log.error("Cannot succeed to access to modelSet by using service Registry", e);
- }
- if(umlModel == null) {
- return profileList;
- }
- EList<EObject> contents = umlModel.getResource().getContents();
- Iterator<EObject> iterator = contents.iterator();
- while(iterator.hasNext()) {
- EObject eObject = iterator.next();
- if(eObject instanceof Package) {
- profileList.addAll(((Package)eObject).getAllAppliedProfiles());
- }
- }
- }
- return profileList;
- }
-
-}
diff --git a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/util/HistoryUtil.java b/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/util/HistoryUtil.java
deleted file mode 100644
index ab992516344..00000000000
--- a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer.widgets/src/org/eclipse/papyrus/uml/modelexplorer/widgets/util/HistoryUtil.java
+++ /dev/null
@@ -1,36 +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.uml.modelexplorer.widgets.util;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-
-public class HistoryUtil {
-
- /**
- * Returns a String identifying the History of selected values for the given object/feature
- *
- * @param editedObject
- * @param feature
- * @param semanticRoot
- * @return
- */
- public static String getHistoryID(EObject editedObject, EStructuralFeature feature, EObject semanticRoot) {
- // return String.format("history_%s:%s:%s", feature.getEType().getEPackage().getName(), feature.getEType().getName(), feature.getName()); //$NON-NLS-1$
- if(editedObject.eResource() == null) {
- return String.format("history_%s:%s:%s", feature.getEType().getEPackage().getName(), feature.getEType().getName(), feature.getName());
- }
-
- return String.format("history_%s:%s:%s:%s", editedObject.eResource().getURI(), feature.getEType().getEPackage().getName(), feature.getEType().getName(), feature.getName());
- }
-}
diff --git a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer/META-INF/MANIFEST.MF b/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer/META-INF/MANIFEST.MF
index a1eafeb917f..57cb3c4ab1b 100644
--- a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer/META-INF/MANIFEST.MF
+++ b/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer/META-INF/MANIFEST.MF
@@ -13,7 +13,8 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.gmf.runtime.common.core;bundle-version="1.4.1",
org.eclipse.gmf.runtime.emf.type.core;bundle-version="1.4.0",
org.eclipse.ui.views.properties.tabbed;bundle-version="3.5.200",
- org.eclipse.gmf.runtime.notation;bundle-version="1.5.0"
+ org.eclipse.gmf.runtime.notation;bundle-version="1.5.0",
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
Export-Package: org.eclipse.papyrus.uml.modelexplorer,
org.eclipse.papyrus.uml.modelexplorer.factory,
org.eclipse.papyrus.uml.modelexplorer.queries
diff --git a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer/src/org/eclipse/papyrus/uml/modelexplorer/UMLContentProvider.java b/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer/src/org/eclipse/papyrus/uml/modelexplorer/UMLContentProvider.java
index 43b31a2cf05..fc7edf9f467 100644
--- a/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer/src/org/eclipse/papyrus/uml/modelexplorer/UMLContentProvider.java
+++ b/plugins/uml/modelexplorer/org.eclipse.papyrus.uml.modelexplorer/src/org/eclipse/papyrus/uml/modelexplorer/UMLContentProvider.java
@@ -21,7 +21,7 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.papyrus.infra.core.resource.ModelSet;
import org.eclipse.papyrus.infra.core.resource.uml.UmlModel;
import org.eclipse.papyrus.infra.core.resource.uml.UmlUtils;
-import org.eclipse.papyrus.views.modelexplorer.MoDiscoContentProvider;
+import org.eclipse.papyrus.infra.emf.providers.internal.MoDiscoContentProvider;
import org.eclipse.uml2.uml.util.UMLUtil;
/**
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/META-INF/MANIFEST.MF b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/META-INF/MANIFEST.MF
index c894a71e39e..41b591cc573 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/META-INF/MANIFEST.MF
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/META-INF/MANIFEST.MF
@@ -20,11 +20,12 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.gef;bundle-version="3.7.1",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
org.eclipse.papyrus.uml.tools;bundle-version="0.9.0",
- org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.tools;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0"
Export-Package: org.eclipse.papyrus.uml.properties.constraints,
org.eclipse.papyrus.uml.properties.creation,
org.eclipse.papyrus.uml.properties.databinding,
- org.eclipse.papyrus.uml.properties.databinding.command,
org.eclipse.papyrus.uml.properties.datatype,
org.eclipse.papyrus.uml.properties.modelelement,
org.eclipse.papyrus.uml.properties.providers,
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/Environment.xmi b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/Environment.xmi
index 5cd92ed9cee..b61bfc76b81 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/Environment.xmi
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/Environment.xmi
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ASCII"?>
-<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment">
+<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment/0.9">
<modelElementFactories name="UML Specific Factory" factoryClass="org.eclipse.papyrus.uml.properties.modelelement.UMLEditorFactory"/>
<modelElementFactories name="UML Factory" factoryClass="org.eclipse.papyrus.uml.properties.modelelement.UMLModelElementFactory"/>
<modelElementFactories name="Stereotype Factory" factoryClass="org.eclipse.papyrus.uml.properties.modelelement.StereotypeModelElementFactory"/>
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx
index b3c005db58f..515742da8ed 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9"
+ xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9"
name="UML">
<tabs label="UML" id="uml" category="org.eclipse.papyrus" image=""
priority="10">
@@ -1418,4138 +1419,4138 @@
</tabs>
<views name="SinglePackageProfile" sections="//@tabs.1/@sections.0"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePackage"
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePackage"
overrideable="false">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Package" />
</constraints>
</views>
<views name="SingleElement" sections="//@tabs.1/@sections.1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleElement"
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleElement"
overrideable="false">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Element" />
</constraints>
</views>
<views name="MultipleElement" sections="//@tabs.0/@sections.445"
elementMultiplicity="-1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Element" />
</constraints>
</views>
<views name="SinglePackage" sections="//@tabs.0/@sections.0"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePackage">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePackage">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Package" />
</constraints>
</views>
<views name="MultiplePackage" sections="//@tabs.0/@sections.1"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePackage">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePackage">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Package" />
</constraints>
</views>
<views name="SinglePackageableElement" sections="//@tabs.0/@sections.2"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePackageableElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePackageableElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="PackageableElement" />
</constraints>
</views>
<views name="MultiplePackageableElement" sections="//@tabs.0/@sections.3"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePackageableElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePackageableElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="PackageableElement" />
</constraints>
</views>
<views name="SingleNamedElement" sections="//@tabs.0/@sections.4"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNamedElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleNamedElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="NamedElement" />
</constraints>
</views>
<views name="MultipleNamedElement" sections="//@tabs.0/@sections.5"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNamedElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleNamedElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="NamedElement" />
</constraints>
</views>
<views name="SingleNamespace" sections="//@tabs.0/@sections.6"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNamespace">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleNamespace">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Namespace" />
</constraints>
</views>
<views name="MultipleNamespace" sections="//@tabs.0/@sections.7"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNamespace">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleNamespace">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Namespace" />
</constraints>
</views>
<views name="SingleElementImport" sections="//@tabs.0/@sections.8"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleElementImport">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleElementImport">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ElementImport" />
</constraints>
</views>
<views name="MultipleElementImport" sections="//@tabs.0/@sections.9"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleElementImport">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleElementImport">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ElementImport" />
</constraints>
</views>
<views name="SinglePackageImport" sections="//@tabs.0/@sections.10"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePackageImport">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePackageImport">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="PackageImport" />
</constraints>
</views>
<views name="MultiplePackageImport" sections="//@tabs.0/@sections.11"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePackageImport">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePackageImport">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="PackageImport" />
</constraints>
</views>
<views name="SingleConstraint" sections="//@tabs.0/@sections.12"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConstraint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConstraint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Constraint" />
</constraints>
</views>
<views name="MultipleConstraint" sections="//@tabs.0/@sections.13"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConstraint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConstraint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Constraint" />
</constraints>
</views>
<views name="SingleValueSpecification" sections="//@tabs.0/@sections.14"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleValueSpecification"
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleValueSpecification"
overriddenConstraints="//@views.1/@constraints.0">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ValueSpecification" />
</constraints>
</views>
<views name="MultipleValueSpecification" sections="//@tabs.0/@sections.15"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleValueSpecification">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleValueSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ValueSpecification" />
</constraints>
</views>
<views name="SingleTypedElement" sections="//@tabs.0/@sections.16"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTypedElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTypedElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TypedElement" />
</constraints>
</views>
<views name="MultipleTypedElement" sections="//@tabs.0/@sections.17"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTypedElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTypedElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TypedElement" />
</constraints>
</views>
<views name="SingleType" sections="//@tabs.0/@sections.18"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleType">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleType">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Type" />
</constraints>
</views>
<views name="MultipleType" sections="//@tabs.0/@sections.19"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleType">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleType">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Type" />
</constraints>
</views>
<views name="SingleAssociation" sections="//@tabs.0/@sections.20"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAssociation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAssociation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Association" />
</constraints>
</views>
<views name="MultipleAssociation" sections="//@tabs.0/@sections.21"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAssociation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAssociation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Association" />
</constraints>
</views>
<views name="MemberEnd" sections="//@tabs.0/@sections.443" />
<views name="SingleClassifier" sections="//@tabs.0/@sections.22"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleClassifier">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleClassifier">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Classifier" />
</constraints>
</views>
<views name="MultipleClassifier" sections="//@tabs.0/@sections.23"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleClassifier">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleClassifier">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Classifier" />
</constraints>
</views>
<views name="SingleRedefinableElement" sections="//@tabs.0/@sections.24"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRedefinableElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRedefinableElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="RedefinableElement" />
</constraints>
</views>
<views name="MultipleRedefinableElement" sections="//@tabs.0/@sections.25"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRedefinableElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleRedefinableElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="RedefinableElement" />
</constraints>
</views>
<views name="SingleTemplateParameter" sections="//@tabs.0/@sections.26"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTemplateParameter">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTemplateParameter">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TemplateParameter" />
</constraints>
</views>
<views name="SingleGeneralization" sections="//@tabs.0/@sections.27"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleGeneralization">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleGeneralization">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Generalization" />
</constraints>
</views>
<views name="MultipleGeneralization" sections="//@tabs.0/@sections.28"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleGeneralization">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleGeneralization">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Generalization" />
</constraints>
</views>
<views name="SingleGeneralizationSet" sections="//@tabs.0/@sections.29"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleGeneralizationSet">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleGeneralizationSet">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="GeneralizationSet" />
</constraints>
</views>
<views name="MultipleGeneralizationSet" sections="//@tabs.0/@sections.30"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleGeneralizationSet">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleGeneralizationSet">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="GeneralizationSet" />
</constraints>
</views>
<views name="SingleFeature" sections="//@tabs.0/@sections.31"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFeature">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFeature">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Feature" />
</constraints>
</views>
<views name="MultipleFeature" sections="//@tabs.0/@sections.32"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFeature">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFeature">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Feature" />
</constraints>
</views>
<views name="SingleSubstitution" sections="//@tabs.0/@sections.33"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSubstitution">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSubstitution">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Substitution" />
</constraints>
</views>
<views name="MultipleSubstitution" sections="//@tabs.0/@sections.34"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSubstitution">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleSubstitution">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Substitution" />
</constraints>
</views>
<views name="SingleRealization" sections="//@tabs.0/@sections.35"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRealization">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRealization">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Realization" />
</constraints>
</views>
<views name="MultipleRealization" sections="//@tabs.0/@sections.36"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRealization">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleRealization">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Realization" />
</constraints>
</views>
<views name="SingleAbstraction" sections="//@tabs.0/@sections.37"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAbstraction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAbstraction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Abstraction" />
</constraints>
</views>
<views name="MultipleAbstraction" sections="//@tabs.0/@sections.38"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAbstraction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAbstraction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Abstraction" />
</constraints>
</views>
<views name="SingleOpaqueExpression" sections="//@tabs.0/@sections.39"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleOpaqueExpression">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleOpaqueExpression">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="OpaqueExpression" />
</constraints>
</views>
<views name="MultipleOpaqueExpression" sections="//@tabs.0/@sections.40"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleOpaqueExpression">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleOpaqueExpression">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="OpaqueExpression" />
</constraints>
</views>
<views name="SingleParameter" sections="//@tabs.0/@sections.41"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleParameter">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleParameter">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Parameter" />
</constraints>
</views>
<views name="MultipleParameter" sections="//@tabs.0/@sections.42"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleParameter">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleParameter">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Parameter" />
</constraints>
</views>
<views name="SingleMultiplicityElement" sections="//@tabs.0/@sections.43"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMultiplicityElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleMultiplicityElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="MultiplicityElement" />
</constraints>
</views>
<views name="MultipleMultiplicityElement" sections="//@tabs.0/@sections.44"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMultiplicityElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleMultiplicityElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="MultiplicityElement" />
</constraints>
</views>
<views name="SingleConnectableElement" sections="//@tabs.0/@sections.45"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConnectableElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConnectableElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ConnectableElement" />
</constraints>
</views>
<views name="MultipleConnectableElement" sections="//@tabs.0/@sections.46"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConnectableElement">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConnectableElement">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ConnectableElement" />
</constraints>
</views>
<views name="SingleConnectorEnd" sections="//@tabs.0/@sections.47"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConnectorEnd">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConnectorEnd">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ConnectorEnd" />
</constraints>
</views>
<views name="MultipleConnectorEnd" sections="//@tabs.0/@sections.48"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConnectorEnd">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConnectorEnd">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ConnectorEnd" />
</constraints>
</views>
<views name="SingleProperty" sections="//@tabs.0/@sections.49"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleProperty">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleProperty">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Property" />
</constraints>
</views>
<views name="MultipleProperty" sections="//@tabs.0/@sections.50"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleProperty">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleProperty">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Property" />
</constraints>
</views>
<views name="SingleDeploymentTarget" sections="//@tabs.0/@sections.51"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDeploymentTarget">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDeploymentTarget">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DeploymentTarget" />
</constraints>
</views>
<views name="MultipleDeploymentTarget" sections="//@tabs.0/@sections.52"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDeploymentTarget">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDeploymentTarget">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DeploymentTarget" />
</constraints>
</views>
<views name="SingleDeployment" sections="//@tabs.0/@sections.53"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDeployment">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDeployment">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Deployment" />
</constraints>
</views>
<views name="MultipleDeployment" sections="//@tabs.0/@sections.54"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDeployment">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDeployment">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Deployment" />
</constraints>
</views>
<views name="SingleDeployedArtifact" sections="//@tabs.0/@sections.55"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDeployedArtifact">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDeployedArtifact">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DeployedArtifact" />
</constraints>
</views>
<views name="MultipleDeployedArtifact" sections="//@tabs.0/@sections.56"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDeployedArtifact">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDeployedArtifact">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DeployedArtifact" />
</constraints>
</views>
<views name="SingleDeploymentSpecification" sections="//@tabs.0/@sections.57"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDeploymentSpecification">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDeploymentSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DeploymentSpecification" />
</constraints>
</views>
<views name="MultipleDeploymentSpecification" sections="//@tabs.0/@sections.58"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDeploymentSpecification">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDeploymentSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DeploymentSpecification" />
</constraints>
</views>
<views name="SingleArtifact" sections="//@tabs.0/@sections.59"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleArtifact">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleArtifact">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Artifact" />
</constraints>
</views>
<views name="MultipleArtifact" sections="//@tabs.0/@sections.60"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleArtifact">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleArtifact">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Artifact" />
</constraints>
</views>
<views name="SingleManifestation" sections="//@tabs.0/@sections.61"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleManifestation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleManifestation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Manifestation" />
</constraints>
</views>
<views name="MultipleManifestation" sections="//@tabs.0/@sections.62"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleManifestation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleManifestation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Manifestation" />
</constraints>
</views>
<views name="SingleOperation" sections="//@tabs.0/@sections.63"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleOperation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleOperation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Operation" />
</constraints>
</views>
<views name="MultipleOperation" sections="//@tabs.0/@sections.64"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleOperation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleOperation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Operation" />
</constraints>
</views>
<views name="SingleBehavioralFeature" sections="//@tabs.0/@sections.65"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBehavioralFeature">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBehavioralFeature">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="BehavioralFeature" />
</constraints>
</views>
<views name="MultipleBehavioralFeature" sections="//@tabs.0/@sections.66"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBehavioralFeature">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBehavioralFeature">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="BehavioralFeature" />
</constraints>
</views>
<views name="SingleBehavior" sections="//@tabs.0/@sections.67"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBehavior">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBehavior">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Behavior" />
</constraints>
</views>
<views name="MultipleBehavior" sections="//@tabs.0/@sections.68"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBehavior">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBehavior">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Behavior" />
</constraints>
</views>
<views name="SingleClass" sections="//@tabs.0/@sections.69"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleClass">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleClass">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Class" />
</constraints>
</views>
<views name="MultipleClass" sections="//@tabs.0/@sections.70"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleClass">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleClass">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Class" />
</constraints>
</views>
<views name="SingleBehavioredClassifier" sections="//@tabs.0/@sections.71"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBehavioredClassifier">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBehavioredClassifier">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="BehavioredClassifier" />
</constraints>
</views>
<views name="MultipleBehavioredClassifier" sections="//@tabs.0/@sections.72"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBehavioredClassifier">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBehavioredClassifier">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="BehavioredClassifier" />
</constraints>
</views>
<views name="SingleInterfaceRealization" sections="//@tabs.0/@sections.73"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInterfaceRealization">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInterfaceRealization">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InterfaceRealization" />
</constraints>
</views>
<views name="MultipleInterfaceRealization" sections="//@tabs.0/@sections.74"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInterfaceRealization">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInterfaceRealization">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InterfaceRealization" />
</constraints>
</views>
<views name="SingleInterface" sections="//@tabs.0/@sections.75"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInterface">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInterface">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Interface" />
</constraints>
</views>
<views name="MultipleInterface" sections="//@tabs.0/@sections.76"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInterface">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInterface">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Interface" />
</constraints>
</views>
<views name="SingleReception" sections="//@tabs.0/@sections.77"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReception">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReception">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Reception" />
</constraints>
</views>
<views name="MultipleReception" sections="//@tabs.0/@sections.78"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReception">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReception">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Reception" />
</constraints>
</views>
<views name="SingleSignal" sections="//@tabs.0/@sections.79"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSignal">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSignal">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Signal" />
</constraints>
</views>
<views name="MultipleSignal" sections="//@tabs.0/@sections.80"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSignal">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleSignal">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Signal" />
</constraints>
</views>
<views name="SingleProtocolStateMachine" sections="//@tabs.0/@sections.81"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleProtocolStateMachine">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleProtocolStateMachine">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ProtocolStateMachine" />
</constraints>
</views>
<views name="MultipleProtocolStateMachine" sections="//@tabs.0/@sections.82"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleProtocolStateMachine">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleProtocolStateMachine">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ProtocolStateMachine" />
</constraints>
</views>
<views name="SingleStateMachine" sections="//@tabs.0/@sections.83"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStateMachine">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStateMachine">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StateMachine" />
</constraints>
</views>
<views name="MultipleStateMachine" sections="//@tabs.0/@sections.84"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStateMachine">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStateMachine">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StateMachine" />
</constraints>
</views>
<views name="SingleRegion" sections="//@tabs.0/@sections.85"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRegion">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRegion">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Region" />
</constraints>
</views>
<views name="MultipleRegion" sections="//@tabs.0/@sections.86"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRegion">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleRegion">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Region" />
</constraints>
</views>
<views name="SingleVertex" sections="//@tabs.0/@sections.87"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleVertex">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleVertex">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Vertex" />
</constraints>
</views>
<views name="MultipleVertex" sections="//@tabs.0/@sections.88"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleVertex">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleVertex">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Vertex" />
</constraints>
</views>
<views name="SingleTransition" sections="//@tabs.0/@sections.89"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTransition">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTransition">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Transition" />
</constraints>
</views>
<views name="MultipleTransition" sections="//@tabs.0/@sections.90"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTransition">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTransition">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Transition" />
</constraints>
</views>
<views name="SingleTrigger" sections="//@tabs.0/@sections.91"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTrigger">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTrigger">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Trigger" />
</constraints>
</views>
<views name="MultipleTrigger" sections="//@tabs.0/@sections.92"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTrigger">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTrigger">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Trigger" />
</constraints>
</views>
<views name="SingleEvent" sections="//@tabs.0/@sections.93"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Event" />
</constraints>
</views>
<views name="MultipleEvent" sections="//@tabs.0/@sections.94"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Event" />
</constraints>
</views>
<views name="SinglePort" sections="//@tabs.0/@sections.95"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePort">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePort">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Port" />
</constraints>
</views>
<views name="MultiplePort" sections="//@tabs.0/@sections.96"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePort">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePort">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Port" />
</constraints>
</views>
<views name="SingleState" sections="//@tabs.0/@sections.97"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleState">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleState">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="State" />
</constraints>
</views>
<views name="MultipleState" sections="//@tabs.0/@sections.98"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleState">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleState">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="State" />
</constraints>
</views>
<views name="SingleConnectionPointReference" sections="//@tabs.0/@sections.99"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConnectionPointReference">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConnectionPointReference">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ConnectionPointReference" />
</constraints>
</views>
<views name="MultipleConnectionPointReference" sections="//@tabs.0/@sections.100"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConnectionPointReference">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConnectionPointReference">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ConnectionPointReference" />
</constraints>
</views>
<views name="SinglePseudostate" sections="//@tabs.0/@sections.101"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePseudostate">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePseudostate">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Pseudostate" />
</constraints>
</views>
<views name="MultiplePseudostate" sections="//@tabs.0/@sections.102"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePseudostate">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePseudostate">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Pseudostate" />
</constraints>
</views>
<views name="SingleEncapsulatedClassifier" sections="//@tabs.0/@sections.103"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEncapsulatedClassifier">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleEncapsulatedClassifier">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="EncapsulatedClassifier" />
</constraints>
</views>
<views name="MultipleEncapsulatedClassifier" sections="//@tabs.0/@sections.104"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEncapsulatedClassifier">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleEncapsulatedClassifier">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="EncapsulatedClassifier" />
</constraints>
</views>
<views name="SingleStructuredClassifier" sections="//@tabs.0/@sections.105"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStructuredClassifier">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStructuredClassifier">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StructuredClassifier" />
</constraints>
</views>
<views name="MultipleStructuredClassifier" sections="//@tabs.0/@sections.106"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStructuredClassifier">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStructuredClassifier">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StructuredClassifier" />
</constraints>
</views>
<views name="SingleConnector" sections="//@tabs.0/@sections.107"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConnector">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConnector">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Connector" />
</constraints>
</views>
<views name="MultipleConnector" sections="//@tabs.0/@sections.108"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConnector">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConnector">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Connector" />
</constraints>
</views>
<views name="SingleExtension" sections="//@tabs.0/@sections.109"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleExtension">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleExtension">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Extension" />
</constraints>
</views>
<views name="MultipleExtension" sections="//@tabs.0/@sections.110"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleExtension">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleExtension">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Extension" />
</constraints>
</views>
<views name="SingleExtensionEnd" sections="//@tabs.0/@sections.111"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleExtensionEnd">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleExtensionEnd">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExtensionEnd" />
</constraints>
</views>
<views name="MultipleExtensionEnd" sections="//@tabs.0/@sections.112"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleExtensionEnd">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleExtensionEnd">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExtensionEnd" />
</constraints>
</views>
<views name="SingleStereotype" sections="//@tabs.0/@sections.113"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStereotype">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStereotype">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Stereotype" />
</constraints>
</views>
<views name="MultipleStereotype" sections="//@tabs.0/@sections.114"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStereotype">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStereotype">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Stereotype" />
</constraints>
</views>
<views name="SingleProfile" sections="//@tabs.0/@sections.115"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleProfile">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleProfile">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Profile" />
</constraints>
</views>
<views name="MultipleProfile" sections="//@tabs.0/@sections.116"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleProfile">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleProfile">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Profile" />
</constraints>
</views>
<views name="SingleModel" sections="//@tabs.0/@sections.117"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleModel">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleModel">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Model" />
</constraints>
</views>
<views name="MultipleModel" sections="//@tabs.0/@sections.118"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleModel">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleModel">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Model" />
</constraints>
</views>
<views name="SingleParameterSet" sections="//@tabs.0/@sections.119"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleParameterSet">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleParameterSet">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ParameterSet" />
</constraints>
</views>
<views name="MultipleParameterSet" sections="//@tabs.0/@sections.120"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleParameterSet">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleParameterSet">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ParameterSet" />
</constraints>
</views>
<views name="SingleDataType" sections="//@tabs.0/@sections.121"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDataType">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDataType">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DataType" />
</constraints>
</views>
<views name="MultipleDataType" sections="//@tabs.0/@sections.122"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDataType">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDataType">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DataType" />
</constraints>
</views>
<views name="SingleOperationTemplateParameter" sections="//@tabs.0/@sections.123"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleOperationTemplateParameter">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleOperationTemplateParameter">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="OperationTemplateParameter" />
</constraints>
</views>
<views name="SingleStructuralFeature" sections="//@tabs.0/@sections.124"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStructuralFeature">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStructuralFeature">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StructuralFeature" />
</constraints>
</views>
<views name="MultipleStructuralFeature" sections="//@tabs.0/@sections.125"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStructuralFeature">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStructuralFeature">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StructuralFeature" />
</constraints>
</views>
<views name="SingleConnectableElementTemplateParameter" sections="//@tabs.0/@sections.126"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleConnectableElementTemplateParameter">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ConnectableElementTemplateParameter" />
</constraints>
</views>
<views name="SingleCollaborationUse" sections="//@tabs.0/@sections.127"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCollaborationUse">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCollaborationUse">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CollaborationUse" />
</constraints>
</views>
<views name="MultipleCollaborationUse" sections="//@tabs.0/@sections.128"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCollaborationUse">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCollaborationUse">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CollaborationUse" />
</constraints>
</views>
<views name="SingleCollaboration" sections="//@tabs.0/@sections.129"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCollaboration">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCollaboration">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Collaboration" />
</constraints>
</views>
<views name="MultipleCollaboration" sections="//@tabs.0/@sections.130"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCollaboration">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCollaboration">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Collaboration" />
</constraints>
</views>
<views name="SingleUseCase" sections="//@tabs.0/@sections.131"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUseCase">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUseCase">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="UseCase" />
</constraints>
</views>
<views name="MultipleUseCase" sections="//@tabs.0/@sections.132"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUseCase">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUseCase">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="UseCase" />
</constraints>
</views>
<views name="SingleInclude" sections="//@tabs.0/@sections.133"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInclude">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInclude">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Include" />
</constraints>
</views>
<views name="MultipleInclude" sections="//@tabs.0/@sections.134"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInclude">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInclude">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Include" />
</constraints>
</views>
<views name="SingleExtend" sections="//@tabs.0/@sections.135"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleExtend">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleExtend">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Extend" />
</constraints>
</views>
<views name="MultipleExtend" sections="//@tabs.0/@sections.136"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleExtend">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleExtend">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Extend" />
</constraints>
</views>
<views name="SingleExtensionPoint" sections="//@tabs.0/@sections.137"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleExtensionPoint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleExtensionPoint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExtensionPoint" />
</constraints>
</views>
<views name="MultipleExtensionPoint" sections="//@tabs.0/@sections.138"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleExtensionPoint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleExtensionPoint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExtensionPoint" />
</constraints>
</views>
<views name="SingleRedefinableTemplateSignature" sections="//@tabs.0/@sections.139"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleRedefinableTemplateSignature">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="RedefinableTemplateSignature" />
</constraints>
</views>
<views name="MultipleRedefinableTemplateSignature" sections="//@tabs.0/@sections.140"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleRedefinableTemplateSignature">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="RedefinableTemplateSignature" />
</constraints>
</views>
<views name="SingleClassifierTemplateParameter" sections="//@tabs.0/@sections.141"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleClassifierTemplateParameter">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ClassifierTemplateParameter" />
</constraints>
</views>
<views name="MultipleClassifierTemplateParameter" sections="//@tabs.0/@sections.142"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleClassifierTemplateParameter">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ClassifierTemplateParameter" />
</constraints>
</views>
<views name="SingleStringExpression" sections="//@tabs.0/@sections.143"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStringExpression">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStringExpression">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StringExpression" />
</constraints>
</views>
<views name="MultipleStringExpression" sections="//@tabs.0/@sections.144"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStringExpression">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStringExpression">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StringExpression" />
</constraints>
</views>
<views name="SingleExpression" sections="//@tabs.0/@sections.145"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleExpression">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleExpression">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Expression" />
</constraints>
</views>
<views name="MultipleExpression" sections="//@tabs.0/@sections.146"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleExpression">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleExpression">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Expression" />
</constraints>
</views>
<views name="SingleUsage" sections="//@tabs.0/@sections.147"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUsage">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUsage">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Usage" />
</constraints>
</views>
<views name="MultipleUsage" sections="//@tabs.0/@sections.148"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUsage">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUsage">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Usage" />
</constraints>
</views>
<views name="SingleProfileApplication" sections="//@tabs.0/@sections.149"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleProfileApplication">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleProfileApplication">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ProfileApplication" />
</constraints>
</views>
<views name="MultipleProfileApplication" sections="//@tabs.0/@sections.150"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleProfileApplication">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleProfileApplication">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ProfileApplication" />
</constraints>
</views>
<views name="SingleEnumeration" sections="//@tabs.0/@sections.151"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEnumeration">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleEnumeration">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Enumeration" />
</constraints>
</views>
<views name="MultipleEnumeration" sections="//@tabs.0/@sections.152"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEnumeration">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleEnumeration">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Enumeration" />
</constraints>
</views>
<views name="SingleEnumerationLiteral" sections="//@tabs.0/@sections.153"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleEnumerationLiteral">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleEnumerationLiteral">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="EnumerationLiteral" />
</constraints>
</views>
<views name="MultipleEnumerationLiteral" sections="//@tabs.0/@sections.154"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleEnumerationLiteral">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleEnumerationLiteral">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="EnumerationLiteral" />
</constraints>
</views>
<views name="SingleInstanceSpecification" sections="//@tabs.0/@sections.155"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInstanceSpecification">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInstanceSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InstanceSpecification" />
</constraints>
</views>
<views name="MultipleInstanceSpecification" sections="//@tabs.0/@sections.156"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInstanceSpecification">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInstanceSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InstanceSpecification" />
</constraints>
</views>
<views name="SingleSlot" sections="//@tabs.0/@sections.157"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSlot">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSlot">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Slot" />
</constraints>
</views>
<views name="SinglePrimitiveType" sections="//@tabs.0/@sections.158"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePrimitiveType">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePrimitiveType">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="PrimitiveType" />
</constraints>
</views>
<views name="MultiplePrimitiveType" sections="//@tabs.0/@sections.159"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePrimitiveType">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePrimitiveType">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="PrimitiveType" />
</constraints>
</views>
<views name="SingleLiteralSpecification" sections="//@tabs.0/@sections.160"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLiteralSpecification">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLiteralSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralSpecification" />
</constraints>
</views>
<views name="MultipleLiteralSpecification" sections="//@tabs.0/@sections.161"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLiteralSpecification">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLiteralSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralSpecification" />
</constraints>
</views>
<views name="SingleLiteralInteger" sections="//@tabs.0/@sections.162"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLiteralInteger">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLiteralInteger">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralInteger" />
</constraints>
</views>
<views name="MultipleLiteralInteger" sections="//@tabs.0/@sections.163"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLiteralInteger">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLiteralInteger">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralInteger" />
</constraints>
</views>
<views name="SingleLiteralString" sections="//@tabs.0/@sections.164"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLiteralString">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLiteralString">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralString" />
</constraints>
</views>
<views name="MultipleLiteralString" sections="//@tabs.0/@sections.165"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLiteralString">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLiteralString">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralString" />
</constraints>
</views>
<views name="SingleLiteralBoolean" sections="//@tabs.0/@sections.166"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLiteralBoolean">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLiteralBoolean">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralBoolean" />
</constraints>
</views>
<views name="MultipleLiteralBoolean" sections="//@tabs.0/@sections.167"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLiteralBoolean">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLiteralBoolean">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralBoolean" />
</constraints>
</views>
<views name="SingleLiteralNull" sections="//@tabs.0/@sections.168"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLiteralNull">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLiteralNull">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralNull" />
</constraints>
</views>
<views name="MultipleLiteralNull" sections="//@tabs.0/@sections.169"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLiteralNull">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLiteralNull">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralNull" />
</constraints>
</views>
<views name="SingleInstanceValue" sections="//@tabs.0/@sections.170"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInstanceValue">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInstanceValue">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InstanceValue" />
</constraints>
</views>
<views name="MultipleInstanceValue" sections="//@tabs.0/@sections.171"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInstanceValue">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInstanceValue">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InstanceValue" />
</constraints>
</views>
<views name="SingleLiteralUnlimitedNatural" sections="//@tabs.0/@sections.172"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLiteralUnlimitedNatural">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLiteralUnlimitedNatural">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralUnlimitedNatural" />
</constraints>
</views>
<views name="MultipleLiteralUnlimitedNatural" sections="//@tabs.0/@sections.173"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLiteralUnlimitedNatural">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLiteralUnlimitedNatural">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LiteralUnlimitedNatural" />
</constraints>
</views>
<views name="SingleOpaqueBehavior" sections="//@tabs.0/@sections.174"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleOpaqueBehavior">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleOpaqueBehavior">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="OpaqueBehavior" />
</constraints>
</views>
<views name="MultipleOpaqueBehavior" sections="//@tabs.0/@sections.175"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleOpaqueBehavior">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleOpaqueBehavior">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="OpaqueBehavior" />
</constraints>
</views>
<views name="SingleFunctionBehavior" sections="//@tabs.0/@sections.176"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFunctionBehavior">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFunctionBehavior">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="FunctionBehavior" />
</constraints>
</views>
<views name="MultipleFunctionBehavior" sections="//@tabs.0/@sections.177"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFunctionBehavior">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFunctionBehavior">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="FunctionBehavior" />
</constraints>
</views>
<views name="SingleOpaqueAction" sections="//@tabs.0/@sections.178"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleOpaqueAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleOpaqueAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="OpaqueAction" />
</constraints>
</views>
<views name="MultipleOpaqueAction" sections="//@tabs.0/@sections.179"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleOpaqueAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleOpaqueAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="OpaqueAction" />
</constraints>
</views>
<views name="SingleAction" sections="//@tabs.0/@sections.180"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Action" />
</constraints>
</views>
<views name="MultipleAction" sections="//@tabs.0/@sections.181"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Action" />
</constraints>
</views>
<views name="SingleExecutableNode" sections="//@tabs.0/@sections.182"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleExecutableNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleExecutableNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExecutableNode" />
</constraints>
</views>
<views name="MultipleExecutableNode" sections="//@tabs.0/@sections.183"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleExecutableNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleExecutableNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExecutableNode" />
</constraints>
</views>
<views name="SingleActivityNode" sections="//@tabs.0/@sections.184"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleActivityNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleActivityNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActivityNode" />
</constraints>
</views>
<views name="MultipleActivityNode" sections="//@tabs.0/@sections.185"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleActivityNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleActivityNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActivityNode" />
</constraints>
</views>
<views name="SingleStructuredActivityNode" sections="//@tabs.0/@sections.186"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStructuredActivityNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStructuredActivityNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StructuredActivityNode" />
</constraints>
</views>
<views name="MultipleStructuredActivityNode" sections="//@tabs.0/@sections.187"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStructuredActivityNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStructuredActivityNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StructuredActivityNode" />
</constraints>
</views>
<views name="SingleActivity" sections="//@tabs.0/@sections.188"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleActivity">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleActivity">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Activity" />
</constraints>
</views>
<views name="MultipleActivity" sections="//@tabs.0/@sections.189"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleActivity">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleActivity">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Activity" />
</constraints>
</views>
<views name="SingleVariable" sections="//@tabs.0/@sections.190"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleVariable">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleVariable">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Variable" />
</constraints>
</views>
<views name="MultipleVariable" sections="//@tabs.0/@sections.191"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleVariable">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleVariable">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Variable" />
</constraints>
</views>
<views name="SingleActivityEdge" sections="//@tabs.0/@sections.192"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleActivityEdge">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleActivityEdge">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActivityEdge" />
</constraints>
</views>
<views name="MultipleActivityEdge" sections="//@tabs.0/@sections.193"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleActivityEdge">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleActivityEdge">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActivityEdge" />
</constraints>
</views>
<views name="SingleActivityPartition" sections="//@tabs.0/@sections.194"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleActivityPartition">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleActivityPartition">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActivityPartition" />
</constraints>
</views>
<views name="MultipleActivityPartition" sections="//@tabs.0/@sections.195"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleActivityPartition">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleActivityPartition">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActivityPartition" />
</constraints>
</views>
<views name="SingleInterruptibleActivityRegion" sections="//@tabs.0/@sections.196"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleInterruptibleActivityRegion">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InterruptibleActivityRegion" />
</constraints>
</views>
<views name="SingleExceptionHandler" sections="//@tabs.0/@sections.197"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleExceptionHandler">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleExceptionHandler">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExceptionHandler" />
</constraints>
</views>
<views name="SingleObjectNode" sections="//@tabs.0/@sections.198"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleObjectNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleObjectNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ObjectNode" />
</constraints>
</views>
<views name="MultipleObjectNode" sections="//@tabs.0/@sections.199"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleObjectNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleObjectNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ObjectNode" />
</constraints>
</views>
<views name="SingleOutputPin" sections="//@tabs.0/@sections.200"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleOutputPin">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleOutputPin">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="OutputPin" />
</constraints>
</views>
<views name="MultipleOutputPin" sections="//@tabs.0/@sections.201"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleOutputPin">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleOutputPin">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="OutputPin" />
</constraints>
</views>
<views name="SinglePin" sections="//@tabs.0/@sections.202"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePin">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePin">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Pin" />
</constraints>
</views>
<views name="MultiplePin" sections="//@tabs.0/@sections.203"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePin">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePin">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Pin" />
</constraints>
</views>
<views name="SingleInputPin" sections="//@tabs.0/@sections.204"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInputPin">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInputPin">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InputPin" />
</constraints>
</views>
<views name="MultipleInputPin" sections="//@tabs.0/@sections.205"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInputPin">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInputPin">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InputPin" />
</constraints>
</views>
<views name="SingleCallAction" sections="//@tabs.0/@sections.206"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCallAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCallAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CallAction" />
</constraints>
</views>
<views name="MultipleCallAction" sections="//@tabs.0/@sections.207"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCallAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCallAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CallAction" />
</constraints>
</views>
<views name="SingleInvocationAction" sections="//@tabs.0/@sections.208"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInvocationAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInvocationAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InvocationAction" />
</constraints>
</views>
<views name="MultipleInvocationAction" sections="//@tabs.0/@sections.209"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInvocationAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInvocationAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InvocationAction" />
</constraints>
</views>
<views name="SingleSendSignalAction" sections="//@tabs.0/@sections.210"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSendSignalAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSendSignalAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="SendSignalAction" />
</constraints>
</views>
<views name="MultipleSendSignalAction" sections="//@tabs.0/@sections.211"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSendSignalAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleSendSignalAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="SendSignalAction" />
</constraints>
</views>
<views name="SingleCallOperationAction" sections="//@tabs.0/@sections.212"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCallOperationAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCallOperationAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CallOperationAction" />
</constraints>
</views>
<views name="MultipleCallOperationAction" sections="//@tabs.0/@sections.213"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCallOperationAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCallOperationAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CallOperationAction" />
</constraints>
</views>
<views name="SingleCallBehaviorAction" sections="//@tabs.0/@sections.214"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCallBehaviorAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCallBehaviorAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CallBehaviorAction" />
</constraints>
</views>
<views name="MultipleCallBehaviorAction" sections="//@tabs.0/@sections.215"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCallBehaviorAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCallBehaviorAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CallBehaviorAction" />
</constraints>
</views>
<views name="SingleSequenceNode" sections="//@tabs.0/@sections.216"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSequenceNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSequenceNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="SequenceNode" />
</constraints>
</views>
<views name="MultipleSequenceNode" sections="//@tabs.0/@sections.217"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSequenceNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleSequenceNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="SequenceNode" />
</constraints>
</views>
<views name="SingleControlNode" sections="//@tabs.0/@sections.218"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleControlNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleControlNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ControlNode" />
</constraints>
</views>
<views name="MultipleControlNode" sections="//@tabs.0/@sections.219"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleControlNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleControlNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ControlNode" />
</constraints>
</views>
<views name="SingleControlFlow" sections="//@tabs.0/@sections.220"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleControlFlow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleControlFlow">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ControlFlow" />
</constraints>
</views>
<views name="MultipleControlFlow" sections="//@tabs.0/@sections.221"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleControlFlow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleControlFlow">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ControlFlow" />
</constraints>
</views>
<views name="SingleInitialNode" sections="//@tabs.0/@sections.222"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInitialNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInitialNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InitialNode" />
</constraints>
</views>
<views name="MultipleInitialNode" sections="//@tabs.0/@sections.223"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInitialNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInitialNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InitialNode" />
</constraints>
</views>
<views name="SingleActivityParameterNode" sections="//@tabs.0/@sections.224"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleActivityParameterNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleActivityParameterNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActivityParameterNode" />
</constraints>
</views>
<views name="MultipleActivityParameterNode" sections="//@tabs.0/@sections.225"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleActivityParameterNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleActivityParameterNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActivityParameterNode" />
</constraints>
</views>
<views name="SingleValuePin" sections="//@tabs.0/@sections.226"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleValuePin">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleValuePin">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ValuePin" />
</constraints>
</views>
<views name="MultipleValuePin" sections="//@tabs.0/@sections.227"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleValuePin">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleValuePin">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ValuePin" />
</constraints>
</views>
<views name="SingleMessage" sections="//@tabs.0/@sections.228"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMessage">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleMessage">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Message" />
</constraints>
</views>
<views name="MultipleMessage" sections="//@tabs.0/@sections.229"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMessage">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleMessage">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Message" />
</constraints>
</views>
<views name="SingleMessageEnd" sections="//@tabs.0/@sections.230"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMessageEnd">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleMessageEnd">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="MessageEnd" />
</constraints>
</views>
<views name="MultipleMessageEnd" sections="//@tabs.0/@sections.231"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMessageEnd">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleMessageEnd">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="MessageEnd" />
</constraints>
</views>
<views name="SingleInteraction" sections="//@tabs.0/@sections.232"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInteraction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInteraction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Interaction" />
</constraints>
</views>
<views name="MultipleInteraction" sections="//@tabs.0/@sections.233"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInteraction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInteraction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Interaction" />
</constraints>
</views>
<views name="SingleInteractionFragment" sections="//@tabs.0/@sections.234"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInteractionFragment">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInteractionFragment">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InteractionFragment" />
</constraints>
</views>
<views name="MultipleInteractionFragment" sections="//@tabs.0/@sections.235"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInteractionFragment">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInteractionFragment">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InteractionFragment" />
</constraints>
</views>
<views name="SingleLifeline" sections="//@tabs.0/@sections.236"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLifeline">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLifeline">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Lifeline" />
</constraints>
</views>
<views name="MultipleLifeline" sections="//@tabs.0/@sections.237"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLifeline">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLifeline">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Lifeline" />
</constraints>
</views>
<views name="SinglePartDecomposition" sections="//@tabs.0/@sections.238"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSinglePartDecomposition">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSinglePartDecomposition">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="PartDecomposition" />
</constraints>
</views>
<views name="MultiplePartDecomposition" sections="//@tabs.0/@sections.239"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultiplePartDecomposition">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultiplePartDecomposition">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="PartDecomposition" />
</constraints>
</views>
<views name="SingleInteractionUse" sections="//@tabs.0/@sections.240"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInteractionUse">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInteractionUse">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InteractionUse" />
</constraints>
</views>
<views name="MultipleInteractionUse" sections="//@tabs.0/@sections.241"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInteractionUse">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInteractionUse">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InteractionUse" />
</constraints>
</views>
<views name="SingleGate" sections="//@tabs.0/@sections.242"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleGate">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleGate">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Gate" />
</constraints>
</views>
<views name="MultipleGate" sections="//@tabs.0/@sections.243"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleGate">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleGate">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Gate" />
</constraints>
</views>
<views name="SingleGeneralOrdering" sections="//@tabs.0/@sections.244"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleGeneralOrdering">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleGeneralOrdering">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="GeneralOrdering" />
</constraints>
</views>
<views name="MultipleGeneralOrdering" sections="//@tabs.0/@sections.245"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleGeneralOrdering">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleGeneralOrdering">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="GeneralOrdering" />
</constraints>
</views>
<views name="SingleOccurrenceSpecification" sections="//@tabs.0/@sections.246"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleOccurrenceSpecification">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleOccurrenceSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="OccurrenceSpecification" />
</constraints>
</views>
<views name="MultipleOccurrenceSpecification" sections="//@tabs.0/@sections.247"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleOccurrenceSpecification">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleOccurrenceSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="OccurrenceSpecification" />
</constraints>
</views>
<views name="SingleInteractionOperand" sections="//@tabs.0/@sections.248"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInteractionOperand">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInteractionOperand">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InteractionOperand" />
</constraints>
</views>
<views name="MultipleInteractionOperand" sections="//@tabs.0/@sections.249"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInteractionOperand">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInteractionOperand">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InteractionOperand" />
</constraints>
</views>
<views name="SingleInteractionConstraint" sections="//@tabs.0/@sections.250"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInteractionConstraint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInteractionConstraint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InteractionConstraint" />
</constraints>
</views>
<views name="MultipleInteractionConstraint" sections="//@tabs.0/@sections.251"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInteractionConstraint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInteractionConstraint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InteractionConstraint" />
</constraints>
</views>
<views name="SingleExecutionSpecification" sections="//@tabs.0/@sections.252"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleExecutionSpecification">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleExecutionSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExecutionSpecification" />
</constraints>
</views>
<views name="MultipleExecutionSpecification" sections="//@tabs.0/@sections.253"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleExecutionSpecification">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleExecutionSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExecutionSpecification" />
</constraints>
</views>
<views name="SingleStateInvariant" sections="//@tabs.0/@sections.254"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStateInvariant">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStateInvariant">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StateInvariant" />
</constraints>
</views>
<views name="MultipleStateInvariant" sections="//@tabs.0/@sections.255"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStateInvariant">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStateInvariant">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StateInvariant" />
</constraints>
</views>
<views name="SingleActionExecutionSpecification" sections="//@tabs.0/@sections.256"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleActionExecutionSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActionExecutionSpecification" />
</constraints>
</views>
<views name="MultipleActionExecutionSpecification" sections="//@tabs.0/@sections.257"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleActionExecutionSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActionExecutionSpecification" />
</constraints>
</views>
<views name="SingleBehaviorExecutionSpecification" sections="//@tabs.0/@sections.258"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleBehaviorExecutionSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="BehaviorExecutionSpecification" />
</constraints>
</views>
<views name="MultipleBehaviorExecutionSpecification" sections="//@tabs.0/@sections.259"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleBehaviorExecutionSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="BehaviorExecutionSpecification" />
</constraints>
</views>
<views name="SingleMessageEvent" sections="//@tabs.0/@sections.260"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMessageEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleMessageEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="MessageEvent" />
</constraints>
</views>
<views name="MultipleMessageEvent" sections="//@tabs.0/@sections.261"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMessageEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleMessageEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="MessageEvent" />
</constraints>
</views>
<views name="SingleMessageOccurrenceSpecification" sections="//@tabs.0/@sections.262"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleMessageOccurrenceSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="MessageOccurrenceSpecification" />
</constraints>
</views>
<views name="MultipleMessageOccurrenceSpecification" sections="//@tabs.0/@sections.263"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleMessageOccurrenceSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="MessageOccurrenceSpecification" />
</constraints>
</views>
<views name="SingleExecutionOccurrenceSpecification" sections="//@tabs.0/@sections.264"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleExecutionOccurrenceSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExecutionOccurrenceSpecification" />
</constraints>
</views>
<views name="MultipleExecutionOccurrenceSpecification" sections="//@tabs.0/@sections.265"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleExecutionOccurrenceSpecification">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExecutionOccurrenceSpecification" />
</constraints>
</views>
<views name="SingleActor" sections="//@tabs.0/@sections.266"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleActor">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleActor">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Actor" />
</constraints>
</views>
<views name="MultipleActor" sections="//@tabs.0/@sections.267"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleActor">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleActor">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Actor" />
</constraints>
</views>
<views name="SingleCallEvent" sections="//@tabs.0/@sections.268"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCallEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCallEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CallEvent" />
</constraints>
</views>
<views name="MultipleCallEvent" sections="//@tabs.0/@sections.269"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCallEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCallEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CallEvent" />
</constraints>
</views>
<views name="SingleChangeEvent" sections="//@tabs.0/@sections.270"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleChangeEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleChangeEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ChangeEvent" />
</constraints>
</views>
<views name="MultipleChangeEvent" sections="//@tabs.0/@sections.271"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleChangeEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleChangeEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ChangeEvent" />
</constraints>
</views>
<views name="SingleAnyReceiveEvent" sections="//@tabs.0/@sections.272"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAnyReceiveEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAnyReceiveEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AnyReceiveEvent" />
</constraints>
</views>
<views name="MultipleAnyReceiveEvent" sections="//@tabs.0/@sections.273"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAnyReceiveEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAnyReceiveEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AnyReceiveEvent" />
</constraints>
</views>
<views name="SingleForkNode" sections="//@tabs.0/@sections.274"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleForkNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleForkNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ForkNode" />
</constraints>
</views>
<views name="MultipleForkNode" sections="//@tabs.0/@sections.275"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleForkNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleForkNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ForkNode" />
</constraints>
</views>
<views name="SingleFlowFinalNode" sections="//@tabs.0/@sections.276"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFlowFinalNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFlowFinalNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="FlowFinalNode" />
</constraints>
</views>
<views name="MultipleFlowFinalNode" sections="//@tabs.0/@sections.277"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFlowFinalNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFlowFinalNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="FlowFinalNode" />
</constraints>
</views>
<views name="SingleFinalNode" sections="//@tabs.0/@sections.278"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFinalNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFinalNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="FinalNode" />
</constraints>
</views>
<views name="MultipleFinalNode" sections="//@tabs.0/@sections.279"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFinalNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFinalNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="FinalNode" />
</constraints>
</views>
<views name="SingleCentralBufferNode" sections="//@tabs.0/@sections.280"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCentralBufferNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCentralBufferNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CentralBufferNode" />
</constraints>
</views>
<views name="MultipleCentralBufferNode" sections="//@tabs.0/@sections.281"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCentralBufferNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCentralBufferNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CentralBufferNode" />
</constraints>
</views>
<views name="SingleMergeNode" sections="//@tabs.0/@sections.282"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleMergeNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleMergeNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="MergeNode" />
</constraints>
</views>
<views name="MultipleMergeNode" sections="//@tabs.0/@sections.283"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleMergeNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleMergeNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="MergeNode" />
</constraints>
</views>
<views name="SingleDecisionNode" sections="//@tabs.0/@sections.284"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDecisionNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDecisionNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DecisionNode" />
</constraints>
</views>
<views name="MultipleDecisionNode" sections="//@tabs.0/@sections.285"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDecisionNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDecisionNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DecisionNode" />
</constraints>
</views>
<views name="SingleObjectFlow" sections="//@tabs.0/@sections.286"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleObjectFlow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleObjectFlow">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ObjectFlow" />
</constraints>
</views>
<views name="MultipleObjectFlow" sections="//@tabs.0/@sections.287"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleObjectFlow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleObjectFlow">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ObjectFlow" />
</constraints>
</views>
<views name="SingleActivityFinalNode" sections="//@tabs.0/@sections.288"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleActivityFinalNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleActivityFinalNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActivityFinalNode" />
</constraints>
</views>
<views name="MultipleActivityFinalNode" sections="//@tabs.0/@sections.289"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleActivityFinalNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleActivityFinalNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActivityFinalNode" />
</constraints>
</views>
<views name="SingleComponentRealization" sections="//@tabs.0/@sections.290"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleComponentRealization">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleComponentRealization">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ComponentRealization" />
</constraints>
</views>
<views name="MultipleComponentRealization" sections="//@tabs.0/@sections.291"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleComponentRealization">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleComponentRealization">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ComponentRealization" />
</constraints>
</views>
<views name="SingleComponent" sections="//@tabs.0/@sections.292"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleComponent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleComponent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Component" />
</constraints>
</views>
<views name="MultipleComponent" sections="//@tabs.0/@sections.293"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleComponent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleComponent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Component" />
</constraints>
</views>
<views name="SingleNode" sections="//@tabs.0/@sections.294"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Node" />
</constraints>
</views>
<views name="MultipleNode" sections="//@tabs.0/@sections.295"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Node" />
</constraints>
</views>
<views name="SingleCommunicationPath" sections="//@tabs.0/@sections.296"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCommunicationPath">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCommunicationPath">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CommunicationPath" />
</constraints>
</views>
<views name="MultipleCommunicationPath" sections="//@tabs.0/@sections.297"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCommunicationPath">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCommunicationPath">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CommunicationPath" />
</constraints>
</views>
<views name="SingleDevice" sections="//@tabs.0/@sections.298"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDevice">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDevice">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Device" />
</constraints>
</views>
<views name="MultipleDevice" sections="//@tabs.0/@sections.299"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDevice">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDevice">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Device" />
</constraints>
</views>
<views name="SingleExecutionEnvironment" sections="//@tabs.0/@sections.300"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleExecutionEnvironment">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleExecutionEnvironment">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExecutionEnvironment" />
</constraints>
</views>
<views name="MultipleExecutionEnvironment" sections="//@tabs.0/@sections.301"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleExecutionEnvironment">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleExecutionEnvironment">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExecutionEnvironment" />
</constraints>
</views>
<views name="SingleCombinedFragment" sections="//@tabs.0/@sections.302"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCombinedFragment">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCombinedFragment">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CombinedFragment" />
</constraints>
</views>
<views name="MultipleCombinedFragment" sections="//@tabs.0/@sections.303"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCombinedFragment">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCombinedFragment">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CombinedFragment" />
</constraints>
</views>
<views name="SingleContinuation" sections="//@tabs.0/@sections.304"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleContinuation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleContinuation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Continuation" />
</constraints>
</views>
<views name="MultipleContinuation" sections="//@tabs.0/@sections.305"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleContinuation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleContinuation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Continuation" />
</constraints>
</views>
<views name="SingleConsiderIgnoreFragment" sections="//@tabs.0/@sections.306"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConsiderIgnoreFragment">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConsiderIgnoreFragment">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ConsiderIgnoreFragment" />
</constraints>
</views>
<views name="MultipleConsiderIgnoreFragment" sections="//@tabs.0/@sections.307"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConsiderIgnoreFragment">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConsiderIgnoreFragment">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ConsiderIgnoreFragment" />
</constraints>
</views>
<views name="SingleCreateObjectAction" sections="//@tabs.0/@sections.308"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCreateObjectAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCreateObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CreateObjectAction" />
</constraints>
</views>
<views name="MultipleCreateObjectAction" sections="//@tabs.0/@sections.309"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCreateObjectAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCreateObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CreateObjectAction" />
</constraints>
</views>
<views name="SingleDestroyObjectAction" sections="//@tabs.0/@sections.310"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDestroyObjectAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDestroyObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DestroyObjectAction" />
</constraints>
</views>
<views name="MultipleDestroyObjectAction" sections="//@tabs.0/@sections.311"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDestroyObjectAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDestroyObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DestroyObjectAction" />
</constraints>
</views>
<views name="SingleTestIdentityAction" sections="//@tabs.0/@sections.312"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTestIdentityAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTestIdentityAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TestIdentityAction" />
</constraints>
</views>
<views name="MultipleTestIdentityAction" sections="//@tabs.0/@sections.313"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTestIdentityAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTestIdentityAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TestIdentityAction" />
</constraints>
</views>
<views name="SingleReadSelfAction" sections="//@tabs.0/@sections.314"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReadSelfAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReadSelfAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadSelfAction" />
</constraints>
</views>
<views name="MultipleReadSelfAction" sections="//@tabs.0/@sections.315"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReadSelfAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReadSelfAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadSelfAction" />
</constraints>
</views>
<views name="SingleStructuralFeatureAction" sections="//@tabs.0/@sections.316"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStructuralFeatureAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStructuralFeatureAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StructuralFeatureAction" />
</constraints>
</views>
<views name="MultipleStructuralFeatureAction" sections="//@tabs.0/@sections.317"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleStructuralFeatureAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleStructuralFeatureAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StructuralFeatureAction" />
</constraints>
</views>
<views name="SingleReadStructuralFeatureAction" sections="//@tabs.0/@sections.318"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleReadStructuralFeatureAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadStructuralFeatureAction" />
</constraints>
</views>
<views name="MultipleReadStructuralFeatureAction" sections="//@tabs.0/@sections.319"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleReadStructuralFeatureAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadStructuralFeatureAction" />
</constraints>
</views>
<views name="SingleWriteStructuralFeatureAction" sections="//@tabs.0/@sections.320"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleWriteStructuralFeatureAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="WriteStructuralFeatureAction" />
</constraints>
</views>
<views name="MultipleWriteStructuralFeatureAction" sections="//@tabs.0/@sections.321"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleWriteStructuralFeatureAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="WriteStructuralFeatureAction" />
</constraints>
</views>
<views name="SingleClearStructuralFeatureAction" sections="//@tabs.0/@sections.322"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleClearStructuralFeatureAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ClearStructuralFeatureAction" />
</constraints>
</views>
<views name="MultipleClearStructuralFeatureAction" sections="//@tabs.0/@sections.323"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleClearStructuralFeatureAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ClearStructuralFeatureAction" />
</constraints>
</views>
<views name="SingleRemoveStructuralFeatureValueAction" sections="//@tabs.0/@sections.324"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleRemoveStructuralFeatureValueAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="RemoveStructuralFeatureValueAction" />
</constraints>
</views>
<views name="MultipleRemoveStructuralFeatureValueAction"
sections="//@tabs.0/@sections.325" elementMultiplicity="-1"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleRemoveStructuralFeatureValueAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="RemoveStructuralFeatureValueAction" />
</constraints>
</views>
<views name="SingleAddStructuralFeatureValueAction" sections="//@tabs.0/@sections.326"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleAddStructuralFeatureValueAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AddStructuralFeatureValueAction" />
</constraints>
</views>
<views name="MultipleAddStructuralFeatureValueAction" sections="//@tabs.0/@sections.327"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleAddStructuralFeatureValueAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AddStructuralFeatureValueAction" />
</constraints>
</views>
<views name="SingleLinkAction" sections="//@tabs.0/@sections.328"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLinkAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLinkAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LinkAction" />
</constraints>
</views>
<views name="MultipleLinkAction" sections="//@tabs.0/@sections.329"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLinkAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLinkAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LinkAction" />
</constraints>
</views>
<views name="SingleLinkEndData" sections="//@tabs.0/@sections.330"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLinkEndData">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLinkEndData">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LinkEndData" />
</constraints>
</views>
<views name="SingleQualifierValue" sections="//@tabs.0/@sections.331"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleQualifierValue">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleQualifierValue">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="QualifierValue" />
</constraints>
</views>
<views name="SingleReadLinkAction" sections="//@tabs.0/@sections.332"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReadLinkAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReadLinkAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadLinkAction" />
</constraints>
</views>
<views name="MultipleReadLinkAction" sections="//@tabs.0/@sections.333"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReadLinkAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReadLinkAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadLinkAction" />
</constraints>
</views>
<views name="SingleLinkEndCreationData" sections="//@tabs.0/@sections.334"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLinkEndCreationData">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLinkEndCreationData">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LinkEndCreationData" />
</constraints>
</views>
<views name="MultipleLinkEndCreationData" sections="//@tabs.0/@sections.335"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLinkEndCreationData">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLinkEndCreationData">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LinkEndCreationData" />
</constraints>
</views>
<views name="SingleCreateLinkAction" sections="//@tabs.0/@sections.336"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCreateLinkAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCreateLinkAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CreateLinkAction" />
</constraints>
</views>
<views name="MultipleCreateLinkAction" sections="//@tabs.0/@sections.337"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCreateLinkAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCreateLinkAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CreateLinkAction" />
</constraints>
</views>
<views name="SingleWriteLinkAction" sections="//@tabs.0/@sections.338"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleWriteLinkAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleWriteLinkAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="WriteLinkAction" />
</constraints>
</views>
<views name="MultipleWriteLinkAction" sections="//@tabs.0/@sections.339"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleWriteLinkAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleWriteLinkAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="WriteLinkAction" />
</constraints>
</views>
<views name="SingleDestroyLinkAction" sections="//@tabs.0/@sections.340"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDestroyLinkAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDestroyLinkAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DestroyLinkAction" />
</constraints>
</views>
<views name="MultipleDestroyLinkAction" sections="//@tabs.0/@sections.341"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDestroyLinkAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDestroyLinkAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DestroyLinkAction" />
</constraints>
</views>
<views name="SingleLinkEndDestructionData" sections="//@tabs.0/@sections.342"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLinkEndDestructionData">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLinkEndDestructionData">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LinkEndDestructionData" />
</constraints>
</views>
<views name="MultipleLinkEndDestructionData" sections="//@tabs.0/@sections.343"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLinkEndDestructionData">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLinkEndDestructionData">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LinkEndDestructionData" />
</constraints>
</views>
<views name="SingleClearAssociationAction" sections="//@tabs.0/@sections.344"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleClearAssociationAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleClearAssociationAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ClearAssociationAction" />
</constraints>
</views>
<views name="MultipleClearAssociationAction" sections="//@tabs.0/@sections.345"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleClearAssociationAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleClearAssociationAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ClearAssociationAction" />
</constraints>
</views>
<views name="SingleBroadcastSignalAction" sections="//@tabs.0/@sections.346"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleBroadcastSignalAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleBroadcastSignalAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="BroadcastSignalAction" />
</constraints>
</views>
<views name="MultipleBroadcastSignalAction" sections="//@tabs.0/@sections.347"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleBroadcastSignalAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleBroadcastSignalAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="BroadcastSignalAction" />
</constraints>
</views>
<views name="SingleSendObjectAction" sections="//@tabs.0/@sections.348"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleSendObjectAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleSendObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="SendObjectAction" />
</constraints>
</views>
<views name="MultipleSendObjectAction" sections="//@tabs.0/@sections.349"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleSendObjectAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleSendObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="SendObjectAction" />
</constraints>
</views>
<views name="SingleValueSpecificationAction" sections="//@tabs.0/@sections.350"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleValueSpecificationAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleValueSpecificationAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ValueSpecificationAction" />
</constraints>
</views>
<views name="MultipleValueSpecificationAction" sections="//@tabs.0/@sections.351"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleValueSpecificationAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleValueSpecificationAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ValueSpecificationAction" />
</constraints>
</views>
<views name="SingleTimeExpression" sections="//@tabs.0/@sections.352"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTimeExpression">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTimeExpression">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TimeExpression" />
</constraints>
</views>
<views name="MultipleTimeExpression" sections="//@tabs.0/@sections.353"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTimeExpression">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTimeExpression">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TimeExpression" />
</constraints>
</views>
<views name="SingleObservation" sections="//@tabs.0/@sections.354"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleObservation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleObservation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Observation" />
</constraints>
</views>
<views name="MultipleObservation" sections="//@tabs.0/@sections.355"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleObservation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleObservation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Observation" />
</constraints>
</views>
<views name="SingleDuration" sections="//@tabs.0/@sections.356"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDuration">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDuration">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Duration" />
</constraints>
</views>
<views name="MultipleDuration" sections="//@tabs.0/@sections.357"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDuration">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDuration">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Duration" />
</constraints>
</views>
<views name="SingleDurationInterval" sections="//@tabs.0/@sections.358"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDurationInterval">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDurationInterval">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DurationInterval" />
</constraints>
</views>
<views name="MultipleDurationInterval" sections="//@tabs.0/@sections.359"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDurationInterval">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDurationInterval">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DurationInterval" />
</constraints>
</views>
<views name="SingleInterval" sections="//@tabs.0/@sections.360"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInterval">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInterval">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Interval" />
</constraints>
</views>
<views name="MultipleInterval" sections="//@tabs.0/@sections.361"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInterval">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInterval">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Interval" />
</constraints>
</views>
<views name="SingleTimeConstraint" sections="//@tabs.0/@sections.362"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTimeConstraint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTimeConstraint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TimeConstraint" />
</constraints>
</views>
<views name="MultipleTimeConstraint" sections="//@tabs.0/@sections.363"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTimeConstraint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTimeConstraint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TimeConstraint" />
</constraints>
</views>
<views name="SingleIntervalConstraint" sections="//@tabs.0/@sections.364"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleIntervalConstraint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleIntervalConstraint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="IntervalConstraint" />
</constraints>
</views>
<views name="MultipleIntervalConstraint" sections="//@tabs.0/@sections.365"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleIntervalConstraint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleIntervalConstraint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="IntervalConstraint" />
</constraints>
</views>
<views name="SingleTimeInterval" sections="//@tabs.0/@sections.366"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTimeInterval">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTimeInterval">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TimeInterval" />
</constraints>
</views>
<views name="MultipleTimeInterval" sections="//@tabs.0/@sections.367"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTimeInterval">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTimeInterval">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TimeInterval" />
</constraints>
</views>
<views name="SingleDurationConstraint" sections="//@tabs.0/@sections.368"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDurationConstraint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDurationConstraint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DurationConstraint" />
</constraints>
</views>
<views name="MultipleDurationConstraint" sections="//@tabs.0/@sections.369"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDurationConstraint">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDurationConstraint">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DurationConstraint" />
</constraints>
</views>
<views name="SingleTimeObservation" sections="//@tabs.0/@sections.370"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTimeObservation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTimeObservation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TimeObservation" />
</constraints>
</views>
<views name="MultipleTimeObservation" sections="//@tabs.0/@sections.371"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTimeObservation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTimeObservation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TimeObservation" />
</constraints>
</views>
<views name="SingleDurationObservation" sections="//@tabs.0/@sections.372"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDurationObservation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDurationObservation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DurationObservation" />
</constraints>
</views>
<views name="MultipleDurationObservation" sections="//@tabs.0/@sections.373"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDurationObservation">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDurationObservation">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DurationObservation" />
</constraints>
</views>
<views name="SingleFinalState" sections="//@tabs.0/@sections.374"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleFinalState">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleFinalState">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="FinalState" />
</constraints>
</views>
<views name="MultipleFinalState" sections="//@tabs.0/@sections.375"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleFinalState">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleFinalState">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="FinalState" />
</constraints>
</views>
<views name="SingleTimeEvent" sections="//@tabs.0/@sections.376"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleTimeEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleTimeEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TimeEvent" />
</constraints>
</views>
<views name="MultipleTimeEvent" sections="//@tabs.0/@sections.377"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleTimeEvent">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleTimeEvent">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="TimeEvent" />
</constraints>
</views>
<views name="SingleVariableAction" sections="//@tabs.0/@sections.378"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleVariableAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleVariableAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="VariableAction" />
</constraints>
</views>
<views name="MultipleVariableAction" sections="//@tabs.0/@sections.379"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleVariableAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleVariableAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="VariableAction" />
</constraints>
</views>
<views name="SingleReadVariableAction" sections="//@tabs.0/@sections.380"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReadVariableAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReadVariableAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadVariableAction" />
</constraints>
</views>
<views name="MultipleReadVariableAction" sections="//@tabs.0/@sections.381"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReadVariableAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReadVariableAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadVariableAction" />
</constraints>
</views>
<views name="SingleWriteVariableAction" sections="//@tabs.0/@sections.382"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleWriteVariableAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleWriteVariableAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="WriteVariableAction" />
</constraints>
</views>
<views name="MultipleWriteVariableAction" sections="//@tabs.0/@sections.383"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleWriteVariableAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleWriteVariableAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="WriteVariableAction" />
</constraints>
</views>
<views name="SingleClearVariableAction" sections="//@tabs.0/@sections.384"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleClearVariableAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleClearVariableAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ClearVariableAction" />
</constraints>
</views>
<views name="MultipleClearVariableAction" sections="//@tabs.0/@sections.385"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleClearVariableAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleClearVariableAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ClearVariableAction" />
</constraints>
</views>
<views name="SingleAddVariableValueAction" sections="//@tabs.0/@sections.386"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAddVariableValueAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAddVariableValueAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AddVariableValueAction" />
</constraints>
</views>
<views name="MultipleAddVariableValueAction" sections="//@tabs.0/@sections.387"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAddVariableValueAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAddVariableValueAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AddVariableValueAction" />
</constraints>
</views>
<views name="SingleRemoveVariableValueAction" sections="//@tabs.0/@sections.388"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRemoveVariableValueAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRemoveVariableValueAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="RemoveVariableValueAction" />
</constraints>
</views>
<views name="MultipleRemoveVariableValueAction" sections="//@tabs.0/@sections.389"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleRemoveVariableValueAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="RemoveVariableValueAction" />
</constraints>
</views>
<views name="SingleRaiseExceptionAction" sections="//@tabs.0/@sections.390"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleRaiseExceptionAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleRaiseExceptionAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="RaiseExceptionAction" />
</constraints>
</views>
<views name="MultipleRaiseExceptionAction" sections="//@tabs.0/@sections.391"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleRaiseExceptionAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleRaiseExceptionAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="RaiseExceptionAction" />
</constraints>
</views>
<views name="SingleActionInputPin" sections="//@tabs.0/@sections.392"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleActionInputPin">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleActionInputPin">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActionInputPin" />
</constraints>
</views>
<views name="MultipleActionInputPin" sections="//@tabs.0/@sections.393"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleActionInputPin">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleActionInputPin">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ActionInputPin" />
</constraints>
</views>
<views name="SingleInformationItem" sections="//@tabs.0/@sections.394"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInformationItem">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInformationItem">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InformationItem" />
</constraints>
</views>
<views name="MultipleInformationItem" sections="//@tabs.0/@sections.395"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInformationItem">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInformationItem">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InformationItem" />
</constraints>
</views>
<views name="SingleInformationFlow" sections="//@tabs.0/@sections.396"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleInformationFlow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleInformationFlow">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InformationFlow" />
</constraints>
</views>
<views name="MultipleInformationFlow" sections="//@tabs.0/@sections.397"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleInformationFlow">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleInformationFlow">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="InformationFlow" />
</constraints>
</views>
<views name="SingleReadExtentAction" sections="//@tabs.0/@sections.398"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReadExtentAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReadExtentAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadExtentAction" />
</constraints>
</views>
<views name="MultipleReadExtentAction" sections="//@tabs.0/@sections.399"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReadExtentAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReadExtentAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadExtentAction" />
</constraints>
</views>
<views name="SingleReclassifyObjectAction" sections="//@tabs.0/@sections.400"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReclassifyObjectAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReclassifyObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReclassifyObjectAction" />
</constraints>
</views>
<views name="MultipleReclassifyObjectAction" sections="//@tabs.0/@sections.401"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReclassifyObjectAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReclassifyObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReclassifyObjectAction" />
</constraints>
</views>
<views name="SingleReadIsClassifiedObjectAction" sections="//@tabs.0/@sections.402"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleReadIsClassifiedObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadIsClassifiedObjectAction" />
</constraints>
</views>
<views name="MultipleReadIsClassifiedObjectAction" sections="//@tabs.0/@sections.403"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleReadIsClassifiedObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadIsClassifiedObjectAction" />
</constraints>
</views>
<views name="SingleStartClassifierBehaviorAction" sections="//@tabs.0/@sections.404"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleStartClassifierBehaviorAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StartClassifierBehaviorAction" />
</constraints>
</views>
<views name="MultipleStartClassifierBehaviorAction" sections="//@tabs.0/@sections.405"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleStartClassifierBehaviorAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StartClassifierBehaviorAction" />
</constraints>
</views>
<views name="SingleReadLinkObjectEndAction" sections="//@tabs.0/@sections.406"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReadLinkObjectEndAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReadLinkObjectEndAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadLinkObjectEndAction" />
</constraints>
</views>
<views name="MultipleReadLinkObjectEndAction" sections="//@tabs.0/@sections.407"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReadLinkObjectEndAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReadLinkObjectEndAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadLinkObjectEndAction" />
</constraints>
</views>
<views name="SingleReadLinkObjectEndQualifierAction" sections="//@tabs.0/@sections.408"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isSingleReadLinkObjectEndQualifierAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadLinkObjectEndQualifierAction" />
</constraints>
</views>
<views name="MultipleReadLinkObjectEndQualifierAction" sections="//@tabs.0/@sections.409"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleReadLinkObjectEndQualifierAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReadLinkObjectEndQualifierAction" />
</constraints>
</views>
<views name="SingleCreateLinkObjectAction" sections="//@tabs.0/@sections.410"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleCreateLinkObjectAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleCreateLinkObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CreateLinkObjectAction" />
</constraints>
</views>
<views name="MultipleCreateLinkObjectAction" sections="//@tabs.0/@sections.411"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleCreateLinkObjectAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleCreateLinkObjectAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="CreateLinkObjectAction" />
</constraints>
</views>
<views name="SingleAcceptEventAction" sections="//@tabs.0/@sections.412"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAcceptEventAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAcceptEventAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AcceptEventAction" />
</constraints>
</views>
<views name="MultipleAcceptEventAction" sections="//@tabs.0/@sections.413"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAcceptEventAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAcceptEventAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AcceptEventAction" />
</constraints>
</views>
<views name="SingleAcceptCallAction" sections="//@tabs.0/@sections.414"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAcceptCallAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAcceptCallAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AcceptCallAction" />
</constraints>
</views>
<views name="MultipleAcceptCallAction" sections="//@tabs.0/@sections.415"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAcceptCallAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAcceptCallAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AcceptCallAction" />
</constraints>
</views>
<views name="SingleReplyAction" sections="//@tabs.0/@sections.416"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReplyAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReplyAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReplyAction" />
</constraints>
</views>
<views name="MultipleReplyAction" sections="//@tabs.0/@sections.417"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReplyAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReplyAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReplyAction" />
</constraints>
</views>
<views name="SingleUnmarshallAction" sections="//@tabs.0/@sections.418"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleUnmarshallAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleUnmarshallAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="UnmarshallAction" />
</constraints>
</views>
<views name="MultipleUnmarshallAction" sections="//@tabs.0/@sections.419"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleUnmarshallAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleUnmarshallAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="UnmarshallAction" />
</constraints>
</views>
<views name="SingleReduceAction" sections="//@tabs.0/@sections.420"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleReduceAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleReduceAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReduceAction" />
</constraints>
</views>
<views name="MultipleReduceAction" sections="//@tabs.0/@sections.421"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleReduceAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleReduceAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ReduceAction" />
</constraints>
</views>
<views name="SingleStartObjectBehaviorAction" sections="//@tabs.0/@sections.422"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleStartObjectBehaviorAction">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleStartObjectBehaviorAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StartObjectBehaviorAction" />
</constraints>
</views>
<views name="MultipleStartObjectBehaviorAction" sections="//@tabs.0/@sections.423"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint"
+ <constraints xsi:type="constraints:SimpleConstraint"
name="isMultipleStartObjectBehaviorAction">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="StartObjectBehaviorAction" />
</constraints>
</views>
<views name="SingleJoinNode" sections="//@tabs.0/@sections.424"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleJoinNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleJoinNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="JoinNode" />
</constraints>
</views>
<views name="MultipleJoinNode" sections="//@tabs.0/@sections.425"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleJoinNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleJoinNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="JoinNode" />
</constraints>
</views>
<views name="SingleDataStoreNode" sections="//@tabs.0/@sections.426"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDataStoreNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDataStoreNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DataStoreNode" />
</constraints>
</views>
<views name="MultipleDataStoreNode" sections="//@tabs.0/@sections.427"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDataStoreNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDataStoreNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="DataStoreNode" />
</constraints>
</views>
<views name="SingleConditionalNode" sections="//@tabs.0/@sections.428"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleConditionalNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleConditionalNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ConditionalNode" />
</constraints>
</views>
<views name="MultipleConditionalNode" sections="//@tabs.0/@sections.429"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleConditionalNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleConditionalNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ConditionalNode" />
</constraints>
</views>
<views name="SingleClause" sections="//@tabs.0/@sections.430"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleClause">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleClause">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Clause" />
</constraints>
</views>
<views name="SingleLoopNode" sections="//@tabs.0/@sections.431"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleLoopNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleLoopNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LoopNode" />
</constraints>
</views>
<views name="MultipleLoopNode" sections="//@tabs.0/@sections.432"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleLoopNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleLoopNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="LoopNode" />
</constraints>
</views>
<views name="SingleExpansionNode" sections="//@tabs.0/@sections.433"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleExpansionNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleExpansionNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExpansionNode" />
</constraints>
</views>
<views name="MultipleExpansionNode" sections="//@tabs.0/@sections.434"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleExpansionNode">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleExpansionNode">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExpansionNode" />
</constraints>
</views>
<views name="SingleExpansionRegion" sections="//@tabs.0/@sections.435"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleExpansionRegion">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleExpansionRegion">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExpansionRegion" />
</constraints>
</views>
<views name="MultipleExpansionRegion" sections="//@tabs.0/@sections.436"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleExpansionRegion">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleExpansionRegion">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ExpansionRegion" />
</constraints>
</views>
<views name="SingleProtocolTransition" sections="//@tabs.0/@sections.437"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleProtocolTransition">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleProtocolTransition">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ProtocolTransition" />
</constraints>
</views>
<views name="MultipleProtocolTransition" sections="//@tabs.0/@sections.438"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleProtocolTransition">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleProtocolTransition">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="ProtocolTransition" />
</constraints>
</views>
<views name="SingleAssociationClass" sections="//@tabs.0/@sections.439"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleAssociationClass">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleAssociationClass">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AssociationClass" />
</constraints>
</views>
<views name="MultipleAssociationClass" sections="//@tabs.0/@sections.440"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleAssociationClass">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleAssociationClass">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="AssociationClass" />
</constraints>
</views>
<views name="SingleDependency" sections="//@tabs.0/@sections.441"
automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleDependency">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleDependency">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Dependency" />
</constraints>
</views>
<views name="MultipleDependency" sections="//@tabs.0/@sections.442"
elementMultiplicity="-1" automaticContext="true">
- <constraints xsi:type="contexts:SimpleConstraint" name="isMultipleDependency">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isMultipleDependency">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Dependency" />
</constraints>
</views>
<views name="SingleComment" sections="//@tabs.0/@sections.444">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleComment">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleComment">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Comment" />
</constraints>
</views>
<views name="AsyncMessage" sections="//@tabs.0/@sections.447">
- <constraints xsi:type="contexts:CompositeConstraint" name="isAsyncMessage"
+ <constraints xsi:type="constraints:CompositeConstraint" name="isAsyncMessage"
overriddenConstraints="//@views.232/@constraints.0">
<constraints name="isMessage">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Message" />
</constraints>
<constraints name="isAsync">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
- <properties xsi:type="contexts:ReferenceProperty" name="query">
+ <properties xsi:type="constraints:ReferenceProperty" name="query">
<value href="uml.querySet#isAsynchCall" />
</properties>
</constraints>
</constraints>
</views>
<views name="SyncMessage" sections="//@tabs.0/@sections.448">
- <constraints xsi:type="contexts:CompositeConstraint" name="isSyncMessage"
+ <constraints xsi:type="constraints:CompositeConstraint" name="isSyncMessage"
overriddenConstraints="//@views.232/@constraints.0">
<constraints name="isMessage">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Message" />
</constraints>
<constraints name="isSync">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
- <properties xsi:type="contexts:ReferenceProperty" name="query">
+ <properties xsi:type="constraints:ReferenceProperty" name="query">
<value href="uml.querySet#isSynchCall" />
</properties>
</constraints>
</constraints>
</views>
<views name="ReplyMessage" sections="//@tabs.0/@sections.449">
- <constraints xsi:type="contexts:CompositeConstraint" name="isReplyMessage"
+ <constraints xsi:type="constraints:CompositeConstraint" name="isReplyMessage"
overriddenConstraints="//@views.232/@constraints.0">
<constraints name="isMessage">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Message" />
</constraints>
<constraints name="isReply">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.views.properties/model/Environment.xmi#//@constraintTypes.2" />
- <properties xsi:type="contexts:ReferenceProperty" name="query">
+ <properties xsi:type="constraints:ReferenceProperty" name="query">
<value href="uml.querySet#isReply" />
</properties>
</constraints>
</constraints>
</views>
<views name="SingleImage" sections="//@tabs.0/@sections.446">
- <constraints xsi:type="contexts:SimpleConstraint" name="isSingleImage">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isSingleImage">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Image" />
</constraints>
</views>
<views name="Metaclass" sections="//@tabs.0/@sections.450"
elementMultiplicity="-1">
- <constraints xsi:type="contexts:CompositeConstraint" name="isMetaclass"
+ <constraints xsi:type="constraints:CompositeConstraint" name="isMetaclass"
overriddenConstraints="//@views.73/@constraints.0 //@views.74/@constraints.0">
<constraints name="isClass">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
- <properties xsi:type="contexts:ValueProperty" name="umlClassName"
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
value="Class" />
</constraints>
<constraints name="isMetaclass">
<constraintType
href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.1" />
- <properties xsi:type="contexts:ValueProperty" name="stereotypeName"
+ <properties xsi:type="constraints:ValueProperty" name="stereotypeName"
value="Standard::Metaclass" />
</constraints>
</constraints>
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UMLNotation/UMLNotation.ctx b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UMLNotation/UMLNotation.ctx
index b2917804fc7..a67c19a5c75 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UMLNotation/UMLNotation.ctx
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/Model/UMLNotation/UMLNotation.ctx
@@ -1,67 +1,96 @@
<?xml version="1.0" encoding="ASCII"?>
-<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts" name="UMLNotation">
- <dependencies href="ppe:/context/org.eclipse.papyrus.infra.gmfdiag.properties/model/notation.ctx#/"/>
- <tabs label="Appearance" id="appearance" category="org.eclipse.papyrus" priority="75">
- <afterTab href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@tabs.1"/>
- <sections name="Label" sectionFile="ui/Label.xwt">
- <widget href="ui/Label.xwt#/"/>
- </sections>
- <sections name="StereotypeDisplay" sectionFile="ui/StereotypeDisplay.xwt">
- <widget href="ui/StereotypeDisplay.xwt#/"/>
- </sections>
- <sections name="ElementDisplay" sectionFile="ui/ElementDisplay.xwt">
- <widget href="ui/ElementDisplay.xwt#/"/>
- </sections>
- <sections name="NamedElementDisplay" sectionFile="ui/NamedElementDisplay.xwt">
- <widget href="ui/NamedElementDisplay.xwt#/"/>
- </sections>
- </tabs>
- <views name="Label" sections="//@tabs.0/@sections.0" elementMultiplicity="-1">
- <constraints xsi:type="contexts:SimpleConstraint" name="isLabel">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.1"/>
- <properties xsi:type="contexts:ValueProperty" name="editPolicy" value="MaskManagedLabelPolicy"/>
- </constraints>
- </views>
- <views name="StereotypeDisplay" sections="//@tabs.0/@sections.1" elementMultiplicity="-1">
- <constraints xsi:type="contexts:CompositeConstraint" name="isElementWithEditPart" overrideable="false">
- <constraints name="isEditPart">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.2"/>
- </constraints>
- <constraints name="isElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="umlClassName" value="Element"/>
- </constraints>
- </constraints>
- </views>
- <views name="NamedElementDisplay" sections="//@tabs.0/@sections.3" elementMultiplicity="-1">
- <constraints xsi:type="contexts:CompositeConstraint" name="isNamedElementWithEditPart" overrideable="false">
- <constraints name="isEditPart">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.2"/>
- </constraints>
- <constraints name="isElement">
- <constraintType href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0"/>
- <properties xsi:type="contexts:ValueProperty" name="umlClassName" value="NamedElement"/>
- </constraints>
- </constraints>
- </views>
- <dataContexts name="UMLNotation" label="UML Notation">
- <elements name="Property">
- <properties name="labelCustomization" label="Label customization" type="Integer" description="Define the elements to be displayed in the Property's label"/>
- </elements>
- <elements name="Element">
- <properties name="stereotypeDisplay" label="Stereotype display" type="Reference" description="Sets the elements you want to display in the Diagram"/>
- <properties name="elementIcon" label="Element icon" type="Boolean" description="Show the Element icon in the diagram"/>
- <properties name="shadow" label="Shadow" type="Boolean" description="Display a shadow in the Diagram"/>
- <properties name="qualifiedName" label="Qualified name depth" type="Enumeration" description="Choose the depth of the qualified name's display"/>
- </elements>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@modelElementFactories.4"/>
- </dataContexts>
- <dataContexts name="StereotypeAppearance" label="Stereotype Appearance">
- <elements name="StereotypeAppearance">
- <properties name="stereotypeDisplay" label="Stereotype display" type="Enumeration"/>
- <properties name="textAlignment" label="Text alignment" type="Enumeration"/>
- <properties name="displayPlace" label="Display place" type="Enumeration"/>
- </elements>
- <modelElementFactory href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@modelElementFactories.6"/>
- </dataContexts>
+<contexts:Context xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:contexts="http://www.eclipse.org/papyrus/properties/contexts/0.9"
+ xmlns:constraints="http://www.eclipse.org/papyrus/constraints/0.9"
+ name="UMLNotation">
+ <dependencies
+ href="ppe:/context/org.eclipse.papyrus.infra.gmfdiag.properties/model/notation.ctx#/" />
+ <tabs label="Appearance" id="appearance" category="org.eclipse.papyrus"
+ priority="75">
+ <afterTab
+ href="ppe:/context/org.eclipse.papyrus.uml.properties/Model/UML/UML.ctx#//@tabs.1" />
+ <sections name="Label" sectionFile="ui/Label.xwt">
+ <widget href="ui/Label.xwt#/" />
+ </sections>
+ <sections name="StereotypeDisplay" sectionFile="ui/StereotypeDisplay.xwt">
+ <widget href="ui/StereotypeDisplay.xwt#/" />
+ </sections>
+ <sections name="ElementDisplay" sectionFile="ui/ElementDisplay.xwt">
+ <widget href="ui/ElementDisplay.xwt#/" />
+ </sections>
+ <sections name="NamedElementDisplay" sectionFile="ui/NamedElementDisplay.xwt">
+ <widget href="ui/NamedElementDisplay.xwt#/" />
+ </sections>
+ </tabs>
+ <views name="Label" sections="//@tabs.0/@sections.0"
+ elementMultiplicity="-1">
+ <constraints xsi:type="constraints:SimpleConstraint" name="isLabel">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.1" />
+ <properties xsi:type="constraints:ValueProperty" name="editPolicy"
+ value="MaskManagedLabelPolicy" />
+ </constraints>
+ </views>
+ <views name="StereotypeDisplay" sections="//@tabs.0/@sections.1"
+ elementMultiplicity="-1">
+ <constraints xsi:type="constraints:CompositeConstraint" name="isElementWithEditPart"
+ overrideable="false">
+ <constraints name="isEditPart">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.2" />
+ </constraints>
+ <constraints name="isElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
+ value="Element" />
+ </constraints>
+ </constraints>
+ </views>
+ <views name="NamedElementDisplay" sections="//@tabs.0/@sections.3"
+ elementMultiplicity="-1">
+ <constraints xsi:type="constraints:CompositeConstraint" name="isNamedElementWithEditPart"
+ overrideable="false">
+ <constraints name="isEditPart">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.infra.gmfdiag.properties/model/Environment.xmi#//@constraintTypes.2" />
+ </constraints>
+ <constraints name="isElement">
+ <constraintType
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@constraintTypes.0" />
+ <properties xsi:type="constraints:ValueProperty" name="umlClassName"
+ value="NamedElement" />
+ </constraints>
+ </constraints>
+ </views>
+ <dataContexts name="UMLNotation" label="UML Notation">
+ <elements name="Property">
+ <properties name="labelCustomization" label="Label customization"
+ type="Integer" description="Define the elements to be displayed in the Property's label" />
+ </elements>
+ <elements name="Element">
+ <properties name="stereotypeDisplay" label="Stereotype display"
+ type="Reference" description="Sets the elements you want to display in the Diagram" />
+ <properties name="elementIcon" label="Element icon" type="Boolean"
+ description="Show the Element icon in the diagram" />
+ <properties name="shadow" label="Shadow" type="Boolean"
+ description="Display a shadow in the Diagram" />
+ <properties name="qualifiedName" label="Qualified name depth"
+ type="Enumeration" description="Choose the depth of the qualified name's display" />
+ </elements>
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@modelElementFactories.4" />
+ </dataContexts>
+ <dataContexts name="StereotypeAppearance" label="Stereotype Appearance">
+ <elements name="StereotypeAppearance">
+ <properties name="stereotypeDisplay" label="Stereotype display"
+ type="Enumeration" />
+ <properties name="textAlignment" label="Text alignment"
+ type="Enumeration" />
+ <properties name="displayPlace" label="Display place"
+ type="Enumeration" />
+ </elements>
+ <modelElementFactory
+ href="ppe:/environment/org.eclipse.papyrus.uml.properties/Model/Environment.xmi#//@modelElementFactories.6" />
+ </dataContexts>
</contexts:Context>
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/plugin.xml b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/plugin.xml
index c8cebcdc658..4edf079b329 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/plugin.xml
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/plugin.xml
@@ -54,7 +54,7 @@
<extension
point="org.eclipse.papyrus.views.properties.labelprovider">
<labelProvider
- labelProvider="org.eclipse.papyrus.uml.properties.providers.UMLLabelProvider"
+ labelProvider="org.eclipse.papyrus.uml.properties.providers.UMLFilteredLabelProvider"
priority="50">
</labelProvider>
</extension>
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/HasStereotypeConstraint.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/HasStereotypeConstraint.java
index 6ad63dc12a5..b1039ece8ff 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/HasStereotypeConstraint.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/HasStereotypeConstraint.java
@@ -11,10 +11,10 @@
*****************************************************************************/
package org.eclipse.papyrus.uml.properties.constraints;
+import org.eclipse.papyrus.infra.constraints.SimpleConstraint;
+import org.eclipse.papyrus.infra.constraints.constraints.AbstractConstraint;
+import org.eclipse.papyrus.infra.constraints.constraints.Constraint;
import org.eclipse.papyrus.uml.properties.util.UMLUtil;
-import org.eclipse.papyrus.views.properties.constraints.AbstractConstraint;
-import org.eclipse.papyrus.views.properties.constraints.Constraint;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
import org.eclipse.uml2.uml.Element;
import org.eclipse.uml2.uml.Stereotype;
@@ -75,7 +75,7 @@ public class HasStereotypeConstraint extends AbstractConstraint {
@Override
public String toString() {
- return "HasStereotype " + stereotypeName + " (" + (getView().getElementMultiplicity() == 1 ? "Single" : "Multiple") + ")"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
+ return String.format("HasStereotype %s (%s)", stereotypeName, getDisplayUnit().getElementMultiplicity() == 1 ? "Single" : "Multiple"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
@Override
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/IsDataTypeConstraint.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/IsDataTypeConstraint.java
index ce8c0afd595..50ee8a87a68 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/IsDataTypeConstraint.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/IsDataTypeConstraint.java
@@ -12,11 +12,11 @@
package org.eclipse.papyrus.uml.properties.constraints;
import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.papyrus.infra.constraints.ConstraintDescriptor;
+import org.eclipse.papyrus.infra.constraints.constraints.AbstractConstraint;
+import org.eclipse.papyrus.infra.constraints.constraints.Constraint;
+import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
import org.eclipse.papyrus.uml.properties.datatype.DataTypeObservableValue;
-import org.eclipse.papyrus.views.properties.constraints.AbstractConstraint;
-import org.eclipse.papyrus.views.properties.constraints.Constraint;
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
-import org.eclipse.papyrus.views.properties.util.ClassLoader;
/**
* This constraints tests whether an Object is an instance of a DataType
@@ -36,8 +36,7 @@ public class IsDataTypeConstraint extends AbstractConstraint {
protected void setDescriptor(ConstraintDescriptor descriptor) {
String dataTypeClassName = getValue(DATATYPE_PROPERTY);
- ClassLoader loader = new ClassLoader();
- dataType = loader.newInstance(dataTypeClassName, EDataType.class);
+ dataType = ClassLoaderHelper.newInstance(dataTypeClassName, EDataType.class);
}
public boolean match(Object selection) {
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/UmlInstanceOfConstraint.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/UmlInstanceOfConstraint.java
index c044a92740c..ff023cf3020 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/UmlInstanceOfConstraint.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/constraints/UmlInstanceOfConstraint.java
@@ -11,11 +11,11 @@
*****************************************************************************/
package org.eclipse.papyrus.uml.properties.constraints;
+import org.eclipse.papyrus.infra.constraints.SimpleConstraint;
+import org.eclipse.papyrus.infra.constraints.constraints.AbstractConstraint;
+import org.eclipse.papyrus.infra.constraints.constraints.Constraint;
import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
import org.eclipse.papyrus.uml.properties.util.UMLUtil;
-import org.eclipse.papyrus.views.properties.constraints.AbstractConstraint;
-import org.eclipse.papyrus.views.properties.constraints.Constraint;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
import org.eclipse.uml2.uml.Element;
/**
@@ -61,7 +61,7 @@ public class UmlInstanceOfConstraint extends AbstractConstraint {
@Override
public String toString() {
- return "UMLInstanceOf " + umlClassName + " (" + (getView().getElementMultiplicity() == 1 ? "Single" : "Multiple") + ")"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$
+ return String.format("UMLInstanceOf %s (%s)", umlClassName, getDisplayUnit().getElementMultiplicity() == 1 ? "Single" : "Multiple");//$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
}
@Override
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AbstractStereotypeListener.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AbstractStereotypeListener.java
deleted file mode 100644
index ba9d1d3f33b..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AbstractStereotypeListener.java
+++ /dev/null
@@ -1,80 +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.uml.properties.databinding;
-
-import org.eclipse.emf.common.notify.Adapter;
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.notify.Notifier;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.papyrus.uml.diagram.common.editparts.PapyrusStereotypeListener;
-import org.eclipse.swt.widgets.Listener;
-import org.eclipse.uml2.uml.Element;
-
-public abstract class AbstractStereotypeListener implements Adapter {
-
- private Element umlElement;
-
- private Notifier target;
-
- public AbstractStereotypeListener(Element umlElement) {
- this.umlElement = umlElement;
- umlElement.eAdapters().add(this);
- for(EObject eObject : umlElement.getStereotypeApplications()) {
- eObject.eAdapters().add(this);
- }
- }
-
- public void notifyChanged(Notification notification) {
- final int eventType = notification.getEventType();
-
- if(eventType == PapyrusStereotypeListener.APPLIED_STEREOTYPE) {
- // a stereotype was applied to the notifier
- // then a new listener should be added to the stereotype application
- ((EObject)notification.getNewValue()).eAdapters().add(this);
- handleAppliedStereotype((EObject)notification.getNewValue());
- } else if(eventType == PapyrusStereotypeListener.UNAPPLIED_STEREOTYPE) {
- ((EObject)notification.getNewValue()).eAdapters().remove(this);
- handleUnappliedStereotype((EObject)notification.getNewValue());
- }
- }
-
- protected abstract void handleUnappliedStereotype(EObject newValue);
-
- protected abstract void handleAppliedStereotype(EObject newValue);
-
- public void addChangeListener(Listener listener) {
-
- }
-
- public void removeChangeListener(Listener listener) {
-
- }
-
- public Notifier getTarget() {
- return target;
- }
-
- public void setTarget(Notifier newTarget) {
- this.target = newTarget;
- }
-
- public boolean isAdapterForType(Object type) {
- return false;
- }
-
- public void dispose() {
- umlElement.eAdapters().remove(this);
- for(EObject eObject : umlElement.getStereotypeApplications()) {
- eObject.eAdapters().remove(this);
- }
- }
-} \ No newline at end of file
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AbstractUMLAggregatedObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AbstractUMLAggregatedObservableValue.java
deleted file mode 100644
index 1653338aaee..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AbstractUMLAggregatedObservableValue.java
+++ /dev/null
@@ -1,50 +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.uml.properties.databinding;
-
-import org.eclipse.core.databinding.observable.IObservable;
-import org.eclipse.core.databinding.observable.value.AbstractObservableValue;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.infra.widgets.databinding.AggregatedObservable;
-
-/**
- * An Abstract Class for Papyrus Command-based observable values
- *
- * @author Camille Letavernier
- *
- */
-public abstract class AbstractUMLAggregatedObservableValue extends AbstractObservableValue implements AggregatedObservable, CommandBasedObservableValue {
-
- protected EditingDomain domain;
-
- protected AbstractUMLAggregatedObservableValue(EditingDomain domain) {
- this.domain = domain;
- }
-
- /**
- * {@inheritDoc}
- */
- public AggregatedObservable aggregate(IObservable observable) {
- try {
- return new AggregatedPapyrusObservableValue(domain, this, observable);
- } catch (IllegalArgumentException ex) {
- return null; //The observable cannot be aggregated
- }
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean hasDifferentValues() {
- return false;
- }
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AggregatedPapyrusObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AggregatedPapyrusObservableValue.java
deleted file mode 100644
index ab25b28fe73..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/AggregatedPapyrusObservableValue.java
+++ /dev/null
@@ -1,68 +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.uml.properties.databinding;
-
-import java.util.LinkedList;
-import java.util.List;
-
-import org.eclipse.core.databinding.observable.IObservable;
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-import org.eclipse.emf.common.command.CompoundCommand;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.infra.widgets.databinding.AggregatedObservable;
-import org.eclipse.papyrus.views.properties.databinding.MultipleObservableValue;
-
-
-public class AggregatedPapyrusObservableValue extends MultipleObservableValue {
-
- private final List<CommandBasedObservableValue> observables = new LinkedList<CommandBasedObservableValue>();
-
- private final EditingDomain domain;
-
- public AggregatedPapyrusObservableValue(EditingDomain domain, IObservable... observableValues) {
- this.domain = domain;
- for(IObservable value : observableValues) {
- if(aggregate(value) == null) {
- throw new IllegalArgumentException("The input ObservableValues have an incorrect type"); //$NON-NLS-1$
- }
- }
- }
-
- @Override
- public AggregatedObservable aggregate(IObservable observable) {
- if(observable instanceof CommandBasedObservableValue) {
- if(!observables.isEmpty()) {
- Object valueType = observables.get(0).getValueType();
- if(((IObservableValue)observable).getValueType() != valueType) {
- return null;
- }
- }
-
- observables.add((CommandBasedObservableValue)observable);
- super.aggregate(observable);
- return this;
- }
-
- return null; //TODO : maybe we can support some other types
- }
-
- @Override
- public void doSetValue(Object value) {
- CompoundCommand command = new CompoundCommand();
- for(CommandBasedObservableValue observableValue : observables) {
- command.append(observableValue.getCommand(value));
- }
- domain.getCommandStack().execute(command);
- }
-
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/CommandBasedObservable.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/CommandBasedObservable.java
deleted file mode 100644
index 00cbd27a385..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/CommandBasedObservable.java
+++ /dev/null
@@ -1,27 +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.uml.properties.databinding;
-
-import org.eclipse.core.databinding.observable.IObservable;
-import org.eclipse.emf.common.command.Command;
-
-
-public interface CommandBasedObservable extends IObservable {
-
- /**
- * Returns the EMF Command for modifying this Observable's value
- *
- * @param value
- * @return
- */
- public Command getCommand(Object value);
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/CommandBasedObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/CommandBasedObservableValue.java
deleted file mode 100644
index 79d8a3827b7..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/CommandBasedObservableValue.java
+++ /dev/null
@@ -1,19 +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.uml.properties.databinding;
-
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-
-
-public interface CommandBasedObservableValue extends CommandBasedObservable, IObservableValue {
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ElementCustomizationObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ElementCustomizationObservableValue.java
index 68e9d39199c..91acfa03fd2 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ElementCustomizationObservableValue.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ElementCustomizationObservableValue.java
@@ -20,6 +20,8 @@ import org.eclipse.papyrus.infra.widgets.databinding.AggregatedObservable;
import org.eclipse.papyrus.uml.diagram.common.editpolicies.IMaskManagedLabelEditPolicy;
import org.eclipse.papyrus.uml.properties.Activator;
import org.eclipse.papyrus.uml.properties.util.UMLUtil;
+import org.eclipse.papyrus.uml.tools.databinding.AbstractUMLAggregatedObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.CommandBasedObservableValue;
import org.eclipse.papyrus.uml.tools.utils.ui.command.AddMaskManagedLabelDisplayCommand;
import org.eclipse.papyrus.uml.tools.utils.ui.command.SetNameLabelIconCommand;
import org.eclipse.papyrus.uml.tools.utils.ui.command.SetQualifiedNameDepthCommand;
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ExtensionEndMultiplicityObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ExtensionEndMultiplicityObservableValue.java
deleted file mode 100644
index 8acf4644dba..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ExtensionEndMultiplicityObservableValue.java
+++ /dev/null
@@ -1,31 +0,0 @@
-package org.eclipse.papyrus.uml.properties.databinding;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.UnexecutableCommand;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.commands.Activator;
-import org.eclipse.uml2.uml.ExtensionEnd;
-
-/**
- * An IObservableValue for handling the UML ExtensionEnd#multiplicity
- * The multiplicity can only be either 1 or 0..1
- *
- * @author Camille Letavernier
- *
- */
-public class ExtensionEndMultiplicityObservableValue extends MultiplicityObservableValue {
-
- public ExtensionEndMultiplicityObservableValue(ExtensionEnd source, EditingDomain domain) {
- super(source, domain);
- }
-
- @Override
- public Command getCommand(Object value) {
- if(ONE.equals(value) || OPTIONAL.equals(value)) {
- return super.getCommand(value);
- }
-
- Activator.log.warn(String.format("The multiplicity %s is not valid for an ExtensionEnd", value)); //$NON-NLS-1$
- return UnexecutableCommand.INSTANCE;
- }
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ExtensionRequiredObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ExtensionRequiredObservableValue.java
deleted file mode 100644
index 5a4dcdd65c5..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ExtensionRequiredObservableValue.java
+++ /dev/null
@@ -1,80 +0,0 @@
-package org.eclipse.papyrus.uml.properties.databinding;
-
-import org.eclipse.core.databinding.observable.ChangeEvent;
-import org.eclipse.core.databinding.observable.IChangeListener;
-import org.eclipse.core.databinding.observable.value.AbstractObservableValue;
-import org.eclipse.core.databinding.observable.value.ValueDiff;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.uml.properties.Activator;
-import org.eclipse.uml2.uml.Extension;
-
-
-public class ExtensionRequiredObservableValue extends AbstractObservableValue implements IChangeListener {
-
- private Extension extension;
-
- private MultiplicityObservableValue observable;
-
- private boolean currentValue;
-
- public ExtensionRequiredObservableValue(Extension extension, EditingDomain domain) {
- this.extension = extension;
- if(!this.extension.getOwnedEnds().isEmpty()) {
- observable = new MultiplicityObservableValue(this.extension.getOwnedEnds().get(0), domain);
- observable.addChangeListener(this);
- }
- currentValue = extension.isRequired();
- }
-
- public Object getValueType() {
- return Boolean.class;
- }
-
- @Override
- protected Boolean doGetValue() {
- return extension.isRequired();
- }
-
- @Override
- protected void doSetValue(Object value) {
- if(!(value instanceof Boolean)) {
- return;
- }
-
- Boolean required = (Boolean)value;
-
- if(extension.getOwnedEnds().isEmpty()) {
- Activator.log.warn("Unable to change the extension \"isRequired\" property");
- }
-
- observable.setValue(required ? MultiplicityObservableValue.ONE : MultiplicityObservableValue.OPTIONAL);
- currentValue = required;
- }
-
- @Override
- public void dispose() {
- observable.removeChangeListener(this);
- observable.dispose();
- observable = null;
- super.dispose();
- }
-
- public void handleChange(ChangeEvent event) {
- final boolean oldValue = currentValue;
- final boolean newValue = doGetValue();
- currentValue = newValue;
- fireValueChange(new ValueDiff() {
-
- @Override
- public Object getOldValue() {
- return oldValue;
- }
-
- @Override
- public Object getNewValue() {
- return newValue;
- }
- });
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageExpressionObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageExpressionObservableValue.java
deleted file mode 100644
index d514af4664f..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageExpressionObservableValue.java
+++ /dev/null
@@ -1,73 +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.uml.properties.databinding;
-
-import org.eclipse.core.databinding.observable.value.AbstractObservableValue;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.uml.tools.utils.ImageUtil;
-import org.eclipse.uml2.common.edit.command.ChangeCommand;
-import org.eclipse.uml2.uml.Image;
-
-/**
- * An IObservableValue for editing Images
- *
- * @author Camille Letavernier
- */
-public class ImageExpressionObservableValue extends AbstractObservableValue {
-
- private Image image;
-
- private EditingDomain domain;
-
- /**
- *
- * Constructor.
- *
- * @param image
- * The UML Image element to edit
- * @param domain
- * The editing domain on which the commands will be executed
- */
- public ImageExpressionObservableValue(Image image, EditingDomain domain) {
- this.image = image;
- this.domain = domain;
- }
-
- public Object getValueType() {
- return String.class;
- }
-
- @Override
- protected Object doGetValue() {
- return ImageUtil.getExpression(image);
- }
-
- @Override
- protected void doSetValue(Object value) {
- if(value instanceof String) {
- final String expression = (String)value;
-
- Runnable runnable = new Runnable() {
-
- public void run() {
-
- ImageUtil.setExpression(image, expression);
- }
- };
-
- Command emfCommand = new ChangeCommand(domain, runnable);
- domain.getCommandStack().execute(emfCommand);
- }
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageKindObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageKindObservableValue.java
deleted file mode 100644
index 8229f3c712e..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageKindObservableValue.java
+++ /dev/null
@@ -1,98 +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.uml.properties.databinding;
-
-import org.eclipse.core.databinding.observable.value.AbstractObservableValue;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.uml.tools.utils.ImageUtil;
-import org.eclipse.uml2.common.edit.command.ChangeCommand;
-import org.eclipse.uml2.uml.Image;
-
-/**
- *
- * An IObservableValue to handle the way the image is displayed
- *
- * @author Camille Letavernier
- *
- */
-public class ImageKindObservableValue extends AbstractObservableValue {
-
- /**
- * The kind of image display
- * Undefined
- */
- public static final String KIND_UNDEFINED = "undefined"; //$NON-NLS-1$
-
- /**
- * The kind of image display
- * Displays the image as an Icon in the element edit part
- */
- public static final String KIND_ICON = "icon"; //$NON-NLS-1$
-
- /**
- * The kind of image display
- * The image replaces the element edit part
- */
- public static final String KIND_SHAPE = "shape"; //$NON-NLS-1$
-
- private Image image;
-
- private EditingDomain domain;
-
- /**
- *
- * Constructor.
- *
- * @param image
- * The UML Image element
- * @param domain
- * The editing domain on which the commands will be executed
- */
- public ImageKindObservableValue(Image image, EditingDomain domain) {
- this.image = image;
- this.domain = domain;
- }
-
- public Object getValueType() {
- return String.class;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected String doGetValue() {
- return ImageUtil.getKind(image);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected void doSetValue(Object value) {
- if(value instanceof String) {
- final String kind = (String)value;
-
- Runnable runnable = new Runnable() {
-
- public void run() {
- ImageUtil.setKind(image, kind);
- }
- };
-
- Command emfCommand = new ChangeCommand(domain, runnable);
- domain.getCommandStack().execute(emfCommand);
- }
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageNameObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageNameObservableValue.java
deleted file mode 100644
index 964e7e139a7..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ImageNameObservableValue.java
+++ /dev/null
@@ -1,73 +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.uml.properties.databinding;
-
-import org.eclipse.core.databinding.observable.value.AbstractObservableValue;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.uml.tools.utils.ImageUtil;
-import org.eclipse.uml2.common.edit.command.ChangeCommand;
-import org.eclipse.uml2.uml.Image;
-
-/**
- * An IObservableValue for editing Images
- *
- * @author Camille Letavernier
- */
-public class ImageNameObservableValue extends AbstractObservableValue {
-
- private Image image;
-
- private EditingDomain domain;
-
- /**
- *
- * Constructor.
- *
- * @param image
- * The UML Image element to edit
- * @param domain
- * The editing domain on which the commands will be executed
- */
- public ImageNameObservableValue(Image image, EditingDomain domain) {
- this.image = image;
- this.domain = domain;
- }
-
- public Object getValueType() {
- return String.class;
- }
-
- @Override
- protected Object doGetValue() {
- return ImageUtil.getName(image);
- }
-
- @Override
- protected void doSetValue(Object value) {
- if(value instanceof String) {
- final String name = (String)value;
-
- Runnable runnable = new Runnable() {
-
- public void run() {
-
- ImageUtil.setName(image, name);
- }
- };
-
- Command emfCommand = new ChangeCommand(domain, runnable);
- domain.getCommandStack().execute(emfCommand);
- }
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/MultiplicityObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/MultiplicityObservableValue.java
deleted file mode 100644
index 34ab1876a17..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/MultiplicityObservableValue.java
+++ /dev/null
@@ -1,307 +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.uml.properties.databinding;
-
-import org.eclipse.core.databinding.observable.ChangeEvent;
-import org.eclipse.core.databinding.observable.IChangeListener;
-import org.eclipse.core.databinding.observable.IObservable;
-import org.eclipse.core.databinding.observable.value.AbstractObservableValue;
-import org.eclipse.core.databinding.observable.value.IObservableValue;
-import org.eclipse.core.databinding.observable.value.ValueDiff;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.CompoundCommand;
-import org.eclipse.emf.common.command.UnexecutableCommand;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.infra.widgets.databinding.AggregatedObservable;
-import org.eclipse.papyrus.uml.properties.messages.Messages;
-import org.eclipse.papyrus.uml.properties.util.UMLUtil;
-import org.eclipse.papyrus.views.properties.Activator;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * An ObservableValue for manipulating the UML Multiplicity property.
- * Multiplicity is a simple, virtual property, aggregating both lowerBound and upperBound,
- * and presenting them as an Enumeration with 4 values : 1, 0-1, 0-*, 1-*
- *
- * The values are edited with commands executed on the given editing domain.
- * These commands will probably only work in a Papyrus context.
- *
- * @author Camille Letavernier
- */
-public class MultiplicityObservableValue extends AbstractObservableValue implements IChangeListener, CommandBasedObservableValue, AggregatedObservable {
-
- /**
- * The 0..* multiplicity (Any)
- */
- public static String ANY = "0..*"; //$NON-NLS-1$
-
- /**
- * The * multiplicity (Any)
- * Equivalent to 0..*
- */
- public static String STAR = "*"; //$NON-NLS-1$
-
- /***
- * The 1 multiplicity (One)
- */
- public static String ONE = "1"; //$NON-NLS-1$
-
- /**
- * The 0..1 multiplicity (Optional)
- */
- public static String OPTIONAL = "0..1"; //$NON-NLS-1$
-
- /**
- * The 1..* multiplicity (One or more)
- */
- public static String ONE_OR_MORE = "1..*"; //$NON-NLS-1$
-
- /**
- * The multiplicity separator (..)
- */
- public static String SEPARATOR = ".."; //$NON-NLS-1$
-
- private IObservableValue lowerBound, upperBound, lowerValue, upperValue, lowerValueSpecification, upperValueSpecification;
-
- private EStructuralFeature lowerFeature, upperFeature;
-
- private EObject eObject;
-
- private EditingDomain domain;
-
- /**
- * Constructor.
- *
- * @param eObject
- * The EObject which the multiplicity is being edited
- * @param domain
- * The Editing Domain on which the commands will be executed
- */
- public MultiplicityObservableValue(EObject eObject, EditingDomain domain) {
- this.eObject = eObject;
- this.domain = domain;
-
- lowerFeature = UMLPackage.eINSTANCE.getMultiplicityElement_Lower();
- upperFeature = UMLPackage.eINSTANCE.getMultiplicityElement_Upper();
-
- EStructuralFeature lowerValueFeature, upperValueFeature, lowerValueSpecificationFeature, upperValueSpecificationFeature;
-
- lowerValueFeature = UMLPackage.eINSTANCE.getMultiplicityElement_LowerValue();
- upperValueFeature = UMLPackage.eINSTANCE.getMultiplicityElement_UpperValue();
- lowerValueSpecificationFeature = UMLPackage.eINSTANCE.getLiteralInteger_Value();
- upperValueSpecificationFeature = UMLPackage.eINSTANCE.getLiteralUnlimitedNatural_Value();
-
- lowerBound = UMLUtil.getObservableValue(eObject, lowerFeature, domain);
- upperBound = UMLUtil.getObservableValue(eObject, upperFeature, domain);
-
- lowerValue = UMLUtil.getObservableValue(eObject, lowerValueFeature, domain);
- upperValue = UMLUtil.getObservableValue(eObject, upperValueFeature, domain);
-
- lowerValueSpecification = getValueSpecification(lowerValue, lowerValueSpecificationFeature, domain);
- upperValueSpecification = getValueSpecification(upperValue, upperValueSpecificationFeature, domain);
-
- lowerValue.addChangeListener(this);
- upperValue.addChangeListener(this);
-
- if(lowerValueSpecification != null) {
- lowerValueSpecification.addChangeListener(this);
- }
- if(upperValueSpecification != null) {
- upperValueSpecification.addChangeListener(this);
- }
- }
-
- private IObservableValue getValueSpecification(IObservableValue source, EStructuralFeature specificationFeature, EditingDomain domain) {
- if(source.getValue() == null) {
- return null;
- }
- return UMLUtil.getObservableValue((EObject)source.getValue(), specificationFeature, domain);
-
- }
-
- /**
- * @see org.eclipse.core.databinding.observable.IChangeListener#handleChange(org.eclipse.core.databinding.observable.ChangeEvent)
- *
- * @param event
- */
- public void handleChange(ChangeEvent event) {
- boolean fireChange = false;
- if(event.getSource() == lowerValue || event.getSource() == upperValue) {
- fireChange = true;
- lowerValueSpecification = getValueSpecification(lowerValue, UMLPackage.eINSTANCE.getLiteralInteger_Value(), domain);
- upperValueSpecification = getValueSpecification(upperValue, UMLPackage.eINSTANCE.getLiteralUnlimitedNatural_Value(), domain);
- }
-
- if(event.getSource() == lowerValueSpecification || event.getSource() == upperValueSpecification) {
- fireChange = true;
- }
-
- if(fireChange) {
- final Object value = getValue();
- fireValueChange(new ValueDiff() {
-
- @Override
- public Object getOldValue() {
- return null; //Unknown
- }
-
- @Override
- public Object getNewValue() {
- return value;
- }
-
- });
- }
- }
-
- @Override
- public void dispose() {
- lowerBound.removeChangeListener(this);
- upperBound.removeChangeListener(this);
- if(lowerValueSpecification != null) {
- lowerValueSpecification.removeChangeListener(this);
- lowerValueSpecification.dispose();
- }
- if(upperValueSpecification != null) {
- upperValueSpecification.removeChangeListener(this);
- upperValueSpecification.dispose();
- }
-
- lowerBound.dispose();
- upperBound.dispose();
-
-
- super.dispose();
- }
-
- public Object getValueType() {
- return String.class;
- }
-
- @Override
- protected String doGetValue() {
- int upper, lower;
- upper = lower = 0;
-
- Object lowerValue = lowerBound.getValue();
- Object upperValue = upperBound.getValue();
- lower = (Integer)lowerValue;
- upper = (Integer)upperValue;
-
- if(lower == 0 && upper == -1) {
- return ANY;
- } else if(lower == 0 && upper == 1) {
- return OPTIONAL;
- } else if(lower == 1 && upper == -1) {
- return ONE_OR_MORE;
- } else if(lower == 1 && upper == 1) {
- return ONE;
- } else {
- return lower + SEPARATOR + (upper < 0 ? STAR : upper);
- }
- }
-
- @Override
- protected void doSetValue(Object value) {
- Command command = getCommand(value);
- domain.getCommandStack().execute(command);
- }
-
- private Command getSetCommand(EStructuralFeature feature, int value) {
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(eObject);
- if(provider != null) {
- SetRequest request = new SetRequest(eObject, feature, value);
- ICommand createGMFCommand = provider.getEditCommand(request);
-
- Command emfCommand = new GMFtoEMFCommandWrapper(createGMFCommand);
-
- return emfCommand;
- }
- return null;
- }
-
- public Command getCommand(Object value) {
- int lower, upper;
- String val = (String)value;
- if(val.equals(ANY) || val.equals(STAR)) {
- lower = 0;
- upper = -1;
- } else if(val.equals(OPTIONAL)) {
- lower = 0;
- upper = 1;
- } else if(val.equals(ONE_OR_MORE)) {
- lower = 1;
- upper = -1;
- } else if(val.equals(ONE)) {
- lower = 1;
- upper = 1;
- } else {
- if(val.matches("^[0-9]+(..[0-9*]+)?$")) { //$NON-NLS-1$
- try {
- if(val.contains(SEPARATOR)) {
- lower = Integer.parseInt(val.substring(0, val.indexOf(SEPARATOR)));
- String upperString = val.substring(val.indexOf(SEPARATOR) + SEPARATOR.length(), val.length());
- if(STAR.equals(upperString)) {
- upper = -1;
- } else {
- upper = Integer.parseInt(upperString);
- }
- } else {
- lower = Integer.parseInt(val);
- upper = Integer.parseInt(val);
- }
- } catch (NumberFormatException ex) {
- return UnexecutableCommand.INSTANCE; //Invalid multiplicity
- }
- } else {
- return UnexecutableCommand.INSTANCE; //Invalid multiplicity
- }
- }
-
- if((upper > 0 && upper < lower) || upper == 0) {
- return UnexecutableCommand.INSTANCE;
- }
-
- try {
- Command lowerSetCommand = getSetCommand(lowerFeature, lower);
- Command upperSetCommand = getSetCommand(upperFeature, upper);
- CompoundCommand command = new CompoundCommand(Messages.MultiplicityObservableValue_setMultiplicityCommand);
- command.append(lowerSetCommand);
- command.append(upperSetCommand);
- return command;
- } catch (Exception ex) {
- Activator.log.error(ex);
- }
-
- return UnexecutableCommand.INSTANCE;
- }
-
- public AggregatedObservable aggregate(IObservable observable) {
- try {
- return new AggregatedPapyrusObservableValue(domain, this, observable);
- } catch (IllegalArgumentException ex) {
- return null; //The observable cannot be aggregated
- }
- }
-
- public boolean hasDifferentValues() {
- return false;
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/NavigationObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/NavigationObservableValue.java
deleted file mode 100644
index cd1da7411b2..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/NavigationObservableValue.java
+++ /dev/null
@@ -1,162 +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.uml.properties.databinding;
-
-import java.util.ArrayList;
-import java.util.LinkedList;
-import java.util.List;
-
-import org.eclipse.core.databinding.observable.ChangeEvent;
-import org.eclipse.core.databinding.observable.Diffs;
-import org.eclipse.core.databinding.observable.IChangeListener;
-import org.eclipse.core.databinding.observable.IObservable;
-import org.eclipse.core.databinding.observable.list.IObservableList;
-import org.eclipse.core.databinding.observable.value.AbstractObservableValue;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.CompoundCommand;
-import org.eclipse.emf.common.command.UnexecutableCommand;
-import org.eclipse.emf.databinding.EMFProperties;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.infra.widgets.databinding.AggregatedObservable;
-import org.eclipse.uml2.uml.Association;
-import org.eclipse.uml2.uml.Classifier;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * An ObservableValue for manipulating the UML Navigable property.
- * The navigable property is a virtual property, represented as a Boolean.
- *
- * @author Camille Letavernier
- */
-public class NavigationObservableValue extends AbstractObservableValue implements IChangeListener, CommandBasedObservableValue, AggregatedObservable {
-
- private Property memberEnd;
-
- private EditingDomain domain;
-
- private final IObservableList ownerObservableList;
-
- private boolean currentValue;
-
- /**
- * Constructor.
- *
- * @param source
- * The EObject (Property) which the navigability is being edited
- * @param domain
- * The Editing Domain on which the commands will be executed
- */
- public NavigationObservableValue(EObject source, EditingDomain domain) {
- memberEnd = (Property)source;
- this.domain = domain;
-
- ownerObservableList = EMFProperties.list(UMLPackage.eINSTANCE.getAssociation_OwnedEnd()).observe(memberEnd.getAssociation());
- ownerObservableList.addChangeListener(this);
- }
-
- public void handleChange(ChangeEvent event) {
- fireValueChange(Diffs.createValueDiff(currentValue, doGetValue()));
- }
-
- public Object getValueType() {
- return Boolean.class;
- }
-
- @Override
- protected Boolean doGetValue() {
- return memberEnd.isNavigable();
- }
-
- @Override
- protected void doSetValue(Object value) {
- Command command = getCommand(value);
- domain.getCommandStack().execute(command);
- }
-
- @Override
- public void dispose() {
- super.dispose();
- ownerObservableList.removeChangeListener(this);
- ownerObservableList.dispose();
- }
-
- public Command getCommand(Object value) {
- if(value instanceof Boolean) {
- boolean isNavigable = (Boolean)value;
- if(memberEnd.isNavigable() == isNavigable) {
- return UnexecutableCommand.INSTANCE;
- }
-
- Association association = memberEnd.getAssociation();
-
- List<Property> navigableEnds = new ArrayList<Property>();
- navigableEnds.addAll(association.getNavigableOwnedEnds());
-
- List<SetRequest> setRequests = new LinkedList<SetRequest>();
-
- if(isNavigable) {
- navigableEnds.add(memberEnd);
- } else {
- if(memberEnd.getOwningAssociation() == null && memberEnd.getOwner() instanceof Classifier) {
- List<Property> ownedEnds = new LinkedList<Property>();
- ownedEnds.addAll(association.getOwnedEnds());
- ownedEnds.add(memberEnd);
- setRequests.add(new SetRequest(association, UMLPackage.eINSTANCE.getAssociation_OwnedEnd(), ownedEnds));
- }
- if(navigableEnds.contains(memberEnd)) {
- navigableEnds.remove(memberEnd);
- }
- }
-
- EStructuralFeature navigableFeature = UMLPackage.eINSTANCE.getAssociation_NavigableOwnedEnd();
- setRequests.add(new SetRequest(association, navigableFeature, navigableEnds));
-
- CompoundCommand command = null;
-
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(association);
- if(provider != null) {
-
- command = new CompoundCommand();
-
- for(SetRequest request : setRequests) {
- ICommand createGMFCommand = provider.getEditCommand(request);
- command.append(new GMFtoEMFCommandWrapper(createGMFCommand));
- }
- }
-
- currentValue = isNavigable;
- return command;
- }
-
- return UnexecutableCommand.INSTANCE;
- }
-
- public AggregatedObservable aggregate(IObservable observable) {
- try {
- return new AggregatedPapyrusObservableValue(domain, this, observable);
- } catch (IllegalArgumentException ex) {
- return null; //The observable cannot be aggregated
- }
- }
-
- public boolean hasDifferentValues() {
- return false;
- }
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/OwnerObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/OwnerObservableValue.java
deleted file mode 100644
index 9702947a961..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/OwnerObservableValue.java
+++ /dev/null
@@ -1,232 +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.uml.properties.databinding;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.databinding.observable.ChangeEvent;
-import org.eclipse.core.databinding.observable.Diffs;
-import org.eclipse.core.databinding.observable.IChangeListener;
-import org.eclipse.core.databinding.observable.IObservable;
-import org.eclipse.core.databinding.observable.list.IObservableList;
-import org.eclipse.core.databinding.observable.value.AbstractObservableValue;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.UnexecutableCommand;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.databinding.EMFProperties;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.infra.widgets.databinding.AggregatedObservable;
-import org.eclipse.papyrus.uml.properties.Activator;
-import org.eclipse.uml2.uml.Artifact;
-import org.eclipse.uml2.uml.Association;
-import org.eclipse.uml2.uml.DataType;
-import org.eclipse.uml2.uml.Interface;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.Signal;
-import org.eclipse.uml2.uml.StructuredClassifier;
-import org.eclipse.uml2.uml.Type;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * An ObservableValue for manipulating the UML Owner property.
- * The owner property is a virtual property, represented as an enumeration,
- * which can have two values : Association (Owned by Association) or Classifier
- * (Owned by Classifier)
- *
- * This value can be determined by the following query :
- * if self.association.ownedEnd->contains(self) then 'Association' else 'Classifier' endif
- *
- * This value doesn't make sense for n-ary associations, when n > 2.
- *
- * @author Camille Letavernier
- */
-//TODO : To be refactored
-//This observable should rely on Papyrus UML Tools
-public class OwnerObservableValue extends AbstractObservableValue implements IChangeListener, AggregatedObservable, CommandBasedObservableValue {
-
- private Property memberEnd;
-
- private EditingDomain domain;
-
- private String currentValue;
-
- private final IObservableList navigableEndsObservableList;
-
- /**
- * Owned by classifier
- */
- public static String CLASSIFIER = "Classifier"; //$NON-NLS-1$
-
- /**
- * Owned by association
- */
- public static String ASSOCIATION = "Association"; //$NON-NLS-1$
-
- /**
- * Constructor.
- *
- * @param source
- * The EObject (Property) which the ownership is being edited
- * @param domain
- * The Editing Domain on which the commands will be executed
- */
- public OwnerObservableValue(EObject source, EditingDomain domain) {
- this.memberEnd = (Property)source;
- this.domain = domain;
- navigableEndsObservableList = EMFProperties.list(UMLPackage.eINSTANCE.getAssociation_NavigableOwnedEnd()).observe(memberEnd.getAssociation());
- navigableEndsObservableList.addChangeListener(this);
- }
-
- public void handleChange(ChangeEvent event) {
- fireValueChange(Diffs.createValueDiff(currentValue, doGetValue()));
- }
-
- public Object getValueType() {
- return String.class;
- }
-
- @Override
- protected String doGetValue() {
- return memberEnd.getAssociation().getOwnedEnds().contains(memberEnd) ? "Association" : "Classifier"; //$NON-NLS-1$ //$NON-NLS-2$
- }
-
- @Override
- protected void doSetValue(Object value) {
- Command command = getCommand(value);
- domain.getCommandStack().execute(command);
- }
-
- @Override
- public void dispose() {
- super.dispose();
- navigableEndsObservableList.removeChangeListener(this);
- navigableEndsObservableList.dispose();
- }
-
- public Command getCommand(Object value) {
- if(value instanceof String) {
- String owner = (String)value;
- boolean isOwnedByAssociation = ASSOCIATION.equals(owner);
-
- Association association = memberEnd.getAssociation();
-
- if(association.getMemberEnds().size() > 2) {
- Activator.log.warn("Cannot change End owner for n-ary associations"); //$NON-NLS-1$
- return UnexecutableCommand.INSTANCE;
- }
-
- //Classifier classifier = memberEnd.getClass_();
- //EStructuralFeature ownedEndFeature = association.eClass().getEStructuralFeature(UMLPackage.ASSOCIATION__OWNED_END);
-
- Command command = null;
-
- if(isOwnedByAssociation) { //Owned by Association
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(association);
- if(provider != null) {
- EStructuralFeature feature = UMLPackage.eINSTANCE.getAssociation_OwnedEnd();
- List<Property> attributeList = new ArrayList<Property>();
- attributeList.addAll(association.getOwnedEnds());
- attributeList.add(memberEnd);
- //association.eSet(feature, attributeList);
-
- SetRequest request = new SetRequest(association, feature, attributeList);
-
- ICommand createGMFCommand = provider.getEditCommand(request);
-
- command = new GMFtoEMFCommandWrapper(createGMFCommand);
- }
- } else { //Owned by Classifier
-
- Type ownerType;
- List<Type> ownerList = association.getEndTypes();
-
- if(ownerList.get(0).equals(memberEnd.getType()) && ownerList.size() > 1) {
- ownerType = ownerList.get(1);
- } else {
- ownerType = ownerList.get(0);
- }
-
- EStructuralFeature ownedAttributeFeature = getFeatureForType(ownerType);
- if(ownedAttributeFeature != null) {
-
- List<Property> attributeList = new ArrayList<Property>();
- attributeList.addAll((EList<Property>)ownerType.eGet(ownedAttributeFeature));
- attributeList.add(memberEnd);
-
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(ownerType);
- if(provider != null) {
- SetRequest request = new SetRequest(ownerType, ownedAttributeFeature, memberEnd);
-
- ICommand createGMFCommand = provider.getEditCommand(request);
-
- command = new GMFtoEMFCommandWrapper(createGMFCommand);
- }
- }
- }
-
- if(command != null) {
- this.currentValue = owner;
- } else {
- Activator.log.warn("Cannot modify the memberEnd owner");
- }
- return command;
- }
-
- return UnexecutableCommand.INSTANCE;
- }
-
- private EStructuralFeature getFeatureForType(Type type) {
- if(type instanceof StructuredClassifier) {
- return UMLPackage.eINSTANCE.getStructuredClassifier_OwnedAttribute();
- }
- if(type instanceof Interface) {
- return UMLPackage.eINSTANCE.getInterface_OwnedAttribute();
- }
- if(type instanceof DataType) {
- return UMLPackage.eINSTANCE.getDataType_OwnedAttribute();
- }
- if(type instanceof Artifact) {
- return UMLPackage.eINSTANCE.getArtifact_OwnedAttribute();
- }
- if(type instanceof Signal) {
- return UMLPackage.eINSTANCE.getSignal_OwnedAttribute();
- }
-
- //Unknown type : we try to find the feature reflexively
- Activator.log.warn("Unknown type : " + type.eClass().getName());
- EStructuralFeature feature = type.eClass().getEStructuralFeature("ownedAttribute"); //$NON-NLS-1$
- if(feature == null) {
- Activator.log.warn("Cannot find a valid feature for type " + type.eClass().getName());
- }
- return feature;
- }
-
- public AggregatedObservable aggregate(IObservable observable) {
- try {
- return new AggregatedPapyrusObservableValue(domain, this, observable);
- } catch (IllegalArgumentException ex) {
- return null; //The observable cannot be aggregated
- }
- }
-
- public boolean hasDifferentValues() {
- return false;
- }
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/PapyrusObservableList.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/PapyrusObservableList.java
deleted file mode 100644
index 946a7c1dc5a..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/PapyrusObservableList.java
+++ /dev/null
@@ -1,245 +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.uml.properties.databinding;
-
-import java.util.Collection;
-import java.util.Collections;
-import java.util.LinkedList;
-import java.util.List;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.views.properties.databinding.EMFObservableList;
-
-/**
- * An ObservableList used to edit collections of EObjects through
- * Papyrus commands
- *
- * @author Camille Letavernier
- *
- */
-@SuppressWarnings("unchecked")
-public class PapyrusObservableList extends EMFObservableList {
-
- /**
- *
- * Constructor.
- *
- * @param wrappedList
- * The list to be edited when #commit() is called
- * @param domain
- * The editing domain on which the commands will be executed
- * @param source
- * The EObject from which the list will be retrieved
- * @param feature
- * The feature from which the list will be retrieved
- */
- public PapyrusObservableList(List<?> wrappedList, EditingDomain domain, EObject source, EStructuralFeature feature) {
- super(wrappedList, domain, source, feature);
- }
-
- /**
- * @return the IElementEditService used to retrieve the command
- */
- protected IElementEditService getProvider() {
- return ElementEditServiceUtils.getCommandProvider(source);
- }
-
- /**
- * Creates an EMF command from a GMF request, with the given IElementEditService
- *
- * @param provider
- * @param request
- * @return
- * The EMF command corresponding to the given request
- */
- protected Command getCommandFromRequest(IElementEditService provider, IEditCommandRequest request) {
- ICommand createGMFCommand = provider.getEditCommand(request);
-
- return new GMFtoEMFCommandWrapper(createGMFCommand);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected Command getAddCommand(int index, Object value) {
- IElementEditService provider = getProvider();
- if(provider != null) {
- List<Object> values = new LinkedList<Object>(this);
- values.add(index, value);
- SetRequest request = new SetRequest(source, feature, values);
- return getCommandFromRequest(provider, request);
- }
-
- return super.getAddCommand(index, value);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected Command getAddCommand(Object value) {
- IElementEditService provider = getProvider();
- if(provider != null) {
- List<Object> values = new LinkedList<Object>(this);
- values.add(value);
- SetRequest request = new SetRequest(source, feature, values);
- return getCommandFromRequest(provider, request);
- }
-
- return super.getAddCommand(value);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected Command getAddAllCommand(Collection<?> values) {
- IElementEditService provider = getProvider();
- if(provider != null) {
- List<Object> result = new LinkedList<Object>(this);
- result.addAll(values);
-
- SetRequest request = new SetRequest(source, feature, values);
- return getCommandFromRequest(provider, request);
- }
-
- return super.getAddAllCommand(values);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected Command getAddAllCommand(int index, Collection<?> values) {
- IElementEditService provider = getProvider();
- if(provider != null) {
- List<Object> result = new LinkedList<Object>(this);
- result.addAll(index, values);
- SetRequest request = new SetRequest(source, feature, values);
- return getCommandFromRequest(provider, request);
- }
- return super.getAddAllCommand(index, values);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected Command getClearCommand() {
- IElementEditService provider = getProvider();
- if(provider != null) {
- SetRequest request = new SetRequest(source, feature, Collections.EMPTY_LIST);
- return getCommandFromRequest(provider, request);
- }
- return super.getClearCommand();
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected Command getRemoveCommand(int index) {
- IElementEditService provider = getProvider();
- if(provider != null) {
- List<Object> values = new LinkedList<Object>(this);
- values.remove(index);
- SetRequest request = new SetRequest(source, feature, values);
- return getCommandFromRequest(provider, request);
- }
-
- return null;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected Command getRemoveCommand(final Object value) {
- IElementEditService provider = getProvider();
-
- if(provider != null) {
- IEditCommandRequest request;
-
- if(feature instanceof EReference && ((EReference)feature).isContainment()) {
- request = new DestroyElementRequest((EObject)value, false);
- } else {
- List<Object> values = new LinkedList<Object>(this);
- values.remove(value);
- request = new SetRequest(source, feature, values);
- }
-
- return getCommandFromRequest(provider, request);
- }
-
- return super.getRemoveCommand(value);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected Command getRemoveAllCommand(Collection<?> values) {
- IElementEditService provider = getProvider();
- if(provider != null) {
- List<Object> result = new LinkedList<Object>(this);
- values.removeAll(values);
- SetRequest request = new SetRequest(source, feature, result);
- return getCommandFromRequest(provider, request);
- }
- return super.getRemoveAllCommand(values);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected List<Command> getMoveCommands(int oldIndex, int newIndex) {
- IElementEditService provider = getProvider();
- if(provider != null) {
- List<Object> values = new LinkedList<Object>(this);
- Object result = values.remove(oldIndex);
- values.add(newIndex, result);
- SetRequest request = new SetRequest(source, feature, values);
- return Collections.singletonList(getCommandFromRequest(provider, request));
- }
-
- return super.getMoveCommands(oldIndex, newIndex);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected Command getSetCommand(int index, Object value) {
- IElementEditService provider = getProvider();
- if(provider != null) {
- List<Object> values = new LinkedList<Object>(this);
- values.set(index, value);
- SetRequest request = new SetRequest(source, feature, values);
- return getCommandFromRequest(provider, request);
- }
-
- return super.getSetCommand(index, value);
- }
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/PapyrusObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/PapyrusObservableValue.java
deleted file mode 100644
index 4ce73d7cc00..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/PapyrusObservableValue.java
+++ /dev/null
@@ -1,132 +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.uml.properties.databinding;
-
-import org.eclipse.core.databinding.observable.IObservable;
-import org.eclipse.core.databinding.observable.Realm;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.UnexecutableCommand;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest;
-import org.eclipse.papyrus.commands.wrappers.GMFtoEMFCommandWrapper;
-import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-import org.eclipse.papyrus.infra.widgets.databinding.AggregatedObservable;
-import org.eclipse.papyrus.views.properties.Activator;
-import org.eclipse.papyrus.views.properties.databinding.EMFObservableValue;
-
-/**
- * An ObservableValue used to edit EObject properties through
- * Papyrus commands
- *
- * @author Camille Letavernier
- *
- */
-public class PapyrusObservableValue extends EMFObservableValue implements AggregatedObservable, CommandBasedObservableValue {
-
- /**
- *
- * Constructor.
- *
- * @param eObject
- * The EObject to edit
- * @param eStructuralFeature
- * The structural feature to edit
- * @param domain
- * The editing domain on which the commands will be executed
- */
- public PapyrusObservableValue(EObject eObject, EStructuralFeature eStructuralFeature, EditingDomain domain) {
- this(Realm.getDefault(), eObject, eStructuralFeature, domain);
- }
-
- /**
- *
- * Constructor.
- *
- * @param realm
- * @param eObject
- * The EObject to edit
- * @param eStructuralFeature
- * The structural feature to edit
- * @param domain
- * The editing domain on which the commands will be executed
- */
- public PapyrusObservableValue(Realm realm, EObject eObject, EStructuralFeature eStructuralFeature, EditingDomain domain) {
- super(eObject, eStructuralFeature, domain);
- }
-
- @Override
- protected void doSetValue(Object value) {
- Command emfCommand = getCommand(value);
- domain.getCommandStack().execute(emfCommand);
- }
-
- /**
- * {@inheritDoc}
- */
- public Command getCommand(Object value) {
- EObject eObjectValue = EMFHelper.getEObject(value);
- if(eObjectValue != null) {
- value = eObjectValue;
- }
-
- try {
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(getObserved());
-
- if(provider != null) {
- SetRequest request = new SetRequest((TransactionalEditingDomain)domain, eObject, eStructuralFeature, value);
- ICommand createGMFCommand = provider.getEditCommand(request);
-
- Command emfCommand = new GMFtoEMFCommandWrapper(createGMFCommand);
-
- return emfCommand;
- }
- } catch (Exception ex) {
- Activator.log.error(ex);
- }
-
- return UnexecutableCommand.INSTANCE;
- }
-
- /**
- *
- * @return the {@link EStructuralFeature} observed by this object
- */
- public EStructuralFeature getEStructuralFeature() {
- return eStructuralFeature;
- }
-
- /**
- *
- * @return the {@link EObject} observed by this object
- */
- public EObject getEObject() {
- return eObject;
- }
-
- public AggregatedObservable aggregate(IObservable observable) {
- try {
- return new AggregatedPapyrusObservableValue(domain, this, observable);
- } catch (IllegalArgumentException ex) {
- return null; //The observable cannot be aggregated
- }
- }
-
- public boolean hasDifferentValues() {
- return false; //The value is not aggregated yet
- }
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ProfileApplicationObservableList.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ProfileApplicationObservableList.java
deleted file mode 100644
index 31667d697a6..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ProfileApplicationObservableList.java
+++ /dev/null
@@ -1,317 +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.uml.properties.databinding;
-
-import java.util.Collection;
-import java.util.LinkedList;
-import java.util.List;
-
-import org.eclipse.core.databinding.observable.list.ListDiff;
-import org.eclipse.core.databinding.observable.list.ListDiffEntry;
-import org.eclipse.core.databinding.observable.list.WritableList;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.CompoundCommand;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.infra.widgets.editors.AbstractEditor;
-import org.eclipse.papyrus.infra.widgets.editors.ICommitListener;
-import org.eclipse.papyrus.uml.properties.databinding.command.ApplyProfileCommand;
-import org.eclipse.papyrus.uml.properties.databinding.command.UnapplyProfileCommand;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.Profile;
-
-/**
- *
- * An IObservableList for Profile application
- *
- * @author Camille Letavernier
- */
-@SuppressWarnings({ "unchecked", "rawtypes" })
-public class ProfileApplicationObservableList extends WritableList implements ICommitListener {
-
- private Package umlSource;
-
- private EditingDomain domain;
-
- private final List<Command> commands;
-
- private AbstractStereotypeListener listener;
-
- /**
- *
- * Constructor.
- *
- * @param umlSource
- * The Package on which the profiles are applied or unapplied
- * @param domain
- * The editing domain on which the commands are executed
- */
- public ProfileApplicationObservableList(Package umlSource, EditingDomain domain) {
- super(new LinkedList<Object>(umlSource.getAllAppliedProfiles()), Profile.class);
- this.umlSource = umlSource;
- this.domain = domain;
- commands = new LinkedList<Command>();
-
- listener = new AbstractStereotypeListener(umlSource) {
-
- @Override
- protected void handleUnappliedStereotype(final EObject newValue) {
- ProfileApplicationObservableList.this.fireListChange(new ListDiff() {
-
- @Override
- public ListDiffEntry[] getDifferences() {
- return new ListDiffEntry[]{ new ListDiffEntry() {
-
- @Override
- public int getPosition() {
- return 0;
- }
-
- @Override
- public boolean isAddition() {
- return false;
- }
-
- @Override
- public Object getElement() {
- return newValue;
- }
-
- } };
- }
-
- });
- }
-
- @Override
- protected void handleAppliedStereotype(final EObject newValue) {
- ProfileApplicationObservableList.this.fireListChange(new ListDiff() {
-
- @Override
- public ListDiffEntry[] getDifferences() {
- return new ListDiffEntry[]{ new ListDiffEntry() {
-
- @Override
- public int getPosition() {
- return 0;
- }
-
- @Override
- public boolean isAddition() {
- return true;
- }
-
- @Override
- public Object getElement() {
- return newValue;
- }
-
- } };
- }
-
- });
- }
- };
- }
-
- @Override
- public void dispose() {
- super.dispose();
- this.listener.dispose();
- }
-
- public void commit(AbstractEditor editor) {
- if(commands.isEmpty()) {
- return;
- }
-
- CompoundCommand compoundCommand = new CompoundCommand() {
-
- @Override
- public void execute() {
- super.execute();
- refreshCacheList();
- }
-
- @Override
- public void undo() {
- super.undo();
- refreshCacheList();
- }
-
- @Override
- public void redo() {
- super.redo();
- refreshCacheList();
- }
-
- /**
- * We have a sequential execution : the method canExecute() in
- * the command n+1 depends on the result of the command n. We can't
- * check every command's canExecute() method here, so we only
- * check the first one.
- *
- */
- @Override
- public boolean canExecute() {
- return commandList.isEmpty() ? false : commandList.get(0).canExecute();
- }
-
- //TODO : edit the execute() method to call the remaining canExecute() checks
- //during the execution
- //(n).canExecute()
- //(n).execute()
- //(n+1).canExecute()
- //(n+1).execute()
- };
-
- for(Command cmd : commands) {
- compoundCommand.append(cmd);
- }
-
- domain.getCommandStack().execute(compoundCommand);
- commands.clear();
- }
-
- private void refreshCacheList() {
- wrappedList.clear();
- wrappedList.addAll(umlSource.getAllAppliedProfiles());
- fireListChange(null);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public void clear() {
- removeAll(new LinkedList<Object>(wrappedList));
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public boolean add(Object o) {
- if(!(o instanceof Profile)) {
- return false;
- }
-
- Profile profile = (Profile)o;
- Command command = new ApplyProfileCommand(umlSource, profile);
-
- commands.add(command);
-
- return wrappedList.add(o);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public boolean remove(Object o) {
-
- if(!(o instanceof Profile)) {
- return false;
- }
-
- final Profile profile = (Profile)o;
- Command command = new UnapplyProfileCommand(umlSource, profile);
-
- commands.add(command);
-
- return wrappedList.remove(o);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public boolean addAll(Collection c) {
- //We only apply the profiles that are not applied yet (To avoid removing them when undo is called)
- c.removeAll(wrappedList);
-
- Command command = new ApplyProfileCommand(umlSource, c);
-
- commands.add(command);
-
- return wrappedList.addAll(c);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public boolean removeAll(Collection c) {
- Command command = new UnapplyProfileCommand(umlSource, c);
-
- commands.add(command);
-
- return wrappedList.removeAll(c);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public boolean retainAll(Collection c) {
- List<Object> objectsToRemove = new LinkedList<Object>();
- for(Object object : c) {
- if(!contains(object)) {
- objectsToRemove.add(object);
- }
- }
- return removeAll(objectsToRemove);
- }
-
- //Unsupported operations. Some of them have a "proxy" implementation
-
- /**
- * {@inheritDoc}
- */
- @Override
- public void add(int index, Object value) {
- add(value); //The list is not ordered
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public boolean addAll(int index, Collection c) {
- return addAll(c); //The list is not ordered
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public Object set(int index, Object element) {
- throw new UnsupportedOperationException();
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public Object move(int oldIndex, int newIndex) {
- throw new UnsupportedOperationException();
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public Object remove(int index) {
- throw new UnsupportedOperationException();
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ProvidedInterfaceObservableList.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ProvidedInterfaceObservableList.java
deleted file mode 100644
index 989fb02557c..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/ProvidedInterfaceObservableList.java
+++ /dev/null
@@ -1,78 +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.uml.properties.databinding;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.databinding.EMFProperties;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.uml2.uml.Interface;
-import org.eclipse.uml2.uml.Port;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * An IObservableList to edit the UML Derived feature {@link Port#getProvideds()}
- *
- * @author Camille Letavernier
- *
- */
-public class ProvidedInterfaceObservableList extends PapyrusObservableList {
-
- protected Port port;
-
- public ProvidedInterfaceObservableList(Port source, EditingDomain domain) {
- super(EMFProperties.list(UMLPackage.eINSTANCE.getPort_Provided()).observe(source), domain, source, UMLPackage.eINSTANCE.getPort_Provided());
- this.port = source;
- }
-
- @Override
- protected Command getRemoveCommand(Object value) {
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
- @Override
- protected Command getRemoveAllCommand(Collection<?> values) {
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
- @Override
- protected Command getAddCommand(int index, Object value) {
- if(!(value instanceof Interface)) {
- throw new IllegalArgumentException("The value must be an Interface"); //$NON-NLS-1$
- }
- Interface providedInterface = (Interface)value;
-
- //Pseudo code
- //Use a command
- //Use the Papyrus UML Layer
- //InterfaceRealization realization = createInterfaceRealization(providedInterface);
- //((org.eclipse.uml2.uml.Class)port.getType()).getInterfaceRealizations().add(realization);
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
- @Override
- protected Command getAddCommand(Object value) {
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
- @Override
- protected Command getAddAllCommand(Collection<?> values) {
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
- @Override
- protected Command getAddAllCommand(int index, Collection<?> values) {
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/RequiredInterfaceObservableList.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/RequiredInterfaceObservableList.java
deleted file mode 100644
index eef017315ca..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/RequiredInterfaceObservableList.java
+++ /dev/null
@@ -1,76 +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.uml.properties.databinding;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.databinding.EMFProperties;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.uml2.uml.Interface;
-import org.eclipse.uml2.uml.Port;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * An IObservableList to edit the UML Derived feature {@link Port#getRequireds()}
- *
- * @author Camille Letavernier
- *
- */
-public class RequiredInterfaceObservableList extends PapyrusObservableList {
-
- protected Port port;
-
- public RequiredInterfaceObservableList(Port source, EditingDomain domain) {
- super(EMFProperties.list(UMLPackage.eINSTANCE.getPort_Required()).observe(source), domain, source, UMLPackage.eINSTANCE.getPort_Required());
- this.port = source;
- }
-
- @Override
- protected Command getRemoveCommand(Object value) {
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
- @Override
- protected Command getRemoveAllCommand(Collection<?> values) {
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
- @Override
- protected Command getAddCommand(int index, Object value) {
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
- protected Interface getRequiredInterface(Object value) {
- if(!(value instanceof Interface)) {
- throw new IllegalArgumentException("The value must be an Interface"); //$NON-NLS-1$
- }
- Interface requiredInterface = (Interface)value;
- return requiredInterface;
- }
-
- @Override
- protected Command getAddCommand(Object value) {
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
- @Override
- protected Command getAddAllCommand(Collection<?> values) {
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
- @Override
- protected Command getAddAllCommand(int index, Collection<?> values) {
- throw new UnsupportedOperationException("TODO"); //TODO
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/StereotypeApplicationObservableList.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/StereotypeApplicationObservableList.java
index cf92ff76edd..aacfaa0759b 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/StereotypeApplicationObservableList.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/StereotypeApplicationObservableList.java
@@ -24,8 +24,9 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.papyrus.infra.widgets.editors.AbstractEditor;
import org.eclipse.papyrus.infra.widgets.editors.ICommitListener;
-import org.eclipse.papyrus.uml.properties.databinding.command.ApplyStereotypeCommand;
-import org.eclipse.papyrus.uml.properties.databinding.command.UnapplyStereotypeCommand;
+import org.eclipse.papyrus.uml.tools.commands.ApplyStereotypeCommand;
+import org.eclipse.papyrus.uml.tools.commands.UnapplyStereotypeCommand;
+import org.eclipse.papyrus.uml.tools.databinding.AbstractStereotypeListener;
import org.eclipse.uml2.uml.Element;
import org.eclipse.uml2.uml.Stereotype;
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/ApplyProfileCommand.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/ApplyProfileCommand.java
deleted file mode 100644
index 0648224b814..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/ApplyProfileCommand.java
+++ /dev/null
@@ -1,87 +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.uml.properties.databinding.command;
-
-import java.util.Collection;
-import java.util.Collections;
-
-import org.eclipse.emf.common.command.AbstractCommand;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.Profile;
-
-/**
- * A command to apply a profile on a UML Package
- *
- * @author Camille Letavernier
- */
-public class ApplyProfileCommand extends AbstractCommand {
-
- private Package umlPackage;
-
- private Collection<Profile> profiles;
-
- /**
- *
- * Constructor.
- *
- * @param umlPackage
- * The UML Package on which the profiles will be applied
- * @param profiles
- * The list of profiles to apply
- */
- public ApplyProfileCommand(Package umlPackage, Collection<Profile> profiles) {
- this.umlPackage = umlPackage;
- this.profiles = profiles;
- }
-
- /**
- *
- * Constructor.
- *
- * @param umlPackage
- * The UML Package on which the profile will be applied
- * @param profile
- * The profile to apply
- */
- public ApplyProfileCommand(Package umlPackage, Profile profile) {
- this.umlPackage = umlPackage;
- this.profiles = Collections.singletonList(profile);
- }
-
- @Override
- public boolean canExecute() {
- return true;
- }
-
- public void execute() {
- for(Profile profile : profiles) {
- umlPackage.applyProfile(profile);
- }
- }
-
- @Override
- public boolean canUndo() {
- return true;
- }
-
- @Override
- public void undo() {
- for(Profile profile : profiles) {
- umlPackage.unapplyProfile(profile);
- }
- }
-
- public void redo() {
- execute();
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/ApplyStereotypeCommand.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/ApplyStereotypeCommand.java
deleted file mode 100644
index eabc0732b2b..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/ApplyStereotypeCommand.java
+++ /dev/null
@@ -1,87 +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.uml.properties.databinding.command;
-
-import java.util.Collection;
-import java.util.Collections;
-
-import org.eclipse.emf.common.command.AbstractCommand;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Stereotype;
-
-/**
- * A Command to apply a Stereotype on a UML Element
- *
- * @author Camille Letavernier
- */
-public class ApplyStereotypeCommand extends AbstractCommand {
-
- private Element element;
-
- private Collection<Stereotype> stereotypes;
-
- /**
- *
- * Constructor.
- *
- * @param element
- * The UML Element on which the stereotypes will be applied
- * @param stereotypes
- * The stereotypes to apply
- */
- public ApplyStereotypeCommand(Element element, Collection<Stereotype> stereotypes) {
- this.element = element;
- this.stereotypes = stereotypes;
- }
-
- /**
- *
- * Constructor.
- *
- * @param element
- * The UML Element on which the stereotype will be applied
- * @param stereotype
- * The stereotypes to apply
- */
- public ApplyStereotypeCommand(Element element, Stereotype stereotype) {
- this.element = element;
- this.stereotypes = Collections.singletonList(stereotype);
- }
-
- @Override
- public boolean canExecute() {
- return true;
- }
-
- public void execute() {
- for(Stereotype stereotype : stereotypes) {
- element.applyStereotype(stereotype);
- }
- }
-
- @Override
- public boolean canUndo() {
- return true;
- }
-
- @Override
- public void undo() {
- for(Stereotype stereotype : stereotypes) {
- element.unapplyStereotype(stereotype);
- }
- }
-
- public void redo() {
- execute();
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/UnapplyProfileCommand.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/UnapplyProfileCommand.java
deleted file mode 100644
index c5c0e1d6bb4..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/UnapplyProfileCommand.java
+++ /dev/null
@@ -1,86 +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.uml.properties.databinding.command;
-
-import java.util.Collection;
-import java.util.Collections;
-
-import org.eclipse.emf.common.command.AbstractCommand;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.Profile;
-
-/**
- * A command to unapply a profile on a UML Package
- *
- * @author Camille Letavernier
- */
-public class UnapplyProfileCommand extends AbstractCommand {
-
- private Package umlPackage;
-
- private Collection<Profile> profiles;
-
- /**
- *
- * Constructor.
- *
- * @param umlPackage
- * The UML Package from which the profiles will be unapplied
- * @param profiles
- * The list of profiles to unapply
- */
- public UnapplyProfileCommand(Package umlPackage, Collection<Profile> profiles) {
- this.umlPackage = umlPackage;
- this.profiles = profiles;
- }
-
- /**
- *
- * Constructor.
- *
- * @param umlPackage
- * The UML Package from which the profile will be unapplied
- * @param profile
- * The profile to unapply
- */
- public UnapplyProfileCommand(Package umlPackage, Profile profile) {
- this.umlPackage = umlPackage;
- this.profiles = Collections.singletonList(profile);
- }
-
- @Override
- public boolean canExecute() {
- return true;
- }
-
- public void execute() {
- for(Profile profile : profiles) {
- umlPackage.unapplyProfile(profile);
- }
- }
-
- @Override
- public boolean canUndo() {
- return true;
- }
-
- @Override
- public void undo() {
- for(Profile profile : profiles) {
- umlPackage.applyProfile(profile);
- }
- }
-
- public void redo() {
- execute();
- }
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/UnapplyStereotypeCommand.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/UnapplyStereotypeCommand.java
deleted file mode 100644
index 9fe2731c64e..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/databinding/command/UnapplyStereotypeCommand.java
+++ /dev/null
@@ -1,87 +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.uml.properties.databinding.command;
-
-import java.util.Collection;
-import java.util.Collections;
-
-import org.eclipse.emf.common.command.AbstractCommand;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Stereotype;
-
-/**
- * A Command to unapply a Stereotype on a UML Element
- *
- * @author Camille Letavernier
- */
-public class UnapplyStereotypeCommand extends AbstractCommand {
-
- private Element element;
-
- private Collection<Stereotype> stereotypes;
-
- /**
- *
- * Constructor.
- *
- * @param element
- * The UML Element from which the stereotypes will be unapplied
- * @param stereotypes
- * The stereotypes to unapply
- */
- public UnapplyStereotypeCommand(Element element, Collection<Stereotype> stereotypes) {
- this.element = element;
- this.stereotypes = stereotypes;
- }
-
- /**
- *
- * Constructor.
- *
- * @param element
- * The UML Element from which the stereotype will be unapplied
- * @param stereotype
- * The stereotype to unapply
- */
- public UnapplyStereotypeCommand(Element element, Stereotype stereotype) {
- this.element = element;
- this.stereotypes = Collections.singletonList(stereotype);
- }
-
- @Override
- public boolean canExecute() {
- return true;
- }
-
- public void execute() {
- for(Stereotype stereotype : stereotypes) {
- element.unapplyStereotype(stereotype);
- }
- }
-
- @Override
- public boolean canUndo() {
- return true;
- }
-
- @Override
- public void undo() {
- for(Stereotype stereotype : stereotypes) {
- element.applyStereotype(stereotype);
- }
- }
-
- public void redo() {
- execute();
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/DataTypeProvider.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/DataTypeProvider.java
index 3cd91863d59..5624401770a 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/DataTypeProvider.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/DataTypeProvider.java
@@ -17,8 +17,8 @@ import java.util.Map;
import org.eclipse.core.runtime.IConfigurationElement;
import org.eclipse.core.runtime.Platform;
import org.eclipse.emf.ecore.EDataType;
+import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
import org.eclipse.papyrus.uml.properties.Activator;
-import org.eclipse.papyrus.views.properties.util.ClassLoader;
public class DataTypeProvider {
@@ -27,15 +27,14 @@ public class DataTypeProvider {
public static final String EXTENSION_ID = Activator.PLUGIN_ID + ".datatype"; //$NON-NLS-1$
- private DataTypeProvider(){
+ private DataTypeProvider() {
IConfigurationElement[] config = Platform.getExtensionRegistry().getConfigurationElementsFor(EXTENSION_ID);
for(IConfigurationElement e : config) {
String dataTypeName = e.getAttribute("dataType"); //$NON-NLS-1$
String observableClassName = e.getAttribute("observable"); //$NON-NLS-1$
- ClassLoader loader = new ClassLoader();
- Class<? extends DataTypeObservableValue> observableClass = loader.loadClass(observableClassName, DataTypeObservableValue.class);
+ Class<? extends DataTypeObservableValue> observableClass = ClassLoaderHelper.loadClass(observableClassName, DataTypeObservableValue.class);
if(observableClass != null) {
observableDataTypes.put(dataTypeName, observableClass);
@@ -44,10 +43,9 @@ public class DataTypeProvider {
}
public DataTypeObservableValue getObservableDataType(EDataType dataType) {
- ClassLoader loader = new ClassLoader();
for(String key : observableDataTypes.keySet()) {
if(key.equals(dataType.getName())) {
- return loader.newInstance(observableDataTypes.get(key));
+ return ClassLoaderHelper.newInstance(observableDataTypes.get(key));
}
}
return null;
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/StringDataTypeObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/StringDataTypeObservableValue.java
index 0d3dd812bef..f095c461ffd 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/StringDataTypeObservableValue.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/StringDataTypeObservableValue.java
@@ -15,7 +15,7 @@ import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.uml.properties.databinding.PapyrusObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.PapyrusObservableValue;
public class StringDataTypeObservableValue extends PapyrusObservableValue implements DataTypeObservableValue {
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/StructuredDataTypeObservableValue.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/StructuredDataTypeObservableValue.java
index cdf04d4e49d..807c643d227 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/StructuredDataTypeObservableValue.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/datatype/StructuredDataTypeObservableValue.java
@@ -16,7 +16,7 @@ import org.eclipse.emf.ecore.EDataType;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.uml.properties.databinding.PapyrusObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.PapyrusObservableValue;
/**
* Allows the manipulation of a UML DataType from a static profile (Implemented by an EMF EDataType)
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/messages/Messages.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/messages/Messages.java
index 2adb94fc79d..e7dff13d42e 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/messages/Messages.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/messages/Messages.java
@@ -17,8 +17,6 @@ public class Messages extends NLS {
private static final String BUNDLE_NAME = "org.eclipse.papyrus.uml.properties.messages.messages"; //$NON-NLS-1$
- public static String MultiplicityObservableValue_setMultiplicityCommand;
-
public static String ExpressionLanguageFactory_EditLanguage;
public static String ExpressionLanguageFactory_LanguageDuplicateError;
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/messages/messages.properties b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/messages/messages.properties
index 41d612fab83..b2662df2674 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/messages/messages.properties
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/messages/messages.properties
@@ -1,4 +1,3 @@
-MultiplicityObservableValue_setMultiplicityCommand=Set multiplicity
ExpressionEditor_BodyLabel=Body
ProfileApplicationEditor_ApplyProfile=Apply profile
ProfileApplicationEditor_ApplyProfilesDialogDescription=Choose profiles to apply
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/CustomImageModelElement.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/CustomImageModelElement.java
index 6457e122891..b2c607609df 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/CustomImageModelElement.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/CustomImageModelElement.java
@@ -11,9 +11,9 @@
*****************************************************************************/
package org.eclipse.papyrus.uml.properties.modelelement;
-import static org.eclipse.papyrus.uml.properties.databinding.ImageKindObservableValue.KIND_ICON;
-import static org.eclipse.papyrus.uml.properties.databinding.ImageKindObservableValue.KIND_SHAPE;
-import static org.eclipse.papyrus.uml.properties.databinding.ImageKindObservableValue.KIND_UNDEFINED;
+import static org.eclipse.papyrus.uml.tools.databinding.ImageKindObservableValue.KIND_ICON;
+import static org.eclipse.papyrus.uml.tools.databinding.ImageKindObservableValue.KIND_SHAPE;
+import static org.eclipse.papyrus.uml.tools.databinding.ImageKindObservableValue.KIND_UNDEFINED;
import org.eclipse.core.databinding.observable.IObservable;
import org.eclipse.emf.edit.domain.EditingDomain;
@@ -21,9 +21,9 @@ import org.eclipse.papyrus.infra.widgets.providers.AbstractStaticContentProvider
import org.eclipse.papyrus.infra.widgets.providers.EmptyContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
import org.eclipse.papyrus.uml.properties.Activator;
-import org.eclipse.papyrus.uml.properties.databinding.ImageExpressionObservableValue;
-import org.eclipse.papyrus.uml.properties.databinding.ImageKindObservableValue;
-import org.eclipse.papyrus.uml.properties.databinding.ImageNameObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.ImageExpressionObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.ImageKindObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.ImageNameObservableValue;
import org.eclipse.papyrus.views.properties.modelelement.AbstractModelElement;
import org.eclipse.uml2.uml.Image;
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/MemberEndModelElement.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/MemberEndModelElement.java
index 02c9edcbe31..c00a0dd773e 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/MemberEndModelElement.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/MemberEndModelElement.java
@@ -11,12 +11,12 @@
*****************************************************************************/
package org.eclipse.papyrus.uml.properties.modelelement;
-import static org.eclipse.papyrus.uml.properties.databinding.MultiplicityObservableValue.ANY;
-import static org.eclipse.papyrus.uml.properties.databinding.MultiplicityObservableValue.ONE;
-import static org.eclipse.papyrus.uml.properties.databinding.MultiplicityObservableValue.ONE_OR_MORE;
-import static org.eclipse.papyrus.uml.properties.databinding.MultiplicityObservableValue.OPTIONAL;
-import static org.eclipse.papyrus.uml.properties.databinding.OwnerObservableValue.ASSOCIATION;
-import static org.eclipse.papyrus.uml.properties.databinding.OwnerObservableValue.CLASSIFIER;
+import static org.eclipse.papyrus.uml.tools.databinding.MultiplicityObservableValue.ANY;
+import static org.eclipse.papyrus.uml.tools.databinding.MultiplicityObservableValue.ONE;
+import static org.eclipse.papyrus.uml.tools.databinding.MultiplicityObservableValue.ONE_OR_MORE;
+import static org.eclipse.papyrus.uml.tools.databinding.MultiplicityObservableValue.OPTIONAL;
+import static org.eclipse.papyrus.uml.tools.databinding.OwnerObservableValue.ASSOCIATION;
+import static org.eclipse.papyrus.uml.tools.databinding.OwnerObservableValue.CLASSIFIER;
import java.util.List;
@@ -26,10 +26,10 @@ import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.StaticContentProvider;
import org.eclipse.papyrus.uml.properties.Activator;
-import org.eclipse.papyrus.uml.properties.databinding.ExtensionEndMultiplicityObservableValue;
-import org.eclipse.papyrus.uml.properties.databinding.MultiplicityObservableValue;
-import org.eclipse.papyrus.uml.properties.databinding.NavigationObservableValue;
-import org.eclipse.papyrus.uml.properties.databinding.OwnerObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.ExtensionEndMultiplicityObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.MultiplicityObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.NavigationObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.OwnerObservableValue;
import org.eclipse.papyrus.views.properties.modelelement.AbstractModelElement;
import org.eclipse.uml2.uml.ExtensionEnd;
import org.eclipse.uml2.uml.Property;
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/StereotypeApplicationModelElement.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/StereotypeApplicationModelElement.java
index 44dd71a341f..875d6e896e5 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/StereotypeApplicationModelElement.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/StereotypeApplicationModelElement.java
@@ -18,12 +18,11 @@ import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.gef.EditPart;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
-import org.eclipse.papyrus.uml.properties.databinding.ProfileApplicationObservableList;
import org.eclipse.papyrus.uml.properties.databinding.StereotypeApplicationObservableList;
import org.eclipse.papyrus.uml.properties.providers.ApplicableStereotypeContentProvider;
-import org.eclipse.papyrus.uml.properties.providers.ProfileLabelProvider;
import org.eclipse.papyrus.uml.properties.util.UMLUtil;
+import org.eclipse.papyrus.uml.tools.databinding.ProfileApplicationObservableList;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.papyrus.views.properties.modelelement.EMFModelElement;
import org.eclipse.uml2.uml.Element;
import org.eclipse.uml2.uml.Package;
@@ -98,10 +97,7 @@ public class StereotypeApplicationModelElement extends EMFModelElement {
@Override
public ILabelProvider getLabelProvider(String propertyPath) {
EStructuralFeature feature = getFeature(propertyPath);
- if(feature == UMLPackage.eINSTANCE.getPackage_ProfileApplication()) {
- return new ProfileLabelProvider((Package)source);
- }
- return new EditorLabelProvider();
+ return new UMLLabelProvider();
}
/**
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/StereotypeModelElement.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/StereotypeModelElement.java
index 62a902318ef..8c4b99a3a6f 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/StereotypeModelElement.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/StereotypeModelElement.java
@@ -27,12 +27,12 @@ import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
import org.eclipse.papyrus.infra.widgets.providers.EmptyContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
-import org.eclipse.papyrus.uml.modelexplorer.widgets.ServiceEditFilteredUMLContentProvider;
-import org.eclipse.papyrus.uml.properties.databinding.PapyrusObservableList;
-import org.eclipse.papyrus.uml.properties.databinding.PapyrusObservableValue;
import org.eclipse.papyrus.uml.properties.datatype.DataTypeProvider;
import org.eclipse.papyrus.uml.properties.datatype.StructuredDataTypeObservableValue;
-import org.eclipse.papyrus.uml.properties.providers.UMLLabelProvider;
+import org.eclipse.papyrus.uml.properties.providers.UMLFilteredLabelProvider;
+import org.eclipse.papyrus.uml.tools.databinding.PapyrusObservableList;
+import org.eclipse.papyrus.uml.tools.databinding.PapyrusObservableValue;
+import org.eclipse.papyrus.uml.tools.providers.ServiceEditFilteredUMLContentProvider;
import org.eclipse.papyrus.uml.tools.utils.PackageUtil;
import org.eclipse.papyrus.views.properties.modelelement.EMFModelElement;
import org.eclipse.uml2.uml.Element;
@@ -43,19 +43,19 @@ import org.eclipse.uml2.uml.util.UMLUtil;
/**
* A Model Element for manipulating Stereotype properties
- *
+ *
* @author Camille Letavernier
*/
public class StereotypeModelElement extends EMFModelElement {
/**
* Constructor.
- *
+ *
* @param source
* The StereotypeApplication being edited
* @param domain
* The Editing domain on which the commands will be called
- *
+ *
*/
public StereotypeModelElement(EObject source, EditingDomain domain) {
super(source, domain);
@@ -95,7 +95,7 @@ public class StereotypeModelElement extends EMFModelElement {
if(feature.getEType() instanceof EEnum) {
return super.getLabelProvider(propertyPath);
}
- return new UMLLabelProvider();
+ return new UMLFilteredLabelProvider();
}
/**
@@ -132,7 +132,7 @@ public class StereotypeModelElement extends EMFModelElement {
/**
* Returns the content provider for reference properties typed
* by a stereotype
- *
+ *
* @param propertyPath
* The name of the property being edited
* @return
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/UMLModelElement.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/UMLModelElement.java
index be2383f6d01..fbe51147a77 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/UMLModelElement.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/modelelement/UMLModelElement.java
@@ -32,26 +32,26 @@ import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.jface.viewers.ILabelProvider;
+import org.eclipse.papyrus.infra.emf.providers.EMFLabelProvider;
import org.eclipse.papyrus.infra.widgets.creation.ReferenceValueFactory;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
-import org.eclipse.papyrus.uml.modelexplorer.widgets.ServiceEditFilteredUMLContentProvider;
-import org.eclipse.papyrus.uml.modelexplorer.widgets.UMLElementMEBContentProvider;
-import org.eclipse.papyrus.uml.modelexplorer.widgets.util.HistoryUtil;
import org.eclipse.papyrus.uml.properties.creation.ConnectorTypeEditorFactory;
import org.eclipse.papyrus.uml.properties.creation.MessageValueSpecificationFactory;
import org.eclipse.papyrus.uml.properties.creation.OwnedRuleCreationFactory;
import org.eclipse.papyrus.uml.properties.creation.UMLPropertyEditorFactory;
-import org.eclipse.papyrus.uml.properties.databinding.ExtensionRequiredObservableValue;
-import org.eclipse.papyrus.uml.properties.databinding.PapyrusObservableList;
-import org.eclipse.papyrus.uml.properties.databinding.PapyrusObservableValue;
-import org.eclipse.papyrus.uml.properties.databinding.ProvidedInterfaceObservableList;
-import org.eclipse.papyrus.uml.properties.databinding.RequiredInterfaceObservableList;
import org.eclipse.papyrus.uml.properties.providers.InstanceValueContentProvider;
-import org.eclipse.papyrus.uml.properties.providers.UMLLabelProvider;
+import org.eclipse.papyrus.uml.properties.providers.UMLFilteredLabelProvider;
+import org.eclipse.papyrus.uml.tools.databinding.ExtensionRequiredObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.PapyrusObservableList;
+import org.eclipse.papyrus.uml.tools.databinding.PapyrusObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.ProvidedInterfaceObservableList;
+import org.eclipse.papyrus.uml.tools.databinding.RequiredInterfaceObservableList;
+import org.eclipse.papyrus.uml.tools.helper.HistoryUtil;
+import org.eclipse.papyrus.uml.tools.providers.ServiceEditFilteredUMLContentProvider;
+import org.eclipse.papyrus.uml.tools.providers.internal.UMLElementMEBContentProvider;
import org.eclipse.papyrus.uml.tools.utils.PackageUtil;
import org.eclipse.papyrus.views.properties.modelelement.EMFModelElement;
import org.eclipse.papyrus.views.properties.providers.ContainerContentProvider;
-import org.eclipse.papyrus.views.properties.providers.EMFObjectLabelProvider;
import org.eclipse.papyrus.views.properties.providers.FeatureContentProvider;
import org.eclipse.uml2.uml.Connector;
import org.eclipse.uml2.uml.Element;
@@ -66,16 +66,16 @@ import org.eclipse.uml2.uml.UMLPackage;
/**
* A ModelElement representing a UML Element
- *
+ *
* @author Camille Letavernier
- *
+ *
*/
public class UMLModelElement extends EMFModelElement {
/**
- *
+ *
* Constructor.
- *
+ *
* @param source
* The EObject represented by this ModelElement
*/
@@ -84,9 +84,9 @@ public class UMLModelElement extends EMFModelElement {
}
/**
- *
+ *
* Constructor.
- *
+ *
* @param source
* The EObject represented by this ModelElement
* @param domain
@@ -195,7 +195,7 @@ public class UMLModelElement extends EMFModelElement {
if(feature != null && feature.getEType() instanceof EEnum) {
return super.getLabelProvider(propertyPath);
}
- return new UMLLabelProvider();
+ return new UMLFilteredLabelProvider();
}
@Override
@@ -249,8 +249,8 @@ public class UMLModelElement extends EMFModelElement {
EClass type = reference.getEReferenceType();
- factory.setContainerLabelProvider(new UMLLabelProvider());
- factory.setReferenceLabelProvider(new EMFObjectLabelProvider());
+ factory.setContainerLabelProvider(new UMLFilteredLabelProvider());
+ factory.setReferenceLabelProvider(new EMFLabelProvider());
IStaticContentProvider contentProvider = new ContainerContentProvider(type);
factory.setContainerContentProvider(contentProvider);
factory.setReferenceContentProvider(new FeatureContentProvider(type));
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/preferences/LanguageRegistry.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/preferences/LanguageRegistry.java
index 66ee8691694..3eda876dbbd 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/preferences/LanguageRegistry.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/preferences/LanguageRegistry.java
@@ -24,6 +24,7 @@ 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.papyrus.infra.emf.utils.EMFHelper;
+import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
import org.eclipse.papyrus.uml.properties.Activator;
import org.eclipse.papyrus.uml.properties.languagepreferences.Editor;
import org.eclipse.papyrus.uml.properties.languagepreferences.Language;
@@ -139,8 +140,7 @@ public class LanguageRegistry {
* The editor to associate to the language
*/
public void registerEditor(String language, Editor editor) {
- if(language == null)
- {
+ if(language == null) {
language = ""; //$NON-NLS-1$
}
@@ -169,30 +169,8 @@ public class LanguageRegistry {
}
private BodyEditor getInstance(Editor editor) {
- Class<? extends BodyEditor> editorClass = getEditorClass(editor);
- try {
- return editorClass.newInstance();
- } catch (InstantiationException ex) {
- Activator.log.error(ex);
- } catch (IllegalAccessException ex) {
- Activator.log.error(ex);
- }
-
- return null;
- }
-
- private Class<? extends BodyEditor> getEditorClass(Editor editor) {
String className = editor.getClass_();
-
- try {
- Class<? extends BodyEditor> clazz = Class.forName(className).asSubclass(BodyEditor.class);
- return clazz;
- } catch (ClassNotFoundException ex) {
- Activator.log.error(ex);
- }
-
- return null;
-
+ return ClassLoaderHelper.newInstance(className, BodyEditor.class);
}
private Map<String, List<Editor>> languageMapping;
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/CopyOfUMLLabelProvider.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/CopyOfUMLLabelProvider.java
deleted file mode 100644
index 934f739b810..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/CopyOfUMLLabelProvider.java
+++ /dev/null
@@ -1,98 +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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *****************************************************************************/
-package org.eclipse.papyrus.uml.properties.providers;
-
-import org.eclipse.emf.ecore.EEnum;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.ILabelProviderListener;
-import org.eclipse.papyrus.views.properties.providers.EMFObjectLabelProvider;
-import org.eclipse.swt.graphics.Image;
-
-/**
- *
- * A LabelProvider for Papyrus
- *
- */
-//FIXME (2 classes with the same behavior)
-public class CopyOfUMLLabelProvider implements ILabelProvider {
-
- /**
- * the label provider
- */
- private ILabelProvider provider;
-
- /**
- *
- * Constructor.
- *
- * @param feature
- * the feature
- */
- public CopyOfUMLLabelProvider(final EStructuralFeature feature) {
- if(feature.getEType() instanceof EEnum) {
- this.provider = new EMFObjectLabelProvider();
- } else {
- this.provider = new org.eclipse.papyrus.uml.properties.providers.UMLLabelProvider();
- }
- }
-
- /**
- *
- * {@inheritDoc}
- */
- public void addListener(ILabelProviderListener listener) {
- this.provider.addListener(listener);
- }
-
- /**
- *
- * {@inheritDoc}
- */
- public void dispose() {
- this.provider.dispose();
-
- }
-
- /**
- *
- * {@inheritDoc}
- */
- public boolean isLabelProperty(Object element, String property) {
- return this.provider.isLabelProperty(element, property);
- }
-
- /**
- *
- * {@inheritDoc}
- */
- public void removeListener(ILabelProviderListener listener) {
- this.provider.removeListener(listener);
-
- }
-
- /**
- *
- * {@inheritDoc}
- */
- public Image getImage(Object element) {
- return this.provider.getImage(element);
- }
-
- /**
- *
- * {@inheritDoc}
- */
- public String getText(Object element) {
- return this.provider.getText(element);
- }
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/InstanceValueContentProvider.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/InstanceValueContentProvider.java
index b94bde38dfc..6fbc958b401 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/InstanceValueContentProvider.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/InstanceValueContentProvider.java
@@ -15,7 +15,7 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerFilter;
-import org.eclipse.papyrus.uml.modelexplorer.widgets.ServiceEditFilteredUMLContentProvider;
+import org.eclipse.papyrus.uml.tools.providers.ServiceEditFilteredUMLContentProvider;
import org.eclipse.uml2.uml.InstanceValue;
/**
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/InstanceValueViewerFilter.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/InstanceValueViewerFilter.java
index 9341ee8569e..bd88cc8cb1d 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/InstanceValueViewerFilter.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/InstanceValueViewerFilter.java
@@ -13,8 +13,8 @@ package org.eclipse.papyrus.uml.properties.providers;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.papyrus.infra.widgets.providers.IHierarchicContentProvider;
-import org.eclipse.papyrus.uml.modelexplorer.widgets.UMLHierarchicViewerFilter;
import org.eclipse.papyrus.uml.properties.util.UMLUtil;
+import org.eclipse.papyrus.uml.tools.providers.internal.UMLHierarchicViewerFilter;
import org.eclipse.uml2.uml.Classifier;
import org.eclipse.uml2.uml.Enumeration;
import org.eclipse.uml2.uml.InstanceSpecification;
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/ProfileLabelProvider.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/ProfileLabelProvider.java
index 63ea2ee9292..358c981d76a 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/ProfileLabelProvider.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/ProfileLabelProvider.java
@@ -12,13 +12,13 @@
package org.eclipse.papyrus.uml.properties.providers;
import org.eclipse.jface.viewers.ILabelProvider;
+import org.eclipse.papyrus.infra.emf.providers.EMFLabelProvider;
import org.eclipse.papyrus.uml.profile.utils.Util;
-import org.eclipse.papyrus.views.properties.providers.EMFObjectLabelProvider;
import org.eclipse.uml2.uml.Package;
import org.eclipse.uml2.uml.Profile;
-
-public class ProfileLabelProvider extends EMFObjectLabelProvider implements ILabelProvider {
+//TODO : To be refactored. Merge this class with UMLLabelProvider
+public class ProfileLabelProvider extends EMFLabelProvider implements ILabelProvider {
private Package umlPackage;
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLContentProvider.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLContentProvider.java
index 92da6ba53fd..36ad539066f 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLContentProvider.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLContentProvider.java
@@ -19,29 +19,33 @@ import org.eclipse.emf.ecore.EClassifier;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.papyrus.infra.emf.providers.EMFContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.EmptyContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.EncapsulatedContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
-import org.eclipse.papyrus.uml.modelexplorer.widgets.ServiceEditFilteredUMLContentProvider;
+import org.eclipse.papyrus.uml.tools.providers.ServiceEditFilteredUMLContentProvider;
import org.eclipse.papyrus.uml.tools.utils.PackageUtil;
import org.eclipse.papyrus.views.properties.providers.EcoreEnumeratorContentProvider;
-import org.eclipse.papyrus.views.properties.providers.EcoreReferenceContentProvider;
import org.eclipse.uml2.uml.Element;
import org.eclipse.uml2.uml.InstanceValue;
import org.eclipse.uml2.uml.Package;
import org.eclipse.uml2.uml.UMLPackage;
/**
- *
+ *
* A content provider for UML
- *
+ *
+ * @deprecated
*/
+
+//TODO : To be refactored. There should be a single ContentProvider for UML
+@Deprecated
public class UMLContentProvider extends EncapsulatedContentProvider implements IStaticContentProvider {
/**
- *
+ *
* Constructor.
- *
+ *
* @param source
* @param feature
*/
@@ -73,7 +77,7 @@ public class UMLContentProvider extends EncapsulatedContentProvider implements I
if(type instanceof EEnum) {
localProvider = new EcoreEnumeratorContentProvider(feature);
} else if(type instanceof EClass) {
- localProvider = new EcoreReferenceContentProvider(feature, source);//TODO : pas compris
+ localProvider = new EMFContentProvider(source, feature); //TODO : pas compris
} else {
localProvider = EmptyContentProvider.instance;
}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLFilteredLabelProvider.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLFilteredLabelProvider.java
new file mode 100644
index 00000000000..0aa4a4eb116
--- /dev/null
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLFilteredLabelProvider.java
@@ -0,0 +1,70 @@
+/*****************************************************************************
+ * 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.uml.properties.providers;
+
+import java.util.Iterator;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.gmf.runtime.notation.Diagram;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
+import org.eclipse.papyrus.views.properties.providers.IFilteredLabelProvider;
+import org.eclipse.uml2.uml.Element;
+
+/**
+ * The Modisco customizable label provider doesn't handle standard EObjects,
+ * while standard EMF label providers don't handle MoDisco elements.
+ *
+ * This label provider aggregates both a MoDisco label provider and an
+ * EMF Label Provider.
+ *
+ * @author Camille Letavernier
+ */
+public class UMLFilteredLabelProvider extends UMLLabelProvider implements IFilteredLabelProvider {
+
+ /**
+ * {@inheritDoc}
+ */
+ public boolean accept(IStructuredSelection selection) {
+ if(selection.isEmpty()) {
+ return false;
+ }
+
+ Iterator<?> iterator = selection.iterator();
+ while(iterator.hasNext()) {
+ Object element = iterator.next();
+ if(!accept(element)) {
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ protected boolean accept(Object element) {
+ //The element is a UML Element or can be adapted to an EObject
+ EObject eObject = EMFHelper.getEObject(element);
+ if(eObject == null) {
+ return false;
+ }
+ if(eObject instanceof Element) {
+ return true;
+ }
+ //TODO : is this really this provider's role to accept GMF Diagrams ?
+ if(eObject instanceof Diagram) {
+ return true;
+ }
+ return false;
+ }
+
+}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLLabelProvider.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLLabelProvider.java
deleted file mode 100644
index 09f785d9f8e..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/providers/UMLLabelProvider.java
+++ /dev/null
@@ -1,142 +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.uml.properties.providers;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizableModelLabelProvider;
-import org.eclipse.emf.facet.infra.browser.uicore.internal.model.ITreeElement;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.papyrus.infra.widgets.providers.IDetailLabelProvider;
-import org.eclipse.papyrus.uml.diagram.common.providers.EditorLabelProvider;
-import org.eclipse.papyrus.views.modelexplorer.Activator;
-import org.eclipse.papyrus.views.properties.providers.IFilteredLabelProvider;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.uml2.uml.Element;
-
-/**
- * The Modisco customizable label provider doesn't handle standard EObjects,
- * while standard EMF label providers don't handle MoDisco elements.
- *
- * This label provider aggregates both a MoDisco label provider and an
- * EMF Label Provider.
- *
- * @author Camille Letavernier
- */
-public class UMLLabelProvider extends LabelProvider implements IDetailLabelProvider, IFilteredLabelProvider {
-
- private ILabelProvider modiscoLabelProvider;
-
- private ILabelProvider eObjectLabelProvider;
-
- /**
- *
- * Constructor.
- *
- */
- public UMLLabelProvider() {
- // modiscoLabelProvider = new MoDiscoLabelProvider();
- modiscoLabelProvider = new CustomizableModelLabelProvider(Activator.getDefault().getCustomizationManager());
- eObjectLabelProvider = new EditorLabelProvider();
- }
-
- @Override
- public String getText(Object inputObject) {
- inputObject = getInput(inputObject);
- return getProviderFor(inputObject).getText(inputObject);
- }
-
- @Override
- public Image getImage(Object inputObject) {
- inputObject = getInput(inputObject);
- return getProviderFor(inputObject).getImage(inputObject);
- }
-
- /**
- * Returns the right object to be displayed : if the input is a selection,
- * returns the selected element.
- *
- * @param inputObject
- * @return
- */
- protected Object getInput(Object inputObject) {
- if(inputObject instanceof IStructuredSelection) {
- Object input = ((IStructuredSelection)inputObject).getFirstElement();
- if(input instanceof EObject) {
- return input;
- }
- if(input instanceof ITreeElement) {
- return input;
- }
- if(input instanceof IAdaptable) {
- EObject eObject = (EObject)((IAdaptable)input).getAdapter(EObject.class);
- if(eObject != null) {
- return eObject;
- }
- }
- return input;
- }
- return inputObject;
- }
-
- /**
- * @param inputObject
- * @return the ILabelProvider for input object
- */
- protected ILabelProvider getProviderFor(Object inputObject) {
- if(inputObject == null || inputObject instanceof EObject) {
- return eObjectLabelProvider;
- }
-
- return modiscoLabelProvider;
- }
-
- /**
- * {@inheritDoc}
- */
- public String getDetail(Object object) {
- return getText(object);
- }
-
- /**
- * {@inheritDoc}
- */
- public boolean accept(IStructuredSelection selection) {
- if(selection.isEmpty()) {
- return false;
- }
- Object element = selection.getFirstElement();
- EObject eObject = null;
- if(element instanceof EObject) {
- eObject = (EObject)element;
- } else if(element instanceof IAdaptable) {
- eObject = (EObject)((IAdaptable)element).getAdapter(EObject.class);
- }
-
- if(eObject == null) {
- return false;
- }
-
- if(eObject instanceof Element) {
- return true;
- }
- if(eObject instanceof Diagram) {
- return true;
- }
-
- return false;
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/util/UMLUtil.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/util/UMLUtil.java
index 50af773b7d3..244e2040bca 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/util/UMLUtil.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/util/UMLUtil.java
@@ -28,7 +28,7 @@ import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
import org.eclipse.papyrus.infra.core.utils.PapyrusEcoreUtils;
import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-import org.eclipse.papyrus.uml.properties.databinding.PapyrusObservableValue;
+import org.eclipse.papyrus.uml.tools.databinding.PapyrusObservableValue;
import org.eclipse.uml2.uml.Class;
import org.eclipse.uml2.uml.Classifier;
import org.eclipse.uml2.uml.ConnectableElement;
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/TypeReferenceDialog.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/TypeReferenceDialog.java
deleted file mode 100644
index 4a2a622a227..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/TypeReferenceDialog.java
+++ /dev/null
@@ -1,41 +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.uml.properties.widgets;
-
-import org.eclipse.papyrus.views.properties.widgets.AbstractPropertyEditor;
-import org.eclipse.swt.widgets.Composite;
-
-/**
- *
- * @author Camille Letavernier
- * @Deprecated You should use the standard ReferenceDialog instead
- */
-@Deprecated
-public class TypeReferenceDialog extends AbstractPropertyEditor {
-
- protected UMLReferenceDialog editor;
-
- public TypeReferenceDialog(Composite parent, int style) {
- editor = new UMLReferenceDialog(parent, style);
- setEditor(editor);
- }
-
- @Override
- protected void doBinding() {
- //IStaticContentProvider provider = input.getContentProvider(propertyPath);
- editor.setLabelProvider(input.getLabelProvider(propertyPath));
- //editor.setContentProvider(provider); //The widget uses its own ContentProvider
-
- super.doBinding();
- }
-
-}
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/UMLReferenceDialog.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/UMLReferenceDialog.java
deleted file mode 100644
index a30edfca058..00000000000
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties/src/org/eclipse/papyrus/uml/properties/widgets/UMLReferenceDialog.java
+++ /dev/null
@@ -1,62 +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.uml.properties.widgets;
-
-
-import java.util.LinkedList;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.papyrus.infra.widgets.editors.ReferenceDialog;
-import org.eclipse.papyrus.infra.widgets.editors.TreeSelectorDialog;
-import org.eclipse.papyrus.uml.modelexplorer.widgets.UMLTreeSelectorDialog;
-import org.eclipse.papyrus.uml.properties.databinding.PapyrusObservableValue;
-import org.eclipse.papyrus.uml.tools.utils.PackageUtil;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Package;
-
-/**
- * @author Camille Letavernier
- * @deprecated You should use the generic ReferenceDialog instead
- */
-@Deprecated
-public class UMLReferenceDialog extends ReferenceDialog {
-
- public UMLReferenceDialog(final Composite parent, final int style) {
- super(parent, style);
- }
-
-
- @Override
- protected TreeSelectorDialog createDialog(final Shell shell) {
- return new UMLTreeSelectorDialog(shell);
- }
-
-
- @Override
- protected void doBinding() {
- if(modelProperty instanceof PapyrusObservableValue) {
- PapyrusObservableValue modelObservable = (PapyrusObservableValue)modelProperty;
- EObject editedEObject = modelObservable.getEObject();
- EStructuralFeature editedFeature = modelObservable.getEStructuralFeature();
- UMLTreeSelectorDialog umlDialog = (UMLTreeSelectorDialog)dialog;
- Package rootPackage = PackageUtil.getRootPackage((Element)modelObservable.getEObject());
- umlDialog.init(editedEObject, editedFeature, rootPackage, (EClass)modelObservable.getEStructuralFeature().getEType(), new LinkedList<Object>());
- }
-
- super.doBinding();
- }
-
-}
diff --git a/plugins/uml/table/org.eclipse.papyrus.uml.table.widgets.celleditors/META-INF/MANIFEST.MF b/plugins/uml/table/org.eclipse.papyrus.uml.table.widgets.celleditors/META-INF/MANIFEST.MF
index 7116944d69e..68b3293df36 100644
--- a/plugins/uml/table/org.eclipse.papyrus.uml.table.widgets.celleditors/META-INF/MANIFEST.MF
+++ b/plugins/uml/table/org.eclipse.papyrus.uml.table.widgets.celleditors/META-INF/MANIFEST.MF
@@ -6,11 +6,12 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.emf.facet.util.core,
org.eclipse.papyrus.infra.core.log;bundle-version="0.9.0",
org.eclipse.uml2.uml,
- org.eclipse.papyrus.uml.modelexplorer.widgets;bundle-version="0.9.0",
org.eclipse.emf.facet.widgets,
org.eclipse.emf.facet.infra.common.core,
org.eclipse.papyrus.uml.tools.utils;bundle-version="0.9.0",
- org.eclipse.papyrus.uml.properties;bundle-version="0.9.0"
+ org.eclipse.papyrus.uml.tools;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.widgets;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
Bundle-Vendor: %providerName
Bundle-ActivationPolicy: lazy
Bundle-Version: 0.9.0.qualifier
diff --git a/plugins/uml/table/org.eclipse.papyrus.uml.table.widgets.celleditors/src/org/eclipse/papyrus/uml/table/widget/celleditors/composite/UnaryReferencePapyrusCellEditorComposite.java b/plugins/uml/table/org.eclipse.papyrus.uml.table.widgets.celleditors/src/org/eclipse/papyrus/uml/table/widget/celleditors/composite/UnaryReferencePapyrusCellEditorComposite.java
index ce8f09bcdea..769c962ef05 100644
--- a/plugins/uml/table/org.eclipse.papyrus.uml.table.widgets.celleditors/src/org/eclipse/papyrus/uml/table/widget/celleditors/composite/UnaryReferencePapyrusCellEditorComposite.java
+++ b/plugins/uml/table/org.eclipse.papyrus.uml.table.widgets.celleditors/src/org/eclipse/papyrus/uml/table/widget/celleditors/composite/UnaryReferencePapyrusCellEditorComposite.java
@@ -32,9 +32,8 @@ import org.eclipse.jface.fieldassist.SimpleContentProposalProvider;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.papyrus.infra.widgets.editors.ReferenceCombo;
import org.eclipse.papyrus.infra.widgets.editors.TreeSelectorDialog;
-import org.eclipse.papyrus.infra.widgets.providers.EncapsulatedContentProvider;
-import org.eclipse.papyrus.uml.properties.providers.CopyOfUMLLabelProvider;
-import org.eclipse.papyrus.uml.properties.providers.UMLContentProvider;
+import org.eclipse.papyrus.uml.tools.providers.UMLContentProvider;
+import org.eclipse.papyrus.uml.tools.providers.UMLLabelProvider;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
@@ -55,7 +54,6 @@ import org.eclipse.swt.widgets.Control;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Event;
import org.eclipse.swt.widgets.Listener;
-import org.eclipse.uml2.uml.Element;
public class UnaryReferencePapyrusCellEditorComposite extends AbstractCellEditorComposite<EObject> {
@@ -66,6 +64,7 @@ public class UnaryReferencePapyrusCellEditorComposite extends AbstractCellEditor
private final Combo combo;
private final ReferenceCombo referenceCombo;
+
private final Control parentControl;
private EObject source;
@@ -111,7 +110,7 @@ public class UnaryReferencePapyrusCellEditorComposite extends AbstractCellEditor
this.combo = new Combo(this, SWT.DROP_DOWN);
this.referenceCombo = null;
-
+
// reduce the font so that the Combo fits in the cell
FontData[] fontData = Display.getDefault().getSystemFont().getFontData();
fontData[0].setHeight(fontData[0].getHeight()/* - 2 */);
@@ -151,8 +150,8 @@ public class UnaryReferencePapyrusCellEditorComposite extends AbstractCellEditor
@Override
public void widgetSelected(final SelectionEvent e) {
- final EncapsulatedContentProvider provider = new UMLContentProvider((Element)source, feature);
- ILabelProvider labelProvider = new CopyOfUMLLabelProvider(feature);
+ final UMLContentProvider provider = new UMLContentProvider(source, feature);
+ ILabelProvider labelProvider = new UMLLabelProvider();
TreeSelectorDialog dialog = new TreeSelectorDialog(Display.getCurrent().getActiveShell()) {
@Override
@@ -164,7 +163,7 @@ public class UnaryReferencePapyrusCellEditorComposite extends AbstractCellEditor
selectedElements[i] = adapted;
}
String selectedElementLabel = null;
-
+
if(selectedElements.length > 0) {
Set<Entry<String, EObject>> entrySet = UnaryReferencePapyrusCellEditorComposite.this.getfElements().entrySet();
for(Entry<String, EObject> entry : entrySet) {
@@ -258,7 +257,8 @@ public class UnaryReferencePapyrusCellEditorComposite extends AbstractCellEditor
public void setValue(final EObject value) {
//
- int d=0;d++;
+ int d = 0;
+ d++;
}
protected Button getButton() {
diff --git a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/META-INF/MANIFEST.MF b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/META-INF/MANIFEST.MF
index ac47786f58a..7be347ac11e 100644
--- a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/META-INF/MANIFEST.MF
+++ b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/META-INF/MANIFEST.MF
@@ -3,7 +3,8 @@ Require-Bundle: org.eclipse.uml2.uml,
org.eclipse.jface;bundle-version="3.4.1",
org.eclipse.emf.transaction;bundle-version="1.2.1",
org.eclipse.papyrus.infra.services.edit;bundle-version="0.9.0",
- org.eclipse.gmf.runtime.emf.type.core;bundle-version="1.4.0"
+ org.eclipse.gmf.runtime.emf.type.core;bundle-version="1.4.0",
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
Export-Package: org.eclipse.papyrus.uml.tools.utils,
org.eclipse.papyrus.uml.tools.utils.ui,
org.eclipse.papyrus.uml.tools.utils.ui.command,
diff --git a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/TypeUtil.java b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/TypeUtil.java
index 05cec2561ad..ff39974f4b3 100644
--- a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/TypeUtil.java
+++ b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/TypeUtil.java
@@ -17,6 +17,7 @@ import java.util.Iterator;
import org.eclipse.uml2.uml.NamedElement;
import org.eclipse.uml2.uml.Namespace;
+import org.eclipse.uml2.uml.Stereotype;
import org.eclipse.uml2.uml.Type;
/**
@@ -50,4 +51,26 @@ public class TypeUtil {
buffer.append(tmp);
return buffer.toString();
}
+
+ /**
+ * Check if a type is a metaclass.
+ *
+ * @param type
+ * to check
+ *
+ * @return true if type is metaclass, else false
+ */
+ public static boolean isMetaclass(Type type) {
+ boolean isMetaclass = false;
+
+ if((type instanceof org.eclipse.uml2.uml.Class) && (type.getAppliedStereotypes() != null) && (type.getAppliedStereotypes().size() > 0)) {
+
+ Stereotype firstStereotype = type.getAppliedStereotypes().get(0);
+
+ if(firstStereotype.getName().equals("Metaclass")) {
+ isMetaclass = true;
+ }
+ }
+ return isMetaclass;
+ }
}
diff --git a/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/ui/helper/UMLHelper.java b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/ui/helper/UMLHelper.java
new file mode 100644
index 00000000000..35e920551ad
--- /dev/null
+++ b/plugins/uml/tools/org.eclipse.papyrus.uml.tools.utils/src/org/eclipse/papyrus/uml/tools/utils/ui/helper/UMLHelper.java
@@ -0,0 +1,306 @@
+/*****************************************************************************
+ * 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.uml.tools.utils.ui.helper;
+
+import java.util.Collection;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
+
+import org.eclipse.core.runtime.IAdaptable;
+import org.eclipse.emf.ecore.EClass;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
+import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.papyrus.infra.core.utils.PapyrusEcoreUtils;
+import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
+import org.eclipse.uml2.uml.Class;
+import org.eclipse.uml2.uml.Classifier;
+import org.eclipse.uml2.uml.ConnectableElement;
+import org.eclipse.uml2.uml.Element;
+import org.eclipse.uml2.uml.Lifeline;
+import org.eclipse.uml2.uml.Message;
+import org.eclipse.uml2.uml.MessageEvent;
+import org.eclipse.uml2.uml.MessageOccurrenceSpecification;
+import org.eclipse.uml2.uml.Profile;
+import org.eclipse.uml2.uml.Stereotype;
+import org.eclipse.uml2.uml.Type;
+import org.eclipse.uml2.uml.UMLPackage;
+
+/**
+ * A Helper class for UML
+ *
+ * @author Camille Letavernier
+ */
+public class UMLHelper {
+
+ /**
+ * Retrieve the UML semantic element from the given Object
+ *
+ * @param source
+ * The Object to resolve
+ * @return
+ * The UML semantic element, or null if it couldn't be resolved
+ */
+ public static Element resolveUMLElement(Object source) {
+ EObject eElement = null;
+ if(source instanceof EObject) {
+ eElement = (EObject)source;
+ }
+ if(source instanceof IAdaptable) {
+ eElement = (EObject)((IAdaptable)source).getAdapter(EObject.class);
+ }
+
+ if(EMFHelper.isInstance(eElement, "Element", umlMetamodel)) { //$NON-NLS-1$
+ return (Element)eElement;
+ }
+
+ return null;
+ }
+
+ /**
+ * Tests if a class is a subclass of another class. The classes are described
+ * by their className, in the UML Metamodel.
+ *
+ * @param className
+ * @param superclassName
+ * @return
+ * True if the class className is a subclass of the class superclassName
+ */
+ public static boolean isSubClass(String className, String superclassName) {
+ EClass eClass = (EClass)umlMetamodel.getEClassifier(className);
+ EClass superClass = (EClass)umlMetamodel.getEClassifier(superclassName);
+ return superClass.isSuperTypeOf(eClass);
+ }
+
+ /**
+ * Retrieve the EditingDomain for the given source object
+ *
+ * @param source
+ * @return
+ * The source object's editing domain, or null if it couldn't be found
+ */
+ public static EditingDomain resolveEditingDomain(Object source) {
+ return AdapterFactoryEditingDomain.getEditingDomainFor(resolveUMLElement(source));
+ }
+
+ /**
+ * @return the UML EPackage
+ */
+ public static EPackage getUMLMetamodel() {
+ return umlMetamodel;
+ }
+
+ /**
+ * Search the given stereotype (By name) on the given UML Element.
+ * If the search is not strict, the name may be the qualified name of a
+ * sub-stereotype of an applied stereotype
+ *
+ * @param umlElement
+ * The UML Element on which the stereotype is applied
+ * @param stereotypeName
+ * The qualified name of the stereotype
+ * @param strict
+ * If set to true, only a stereotype matching the exact qualified name
+ * will be returned. Otherwise, any subtype of the given stereotype may be
+ * returned. Note that if more than one stereotype is a substype of the
+ * given stereotype, the first matching stereotype is returned.
+ * @return
+ * The first matching stereotype, or null if none was found
+ */
+ public static Stereotype getAppliedStereotype(Element umlElement, String stereotypeName, boolean strict) {
+ Stereotype stereotype = umlElement.getAppliedStereotype(stereotypeName);
+ if(strict || stereotype != null) {
+ return stereotype;
+ }
+
+ //The parent stereotype is not always applicable...
+ //stereotype = umlElement.getApplicableStereotype(stereotypeName);
+
+ stereotype = findStereotype(umlElement, stereotypeName);
+
+ //stereotype = umlElement.getApplicableStereotype(stereotypeName);
+ if(stereotype == null) {
+ return null;
+ }
+
+ // System.out.println("Looking for a substereotype of " + stereotype + "\n" + stereotype.eResource().getURI());
+ // System.out.println("Applied stereotypes : " + umlElement.getAppliedStereotypes());
+ // System.out.println("Parent stereotypes : ");
+ // for(Stereotype appliedStereotype : umlElement.getAppliedStereotypes()) {
+ // for(Classifier parentStereotype : appliedStereotype.allParents()) {
+ // System.out.println(parentStereotype + "\n" + parentStereotype.eResource().getURI());
+ // }
+ // }
+ // System.out.println();
+ for(Stereotype appliedStereotype : umlElement.getAppliedSubstereotypes(stereotype)) {
+ return appliedStereotype;
+ }
+
+ return null;
+
+ // for(Stereotype appliedStereotype : umlElement.getAppliedStereotypes()) {
+ // if(getAllSuperStereotypes(appliedStereotype).contains(stereotype)) {
+ // return appliedStereotype;
+ // }
+ // }
+ //
+ // return null;
+ }
+
+ /**
+ * Finds the Stereotype matching the given name.
+ * The search is done in the context of the given UML Element
+ * (i.e. the Profiles applied on the Element's nearest package)
+ *
+ * @param umlElement
+ * @param stereotypeName
+ * @return
+ */
+ public static Stereotype findStereotype(Element umlElement, String stereotypeName) {
+ Stereotype stereotype = null;
+ org.eclipse.uml2.uml.Package umlPackage = umlElement.getNearestPackage();
+ if(umlPackage == null) {
+ stereotype = umlElement.getApplicableStereotype(stereotypeName);
+ } else {
+ outerLoop: for(Profile profile : umlPackage.getAllAppliedProfiles()) {
+ for(Stereotype ownedStereotype : profile.getOwnedStereotypes()) {
+ if(ownedStereotype.getQualifiedName().equals(stereotypeName)) {
+ stereotype = ownedStereotype;
+ break outerLoop;
+ }
+ }
+ }
+ }
+ return stereotype;
+ }
+
+ /**
+ * Returns a collection of all super stereotypes of the given stereotype
+ * (Including itself)
+ *
+ * @param stereotype
+ * @return
+ * A collection of all super stereotypes
+ */
+ public static Collection<Stereotype> getAllSuperStereotypes(Stereotype stereotype) {
+ Set<Stereotype> result = new HashSet<Stereotype>();
+ if(stereotype != null) {
+ getAllSuperStereotypes(stereotype, result);
+ }
+ return result;
+ }
+
+ private static void getAllSuperStereotypes(Stereotype stereotype, Set<Stereotype> result) {
+ result.add(stereotype);
+ for(Classifier superClassifier : stereotype.getGenerals()) {
+ if(superClassifier instanceof Stereotype && !result.contains(superClassifier)) {
+ getAllSuperStereotypes((Stereotype)superClassifier, result);
+ }
+ }
+ }
+
+ /**
+ * Retrieves the UML Class associated to the given Message
+ *
+ * @param message
+ * @return the UML Class associated to the given Message
+ */
+ public static org.eclipse.uml2.uml.Class getContextClassForMessage(Message message) {
+ MessageOccurrenceSpecification receiveEvent = (MessageOccurrenceSpecification)message.getReceiveEvent();
+
+ if(receiveEvent == null) {
+ return null;
+ }
+
+ return getContextClassForMessageOccurrence(receiveEvent);
+ }
+
+ /**
+ * Retrieves the UML Class associated to the given MessageOccurrenceSpecification
+ *
+ * @param messageOccurrence
+ * @return the UML Class associated to the given MessageOccurrenceSpecification
+ */
+ public static org.eclipse.uml2.uml.Class getContextClassForMessageOccurrence(MessageOccurrenceSpecification messageOccurrence) {
+ List<Lifeline> lifelines = messageOccurrence.getCovereds();
+ if(lifelines.isEmpty()) {
+ return null; //We can't find the context
+ } else if(lifelines.size() == 1) {
+ Lifeline lifeline = lifelines.get(0);
+ ConnectableElement element = lifeline.getRepresents();
+ if(element == null) {
+ return null;
+ }
+ Type type = element.getType();
+ if(type instanceof org.eclipse.uml2.uml.Class) {
+ org.eclipse.uml2.uml.Class clazz = (org.eclipse.uml2.uml.Class)type;
+ return clazz;
+ } else {
+ return null; //The type is not a Class
+ }
+ } else {
+ return null; //Too many contexts : which one should we choose ?
+ }
+ }
+
+ /**
+ * Finds the UML Class associated to the given MessageEvent
+ *
+ * @param event
+ * @return the Class associated to the given MessageEvent
+ */
+ public static Class getContextClassForMessageEvent(MessageEvent event) {
+ Collection<EStructuralFeature.Setting> settings = PapyrusEcoreUtils.getUsages(event);
+ if(settings.isEmpty()) {
+ return null;
+ }
+
+ if(settings.size() == 1) {
+ EObject referer = settings.iterator().next().getEObject();
+ if(referer instanceof MessageOccurrenceSpecification) {
+ return UMLHelper.getContextClassForMessageOccurrence((MessageOccurrenceSpecification)referer);
+ } else {
+ return null;
+ }
+ }
+
+ MessageOccurrenceSpecification referer = null;
+ EObject newReferer = null;
+
+ for(EStructuralFeature.Setting setting : settings) {
+ newReferer = setting.getEObject();
+ if(!(newReferer instanceof MessageOccurrenceSpecification)) {
+ continue;
+ }
+
+ if(referer == null || referer == newReferer) {
+ referer = (MessageOccurrenceSpecification)newReferer;
+ } else {
+ referer = null;
+ break;
+ }
+ }
+
+ if(referer == null) {
+ return null;
+ }
+
+ return UMLHelper.getContextClassForMessageOccurrence(referer);
+ }
+
+
+
+ private static EPackage umlMetamodel = UMLPackage.eINSTANCE;
+}
diff --git a/plugins/views/documentation/org.eclipse.papyrus.views.documentation.view.papyrus/META-INF/MANIFEST.MF b/plugins/views/documentation/org.eclipse.papyrus.views.documentation.view.papyrus/META-INF/MANIFEST.MF
index a5aca3308ae..fb1f3a6e1f5 100644
--- a/plugins/views/documentation/org.eclipse.papyrus.views.documentation.view.papyrus/META-INF/MANIFEST.MF
+++ b/plugins/views/documentation/org.eclipse.papyrus.views.documentation.view.papyrus/META-INF/MANIFEST.MF
@@ -3,7 +3,8 @@ Require-Bundle: org.eclipse.papyrus.views.documentation.view;bundle-version="0.9
org.eclipse.papyrus.views.modelexplorer;bundle-version="0.9.0",
org.eclipse.papyrus.infra.gmfdiag.common;bundle-version="0.9.0",
org.eclipse.emf.facet.infra.browser.uicore;bundle-version="0.1.0",
- org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0"
+ org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
Bundle-Vendor: %providerName
Bundle-Version: 0.9.0.qualifier
Bundle-Name: %pluginName
diff --git a/plugins/views/documentation/org.eclipse.papyrus.views.documentation.view.papyrus/src/org/eclipse/papyrus/views/documentation/view/papyrus/PapyrusDocumentationPartHandler.java b/plugins/views/documentation/org.eclipse.papyrus.views.documentation.view.papyrus/src/org/eclipse/papyrus/views/documentation/view/papyrus/PapyrusDocumentationPartHandler.java
index 8ef377f4a6f..b32c8690e2d 100644
--- a/plugins/views/documentation/org.eclipse.papyrus.views.documentation.view.papyrus/src/org/eclipse/papyrus/views/documentation/view/papyrus/PapyrusDocumentationPartHandler.java
+++ b/plugins/views/documentation/org.eclipse.papyrus.views.documentation.view.papyrus/src/org/eclipse/papyrus/views/documentation/view/papyrus/PapyrusDocumentationPartHandler.java
@@ -25,14 +25,14 @@ import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.emf.transaction.TransactionalEditingDomain;
import org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart;
import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.papyrus.infra.gmfdiag.common.DiagramsUtil;
import org.eclipse.papyrus.infra.core.editor.CoreMultiDiagramEditor;
import org.eclipse.papyrus.infra.core.sasheditor.contentprovider.IPageMngr;
+import org.eclipse.papyrus.infra.emf.providers.internal.MoDiscoContentProvider;
+import org.eclipse.papyrus.infra.gmfdiag.common.DiagramsUtil;
import org.eclipse.papyrus.views.documentation.DocumentationManager;
import org.eclipse.papyrus.views.documentation.IDocumentationManager;
import org.eclipse.papyrus.views.documentation.view.IDocumentationPartHandler;
import org.eclipse.papyrus.views.documentation.view.SelectResourceDialog;
-import org.eclipse.papyrus.views.modelexplorer.MoDiscoContentProvider;
import org.eclipse.papyrus.views.modelexplorer.MoDiscoLabelProvider;
import org.eclipse.papyrus.views.modelexplorer.ModelExplorerPageBookView;
import org.eclipse.ui.IEditorPart;
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/META-INF/MANIFEST.MF b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/META-INF/MANIFEST.MF
index 42f59eb1ab4..c540ec8ca8a 100644
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/META-INF/MANIFEST.MF
+++ b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/META-INF/MANIFEST.MF
@@ -10,7 +10,8 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.gmf.runtime.notation;bundle-version="1.5.0",
org.eclipse.gmf.runtime.emf.core;bundle-version="1.4.1",
org.eclipse.gmf.runtime.emf.type.core;bundle-version="1.4.0",
- org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0"
+ org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
Export-Package: org.eclipse.papyrus.views.modelexplorer.widgets
Bundle-Vendor: %providerName
Bundle-ActivationPolicy: lazy
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/EMFObjectLabelProvider.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/EMFObjectLabelProvider.java
deleted file mode 100644
index 0c2a58d8382..00000000000
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/EMFObjectLabelProvider.java
+++ /dev/null
@@ -1,180 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Added support for enum literals
- *******************************************************************************/
-package org.eclipse.papyrus.views.modelexplorer.widgets;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.util.Enumerator;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.swt.graphics.Image;
-
-/**
- * This class handles title label for tabbed properties.
- *
- * @author Jerome Benois
- */
-public class EMFObjectLabelProvider extends AdapterFactoryLabelProvider {
-
- /** item provider class */
- private static final Class<?> IItemLabelProviderClass = IItemLabelProvider.class;
-
- /** list of adapter factories, identified by their Ids */
- private static Map<String, AdapterFactory> factories = new HashMap<String, AdapterFactory>();
-
- /** emf item provider facctories */
- private static final String EXT_FACTORIES = "org.eclipse.emf.edit.itemProviderAdapterFactories"; //$NON-NLS-1$
-
- /**
- * Creates a new EMFObjectLabelProvider.
- */
- public EMFObjectLabelProvider() {
- super(new ReflectiveItemProviderAdapterFactory());
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public String getText(Object element) {
- String title = ""; //$NON-NLS-1$
- if(element instanceof Enumerator) {
- return ((Enumerator)element).getName();
- }
- EObject eObject = getModel(element);
- IItemLabelProvider itemLabelProvider = getItemLabelProvider(eObject);
- if(itemLabelProvider != null) {
- title = itemLabelProvider.getText(eObject);
- }
-
- if("".equals(title)) { //$NON-NLS-1$
- title = super.getText(eObject);
- }
-
- return title;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public Image getImage(Object element) {
- Image result = null;
- EObject eObject = getModel(element);
- IItemLabelProvider itemLabelProvider = getItemLabelProvider(eObject);
- if(itemLabelProvider != null) {
- result = getImageFromObject(itemLabelProvider.getImage(eObject));
- }
-
- return result;
- }
-
- /**
- * Returns the EObject from the given element
- *
- * @param element
- * the element to adapt
- * @return the EObject from the given element
- */
- private EObject getModel(Object element) {
- if(element instanceof EObject) {
- return (EObject)element;
- }
-
- EObject eObject = null;
- if(element != null && element instanceof StructuredSelection) {
- StructuredSelection selection = (StructuredSelection)element;
- Object o = selection.getFirstElement();
- if(o instanceof EObject) {
- eObject = (EObject)o;
- } else if(o instanceof IGraphicalEditPart) {
- IGraphicalEditPart editPart = (IGraphicalEditPart)o;
- eObject = editPart.resolveSemanticElement();
- } // try to adapt into EObject
- else if(o instanceof IAdaptable) {
- eObject = (EObject)((IAdaptable)o).getAdapter(EObject.class);
- }
-
- }
- return eObject;
- }
-
- /**
- * Returns the item provider for the given object
- *
- * @param eObject
- * the object to display
- * @return the item label provider for the given eobject
- */
- private IItemLabelProvider getItemLabelProvider(EObject eObject) {
- IItemLabelProvider itemLabelProvider = null;
- if(eObject != null) {
- AdapterFactory adapterFactory = getEditFactory(eObject);
- if(adapterFactory != null) {
- return (IItemLabelProvider)adapterFactory.adapt(eObject, IItemLabelProviderClass);
- }
- }
- return itemLabelProvider;
- }
-
- /**
- * Gets the edit factory.
- *
- * @param eobject
- * the eobject
- *
- * @return the edits the factory
- */
- public static AdapterFactory getEditFactory(EObject eobject) {
- String uri = eobject.eClass().getEPackage().getNsURI();
- return getFactory(uri);
- }
-
- /**
- * Gets the factory from uri.
- *
- * @param uri
- * the uri
- *
- * @return the factory
- */
- public static AdapterFactory getFactory(String uri) {
- AdapterFactory factory = factories.get(uri);
- if(factory == null) {
- IConfigurationElement[] extensions = Platform.getExtensionRegistry().getConfigurationElementsFor(EXT_FACTORIES);
- for(IConfigurationElement e : extensions) {
- if(uri.equals(e.getAttribute("uri"))) { //$NON-NLS-1$
- try {
- factory = (AdapterFactory)e.createExecutableExtension("class"); //$NON-NLS-1$
- if(factory != null) {
- factories.put(uri, factory);
- }
- } catch (CoreException e1) {
- // do nothing
- }
- }
- }
- }
- return factory;
- }
-
-}
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/EditServiceValidator.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/EditServiceValidator.java
deleted file mode 100644
index 0631e8ccaf3..00000000000
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/EditServiceValidator.java
+++ /dev/null
@@ -1,66 +0,0 @@
-/*
- *
- */
-package org.eclipse.papyrus.views.modelexplorer.widgets;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.gmf.runtime.emf.core.util.EMFCoreUtil;
-import org.eclipse.gmf.runtime.emf.type.core.requests.SetRequest;
-import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
-
-
-public class EditServiceValidator {
-
- private EObject editedEObject;
-
- private EStructuralFeature editedFeature;
-
- private IElementEditService editingService;
-
- public EditServiceValidator(EObject editedEObject, EStructuralFeature editedFeature) {
- this.editedEObject = editedEObject;
- this.editedFeature = editedFeature;
-
- if(editedEObject != null) {
- this.editingService = ElementEditServiceUtils.getCommandProvider(editedEObject);
- }
-
- if(this.editingService == null) {
- // log error service not found...
- System.err.println("Could not create service for " + EMFCoreUtil.getQualifiedName(editedEObject, true));
- }
- }
-
- public boolean isValidValue(Object element) {
- // Get semantic element
- EObject semanticElement = getSemanticElement(element);
- if((semanticElement == null) && (element != null)) {
- return false;
- }
-
- // Test editing command...
- SetRequest req = new SetRequest(editedEObject, editedFeature, semanticElement);
- if((editingService != null) && (editingService.canEdit(req))) {
- return true;
- }
-
- return false;
- }
-
- private EObject getSemanticElement(Object object) {
- EObject adapted = null;
-
- if(object instanceof EObject) {
- adapted = (EObject)object;
-
- } else if(object instanceof IAdaptable) {
- adapted = (EObject)((IAdaptable)object).getAdapter(EObject.class);
-
- }
-
- return adapted;
- }
-}
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/GraphicalModelExplorerBasedContentProvider.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/GraphicalModelExplorerBasedContentProvider.java
deleted file mode 100644
index d0a5cfd90bd..00000000000
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/GraphicalModelExplorerBasedContentProvider.java
+++ /dev/null
@@ -1,556 +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:
- * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Added graphic contributions for the filters
- * Remi Schnekenburger (CEA LIST) remi.schnekenburger@cea.fr - Initial History implementation
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - History integration
- *
- *****************************************************************************/
-package org.eclipse.papyrus.views.modelexplorer.widgets;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.jface.dialogs.IDialogSettings;
-import org.eclipse.jface.viewers.ComboViewer;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.jface.viewers.TableViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.viewers.ViewerFilter;
-import org.eclipse.papyrus.infra.core.resource.ModelSet;
-import org.eclipse.papyrus.infra.core.resource.ModelUtils;
-import org.eclipse.papyrus.infra.core.services.ServiceException;
-import org.eclipse.papyrus.infra.core.services.ServicesRegistry;
-import org.eclipse.papyrus.infra.core.utils.EditorUtils;
-import org.eclipse.papyrus.infra.widgets.editors.AbstractEditor;
-import org.eclipse.papyrus.infra.widgets.editors.ICommitListener;
-import org.eclipse.papyrus.infra.widgets.editors.StringEditor;
-import org.eclipse.papyrus.infra.widgets.providers.IDetailLabelProvider;
-import org.eclipse.papyrus.infra.widgets.providers.IGraphicalContentProvider;
-import org.eclipse.papyrus.infra.widgets.providers.IHierarchicContentProvider;
-import org.eclipse.papyrus.infra.widgets.providers.PatternViewerFilter;
-import org.eclipse.papyrus.views.modelexplorer.SemanticFromModelExplorer;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Table;
-
-/**
- * this is a content provider based on the model explorer on which we can filter wanted meta-classes
- * It can only filter if wantedMetaclass and metaclassNotWanted are Eclass
- */
-public class GraphicalModelExplorerBasedContentProvider extends ModelContentProvider implements IMetaclassFilteredContentProvider, IHierarchicContentProvider, IGraphicalContentProvider, ISelectionChangedListener, ICommitListener {
-
-
- private static final String DIALOG_SETTINGS = GraphicalModelExplorerBasedContentProvider.class.getName();
-
- /** The not wanted. */
- protected ArrayList<Object> metaClassNotWantedList = new ArrayList<Object>();
-
- /** The wanted. */
- protected Object metaClassWanted = null;
-
- /**
- * a bridge to find the semantic element behind an object of the model explorer
- */
- protected SemanticFromModelExplorer brige = new SemanticFromModelExplorer();
-
- protected String historyId;
-
- /**
- * The current metaclass viewer filter
- */
- protected ViewerFilter currentMetaclassViewerFilter;
-
- protected ViewerFilter patternFilter;
-
- private static final String HISTORY_SETTINGS = "History"; //$NON-NLS-1$
-
- private static final String PREVIOUS_SELECTION = "PreviousSelection";
-
- protected List<EObject> selectionHistory;
-
- protected CLabel detailLabel;
-
- protected Object selectedObject;
-
- private static final int HISTORY_MAX_SIZE = 5;
-
- private String currentFilterPattern = ""; //$NON-NLS-1$
-
- /**
- * the wanted root of the contentprovider
- */
-
- /**
- * the constructor
- *
- * @param semanticRoot
- * the root that we want to display at top
- */
- public GraphicalModelExplorerBasedContentProvider(EObject semanticRoot, String historyId) {
- super(semanticRoot);
- this.historyId = historyId;
- }
-
- /**
- * {@inheritDoc}
- */
- public void setMetaClassNotWanted(List<Object> metaClassNotWanted) {
- metaClassNotWantedList.clear();
- metaClassNotWantedList.addAll(metaClassNotWanted);
- }
-
- /**
- * {@inheritDoc}
- */
- public void setMetaClassWanted(Object metaClassWanted) {
- this.metaClassWanted = metaClassWanted;
- }
-
-
- /**
- * get Wanted metaclasse
- *
- * @return Eclass that reprensent the wanted metaclass
- */
- public Object getMetaClassWanted() {
- return metaClassWanted;
- }
-
- public boolean isValidValue(Object element) {
-
- //to filter, test if the wanted metaclass is not null
- if(metaClassWanted != null) {
- // get the semantic object form the element
- EObject semanticObject = null;
-
- if(element instanceof IAdaptable) {
- semanticObject = (EObject)brige.getSemanticElement(element);
- }
- if(element instanceof EObject) {
- semanticObject = (EObject)element;
- }
- //return false for Ereference
- if(element instanceof EReference || semanticObject instanceof EReference) {
- return false;
- }
- //the semantic object is not null
- if(semanticObject != null) {
- //test if this is an Eclass
- if(metaClassWanted instanceof EClass) {
- //test if the semanticobject is instance of metaclassWanted
- // and not an instance of metaclassNotWanted
- if(((EClass)metaClassWanted).isSuperTypeOf(semanticObject.eClass())) {
- if(metaClassNotWantedList.size() > 0) {
- Iterator<Object> iternotwanted = metaClassNotWantedList.iterator();
- while(iternotwanted.hasNext()) {
- Object notWanted = iternotwanted.next();
- if(notWanted instanceof EClass) {
- if(((EClass)notWanted).isSuperTypeOf(semanticObject.eClass())) {
- return false;
- }
- }
- }
- }
- return true;
- }
- }
- return false;
- }
-
- }
- return false;
- }
-
- /**
- * {@inheritDoc}
- */
- public void createBefore(Composite parent) {
- createPatternFilter(parent);
- }
-
- protected void createPatternFilter(Composite parent) {
- StringEditor editor = new StringEditor(parent, SWT.NONE);
- editor.setLabel("Filter:");
- editor.setToolTipText("Enter the name of the element you're looking for. You can use * as a wildcard");
- editor.setValidateOnDelay(true);
- patternFilter = new PatternViewerFilter();
- ((PatternViewerFilter)patternFilter).setPattern(currentFilterPattern);
-
- editor.addCommitListener(new ICommitListener() {
-
- public void commit(AbstractEditor editor) {
- String filterPattern = (String)((StringEditor)editor).getValue();
- ((PatternViewerFilter)patternFilter).setPattern(filterPattern);
- viewer.refresh();
- if(!("".equals(filterPattern) || currentFilterPattern.equals(filterPattern))) {
- Object firstMatch = getFirstMatchingElement(null);
- if(firstMatch != null) {
- viewer.reveal(firstMatch);
- }
- currentFilterPattern = filterPattern;
- }
- }
-
- });
-
- List<ViewerFilter> filters = new LinkedList<ViewerFilter>(Arrays.asList(viewer.getFilters()));
- filters.add(patternFilter);
- viewer.setFilters(filters.toArray(new ViewerFilter[filters.size()]));
- }
-
- /**
- * Returns the first (encapsulated) element matching the current filters
- *
- * @return
- */
- protected Object getFirstMatchingElement(Object parent) {
- //Browse from the root element
- if(parent == null) {
- for(Object parentElement : getElements(viewer.getInput())) {
- Object firstMatch = getFirstMatchingElement(parentElement);
- if(firstMatch != null) {
- return firstMatch;
- }
- }
- return null;
- }
-
- for(ViewerFilter filter : viewer.getFilters()) {
- if(!filter.select(viewer, getParent(parent), parent)) {
- return null;
- }
- }
-
- //Test the current element
- if(isValidValue(parent)) {
- return parent;
- }
-
- //Browse the child elements
- for(Object childElement : getChildren(parent)) {
- Object firstMatch = getFirstMatchingElement(childElement);
- if(firstMatch != null) {
- return firstMatch;
- }
- }
-
- //No match found
- return null;
- }
-
- /**
- * {@inheritDoc}
- */
- public void createAfter(Composite parent) {
- parent.setLayout(new GridLayout(1, false));
- // createMetaclassFilter(parent); //Disabled
- createHistory(parent);
- createDetailArea(parent);
- }
-
- /**
- * Creates a widget referencing the recently selected elements
- *
- * @param parent
- * The composite in which the widget will be created
- */
- protected void createHistory(Composite parent) {
- initSelectionHistory();
-
- Group historyGroup = new Group(parent, SWT.NONE);
- historyGroup.setText("Recent selections");
- historyGroup.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 1, 1));
- historyGroup.setLayout(new GridLayout(1, true));
-
- // table
- Table historyTable = new Table(historyGroup, SWT.BORDER | SWT.SINGLE);
- GridData data = new GridData(SWT.FILL, SWT.FILL, true, false);
- data.heightHint = 70;
- historyTable.setLayoutData(data);
- final TableViewer historyViewer = new TableViewer(historyTable);
- historyViewer.setContentProvider(new HistoryContentProvider());
- historyViewer.setLabelProvider(viewer.getLabelProvider());
- historyViewer.setInput(selectionHistory);
- historyViewer.addSelectionChangedListener(new ISelectionChangedListener() {
-
- /**
- * {@inheritDoc}
- */
- public void selectionChanged(SelectionChangedEvent event) {
- IStructuredSelection selection = (IStructuredSelection)historyViewer.getSelection();
- Object selectedObject = selection.getFirstElement();
- if(selectedObject instanceof EObject) {
- EObject eObject = ((EObject)selectedObject);
- // select the element in the model explorer
- Object containerValue = getContainerValue(eObject);
- if(containerValue == null) {
- viewer.setSelection(StructuredSelection.EMPTY);
- } else {
- viewer.setSelection(new StructuredSelection(containerValue), true);
- }
-
- // update current selection
- // ModelElementItem item = (ModelElementItem)((IStructuredSelection)viewer.getSelection()).getFirstElement();
- // if(item != null) {
- // setCurrentValueItem(item);
- // }
- }
- }
- });
- }
-
- /**
- * Inits the History
- */
- protected void initSelectionHistory() {
- // read the history in the preferences
- ServicesRegistry servicesRegistry = EditorUtils.getServiceRegistry();
- ModelSet modelSet = null;
- selectionHistory = new ArrayList<EObject>(HISTORY_MAX_SIZE + 1);
- try {
- modelSet = ModelUtils.getModelSetChecked(servicesRegistry);
- } catch (ServiceException e) {
- Activator.log.error(e);
- return;
- }
-
- IDialogSettings historySettings = getDialogSettings().getSection(HISTORY_SETTINGS);
- if(historySettings != null) {
- String[] uriHistory = historySettings.getArray(PREVIOUS_SELECTION);
- // for each element in the list, try to get the EObject by its URI
- if(uriHistory != null) {
- for(String uri : uriHistory) {
- try {
- EObject object = modelSet.getEObject(URI.createURI(uri), true);
- if(object != null && !selectionHistory.contains(object)) {
- selectionHistory.add(object);
- }
- } catch (Exception ex) {
- //Ignore : if the resource doesn't exist anymore, we just skip it
- }
- }
- }
- }
- }
-
- /**
- * Creates a widget to filter the tree according to the selected
- * metaclass.
- *
- * @param parent
- * The Composite in which the widgets will be created
- */
- protected void createMetaclassFilter(Composite parent) {
- if(semanticRoot == null) {
- return;
- }
-
- Composite container = new Composite(parent, SWT.NONE);
- container.setLayout(new GridLayout(2, false));
- container.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
-
- ResourceSet resourceSet = semanticRoot.eResource().getResourceSet();
- EcoreUtil.resolveAll(resourceSet);
-
- Label metamodelLabel = new Label(container, SWT.NONE);
- metamodelLabel.setText("Metamodel:");
-
- ComboViewer metamodelViewer = new ComboViewer(container);
- metamodelViewer.setContentProvider(getMetamodelContentProvider());
- metamodelViewer.setLabelProvider(new EMFObjectLabelProvider());
- metamodelViewer.setInput(semanticRoot);
- metamodelViewer.getCombo().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
-
- Label metaclassLabel = new Label(container, SWT.NONE);
- metaclassLabel.setText("Metaclass:");
-
- final ComboViewer metaclassViewer = new ComboViewer(container);
- IStructuredContentProvider metaclassProvider = getMetaclassContentProvider();
- metaclassViewer.setContentProvider(metaclassProvider);
- metaclassViewer.setLabelProvider(new EMFObjectLabelProvider());
- metaclassViewer.getCombo().setEnabled(false);
- metaclassViewer.getCombo().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
-
- metamodelViewer.setFilters(new ViewerFilter[]{ new MetamodelContentFilter(metaclassProvider) });
-
- metamodelViewer.addSelectionChangedListener(new ISelectionChangedListener() {
-
- public void selectionChanged(SelectionChangedEvent event) {
- metaclassViewer.setInput(((IStructuredSelection)event.getSelection()).getFirstElement());
- metaclassViewer.getCombo().setEnabled(true);
- }
- });
-
- metaclassViewer.addSelectionChangedListener(new ISelectionChangedListener() {
-
- public void selectionChanged(SelectionChangedEvent event) {
- if(!event.getSelection().isEmpty()) {
- Object selectedObject = ((IStructuredSelection)event.getSelection()).getFirstElement();
- List<ViewerFilter> filters = new LinkedList<ViewerFilter>(Arrays.asList(viewer.getFilters()));
- filters.remove(currentMetaclassViewerFilter);
- currentMetaclassViewerFilter = getMetaclassViewerFilter(selectedObject);
- filters.add(currentMetaclassViewerFilter);
- viewer.setFilters(filters.toArray(new ViewerFilter[filters.size()]));
- viewer.refresh();
- }
- }
- });
- }
-
- /**
- * Creates a label widget to display detailed information on the
- * current value (Such as fully qualified name, ...)
- *
- * @param parent
- * The composite in which the widget will be created
- */
- protected void createDetailArea(Composite parent) {
- detailLabel = new CLabel(parent, SWT.BORDER);
- detailLabel.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false));
- updateDetailLabel();
- }
-
- protected IStructuredContentProvider getMetamodelContentProvider() {
- return new MetamodelContentProvider();
- }
-
- protected IStructuredContentProvider getMetaclassContentProvider() {
- return new MetaclassContentProvider((EClass)this.metaClassWanted, this.metaClassNotWantedList);
- }
-
- protected ILabelProvider getLabelProvider() {
- return new EMFObjectLabelProvider();
- }
-
- protected ViewerFilter getMetaclassViewerFilter(Object selectedMetaClass) {
- return new MetaclassViewerFilter(selectedMetaClass);
- }
-
- /**
- * Returns the dialog settings. Returned object can't be null.
- *
- * @return dialog settings for this dialog
- */
- protected IDialogSettings getDialogSettings() {
- IDialogSettings settings = Activator.getDefault().getDialogSettings().getSection(getDialogSettingsIdentifier());
- if(settings == null) {
- settings = Activator.getDefault().getDialogSettings().addNewSection(getDialogSettingsIdentifier());
- }
- return settings;
- }
-
- private String getDialogSettingsIdentifier() {
- return DIALOG_SETTINGS + "_" + historyId;
- }
-
- /**
- * Stores dialog settings.
- *
- * @param settings
- * settings used to store dialog
- */
- protected void storeDialog(IDialogSettings settings, EObject currentValue) {
-
- if(selectionHistory.contains(currentValue)) {
- selectionHistory.remove(currentValue);
- }
-
- selectionHistory.add(0, currentValue);
-
- //This should loop only once, unless the history was already oversized
- while(selectionHistory.size() > HISTORY_MAX_SIZE) {
- selectionHistory.remove(HISTORY_MAX_SIZE);
- }
-
- List<String> uriList = new ArrayList<String>();
-
- // convert list of EObject into URI string list
- for(EObject object : selectionHistory) {
- URI uri = EcoreUtil.getURI(object);
- uriList.add(uri.toString());
- }
-
- IDialogSettings historySettings = settings.getSection(HISTORY_SETTINGS);
- if(historySettings == null) {
- historySettings = settings.addNewSection(HISTORY_SETTINGS);
- }
- historySettings.put(PREVIOUS_SELECTION, uriList.toArray(new String[uriList.size()]));
- }
-
- @Override
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
- super.inputChanged(viewer, oldInput, newInput);
- if(this.viewer != null && newInput != null && this.viewer.getControl() != null && !this.viewer.getControl().isDisposed()) {
- this.viewer.setFilters(new ViewerFilter[]{ new HierarchicViewerFilter(this) });
- this.viewer.addSelectionChangedListener(this);
- }
- }
-
- public void selectionChanged(SelectionChangedEvent event) {
- selectedObject = ((IStructuredSelection)event.getSelection()).getFirstElement();
- selectedObject = getAdaptedValue(selectedObject);
- updateDetailLabel();
- }
-
- private void updateDetailLabel() {
- if(detailLabel == null || detailLabel.isDisposed()) {
- return;
- }
- if(selectedObject == null) {
- detailLabel.setText("");
- detailLabel.setImage(null);
- } else {
- ILabelProvider labelProvider = (ILabelProvider)viewer.getLabelProvider();
- String description;
- if(labelProvider instanceof IDetailLabelProvider) {
- description = ((IDetailLabelProvider)labelProvider).getDetail(selectedObject);
- } else {
- description = labelProvider.getText(selectedObject);
- }
- detailLabel.setText(description);
- detailLabel.setImage(labelProvider.getImage(selectedObject));
- }
- detailLabel.getParent().getParent().layout();
- }
-
- public void commit(AbstractEditor editor) {
- if(selectedObject instanceof EObject) {
- storeDialog(getDialogSettings(), (EObject)selectedObject);
- }
- }
-
- @Override
- public void dispose() {
- viewer.removeSelectionChangedListener(this);
- super.dispose();
- }
-}
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/HierarchicViewerFilter.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/HierarchicViewerFilter.java
deleted file mode 100644
index 76cf2f70ffd..00000000000
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/HierarchicViewerFilter.java
+++ /dev/null
@@ -1,148 +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:
- * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Adaptation to AbstractTreeFilter
- *
- *****************************************************************************/
-package org.eclipse.papyrus.views.modelexplorer.widgets;
-
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Set;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.facet.infra.browser.uicore.internal.model.BigListItem;
-import org.eclipse.emf.facet.infra.facet.FacetReference;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.papyrus.infra.widgets.providers.AbstractTreeFilter;
-import org.eclipse.papyrus.infra.widgets.providers.IHierarchicContentProvider;
-import org.eclipse.papyrus.views.modelexplorer.SemanticFromModelExplorer;
-
-/**
- *
- * This a View Filter that use a IHierarchicContentProvider
- *
- */
-public class HierarchicViewerFilter extends AbstractTreeFilter {
-
- /**
- * a constructor
- * @param contentProvider that contains isValidValue() in order to know element to filter
- */
- public HierarchicViewerFilter(IHierarchicContentProvider contentProvider) {
- super();
- this.contentProvider = contentProvider;
- }
-
- /**
- * the content provider
- */
- protected IHierarchicContentProvider contentProvider;
-
- @Override
- public boolean hasOneVisibleChild(Viewer viewer, Object element, ITreeContentProvider contentProvider, Set<Object> visitedElements) {
- //TODO : divide this method
- if(useCache && visibleChild.containsKey(element)) {
- return visibleChild.get(element);
- }
-
- boolean result = false;
-
- if(visitedElements.add(element)) {
- SemanticFromModelExplorer bridge = new SemanticFromModelExplorer();
-
- EObject semanticObject = null;
- if(element instanceof IAdaptable) {
- semanticObject = (EObject)bridge.getSemanticElement(element);
- }
- if(element instanceof EObject) {
- semanticObject = (EObject)element;
- }
-
- if(element instanceof BigListItem) {
- Object[] children = contentProvider.getChildren(element);
- for(Object child : children) {
- if(isVisible(viewer, element, child) || hasOneVisibleChild(viewer, child, contentProvider, visitedElements)) {
- result = true;
- }
- }
- } else if(semanticObject != null) {//it contains nothing
- if(semanticObject instanceof EReference) {
- //Do not display references that are not containment kind
- EReference eReference = (EReference)semanticObject;
- if(isValidReference(eReference)) {
- //this an ereference maybe it references something that is interesting
- Object[] children = contentProvider.getChildren(element);
- for(Object child : children) {
- if(isVisible(viewer, element, child) || hasOneVisibleChild(viewer, child, contentProvider, visitedElements)) {
- result = true;
- }
- }
- }
- }
-
- if(!result) {
-
- //it contains something so we have to test children before
- Iterator<EObject> iter = semanticObject.eAllContents();
- while(iter.hasNext()) {
- EObject subEObject = iter.next();
- if(isVisible(viewer, semanticObject, subEObject) || hasOneVisibleChild(viewer, subEObject, contentProvider, visitedElements)) {
- result = true;
- break;
- }
- }
-
- if(!result) {
- for(EReference eReference : getReferencesToBrowse(semanticObject)) {
- Object values = semanticObject.eGet(eReference);
- if(values instanceof EList) {
- for(Object value : (EList<?>)values) {
- if(isVisible(viewer, semanticObject, value) || hasOneVisibleChild(viewer, value, contentProvider, visitedElements)) {
- result = true;
- break;
- }
- }
- } else if(isVisible(viewer, semanticObject, values) || hasOneVisibleChild(viewer, values, contentProvider, visitedElements)) {
- result = true;
- }
- }
- }
- }
- }
-
- }
-
- if(useCache) {
- visibleChild.put(element, result);
- }
-
- return result;
- }
-
- protected Set<EReference> getReferencesToBrowse(EObject element) {
- return new HashSet<EReference>();
- }
-
- protected boolean isValidReference(EReference eReference) {
- return eReference.isContainment() || eReference instanceof FacetReference || getReferencesToBrowse(null).contains(eReference);
- }
-
- @Override
- public boolean isVisible(Viewer viewer, Object parentElement, Object element) {
- return contentProvider.isValidValue(element);
- }
-
-}
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/HistoryContentProvider.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/HistoryContentProvider.java
deleted file mode 100644
index 4a0abf810a6..00000000000
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/HistoryContentProvider.java
+++ /dev/null
@@ -1,47 +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.views.modelexplorer.widgets;
-
-import java.util.List;
-
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.Viewer;
-
-/**
- * Content provider for the history table
- */
-public class HistoryContentProvider implements IStructuredContentProvider {
-
- /**
- * {@inheritDoc}
- */
- public void dispose() {
- // nothing here
- }
-
- /**
- * {@inheritDoc}
- */
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
- // nothing here
- }
-
- /**
- * {@inheritDoc}
- */
- public Object[] getElements(Object inputElement) {
- if(inputElement instanceof List<?>) {
- return ((List<?>)inputElement).toArray();
- }
- return new Object[0];
- }
-} \ No newline at end of file
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/IMetaclassFilteredContentProvider.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/IMetaclassFilteredContentProvider.java
deleted file mode 100644
index a0b6a3f836b..00000000000
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/IMetaclassFilteredContentProvider.java
+++ /dev/null
@@ -1,39 +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:
- * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.views.modelexplorer.widgets;
-
-import java.util.List;
-
-import org.eclipse.papyrus.infra.widgets.providers.IHierarchicContentProvider;
-
-
-/**
- * this is a content provider on which we can filter wanted meta-classes
- * So the method is valid has to take in account the list of metaclasses
- */
-public interface IMetaclassFilteredContentProvider extends
-IHierarchicContentProvider {
- /**
- * set the list of meta-classes that we do not want to display.
- * It could be interesting to look for a kind of metaclasses without sub metaclasses.
- * @param metaClassNotWanted list of metaclasses that are not wanted
- *
- */
- public void setMetaClassNotWanted(List<Object> metaClassNotWanted);
- /**
- * a the kind of metaclasses wanted
- * @param metaClassWanted
- */
- public void setMetaClassWanted(Object metaClassWanted);
-}
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/ModelContentProvider.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/ModelContentProvider.java
deleted file mode 100644
index 1c39154e61e..00000000000
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/ModelContentProvider.java
+++ /dev/null
@@ -1,205 +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:
- * Patrick Tessier (CEA LIST) patrick.tessier@cea.fr - Initial API and implementation
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Support for AdaptableContentProvider
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.views.modelexplorer.widgets;
-
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Set;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.facet.infra.browser.uicore.internal.model.BigListItem;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.jface.viewers.StructuredViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.jface.viewers.ViewerFilter;
-import org.eclipse.papyrus.infra.core.utils.EditorUtils;
-import org.eclipse.papyrus.infra.widgets.providers.IAdaptableContentProvider;
-import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
-import org.eclipse.papyrus.views.modelexplorer.MoDiscoContentProvider;
-import org.eclipse.papyrus.views.modelexplorer.SemanticFromModelExplorer;
-
-/**
- * This is a modisco content provider on which we can parameter the root element
- */
-public class ModelContentProvider extends MoDiscoContentProvider implements IStaticContentProvider, IAdaptableContentProvider {
-
- /**
- * the root element of the tree explorer
- */
- protected EObject semanticRoot = null;
-
-
- /**
- * The StructuredViewer on which this content provider is applied
- */
- protected StructuredViewer viewer;
-
- public ModelContentProvider(EObject semanticRoot) {
- this.semanticRoot = semanticRoot;
- }
-
- /**
- * {@inheritDoc}
- */
- public Object[] getElements() {
- return super.getElements(EditorUtils.getMultiDiagramEditor().getServicesRegistry());
- }
-
- @Override
- public EObject[] getRootElements(Object inputElement) {
- //if the semantic root is null, we use the default behavior
- if(semanticRoot == null) {
- return super.getRootElements(inputElement);
- } else {
- //we call the super, to ensure that all variable are initialized
- super.getRootElements(inputElement);
- EObject[] eobjectArray = { semanticRoot };
- return eobjectArray;
- }
- }
-
- @Override
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
- if(viewer instanceof StructuredViewer) {
- this.viewer = (StructuredViewer)viewer;
- } else {
- this.viewer = null;
- }
- }
-
- public Object getAdaptedValue(Object selection) {
- if(selection instanceof IAdaptable) {
- EObject adapted = (EObject)((IAdaptable)selection).getAdapter(EObject.class);
- if(adapted != null) {
- return adapted;
- }
- }
- return selection;
- }
-
- public Object getContainerValue(Object selection) {
- if(selection instanceof EObject && viewer != null) {
- Object root = viewer.getInput();
- List<Object> rootElements = Arrays.asList(((ITreeContentProvider)viewer.getContentProvider()).getElements(root));
- List<Object> path = searchPath((EObject)selection, rootElements, new HashSet<Object>());
- if(!path.isEmpty()) {
- Object treeElement = path.get(path.size() - 1);
- return treeElement;
- }
- }
- return selection;
- }
-
- /**
- * look for the path the list of element (comes from the content provider) to go the eObject
- *
- * @param eobject
- * that we look for.
- * @param wrappers
- * a list of elements where eobject can be wrapped.
- * @param visitedElements
- * this parameters maintains the list of visited semantic elements,
- * to avoid infinite loops in infinite trees
- * @return the list of modelElementItem ( from the root to the element that wrap the eobject)
- */
- protected List<Object> searchPath(EObject lookFor, List<Object> wrappers, Set<Object> visitedElements) {
-
- if(lookFor == null) {
- return Collections.emptyList();
- }
- SemanticFromModelExplorer semanticGetter = new SemanticFromModelExplorer();
- List<Object> path = new ArrayList<Object>();
-
- for(Object wrapper : wrappers) {
- Object semanticElement = semanticGetter.getSemanticElement(wrapper);
- if(visitedElements.contains(semanticElement)) {
- continue;
- }
-
- if(!(semanticElement instanceof EReference)) {
- // Don't mark references themselves as visited, as they are meta-level singletons that should always be re-visited.
- visitedElements.add(semanticElement);
- }
-
- if(!isVisible(wrapper)) {
- continue;
- }
-
- // Search matches in this level
- if(!(wrapper instanceof Diagram) && wrapper instanceof IAdaptable) {
- if(lookFor.equals(semanticElement)) {
- path.add(wrapper);
- return path;
- }
- }
-
- // Find childs only for feature container and BigListItems
- //FIXME : Actually, we currently browse all references. We should only browse containment references
- //and a few specific references (To be determined by implementers, such as importPackage for UML)
- Object[] children = getChildren(wrapper);
- for(Object treeItem : children) {
- List<Object> tmppath = new ArrayList<Object>();
- if(treeItem instanceof BigListItem) {
- List<Object> childs = new ArrayList<Object>();
- childs.add(treeItem);
- tmppath = searchPath(lookFor, childs, visitedElements);
- } else {
- //can be change into IADAPTER by using new API of modisco
- Object element = semanticGetter.getSemanticElement(treeItem);
- if(element != null) {
- if(element instanceof EReference) {
- List<Object> childs = new ArrayList<Object>();
- childs.add(treeItem);
- tmppath = searchPath(lookFor, childs, visitedElements);
- } else if(element instanceof EObject) {
- List<Object> childs = new ArrayList<Object>();
- childs.add(treeItem);
- tmppath = searchPath(lookFor, childs, visitedElements);
- }
- }
- }
-
- // if tmppath contains the wrapped eobject we have find the good path
- if(tmppath.size() > 0) {
- if(tmppath.get(tmppath.size() - 1) instanceof IAdaptable) {
- if(lookFor.equals(semanticGetter.getSemanticElement(tmppath.get(tmppath.size() - 1)))) {
- path.add(wrapper);
- path.addAll(tmppath);
- return path;
- }
- }
- }
- }
- }
-
- return new ArrayList<Object>();
- }
-
- protected boolean isVisible(Object wrapper) {
- for(ViewerFilter filter : viewer.getFilters()) {
- if(!filter.select(viewer, null, wrapper)) {
- return false;
- }
- }
- return true;
- }
-}
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/ModelExplorerBasedTreeSelectorDialog.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/ModelExplorerBasedTreeSelectorDialog.java
index 80d978b2813..b8cf2da163a 100644
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/ModelExplorerBasedTreeSelectorDialog.java
+++ b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer.widgets/src/org/eclipse/papyrus/views/modelexplorer/widgets/ModelExplorerBasedTreeSelectorDialog.java
@@ -22,10 +22,12 @@ import org.eclipse.emf.ecore.EObject;
import org.eclipse.jface.viewers.LabelProvider;
import org.eclipse.jface.viewers.ViewerFilter;
import org.eclipse.papyrus.infra.core.utils.EditorUtils;
+import org.eclipse.papyrus.infra.emf.providers.GraphicalModelExplorerBasedContentProvider;
+import org.eclipse.papyrus.infra.emf.providers.internal.HierarchicViewerFilter;
+import org.eclipse.papyrus.infra.emf.providers.internal.SemanticFromModelExplorer;
import org.eclipse.papyrus.infra.widgets.editors.TreeSelectorDialog;
import org.eclipse.papyrus.views.modelexplorer.Activator;
import org.eclipse.papyrus.views.modelexplorer.MoDiscoLabelProviderWTooltips;
-import org.eclipse.papyrus.views.modelexplorer.SemanticFromModelExplorer;
import org.eclipse.swt.widgets.Shell;
/**
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/META-INF/MANIFEST.MF b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/META-INF/MANIFEST.MF
index f9e75a08f66..a28786ec566 100644
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/META-INF/MANIFEST.MF
+++ b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/META-INF/MANIFEST.MF
@@ -30,7 +30,8 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.gmf.runtime.emf.commands.core;bundle-version="1.4.0",
org.eclipse.gmf.runtime.emf.type.core;bundle-version="1.4.0",
org.eclipse.emf.facet.infra.query.core,
- org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0"
+ org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
Export-Package: org.eclipse.papyrus.views.modelexplorer,
org.eclipse.papyrus.views.modelexplorer.actionprovider,
org.eclipse.papyrus.views.modelexplorer.actions,
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/MoDiscoContentProvider.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/MoDiscoContentProvider.java
deleted file mode 100644
index 552afa85acc..00000000000
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/MoDiscoContentProvider.java
+++ /dev/null
@@ -1,156 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2010 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:
- * Nicolas Bros (Mia-Software) - initial API and implementation
- *******************************************************************************/
-package org.eclipse.papyrus.views.modelexplorer;
-
-import java.util.ArrayList;
-import java.util.Iterator;
-import java.util.List;
-
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.facet.infra.browser.uicore.CustomizableModelContentProvider;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.papyrus.infra.core.resource.ModelSet;
-import org.eclipse.papyrus.infra.core.resource.ModelUtils;
-import org.eclipse.papyrus.infra.core.resource.uml.UmlModel;
-import org.eclipse.papyrus.infra.core.resource.uml.UmlUtils;
-import org.eclipse.papyrus.infra.core.sasheditor.contentprovider.IPageMngr;
-import org.eclipse.papyrus.infra.core.sasheditor.di.contentprovider.DiSashModelMngr;
-import org.eclipse.papyrus.infra.core.services.ServicesRegistry;
-
-/**
- * the content provider that inherits of modisco properties
- */
-public class MoDiscoContentProvider extends CustomizableModelContentProvider {
-
- /** The ModelSet containing all the models. This is the initial input. */
- protected ModelSet modelSet;
-
- /** The list of open pages (diagrams) */
- protected IPageMngr pageMngr;
-
- /**
- * Creates a new MoDiscoContentProvider.
- */
- public MoDiscoContentProvider() {
- super(Activator.getDefault().getCustomizationManager());
- }
-
- @Override
- public boolean hasChildren(Object element) {
- return getChildren(element).length > 0;
- }
-
- @Override
- public Object[] getChildren(final Object parentElement) {
- ArrayList<Object> result = new ArrayList<Object>();
-
- Object[] arrayObject = super.getChildren(parentElement);
- if(arrayObject != null) {
- for(int i = 0; i < arrayObject.length; i++) {
- result.add(arrayObject[i]);
- }
- }
- /**
- * Refactoring with bug 358732
- */
- //
- // if (parentElement instanceof IAdaptable) {
- // EObject eObject = (EObject)((IAdaptable)parentElement).getAdapter(EObject.class);
- // if(eObject !=null) {
- // List<Diagram> diagramList = findAllExistingDiagrams(eObject);
- // Iterator<Diagram> iterator = diagramList.iterator();
- // while (iterator.hasNext()) {
- // result.add(iterator.next());
- // }
- // }
- //
- // }
-
- return result.toArray();
- }
-
- /**
- * @param owner
- * the owner of the diagrams
- * @return the list of diagrams contained by the given owner
- */
- private List<Diagram> findAllExistingDiagrams(EObject owner) {
- ArrayList<Diagram> diagrams = new ArrayList<Diagram>();
-
- // Walk on page (Diagram) references
- for(Object page : pageMngr.allPages()) {
- if(!(page instanceof Diagram)) {
- continue;
- }
- // We have a GMF Diagram
- Diagram diagram = (Diagram)page;
- if(owner.equals(diagram.getElement())) {
- diagrams.add(diagram);
- }
-
- }
-
- return diagrams;
- }
-
- /**
- * Return the initial values from the input.
- * Input should be of type {@link UmlModel}.
- *
- * @see org.eclipse.gmt.modisco.infra.browser.uicore.CustomizableModelContentProvider#getRootElements(java.lang.Object)
- *
- * @param inputElement
- * @return
- */
- @Override
- public EObject[] getRootElements(Object inputElement) {
-
- try {
- if(!(inputElement instanceof ServicesRegistry)) {
- return null;
- }
-
- ServicesRegistry servicesRegistry = (ServicesRegistry)inputElement;
-
- modelSet = ModelUtils.getModelSetChecked(servicesRegistry);
- pageMngr = servicesRegistry.getService(DiSashModelMngr.class).getIPageMngr();
-
- return getRootElements(modelSet);
- } catch (Exception e) {
- Activator.log.error(e);
- }
-
- return new EObject[0];
- }
-
- /**
- * Get the roots elements from the {@link ModelSet} provided as input.
- *
- * @return
- */
- protected EObject[] getRootElements(ModelSet modelSet) {
- UmlModel umlModel = (UmlUtils.getUmlModel(modelSet));
-
- if(umlModel == null) {
- return null;
- }
-
- EList<EObject> contents = umlModel.getResource().getContents();
- ArrayList<EObject> result = new ArrayList<EObject>();
- Iterator<EObject> iterator = contents.iterator();
- while(iterator.hasNext()) {
- EObject eObject = iterator.next();
- result.add(eObject);
- }
- return result.toArray(new EObject[result.size()]);
- }
-}
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/ModelExplorerView.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/ModelExplorerView.java
index af9400856ae..c2d39c7c0ab 100644
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/ModelExplorerView.java
+++ b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/ModelExplorerView.java
@@ -47,6 +47,7 @@ import org.eclipse.papyrus.infra.core.services.ServiceException;
import org.eclipse.papyrus.infra.core.ui.IRevealSemanticElement;
import org.eclipse.papyrus.infra.core.utils.EditorUtils;
import org.eclipse.papyrus.infra.core.utils.ServiceUtils;
+import org.eclipse.papyrus.infra.emf.providers.internal.SemanticFromModelExplorer;
import org.eclipse.papyrus.views.modelexplorer.listener.DoubleClickListener;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
diff --git a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/SemanticFromModelExplorer.java b/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/SemanticFromModelExplorer.java
deleted file mode 100644
index 8b659c4c62e..00000000000
--- a/plugins/views/modelexplorer/org.eclipse.papyrus.views.modelexplorer/src/org/eclipse/papyrus/views/modelexplorer/SemanticFromModelExplorer.java
+++ /dev/null
@@ -1,47 +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:
- * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.views.modelexplorer;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.papyrus.infra.core.IElementWithSemantic;
-
-/**
- * This class is used to obtain the semantic element for element of the model explorer
- */
-public class SemanticFromModelExplorer implements IElementWithSemantic {
-
- /**
- * {@inheritDoc}
- */
- public Object getSemanticElement(Object wrapper) {
- if( wrapper instanceof IAdaptable){
- Object obj= ((IAdaptable)wrapper).getAdapter(EObject.class);
- if(obj==null){
- obj= ((IAdaptable)wrapper).getAdapter(EReference.class);
- }
- if(obj!=null){
- return obj;
- }
- }
-
- if( wrapper instanceof Diagram){
- return wrapper;
- }
- return null;
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/META-INF/MANIFEST.MF b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/META-INF/MANIFEST.MF
index 0c4001ca5a9..963db21ee00 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/META-INF/MANIFEST.MF
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/META-INF/MANIFEST.MF
@@ -10,7 +10,9 @@ Bundle-RequiredExecutionEnvironment: J2SE-1.5
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.papyrus.views.properties.model;bundle-version="0.9.0";visibility:=reexport,
org.eclipse.emf.edit;visibility:=reexport,
- org.eclipse.emf.ecore.edit;bundle-version="2.7.0"
+ org.eclipse.emf.ecore.edit;bundle-version="2.7.0",
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.constraints.edit;bundle-version="1.0.0"
Bundle-Vendor: %providerName
Bundle-Version: 0.9.0.qualifier
Bundle-ManifestVersion: 2
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/plugin.xml b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/plugin.xml
index d272f6198f8..da33a5fe2e6 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/plugin.xml
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/plugin.xml
@@ -12,7 +12,7 @@
<extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
<factory
- uri="http://www.eclipse.org/papyrus/properties/environment"
+ uri="http://www.eclipse.org/papyrus/properties/environment/0.9"
class="org.eclipse.papyrus.views.properties.environment.provider.EnvironmentItemProviderAdapterFactory"
supportedTypes=
"org.eclipse.emf.edit.provider.IEditingDomainItemProvider
@@ -24,7 +24,7 @@
<extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
<factory
- uri="http://www.eclipse.org/papyrus/properties/contexts"
+ uri="http://www.eclipse.org/papyrus/properties/contexts/0.9"
class="org.eclipse.papyrus.views.properties.contexts.provider.ContextsItemProviderAdapterFactory"
supportedTypes=
"org.eclipse.emf.edit.provider.IEditingDomainItemProvider
@@ -36,7 +36,7 @@
<extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
<factory
- uri="http://www.eclipse.org/papyrus/properties/ui"
+ uri="http://www.eclipse.org/papyrus/properties/ui/0.9"
class="org.eclipse.papyrus.views.properties.ui.provider.UiItemProviderAdapterFactory"
supportedTypes=
"org.eclipse.emf.edit.provider.IEditingDomainItemProvider
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/CompositeConstraintItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/CompositeConstraintItemProvider.java
deleted file mode 100644
index 76090cf51ce..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/CompositeConstraintItemProvider.java
+++ /dev/null
@@ -1,160 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.views.properties.contexts.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.emf.edit.provider.ViewerNotification;
-
-import org.eclipse.papyrus.views.properties.contexts.CompositeConstraint;
-import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-
-/**
- * This is the item provider adapter for a {@link org.eclipse.papyrus.views.properties.contexts.CompositeConstraint} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class CompositeConstraintItemProvider
- extends ConstraintDescriptorItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CompositeConstraintItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(ContextsPackage.Literals.COMPOSITE_CONSTRAINT__CONSTRAINTS);
- }
- return childrenFeatures;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns CompositeConstraint.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/CompositeConstraint"));
- }
-
- /**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((CompositeConstraint)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_CompositeConstraint_type") :
- getString("_UI_CompositeConstraint_type") + " " + label;
- }
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(CompositeConstraint.class)) {
- case ContextsPackage.COMPOSITE_CONSTRAINT__CONSTRAINTS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (ContextsPackage.Literals.COMPOSITE_CONSTRAINT__CONSTRAINTS,
- ContextsFactory.eINSTANCE.createSimpleConstraint()));
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ConfigPropertyItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ConfigPropertyItemProvider.java
deleted file mode 100644
index 25fe37c8410..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ConfigPropertyItemProvider.java
+++ /dev/null
@@ -1,152 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.views.properties.contexts.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.util.ResourceLocator;
-
-import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.ItemProviderAdapter;
-import org.eclipse.emf.edit.provider.ViewerNotification;
-
-
-import org.eclipse.papyrus.views.properties.contexts.ConfigProperty;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
-
-/**
- * This is the item provider adapter for a {@link org.eclipse.papyrus.views.properties.contexts.ConfigProperty} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class ConfigPropertyItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConfigPropertyItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addNamePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Name feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConfigProperty_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ConfigProperty_name_feature", "_UI_ConfigProperty_type"),
- ContextsPackage.Literals.CONFIG_PROPERTY__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((ConfigProperty)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_ConfigProperty_type") :
- getString("_UI_ConfigProperty_type") + " " + label;
- }
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ConfigProperty.class)) {
- case ContextsPackage.CONFIG_PROPERTY__NAME:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return PropertiesEditPlugin.INSTANCE;
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ConstraintDescriptorItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ConstraintDescriptorItemProvider.java
deleted file mode 100644
index 9d066f9faac..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ConstraintDescriptorItemProvider.java
+++ /dev/null
@@ -1,210 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.views.properties.contexts.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.util.ResourceLocator;
-
-import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.ItemProviderAdapter;
-import org.eclipse.emf.edit.provider.ViewerNotification;
-
-
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
-
-/**
- * This is the item provider adapter for a {@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class ConstraintDescriptorItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConstraintDescriptorItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addNamePropertyDescriptor(object);
- addOverrideablePropertyDescriptor(object);
- addOverriddenConstraintsPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Name feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConstraintDescriptor_name_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ConstraintDescriptor_name_feature", "_UI_ConstraintDescriptor_type"),
- ContextsPackage.Literals.CONSTRAINT_DESCRIPTOR__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This adds a property descriptor for the Overrideable feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addOverrideablePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConstraintDescriptor_overrideable_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ConstraintDescriptor_overrideable_feature", "_UI_ConstraintDescriptor_type"),
- ContextsPackage.Literals.CONSTRAINT_DESCRIPTOR__OVERRIDEABLE,
- true,
- false,
- false,
- ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This adds a property descriptor for the Overridden Constraints feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addOverriddenConstraintsPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConstraintDescriptor_overriddenConstraints_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ConstraintDescriptor_overriddenConstraints_feature", "_UI_ConstraintDescriptor_type"),
- ContextsPackage.Literals.CONSTRAINT_DESCRIPTOR__OVERRIDDEN_CONSTRAINTS,
- true,
- false,
- true,
- null,
- null,
- null));
- }
-
- /**
- * This returns ConstraintDescriptor.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ConstraintDescriptor"));
- }
-
- /**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((ConstraintDescriptor)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_ConstraintDescriptor_type") :
- getString("_UI_ConstraintDescriptor_type") + " " + label;
- }
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ConstraintDescriptor.class)) {
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__NAME:
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__OVERRIDEABLE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return PropertiesEditPlugin.INSTANCE;
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ContextItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ContextItemProvider.java
index 98df4966873..85efdb9fdcc 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ContextItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ContextItemProvider.java
@@ -12,13 +12,9 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.ecore.provider.EModelElementItemProvider;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -28,8 +24,6 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
-
import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ContextsItemProviderAdapterFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ContextsItemProviderAdapterFactory.java
index 2ba64c1f72a..2e0fb132d83 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ContextsItemProviderAdapterFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ContextsItemProviderAdapterFactory.java
@@ -12,7 +12,6 @@ import java.util.Collection;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.Notifier;
-
import org.eclipse.emf.edit.provider.ChangeNotifier;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
@@ -24,7 +23,6 @@ import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.INotifyChangedListener;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
import org.eclipse.papyrus.views.properties.contexts.util.ContextsAdapterFactory;
/**
@@ -283,98 +281,6 @@ public class ContextsItemProviderAdapterFactory extends ContextsAdapterFactory i
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SimpleConstraintItemProvider simpleConstraintItemProvider;
-
- /**
- * This creates an adapter for a {@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Adapter createSimpleConstraintAdapter() {
- if (simpleConstraintItemProvider == null) {
- simpleConstraintItemProvider = new SimpleConstraintItemProvider(this);
- }
-
- return simpleConstraintItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.views.properties.contexts.CompositeConstraint} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CompositeConstraintItemProvider compositeConstraintItemProvider;
-
- /**
- * This creates an adapter for a {@link org.eclipse.papyrus.views.properties.contexts.CompositeConstraint}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Adapter createCompositeConstraintAdapter() {
- if (compositeConstraintItemProvider == null) {
- compositeConstraintItemProvider = new CompositeConstraintItemProvider(this);
- }
-
- return compositeConstraintItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.views.properties.contexts.ValueProperty} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ValuePropertyItemProvider valuePropertyItemProvider;
-
- /**
- * This creates an adapter for a {@link org.eclipse.papyrus.views.properties.contexts.ValueProperty}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Adapter createValuePropertyAdapter() {
- if (valuePropertyItemProvider == null) {
- valuePropertyItemProvider = new ValuePropertyItemProvider(this);
- }
-
- return valuePropertyItemProvider;
- }
-
- /**
- * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.views.properties.contexts.ReferenceProperty} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ReferencePropertyItemProvider referencePropertyItemProvider;
-
- /**
- * This creates an adapter for a {@link org.eclipse.papyrus.views.properties.contexts.ReferenceProperty}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Adapter createReferencePropertyAdapter() {
- if (referencePropertyItemProvider == null) {
- referencePropertyItemProvider = new ReferencePropertyItemProvider(this);
- }
-
- return referencePropertyItemProvider;
- }
-
- /**
* This returns the root adapter factory that contains this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -482,10 +388,6 @@ public class ContextsItemProviderAdapterFactory extends ContextsAdapterFactory i
if (unknownPropertyItemProvider != null) unknownPropertyItemProvider.dispose();
if (dataContextPackageItemProvider != null) dataContextPackageItemProvider.dispose();
if (dataContextRootItemProvider != null) dataContextRootItemProvider.dispose();
- if (simpleConstraintItemProvider != null) simpleConstraintItemProvider.dispose();
- if (compositeConstraintItemProvider != null) compositeConstraintItemProvider.dispose();
- if (valuePropertyItemProvider != null) valuePropertyItemProvider.dispose();
- if (referencePropertyItemProvider != null) referencePropertyItemProvider.dispose();
}
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextElementItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextElementItemProvider.java
index 7919a8403e0..507d5548cf3 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextElementItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextElementItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,8 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
-
import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.DataContextElement;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextPackageItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextPackageItemProvider.java
index 06d7b060ab4..d544b181166 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextPackageItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextPackageItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
@@ -22,7 +20,6 @@ import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.DataContextPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextRootItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextRootItemProvider.java
index 21e33caabcc..3f75fb8296b 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextRootItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DataContextRootItemProvider.java
@@ -12,7 +12,6 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -22,7 +21,6 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.DataContextRoot;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DisplayUnitItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DisplayUnitItemProvider.java
deleted file mode 100644
index 9427903c2b6..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/DisplayUnitItemProvider.java
+++ /dev/null
@@ -1,167 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.views.properties.contexts.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.util.ResourceLocator;
-
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.emf.edit.provider.ItemProviderAdapter;
-import org.eclipse.emf.edit.provider.ViewerNotification;
-
-
-import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.contexts.DisplayUnit;
-import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
-
-/**
- * This is the item provider adapter for a {@link org.eclipse.papyrus.views.properties.contexts.DisplayUnit} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class DisplayUnitItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DisplayUnitItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(ContextsPackage.Literals.DISPLAY_UNIT__CONSTRAINTS);
- }
- return childrenFeatures;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String getText(Object object) {
- return getString("_UI_DisplayUnit_type");
- }
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(DisplayUnit.class)) {
- case ContextsPackage.DISPLAY_UNIT__CONSTRAINTS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (ContextsPackage.Literals.DISPLAY_UNIT__CONSTRAINTS,
- ContextsFactory.eINSTANCE.createSimpleConstraint()));
-
- newChildDescriptors.add
- (createChildParameter
- (ContextsPackage.Literals.DISPLAY_UNIT__CONSTRAINTS,
- ContextsFactory.eINSTANCE.createCompositeConstraint()));
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return PropertiesEditPlugin.INSTANCE;
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/PropertyItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/PropertyItemProvider.java
index 867e3306b59..c9365f1fcf6 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/PropertyItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/PropertyItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,8 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
-
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.Property;
import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ReferencePropertyItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ReferencePropertyItemProvider.java
deleted file mode 100644
index bdad6e428a5..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ReferencePropertyItemProvider.java
+++ /dev/null
@@ -1,139 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.views.properties.contexts.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.contexts.ReferenceProperty;
-
-/**
- * This is the item provider adapter for a {@link org.eclipse.papyrus.views.properties.contexts.ReferenceProperty} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class ReferencePropertyItemProvider
- extends ConfigPropertyItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ReferencePropertyItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addValuePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Value feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addValuePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ReferenceProperty_value_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ReferenceProperty_value_feature", "_UI_ReferenceProperty_type"),
- ContextsPackage.Literals.REFERENCE_PROPERTY__VALUE,
- true,
- false,
- true,
- null,
- null,
- null));
- }
-
- /**
- * This returns ReferenceProperty.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ReferenceProperty"));
- }
-
- /**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((ReferenceProperty)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_ReferenceProperty_type") :
- getString("_UI_ReferenceProperty_type") + " " + label;
- }
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/SectionItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/SectionItemProvider.java
index afdcff6645b..b1244ef4531 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/SectionItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/SectionItemProvider.java
@@ -12,7 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
+import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -22,9 +22,10 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
+import org.eclipse.papyrus.infra.constraints.provider.DisplayUnitItemProvider;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.Section;
+import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
/**
* This is the item provider adapter for a {@link org.eclipse.papyrus.views.properties.contexts.Section} object.
@@ -191,4 +192,15 @@ public class SectionItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
}
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return PropertiesEditPlugin.INSTANCE;
+ }
+
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/SimpleConstraintItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/SimpleConstraintItemProvider.java
deleted file mode 100644
index 4ae49e2bd09..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/SimpleConstraintItemProvider.java
+++ /dev/null
@@ -1,189 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.views.properties.contexts.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EStructuralFeature;
-
-import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.emf.edit.provider.ViewerNotification;
-
-import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
-
-/**
- * This is the item provider adapter for a {@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class SimpleConstraintItemProvider
- extends ConstraintDescriptorItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public SimpleConstraintItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addConstraintTypePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Constraint Type feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addConstraintTypePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_SimpleConstraint_constraintType_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_SimpleConstraint_constraintType_feature", "_UI_SimpleConstraint_type"),
- ContextsPackage.Literals.SIMPLE_CONSTRAINT__CONSTRAINT_TYPE,
- true,
- false,
- true,
- null,
- null,
- null));
- }
-
- /**
- * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
- * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
- * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(ContextsPackage.Literals.SIMPLE_CONSTRAINT__PROPERTIES);
- }
- return childrenFeatures;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EStructuralFeature getChildFeature(Object object, Object child) {
- // Check the type of the specified child object and return the proper feature to use for
- // adding (see {@link AddCommand}) it as a child.
-
- return super.getChildFeature(object, child);
- }
-
- /**
- * This returns SimpleConstraint.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/SimpleConstraint"));
- }
-
- /**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((SimpleConstraint)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_SimpleConstraint_type") :
- getString("_UI_SimpleConstraint_type") + " " + label;
- }
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(SimpleConstraint.class)) {
- case ContextsPackage.SIMPLE_CONSTRAINT__PROPERTIES:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (ContextsPackage.Literals.SIMPLE_CONSTRAINT__PROPERTIES,
- ContextsFactory.eINSTANCE.createValueProperty()));
-
- newChildDescriptors.add
- (createChildParameter
- (ContextsPackage.Literals.SIMPLE_CONSTRAINT__PROPERTIES,
- ContextsFactory.eINSTANCE.createReferenceProperty()));
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/TabItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/TabItemProvider.java
index c88a4224016..5d80aadbe21 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/TabItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/TabItemProvider.java
@@ -12,11 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -27,8 +24,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
-
import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.Tab;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/UnknownPropertyItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/UnknownPropertyItemProvider.java
index c5596604402..c74c1768967 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/UnknownPropertyItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/UnknownPropertyItemProvider.java
@@ -12,14 +12,12 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
import org.eclipse.papyrus.views.properties.contexts.UnknownProperty;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ValuePropertyItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ValuePropertyItemProvider.java
deleted file mode 100644
index 04d6c23e464..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ValuePropertyItemProvider.java
+++ /dev/null
@@ -1,147 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.views.properties.contexts.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.ViewerNotification;
-
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.contexts.ValueProperty;
-
-/**
- * This is the item provider adapter for a {@link org.eclipse.papyrus.views.properties.contexts.ValueProperty} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class ValuePropertyItemProvider
- extends ConfigPropertyItemProvider
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ValuePropertyItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addValuePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Value feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addValuePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ValueProperty_value_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ValueProperty_value_feature", "_UI_ValueProperty_type"),
- ContextsPackage.Literals.VALUE_PROPERTY__VALUE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This returns ValueProperty.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ValueProperty"));
- }
-
- /**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((ValueProperty)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_ValueProperty_type") :
- getString("_UI_ValueProperty_type") + " " + label;
- }
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ValueProperty.class)) {
- case ContextsPackage.VALUE_PROPERTY__VALUE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ViewItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ViewItemProvider.java
index c23231e0e99..4f226b4191e 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ViewItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/contexts/provider/ViewItemProvider.java
@@ -12,7 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
+import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -22,9 +22,10 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
+import org.eclipse.papyrus.infra.constraints.provider.DisplayUnitItemProvider;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.View;
+import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
/**
* This is the item provider adapter for a {@link org.eclipse.papyrus.views.properties.contexts.View} object.
@@ -63,7 +64,6 @@ public class ViewItemProvider
addNamePropertyDescriptor(object);
addSectionsPropertyDescriptor(object);
- addElementMultiplicityPropertyDescriptor(object);
addAutomaticContextPropertyDescriptor(object);
addDatacontextsPropertyDescriptor(object);
}
@@ -115,28 +115,6 @@ public class ViewItemProvider
}
/**
- * This adds a property descriptor for the Element Multiplicity feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addElementMultiplicityPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_View_elementMultiplicity_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_View_elementMultiplicity_feature", "_UI_View_type"),
- ContextsPackage.Literals.VIEW__ELEMENT_MULTIPLICITY,
- true,
- false,
- false,
- ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
* This adds a property descriptor for the Automatic Context feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -218,7 +196,6 @@ public class ViewItemProvider
switch (notification.getFeatureID(View.class)) {
case ContextsPackage.VIEW__NAME:
- case ContextsPackage.VIEW__ELEMENT_MULTIPLICITY:
case ContextsPackage.VIEW__AUTOMATIC_CONTEXT:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
@@ -238,4 +215,15 @@ public class ViewItemProvider
super.collectNewChildDescriptors(newChildDescriptors, object);
}
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return PropertiesEditPlugin.INSTANCE;
+ }
+
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/CompositeWidgetTypeItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/CompositeWidgetTypeItemProvider.java
index 92de5bce191..4871272997b 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/CompositeWidgetTypeItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/CompositeWidgetTypeItemProvider.java
@@ -12,14 +12,12 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
import org.eclipse.papyrus.views.properties.environment.CompositeWidgetType;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/ConstraintTypeItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/ConstraintTypeItemProvider.java
deleted file mode 100644
index 4422ddc908a..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/ConstraintTypeItemProvider.java
+++ /dev/null
@@ -1,185 +0,0 @@
-/**
- * <copyright>
- * </copyright>
- *
- * $Id$
- */
-package org.eclipse.papyrus.views.properties.environment.provider;
-
-
-import java.util.Collection;
-import java.util.List;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.util.ResourceLocator;
-
-import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
-import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
-import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.ItemProviderAdapter;
-import org.eclipse.emf.edit.provider.ViewerNotification;
-
-import org.eclipse.papyrus.views.properties.environment.ConstraintType;
-import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
-
-/**
- * This is the item provider adapter for a {@link org.eclipse.papyrus.views.properties.environment.ConstraintType} object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
-public class ConstraintTypeItemProvider
- extends ItemProviderAdapter
- implements
- IEditingDomainItemProvider,
- IStructuredItemContentProvider,
- ITreeItemContentProvider,
- IItemLabelProvider,
- IItemPropertySource {
- /**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConstraintTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
-
- /**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addLabelPropertyDescriptor(object);
- addConstraintClassPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Label feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addLabelPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConstraintType_label_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ConstraintType_label_feature", "_UI_ConstraintType_type"),
- EnvironmentPackage.Literals.CONSTRAINT_TYPE__LABEL,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This adds a property descriptor for the Constraint Class feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addConstraintClassPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConstraintType_constraintClass_feature"),
- getString("_UI_PropertyDescriptor_description", "_UI_ConstraintType_constraintClass_feature", "_UI_ConstraintType_type"),
- EnvironmentPackage.Literals.CONSTRAINT_TYPE__CONSTRAINT_CLASS,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
-
- /**
- * This returns ConstraintType.gif.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ConstraintType"));
- }
-
- /**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public String getText(Object object) {
- String label = ((ConstraintType)object).getLabel();
- return label == null || label.length() == 0 ?
- getString("_UI_ConstraintType_type") :
- getString("_UI_ConstraintType_type") + " " + label;
- }
-
- /**
- * This handles model notifications by calling {@link #updateChildren} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ConstraintType.class)) {
- case EnvironmentPackage.CONSTRAINT_TYPE__LABEL:
- case EnvironmentPackage.CONSTRAINT_TYPE__CONSTRAINT_CLASS:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
-
- /**
- * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
- * that can be created under this object.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public ResourceLocator getResourceLocator() {
- return PropertiesEditPlugin.INSTANCE;
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/EnvironmentItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/EnvironmentItemProvider.java
index 5ffb9a7fd61..f640b0c8de6 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/EnvironmentItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/EnvironmentItemProvider.java
@@ -12,13 +12,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
-import org.eclipse.emf.ecore.provider.EModelElementItemProvider;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
@@ -26,7 +21,7 @@ import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
+import org.eclipse.papyrus.infra.constraints.environment.provider.ConstraintEnvironmentItemProvider;
import org.eclipse.papyrus.views.properties.environment.Environment;
import org.eclipse.papyrus.views.properties.environment.EnvironmentFactory;
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
@@ -38,7 +33,7 @@ import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
* @generated
*/
public class EnvironmentItemProvider
- extends EModelElementItemProvider
+ extends ConstraintEnvironmentItemProvider
implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
@@ -83,7 +78,6 @@ public class EnvironmentItemProvider
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(EnvironmentPackage.Literals.ENVIRONMENT__MODEL_ELEMENT_FACTORIES);
- childrenFeatures.add(EnvironmentPackage.Literals.ENVIRONMENT__CONSTRAINT_TYPES);
childrenFeatures.add(EnvironmentPackage.Literals.ENVIRONMENT__WIDGET_TYPES);
childrenFeatures.add(EnvironmentPackage.Literals.ENVIRONMENT__PROPERTY_EDITOR_TYPES);
childrenFeatures.add(EnvironmentPackage.Literals.ENVIRONMENT__COMPOSITE_WIDGET_TYPES);
@@ -142,7 +136,6 @@ public class EnvironmentItemProvider
switch (notification.getFeatureID(Environment.class)) {
case EnvironmentPackage.ENVIRONMENT__MODEL_ELEMENT_FACTORIES:
- case EnvironmentPackage.ENVIRONMENT__CONSTRAINT_TYPES:
case EnvironmentPackage.ENVIRONMENT__WIDGET_TYPES:
case EnvironmentPackage.ENVIRONMENT__PROPERTY_EDITOR_TYPES:
case EnvironmentPackage.ENVIRONMENT__COMPOSITE_WIDGET_TYPES:
@@ -173,11 +166,6 @@ public class EnvironmentItemProvider
newChildDescriptors.add
(createChildParameter
- (EnvironmentPackage.Literals.ENVIRONMENT__CONSTRAINT_TYPES,
- EnvironmentFactory.eINSTANCE.createConstraintType()));
-
- newChildDescriptors.add
- (createChildParameter
(EnvironmentPackage.Literals.ENVIRONMENT__WIDGET_TYPES,
EnvironmentFactory.eINSTANCE.createStandardWidgetType()));
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/EnvironmentItemProviderAdapterFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/EnvironmentItemProviderAdapterFactory.java
index c6365193a1d..35a95c1ede2 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/EnvironmentItemProviderAdapterFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/EnvironmentItemProviderAdapterFactory.java
@@ -12,7 +12,6 @@ import java.util.Collection;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.Notifier;
-
import org.eclipse.emf.edit.provider.ChangeNotifier;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
@@ -24,7 +23,6 @@ import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.INotifyChangedListener;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
import org.eclipse.papyrus.views.properties.environment.util.EnvironmentAdapterFactory;
/**
@@ -168,29 +166,6 @@ public class EnvironmentItemProviderAdapterFactory extends EnvironmentAdapterFac
}
/**
- * This keeps track of the one adapter used for all {@link org.eclipse.papyrus.views.properties.environment.ConstraintType} instances.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ConstraintTypeItemProvider constraintTypeItemProvider;
-
- /**
- * This creates an adapter for a {@link org.eclipse.papyrus.views.properties.environment.ConstraintType}.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Adapter createConstraintTypeAdapter() {
- if (constraintTypeItemProvider == null) {
- constraintTypeItemProvider = new ConstraintTypeItemProvider(this);
- }
-
- return constraintTypeItemProvider;
- }
-
- /**
* This keeps track of the one adapter used for all {@link org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor} instances.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -385,7 +360,6 @@ public class EnvironmentItemProviderAdapterFactory extends EnvironmentAdapterFac
if (propertyEditorTypeItemProvider != null) propertyEditorTypeItemProvider.dispose();
if (compositeWidgetTypeItemProvider != null) compositeWidgetTypeItemProvider.dispose();
if (layoutTypeItemProvider != null) layoutTypeItemProvider.dispose();
- if (constraintTypeItemProvider != null) constraintTypeItemProvider.dispose();
if (modelElementFactoryDescriptorItemProvider != null) modelElementFactoryDescriptorItemProvider.dispose();
if (standardWidgetTypeItemProvider != null) standardWidgetTypeItemProvider.dispose();
if (namespaceItemProvider != null) namespaceItemProvider.dispose();
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/LayoutTypeItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/LayoutTypeItemProvider.java
index 9923a4d3529..53fecd1e652 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/LayoutTypeItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/LayoutTypeItemProvider.java
@@ -12,14 +12,12 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
import org.eclipse.papyrus.views.properties.environment.LayoutType;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/MiscClassItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/MiscClassItemProvider.java
index b2f0127c03f..9f116dfd537 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/MiscClassItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/MiscClassItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.MiscClass;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/ModelElementFactoryDescriptorItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/ModelElementFactoryDescriptorItemProvider.java
index 49c4091a239..95c266afc20 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/ModelElementFactoryDescriptorItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/ModelElementFactoryDescriptorItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/NamespaceItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/NamespaceItemProvider.java
index f219be5b667..a79048827f5 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/NamespaceItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/NamespaceItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.Namespace;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/PropertiesEditPlugin.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/PropertiesEditPlugin.java
index 2b7aaa29091..5ec4af29b51 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/PropertiesEditPlugin.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/PropertiesEditPlugin.java
@@ -7,10 +7,9 @@
package org.eclipse.papyrus.views.properties.environment.provider;
import org.eclipse.emf.common.EMFPlugin;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
+import org.eclipse.papyrus.infra.constraints.provider.ConstraintsEditPlugin;
/**
* This is the central singleton for the Properties edit plugin.
@@ -44,6 +43,7 @@ public final class PropertiesEditPlugin extends EMFPlugin {
public PropertiesEditPlugin() {
super
(new ResourceLocator [] {
+ ConstraintsEditPlugin.INSTANCE,
EcoreEditPlugin.INSTANCE,
});
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/PropertyEditorTypeItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/PropertyEditorTypeItemProvider.java
index 2f8f73a6acd..27e64182fa4 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/PropertyEditorTypeItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/PropertyEditorTypeItemProvider.java
@@ -12,7 +12,6 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -22,7 +21,6 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.PropertyEditorType;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/StandardWidgetTypeItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/StandardWidgetTypeItemProvider.java
index ac343078e96..0ee12f048e4 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/StandardWidgetTypeItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/StandardWidgetTypeItemProvider.java
@@ -12,14 +12,12 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
import org.eclipse.papyrus.views.properties.environment.StandardWidgetType;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/WidgetTypeItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/WidgetTypeItemProvider.java
index 69f870985eb..59d4b316a4d 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/WidgetTypeItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/environment/provider/WidgetTypeItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -25,7 +23,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.WidgetType;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/CompositeWidgetItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/CompositeWidgetItemProvider.java
index 27ec929a244..e0022998563 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/CompositeWidgetItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/CompositeWidgetItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -23,7 +21,6 @@ import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.ui.CompositeWidget;
import org.eclipse.papyrus.views.properties.ui.UiFactory;
import org.eclipse.papyrus.views.properties.ui.UiPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ElementItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ElementItemProvider.java
index 02a94d221e8..1cc771703fc 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ElementItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ElementItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
@@ -22,7 +20,6 @@ import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
-
import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/LayoutItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/LayoutItemProvider.java
index 67affe1e586..5b78e071785 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/LayoutItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/LayoutItemProvider.java
@@ -12,7 +12,6 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -20,7 +19,6 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
import org.eclipse.papyrus.views.properties.ui.UiPackage;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/PropertyEditorItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/PropertyEditorItemProvider.java
index 18eb8db0ed0..6050aca9e4a 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/PropertyEditorItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/PropertyEditorItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -24,8 +22,6 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
-
import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
import org.eclipse.papyrus.views.properties.ui.PropertyEditor;
import org.eclipse.papyrus.views.properties.ui.UiPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ReferenceAttributeItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ReferenceAttributeItemProvider.java
index 8d327943d4d..4191a55d478 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ReferenceAttributeItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ReferenceAttributeItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
@@ -22,7 +20,6 @@ import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.ui.ReferenceAttribute;
import org.eclipse.papyrus.views.properties.ui.UiFactory;
import org.eclipse.papyrus.views.properties.ui.UiPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/StandardWidgetItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/StandardWidgetItemProvider.java
index 9e9632fec9b..0cebc56bb13 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/StandardWidgetItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/StandardWidgetItemProvider.java
@@ -12,7 +12,6 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -20,7 +19,6 @@ import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
import org.eclipse.papyrus.views.properties.ui.UiPackage;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UIComponentItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UIComponentItemProvider.java
index fd37cf2112f..bdbbe7a5c53 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UIComponentItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UIComponentItemProvider.java
@@ -12,9 +12,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EStructuralFeature;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
@@ -22,7 +20,6 @@ import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.ui.UIComponent;
import org.eclipse.papyrus.views.properties.ui.UiFactory;
import org.eclipse.papyrus.views.properties.ui.UiPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UiItemProviderAdapterFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UiItemProviderAdapterFactory.java
index d10165d8906..37667b8e8fe 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UiItemProviderAdapterFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UiItemProviderAdapterFactory.java
@@ -12,7 +12,6 @@ import java.util.Collection;
import org.eclipse.emf.common.notify.Adapter;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.Notifier;
-
import org.eclipse.emf.edit.provider.ChangeNotifier;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
@@ -24,7 +23,6 @@ import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.INotifyChangedListener;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
import org.eclipse.papyrus.views.properties.ui.util.UiAdapterFactory;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UnknownComponentItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UnknownComponentItemProvider.java
index 978e00bc8e7..e82668c5fc6 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UnknownComponentItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/UnknownComponentItemProvider.java
@@ -12,7 +12,6 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -22,7 +21,6 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.ui.UiPackage;
import org.eclipse.papyrus.views.properties.ui.UnknownComponent;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ValueAttributeItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ValueAttributeItemProvider.java
index e2bb49d48c3..0693bdc0d6c 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ValueAttributeItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/ValueAttributeItemProvider.java
@@ -12,7 +12,6 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -22,7 +21,6 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.ui.UiPackage;
import org.eclipse.papyrus.views.properties.ui.ValueAttribute;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/WidgetAttributeItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/WidgetAttributeItemProvider.java
index 0af2f41a539..03d889bed44 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/WidgetAttributeItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/WidgetAttributeItemProvider.java
@@ -12,7 +12,6 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -22,7 +21,6 @@ import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.papyrus.views.properties.ui.UiPackage;
import org.eclipse.papyrus.views.properties.ui.WidgetAttribute;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/WidgetItemProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/WidgetItemProvider.java
index 8d94923059c..82ccb43130b 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/WidgetItemProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.edit/src-gen/org/eclipse/papyrus/views/properties/ui/provider/WidgetItemProvider.java
@@ -12,7 +12,6 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/META-INF/MANIFEST.MF b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/META-INF/MANIFEST.MF
index 6190ffafa15..d0b073e2579 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/META-INF/MANIFEST.MF
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/META-INF/MANIFEST.MF
@@ -13,7 +13,9 @@ Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore.xmi;visibility:=reexport,
org.eclipse.emf.edit.ui;visibility:=reexport,
org.eclipse.ui.ide;visibility:=reexport,
- org.eclipse.emf.ecore.editor;bundle-version="2.7.0"
+ org.eclipse.emf.ecore.editor;bundle-version="2.7.0",
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.constraints.editor;bundle-version="1.0.0"
Bundle-Vendor: %providerName
Bundle-Version: 0.9.0.qualifier
Bundle-ManifestVersion: 2
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsActionBarContributor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsActionBarContributor.java
index ecec007c850..b4f292c5525 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsActionBarContributor.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsActionBarContributor.java
@@ -1,31 +1,23 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.presentation;
import java.util.ArrayList;
import java.util.Collection;
import org.eclipse.emf.common.ui.viewer.IViewerProvider;
-
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-
import org.eclipse.emf.edit.ui.action.ControlAction;
import org.eclipse.emf.edit.ui.action.CreateChildAction;
import org.eclipse.emf.edit.ui.action.CreateSiblingAction;
import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
import org.eclipse.emf.edit.ui.action.LoadResourceAction;
import org.eclipse.emf.edit.ui.action.ValidateAction;
-
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.ActionContributionItem;
import org.eclipse.jface.action.IAction;
@@ -37,16 +29,13 @@ import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
import org.eclipse.jface.action.SubContributionItem;
-
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.Viewer;
-
import org.eclipse.papyrus.views.properties.environment.presentation.PropertiesEditorPlugin;
-
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.PartInitException;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsEditor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsEditor.java
index b15d00abc95..8020baac8b1 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsEditor.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsEditor.java
@@ -1,20 +1,14 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.presentation;
import java.io.IOException;
import java.io.InputStream;
-
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
@@ -33,22 +27,56 @@ import org.eclipse.core.resources.IResourceChangeListener;
import org.eclipse.core.resources.IResourceDelta;
import org.eclipse.core.resources.IResourceDeltaVisitor;
import org.eclipse.core.resources.ResourcesPlugin;
-
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;
-
+import org.eclipse.emf.common.command.BasicCommandStack;
+import org.eclipse.emf.common.command.Command;
+import org.eclipse.emf.common.command.CommandStack;
+import org.eclipse.emf.common.command.CommandStackListener;
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.ui.MarkerHelper;
+import org.eclipse.emf.common.ui.ViewerPane;
+import org.eclipse.emf.common.ui.editor.ProblemEditorPart;
+import org.eclipse.emf.common.ui.viewer.IViewerProvider;
+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.EValidator;
+import org.eclipse.emf.ecore.provider.EcoreItemProviderAdapterFactory;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.util.EContentAdapter;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
+import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.emf.edit.domain.IEditingDomainProvider;
+import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;
+import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
+import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;
+import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;
+import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
+import org.eclipse.emf.edit.ui.celleditor.AdapterFactoryTreeEditor;
+import org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter;
+import org.eclipse.emf.edit.ui.dnd.LocalTransfer;
+import org.eclipse.emf.edit.ui.dnd.ViewerDragAdapter;
+import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;
+import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
+import org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider;
+import org.eclipse.emf.edit.ui.util.EditUIMarkerHelper;
+import org.eclipse.emf.edit.ui.util.EditUIUtil;
+import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
-
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
-
import org.eclipse.jface.viewers.ColumnWeightData;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
@@ -62,28 +90,25 @@ import org.eclipse.jface.viewers.TableLayout;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.Viewer;
-
+import org.eclipse.papyrus.infra.constraints.provider.ConstraintsItemProviderAdapterFactory;
+import org.eclipse.papyrus.views.properties.contexts.provider.ContextsItemProviderAdapterFactory;
+import org.eclipse.papyrus.views.properties.environment.presentation.PropertiesEditorPlugin;
+import org.eclipse.papyrus.views.properties.environment.provider.EnvironmentItemProviderAdapterFactory;
+import org.eclipse.papyrus.views.properties.ui.provider.UiItemProviderAdapterFactory;
import org.eclipse.swt.SWT;
-
import org.eclipse.swt.custom.CTabFolder;
-
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.Transfer;
-
import org.eclipse.swt.events.ControlAdapter;
import org.eclipse.swt.events.ControlEvent;
-
import org.eclipse.swt.graphics.Point;
-
import org.eclipse.swt.layout.FillLayout;
-
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeColumn;
-
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
@@ -91,88 +116,18 @@ import org.eclipse.ui.IEditorSite;
import org.eclipse.ui.IPartListener;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PartInitException;
-
+import org.eclipse.ui.actions.WorkspaceModifyOperation;
import org.eclipse.ui.dialogs.SaveAsDialog;
-
import org.eclipse.ui.ide.IGotoMarker;
-
import org.eclipse.ui.part.FileEditorInput;
import org.eclipse.ui.part.MultiPageEditorPart;
-
import org.eclipse.ui.views.contentoutline.ContentOutline;
import org.eclipse.ui.views.contentoutline.ContentOutlinePage;
import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
-
import org.eclipse.ui.views.properties.IPropertySheetPage;
import org.eclipse.ui.views.properties.PropertySheet;
import org.eclipse.ui.views.properties.PropertySheetPage;
-import org.eclipse.emf.common.command.BasicCommandStack;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.CommandStack;
-import org.eclipse.emf.common.command.CommandStackListener;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.ui.MarkerHelper;
-import org.eclipse.emf.common.ui.ViewerPane;
-
-import org.eclipse.emf.common.ui.editor.ProblemEditorPart;
-
-import org.eclipse.emf.common.ui.viewer.IViewerProvider;
-
-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.EValidator;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-
-import org.eclipse.emf.ecore.util.EContentAdapter;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-
-import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;
-import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
-import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;
-
-import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;
-
-import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
-
-import org.eclipse.emf.edit.ui.celleditor.AdapterFactoryTreeEditor;
-
-import org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter;
-import org.eclipse.emf.edit.ui.dnd.LocalTransfer;
-import org.eclipse.emf.edit.ui.dnd.ViewerDragAdapter;
-
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
-import org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider;
-
-import org.eclipse.emf.edit.ui.util.EditUIMarkerHelper;
-import org.eclipse.emf.edit.ui.util.EditUIUtil;
-
-import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage;
-
-
-
-
-import org.eclipse.papyrus.views.properties.contexts.provider.ContextsItemProviderAdapterFactory;
-import org.eclipse.emf.ecore.provider.EcoreItemProviderAdapterFactory;
-import org.eclipse.papyrus.views.properties.environment.presentation.PropertiesEditorPlugin;
-import org.eclipse.papyrus.views.properties.environment.provider.EnvironmentItemProviderAdapterFactory;
-import org.eclipse.papyrus.views.properties.ui.provider.UiItemProviderAdapterFactory;
-
-import org.eclipse.ui.actions.WorkspaceModifyOperation;
-
/**
* This is an example of a Contexts model editor.
@@ -709,6 +664,8 @@ public class ContextsEditor
adapterFactory.addAdapterFactory(new EnvironmentItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new ContextsItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new UiItemProviderAdapterFactory());
+ adapterFactory.addAdapterFactory(new ConstraintsItemProviderAdapterFactory());
+ adapterFactory.addAdapterFactory(new org.eclipse.papyrus.infra.constraints.environment.provider.EnvironmentItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new EcoreItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory());
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsModelWizard.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsModelWizard.java
index 24ac8cccc71..e39a35a3830 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsModelWizard.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/contexts/presentation/ContextsModelWizard.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.presentation;
@@ -22,78 +17,52 @@ import java.util.Map;
import java.util.MissingResourceException;
import java.util.StringTokenizer;
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFolder;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.Path;
import org.eclipse.emf.common.CommonPlugin;
-
import org.eclipse.emf.common.util.URI;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EClassifier;
-
+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.emf.ecore.EObject;
-
import org.eclipse.emf.ecore.xmi.XMLResource;
-
import org.eclipse.emf.edit.ui.provider.ExtendedImageRegistry;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
import org.eclipse.jface.dialogs.MessageDialog;
-
+import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
-
+import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardPage;
-
+import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
+import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
+import org.eclipse.papyrus.views.properties.environment.presentation.PropertiesEditorPlugin;
+import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
import org.eclipse.swt.SWT;
-
-import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.ModifyEvent;
-
+import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
-
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
-
import org.eclipse.ui.INewWizard;
import org.eclipse.ui.IWorkbench;
-
-import org.eclipse.ui.actions.WorkspaceModifyOperation;
-
-import org.eclipse.ui.dialogs.WizardNewFileCreationPage;
-
-import org.eclipse.ui.part.FileEditorInput;
-import org.eclipse.ui.part.ISetSelectionTarget;
-
-
-
-import org.eclipse.core.runtime.Path;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-
-import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.environment.presentation.PropertiesEditorPlugin;
-import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
-
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.actions.WorkspaceModifyOperation;
+import org.eclipse.ui.dialogs.WizardNewFileCreationPage;
+import org.eclipse.ui.part.FileEditorInput;
+import org.eclipse.ui.part.ISetSelectionTarget;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentActionBarContributor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentActionBarContributor.java
index d3fa6168f6e..a26e4096ab8 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentActionBarContributor.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentActionBarContributor.java
@@ -1,31 +1,23 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.presentation;
import java.util.ArrayList;
import java.util.Collection;
import org.eclipse.emf.common.ui.viewer.IViewerProvider;
-
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-
import org.eclipse.emf.edit.ui.action.ControlAction;
import org.eclipse.emf.edit.ui.action.CreateChildAction;
import org.eclipse.emf.edit.ui.action.CreateSiblingAction;
import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
import org.eclipse.emf.edit.ui.action.LoadResourceAction;
import org.eclipse.emf.edit.ui.action.ValidateAction;
-
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.ActionContributionItem;
import org.eclipse.jface.action.IAction;
@@ -37,14 +29,12 @@ import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
import org.eclipse.jface.action.SubContributionItem;
-
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.Viewer;
-
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.PartInitException;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentEditor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentEditor.java
index c67ce65b392..cf1fa559621 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentEditor.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentEditor.java
@@ -1,20 +1,14 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.presentation;
import java.io.IOException;
import java.io.InputStream;
-
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
@@ -33,22 +27,56 @@ import org.eclipse.core.resources.IResourceChangeListener;
import org.eclipse.core.resources.IResourceDelta;
import org.eclipse.core.resources.IResourceDeltaVisitor;
import org.eclipse.core.resources.ResourcesPlugin;
-
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;
-
+import org.eclipse.emf.common.command.BasicCommandStack;
+import org.eclipse.emf.common.command.Command;
+import org.eclipse.emf.common.command.CommandStack;
+import org.eclipse.emf.common.command.CommandStackListener;
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.ui.MarkerHelper;
+import org.eclipse.emf.common.ui.ViewerPane;
+import org.eclipse.emf.common.ui.editor.ProblemEditorPart;
+import org.eclipse.emf.common.ui.viewer.IViewerProvider;
+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.EValidator;
+import org.eclipse.emf.ecore.provider.EcoreItemProviderAdapterFactory;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.util.EContentAdapter;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
+import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.emf.edit.domain.IEditingDomainProvider;
+import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;
+import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
+import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;
+import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;
+import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
+import org.eclipse.emf.edit.ui.celleditor.AdapterFactoryTreeEditor;
+import org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter;
+import org.eclipse.emf.edit.ui.dnd.LocalTransfer;
+import org.eclipse.emf.edit.ui.dnd.ViewerDragAdapter;
+import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;
+import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
+import org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider;
+import org.eclipse.emf.edit.ui.util.EditUIMarkerHelper;
+import org.eclipse.emf.edit.ui.util.EditUIUtil;
+import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
-
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
-
import org.eclipse.jface.viewers.ColumnWeightData;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
@@ -62,28 +90,24 @@ import org.eclipse.jface.viewers.TableLayout;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.Viewer;
-
+import org.eclipse.papyrus.infra.constraints.provider.ConstraintsItemProviderAdapterFactory;
+import org.eclipse.papyrus.views.properties.contexts.provider.ContextsItemProviderAdapterFactory;
+import org.eclipse.papyrus.views.properties.environment.provider.EnvironmentItemProviderAdapterFactory;
+import org.eclipse.papyrus.views.properties.ui.provider.UiItemProviderAdapterFactory;
import org.eclipse.swt.SWT;
-
import org.eclipse.swt.custom.CTabFolder;
-
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.Transfer;
-
import org.eclipse.swt.events.ControlAdapter;
import org.eclipse.swt.events.ControlEvent;
-
import org.eclipse.swt.graphics.Point;
-
import org.eclipse.swt.layout.FillLayout;
-
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeColumn;
-
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
@@ -91,86 +115,18 @@ import org.eclipse.ui.IEditorSite;
import org.eclipse.ui.IPartListener;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PartInitException;
-
+import org.eclipse.ui.actions.WorkspaceModifyOperation;
import org.eclipse.ui.dialogs.SaveAsDialog;
-
import org.eclipse.ui.ide.IGotoMarker;
-
import org.eclipse.ui.part.FileEditorInput;
import org.eclipse.ui.part.MultiPageEditorPart;
-
import org.eclipse.ui.views.contentoutline.ContentOutline;
import org.eclipse.ui.views.contentoutline.ContentOutlinePage;
import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
-
import org.eclipse.ui.views.properties.IPropertySheetPage;
import org.eclipse.ui.views.properties.PropertySheet;
import org.eclipse.ui.views.properties.PropertySheetPage;
-import org.eclipse.emf.common.command.BasicCommandStack;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.CommandStack;
-import org.eclipse.emf.common.command.CommandStackListener;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.ui.MarkerHelper;
-import org.eclipse.emf.common.ui.ViewerPane;
-
-import org.eclipse.emf.common.ui.editor.ProblemEditorPart;
-
-import org.eclipse.emf.common.ui.viewer.IViewerProvider;
-
-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.EValidator;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-
-import org.eclipse.emf.ecore.util.EContentAdapter;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-
-import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;
-import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
-import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;
-
-import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;
-
-import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
-
-import org.eclipse.emf.edit.ui.celleditor.AdapterFactoryTreeEditor;
-
-import org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter;
-import org.eclipse.emf.edit.ui.dnd.LocalTransfer;
-import org.eclipse.emf.edit.ui.dnd.ViewerDragAdapter;
-
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
-import org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider;
-
-import org.eclipse.emf.edit.ui.util.EditUIMarkerHelper;
-import org.eclipse.emf.edit.ui.util.EditUIUtil;
-
-import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage;
-
-
-
-import org.eclipse.papyrus.views.properties.contexts.provider.ContextsItemProviderAdapterFactory;
-import org.eclipse.papyrus.views.properties.environment.provider.EnvironmentItemProviderAdapterFactory;
-import org.eclipse.emf.ecore.provider.EcoreItemProviderAdapterFactory;
-import org.eclipse.papyrus.views.properties.ui.provider.UiItemProviderAdapterFactory;
-
-import org.eclipse.ui.actions.WorkspaceModifyOperation;
-
/**
* This is an example of a Environment model editor.
@@ -707,6 +663,8 @@ public class EnvironmentEditor
adapterFactory.addAdapterFactory(new EnvironmentItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new ContextsItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new UiItemProviderAdapterFactory());
+ adapterFactory.addAdapterFactory(new ConstraintsItemProviderAdapterFactory());
+ adapterFactory.addAdapterFactory(new org.eclipse.papyrus.infra.constraints.environment.provider.EnvironmentItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new EcoreItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory());
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentModelWizard.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentModelWizard.java
index 90536edc102..5f8fd2ebb76 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentModelWizard.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/EnvironmentModelWizard.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.presentation;
@@ -22,76 +17,51 @@ import java.util.Map;
import java.util.MissingResourceException;
import java.util.StringTokenizer;
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFolder;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.Path;
import org.eclipse.emf.common.CommonPlugin;
-
import org.eclipse.emf.common.util.URI;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EClassifier;
-
+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.emf.ecore.EObject;
-
import org.eclipse.emf.ecore.xmi.XMLResource;
-
import org.eclipse.emf.edit.ui.provider.ExtendedImageRegistry;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
import org.eclipse.jface.dialogs.MessageDialog;
-
+import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
-
+import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardPage;
-
+import org.eclipse.papyrus.views.properties.environment.EnvironmentFactory;
+import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
+import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
import org.eclipse.swt.SWT;
-
-import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.ModifyEvent;
-
+import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
-
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
-
import org.eclipse.ui.INewWizard;
import org.eclipse.ui.IWorkbench;
-
-import org.eclipse.ui.actions.WorkspaceModifyOperation;
-
-import org.eclipse.ui.dialogs.WizardNewFileCreationPage;
-
-import org.eclipse.ui.part.FileEditorInput;
-import org.eclipse.ui.part.ISetSelectionTarget;
-
-import org.eclipse.papyrus.views.properties.environment.EnvironmentFactory;
-import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
-import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
-
-
-import org.eclipse.core.runtime.Path;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.actions.WorkspaceModifyOperation;
+import org.eclipse.ui.dialogs.WizardNewFileCreationPage;
+import org.eclipse.ui.part.FileEditorInput;
+import org.eclipse.ui.part.ISetSelectionTarget;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/PropertiesEditorPlugin.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/PropertiesEditorPlugin.java
index 528406a51fb..2e84ce4abef 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/PropertiesEditorPlugin.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/environment/presentation/PropertiesEditorPlugin.java
@@ -1,22 +1,16 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.presentation;
import org.eclipse.emf.common.EMFPlugin;
-
import org.eclipse.emf.common.ui.EclipseUIPlugin;
-
import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.ecore.provider.EcoreEditPlugin;
+import org.eclipse.papyrus.infra.constraints.provider.ConstraintsEditPlugin;
/**
* This is the central singleton for the Properties editor plugin.
@@ -50,6 +44,7 @@ public final class PropertiesEditorPlugin extends EMFPlugin {
public PropertiesEditorPlugin() {
super
(new ResourceLocator [] {
+ ConstraintsEditPlugin.INSTANCE,
EcoreEditPlugin.INSTANCE,
});
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiActionBarContributor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiActionBarContributor.java
index 1e86533e75f..f2125b07329 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiActionBarContributor.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiActionBarContributor.java
@@ -1,31 +1,23 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.presentation;
import java.util.ArrayList;
import java.util.Collection;
import org.eclipse.emf.common.ui.viewer.IViewerProvider;
-
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-
import org.eclipse.emf.edit.ui.action.ControlAction;
import org.eclipse.emf.edit.ui.action.CreateChildAction;
import org.eclipse.emf.edit.ui.action.CreateSiblingAction;
import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
import org.eclipse.emf.edit.ui.action.LoadResourceAction;
import org.eclipse.emf.edit.ui.action.ValidateAction;
-
import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.ActionContributionItem;
import org.eclipse.jface.action.IAction;
@@ -37,16 +29,13 @@ import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
import org.eclipse.jface.action.SubContributionItem;
-
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.Viewer;
-
import org.eclipse.papyrus.views.properties.environment.presentation.PropertiesEditorPlugin;
-
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.PartInitException;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiEditor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiEditor.java
index 437049534ec..b2e3b43bbe6 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiEditor.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiEditor.java
@@ -1,20 +1,14 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.presentation;
import java.io.IOException;
import java.io.InputStream;
-
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
@@ -33,22 +27,56 @@ import org.eclipse.core.resources.IResourceChangeListener;
import org.eclipse.core.resources.IResourceDelta;
import org.eclipse.core.resources.IResourceDeltaVisitor;
import org.eclipse.core.resources.ResourcesPlugin;
-
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;
import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.NullProgressMonitor;
-
+import org.eclipse.emf.common.command.BasicCommandStack;
+import org.eclipse.emf.common.command.Command;
+import org.eclipse.emf.common.command.CommandStack;
+import org.eclipse.emf.common.command.CommandStackListener;
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.ui.MarkerHelper;
+import org.eclipse.emf.common.ui.ViewerPane;
+import org.eclipse.emf.common.ui.editor.ProblemEditorPart;
+import org.eclipse.emf.common.ui.viewer.IViewerProvider;
+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.EValidator;
+import org.eclipse.emf.ecore.provider.EcoreItemProviderAdapterFactory;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.emf.ecore.resource.ResourceSet;
+import org.eclipse.emf.ecore.util.EContentAdapter;
+import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
+import org.eclipse.emf.edit.domain.EditingDomain;
+import org.eclipse.emf.edit.domain.IEditingDomainProvider;
+import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;
+import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
+import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;
+import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;
+import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
+import org.eclipse.emf.edit.ui.celleditor.AdapterFactoryTreeEditor;
+import org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter;
+import org.eclipse.emf.edit.ui.dnd.LocalTransfer;
+import org.eclipse.emf.edit.ui.dnd.ViewerDragAdapter;
+import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;
+import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
+import org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider;
+import org.eclipse.emf.edit.ui.util.EditUIMarkerHelper;
+import org.eclipse.emf.edit.ui.util.EditUIUtil;
+import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage;
import org.eclipse.jface.action.IMenuListener;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.action.IStatusLineManager;
import org.eclipse.jface.action.IToolBarManager;
import org.eclipse.jface.action.MenuManager;
import org.eclipse.jface.action.Separator;
-
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.dialogs.ProgressMonitorDialog;
-
import org.eclipse.jface.viewers.ColumnWeightData;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionChangedListener;
@@ -62,28 +90,25 @@ import org.eclipse.jface.viewers.TableLayout;
import org.eclipse.jface.viewers.TableViewer;
import org.eclipse.jface.viewers.TreeViewer;
import org.eclipse.jface.viewers.Viewer;
-
+import org.eclipse.papyrus.infra.constraints.provider.ConstraintsItemProviderAdapterFactory;
+import org.eclipse.papyrus.views.properties.contexts.provider.ContextsItemProviderAdapterFactory;
+import org.eclipse.papyrus.views.properties.environment.presentation.PropertiesEditorPlugin;
+import org.eclipse.papyrus.views.properties.environment.provider.EnvironmentItemProviderAdapterFactory;
+import org.eclipse.papyrus.views.properties.ui.provider.UiItemProviderAdapterFactory;
import org.eclipse.swt.SWT;
-
import org.eclipse.swt.custom.CTabFolder;
-
import org.eclipse.swt.dnd.DND;
import org.eclipse.swt.dnd.Transfer;
-
import org.eclipse.swt.events.ControlAdapter;
import org.eclipse.swt.events.ControlEvent;
-
import org.eclipse.swt.graphics.Point;
-
import org.eclipse.swt.layout.FillLayout;
-
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Menu;
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.Tree;
import org.eclipse.swt.widgets.TreeColumn;
-
import org.eclipse.ui.IActionBars;
import org.eclipse.ui.IEditorInput;
import org.eclipse.ui.IEditorPart;
@@ -91,88 +116,18 @@ import org.eclipse.ui.IEditorSite;
import org.eclipse.ui.IPartListener;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.PartInitException;
-
+import org.eclipse.ui.actions.WorkspaceModifyOperation;
import org.eclipse.ui.dialogs.SaveAsDialog;
-
import org.eclipse.ui.ide.IGotoMarker;
-
import org.eclipse.ui.part.FileEditorInput;
import org.eclipse.ui.part.MultiPageEditorPart;
-
import org.eclipse.ui.views.contentoutline.ContentOutline;
import org.eclipse.ui.views.contentoutline.ContentOutlinePage;
import org.eclipse.ui.views.contentoutline.IContentOutlinePage;
-
import org.eclipse.ui.views.properties.IPropertySheetPage;
import org.eclipse.ui.views.properties.PropertySheet;
import org.eclipse.ui.views.properties.PropertySheetPage;
-import org.eclipse.emf.common.command.BasicCommandStack;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.CommandStack;
-import org.eclipse.emf.common.command.CommandStackListener;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.ui.MarkerHelper;
-import org.eclipse.emf.common.ui.ViewerPane;
-
-import org.eclipse.emf.common.ui.editor.ProblemEditorPart;
-
-import org.eclipse.emf.common.ui.viewer.IViewerProvider;
-
-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.EValidator;
-
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-
-import org.eclipse.emf.ecore.util.EContentAdapter;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-
-import org.eclipse.emf.edit.domain.AdapterFactoryEditingDomain;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.emf.edit.domain.IEditingDomainProvider;
-
-import org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator;
-import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
-import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;
-
-import org.eclipse.emf.edit.provider.resource.ResourceItemProviderAdapterFactory;
-
-import org.eclipse.emf.edit.ui.action.EditingDomainActionBarContributor;
-
-import org.eclipse.emf.edit.ui.celleditor.AdapterFactoryTreeEditor;
-
-import org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter;
-import org.eclipse.emf.edit.ui.dnd.LocalTransfer;
-import org.eclipse.emf.edit.ui.dnd.ViewerDragAdapter;
-
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryContentProvider;
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
-import org.eclipse.emf.edit.ui.provider.UnwrappingSelectionProvider;
-
-import org.eclipse.emf.edit.ui.util.EditUIMarkerHelper;
-import org.eclipse.emf.edit.ui.util.EditUIUtil;
-
-import org.eclipse.emf.edit.ui.view.ExtendedPropertySheetPage;
-
-
-
-
-import org.eclipse.papyrus.views.properties.contexts.provider.ContextsItemProviderAdapterFactory;
-import org.eclipse.papyrus.views.properties.environment.presentation.PropertiesEditorPlugin;
-import org.eclipse.papyrus.views.properties.environment.provider.EnvironmentItemProviderAdapterFactory;
-import org.eclipse.papyrus.views.properties.ui.provider.UiItemProviderAdapterFactory;
-
-import org.eclipse.emf.ecore.provider.EcoreItemProviderAdapterFactory;
-import org.eclipse.ui.actions.WorkspaceModifyOperation;
-
/**
* This is an example of a Ui model editor.
@@ -709,6 +664,8 @@ public class UiEditor
adapterFactory.addAdapterFactory(new EnvironmentItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new ContextsItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new UiItemProviderAdapterFactory());
+ adapterFactory.addAdapterFactory(new ConstraintsItemProviderAdapterFactory());
+ adapterFactory.addAdapterFactory(new org.eclipse.papyrus.infra.constraints.environment.provider.EnvironmentItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new EcoreItemProviderAdapterFactory());
adapterFactory.addAdapterFactory(new ReflectiveItemProviderAdapterFactory());
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiModelWizard.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiModelWizard.java
index f17276a884a..e4226982550 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiModelWizard.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model.editor/src-gen/org/eclipse/papyrus/views/properties/ui/presentation/UiModelWizard.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.presentation;
@@ -22,78 +17,52 @@ import java.util.Map;
import java.util.MissingResourceException;
import java.util.StringTokenizer;
+import org.eclipse.core.resources.IContainer;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFolder;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.Path;
import org.eclipse.emf.common.CommonPlugin;
-
import org.eclipse.emf.common.util.URI;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EClassifier;
-
+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.emf.ecore.EObject;
-
import org.eclipse.emf.ecore.xmi.XMLResource;
-
import org.eclipse.emf.edit.ui.provider.ExtendedImageRegistry;
-
-import org.eclipse.core.resources.IContainer;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-
import org.eclipse.jface.dialogs.MessageDialog;
-
+import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
-
+import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.jface.wizard.Wizard;
import org.eclipse.jface.wizard.WizardPage;
-
+import org.eclipse.papyrus.views.properties.environment.presentation.PropertiesEditorPlugin;
+import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
+import org.eclipse.papyrus.views.properties.ui.UiFactory;
+import org.eclipse.papyrus.views.properties.ui.UiPackage;
import org.eclipse.swt.SWT;
-
-import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.events.ModifyEvent;
-
+import org.eclipse.swt.events.ModifyListener;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
-
import org.eclipse.swt.widgets.Combo;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
-
import org.eclipse.ui.INewWizard;
import org.eclipse.ui.IWorkbench;
-
-import org.eclipse.ui.actions.WorkspaceModifyOperation;
-
-import org.eclipse.ui.dialogs.WizardNewFileCreationPage;
-
-import org.eclipse.ui.part.FileEditorInput;
-import org.eclipse.ui.part.ISetSelectionTarget;
-
-
-
-import org.eclipse.core.runtime.Path;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.StructuredSelection;
-
-import org.eclipse.papyrus.views.properties.environment.presentation.PropertiesEditorPlugin;
-import org.eclipse.papyrus.views.properties.environment.provider.PropertiesEditPlugin;
-import org.eclipse.papyrus.views.properties.ui.UiFactory;
-import org.eclipse.papyrus.views.properties.ui.UiPackage;
-
import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.PartInitException;
+import org.eclipse.ui.actions.WorkspaceModifyOperation;
+import org.eclipse.ui.dialogs.WizardNewFileCreationPage;
+import org.eclipse.ui.part.FileEditorInput;
+import org.eclipse.ui.part.ISetSelectionTarget;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/META-INF/MANIFEST.MF b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/META-INF/MANIFEST.MF
index 3d589ed73a5..2bcbc621af5 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/META-INF/MANIFEST.MF
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/META-INF/MANIFEST.MF
@@ -1,6 +1,7 @@
Manifest-Version: 1.0
Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.emf.ecore;bundle-version="2.7.0";visibility:=reexport
+ org.eclipse.emf.ecore;bundle-version="2.7.0";visibility:=reexport,
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0"
Export-Package: org.eclipse.papyrus.views.properties.contexts,
org.eclipse.papyrus.views.properties.contexts.impl,
org.eclipse.papyrus.views.properties.contexts.util,
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/Model/Properties.ecore b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/Model/Properties.ecore
index 244ecac2e1c..a402bb47f8e 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/Model/Properties.ecore
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/Model/Properties.ecore
@@ -1,15 +1,12 @@
<?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="properties"
- nsURI="http://www.eclipse.org/papyrus/properties" nsPrefix="properties">
- <eSubpackages name="environment" nsURI="http://www.eclipse.org/papyrus/properties/environment"
+<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="properties" nsURI="http://www.eclipse.org/papyrus/properties/0.9.0"
+ nsPrefix="properties">
+ <eSubpackages name="environment" nsURI="http://www.eclipse.org/papyrus/properties/environment/0.9"
nsPrefix="environment">
- <eClassifiers xsi:type="ecore:EClass" name="Environment" eSuperTypes="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement">
+ <eClassifiers xsi:type="ecore:EClass" name="Environment" eSuperTypes="../../org.eclipse.papyrus.infra.constraints/Model/Constraints.ecore#//environment/ConstraintEnvironment">
<eStructuralFeatures xsi:type="ecore:EReference" name="modelElementFactories"
upperBound="-1" eType="#//environment/ModelElementFactoryDescriptor" containment="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="constraintTypes" upperBound="-1"
- eType="#//environment/ConstraintType" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="widgetTypes" upperBound="-1"
eType="#//environment/StandardWidgetType" containment="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="propertyEditorTypes"
@@ -38,12 +35,6 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="CompositeWidgetType" eSuperTypes="#//environment/WidgetType"/>
<eClassifiers xsi:type="ecore:EClass" name="LayoutType" eSuperTypes="#//environment/WidgetType"/>
- <eClassifiers xsi:type="ecore:EClass" name="ConstraintType">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="label" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="constraintClass" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ModelElementFactoryDescriptor">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
@@ -72,7 +63,7 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="namespace" eType="#//environment/Namespace"/>
</eClassifiers>
</eSubpackages>
- <eSubpackages name="contexts" nsURI="http://www.eclipse.org/papyrus/properties/contexts"
+ <eSubpackages name="contexts" nsURI="http://www.eclipse.org/papyrus/properties/contexts/0.9"
nsPrefix="contexts">
<eClassifiers xsi:type="ecore:EClass" name="Context" eSuperTypes="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.ecore#//EModelElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
@@ -86,10 +77,6 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="dataContexts" upperBound="-1"
eType="#//contexts/DataContextRoot" containment="true"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="DisplayUnit" abstract="true">
- <eStructuralFeatures xsi:type="ecore:EReference" name="constraints" upperBound="-1"
- eType="#//contexts/ConstraintDescriptor" containment="true" eOpposite="#//contexts/ConstraintDescriptor/display"/>
- </eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Tab">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="label" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
@@ -104,14 +91,11 @@
defaultValueLiteral="false"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="priority" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="View" eSuperTypes="#//contexts/DisplayUnit">
+ <eClassifiers xsi:type="ecore:EClass" name="View" eSuperTypes="../../org.eclipse.papyrus.infra.constraints/Model/Constraints.ecore#//DisplayUnit">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="sections" upperBound="-1"
eType="#//contexts/Section"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="elementMultiplicity"
- lowerBound="1" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"
- defaultValueLiteral="1"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="context" lowerBound="1"
eType="#//contexts/Context" eOpposite="#//contexts/Context/views"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="automaticContext" lowerBound="1"
@@ -119,7 +103,7 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="datacontexts" upperBound="-1"
eType="#//contexts/DataContextElement"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="Section" eSuperTypes="#//contexts/DisplayUnit">
+ <eClassifiers xsi:type="ecore:EClass" name="Section" eSuperTypes="../../org.eclipse.papyrus.infra.constraints/Model/Constraints.ecore#//DisplayUnit">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="tab" lowerBound="1" eType="#//contexts/Tab"
@@ -162,41 +146,9 @@
<eStructuralFeatures xsi:type="ecore:EReference" name="modelElementFactory"
lowerBound="1" eType="#//environment/ModelElementFactoryDescriptor"/>
</eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ConstraintDescriptor" abstract="true">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="name" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="display" eType="#//contexts/DisplayUnit"
- eOpposite="#//contexts/DisplayUnit/constraints"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="overrideable" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
- defaultValueLiteral="true"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="overriddenConstraints"
- upperBound="-1" eType="#//contexts/SimpleConstraint"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="SimpleConstraint" eSuperTypes="#//contexts/ConstraintDescriptor">
- <eStructuralFeatures xsi:type="ecore:EReference" name="constraintType" lowerBound="1"
- eType="#//environment/ConstraintType"/>
- <eStructuralFeatures xsi:type="ecore:EReference" name="properties" upperBound="-1"
- eType="#//contexts/ConfigProperty" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="CompositeConstraint" eSuperTypes="#//contexts/ConstraintDescriptor">
- <eStructuralFeatures xsi:type="ecore:EReference" name="constraints" upperBound="-1"
- eType="#//contexts/SimpleConstraint" containment="true"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ConfigProperty" abstract="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:EClass" name="ValueProperty" eSuperTypes="#//contexts/ConfigProperty">
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="value" lowerBound="1"
- eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- </eClassifiers>
- <eClassifiers xsi:type="ecore:EClass" name="ReferenceProperty" eSuperTypes="#//contexts/ConfigProperty">
- <eStructuralFeatures xsi:type="ecore:EReference" name="value" lowerBound="1"
- eType="ecore:EClass http://www.eclipse.org/emf/2002/Ecore#//EObject"/>
- </eClassifiers>
</eSubpackages>
- <eSubpackages name="ui" nsURI="http://www.eclipse.org/papyrus/properties/ui" nsPrefix="ui">
+ <eSubpackages name="ui" nsURI="http://www.eclipse.org/papyrus/properties/ui/0.9"
+ nsPrefix="ui">
<eClassifiers xsi:type="ecore:EClass" name="Element"/>
<eClassifiers xsi:type="ecore:EClass" name="UIComponent" abstract="true" eSuperTypes="#//ui/Element">
<eStructuralFeatures xsi:type="ecore:EReference" name="attributes" upperBound="-1"
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/Model/Properties.genmodel b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/Model/Properties.genmodel
index 91c1efd1876..8f122c1d78d 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/Model/Properties.genmodel
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/Model/Properties.genmodel
@@ -1,6 +1,5 @@
<?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"
+<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.views.properties.model/src-gen"
editDirectory="/org.eclipse.papyrus.views.properties.model.edit/src-gen" editorDirectory="/org.eclipse.papyrus.views.properties.model.editor/src-gen"
modelPluginID="org.eclipse.papyrus.views.properties.model" modelName="Properties"
@@ -8,7 +7,7 @@
testsDirectory="/org.eclipse.papyrus.views.properties.model.tests/src-gen" testSuiteClass="org.eclipse.papyrus.views.properties.environment.tests.PropertiesAllTests"
importerID="org.eclipse.emf.importer.ecore" complianceLevel="5.0" copyrightFields="false"
editPluginID="org.eclipse.papyrus.views.properties.model.edit" editorPluginID="org.eclipse.papyrus.views.properties.model.editor"
- usedGenPackages="platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
+ usedGenPackages="../../org.eclipse.papyrus.infra.constraints/Model/Constraints.genmodel#//constraints platform:/plugin/org.eclipse.emf.ecore/model/Ecore.genmodel#//ecore">
<foreignModel>Properties.ecore</foreignModel>
<genPackages prefix="Properties" basePackage="org.eclipse.papyrus" disposableProviderFactory="true"
ecorePackage="Properties.ecore#/">
@@ -23,7 +22,6 @@
</genEnums>
<genClasses ecoreClass="Properties.ecore#//environment/Environment">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Properties.ecore#//environment/Environment/modelElementFactories"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Properties.ecore#//environment/Environment/constraintTypes"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Properties.ecore#//environment/Environment/widgetTypes"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Properties.ecore#//environment/Environment/propertyEditorTypes"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Properties.ecore#//environment/Environment/compositeWidgetTypes"/>
@@ -43,10 +41,6 @@
</genClasses>
<genClasses ecoreClass="Properties.ecore#//environment/CompositeWidgetType"/>
<genClasses ecoreClass="Properties.ecore#//environment/LayoutType"/>
- <genClasses ecoreClass="Properties.ecore#//environment/ConstraintType">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//environment/ConstraintType/label"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//environment/ConstraintType/constraintClass"/>
- </genClasses>
<genClasses ecoreClass="Properties.ecore#//environment/ModelElementFactoryDescriptor">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//environment/ModelElementFactoryDescriptor/name"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//environment/ModelElementFactoryDescriptor/factoryClass"/>
@@ -74,9 +68,6 @@
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Properties.ecore#//contexts/Context/views"/>
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Properties.ecore#//contexts/Context/dataContexts"/>
</genClasses>
- <genClasses image="false" ecoreClass="Properties.ecore#//contexts/DisplayUnit">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Properties.ecore#//contexts/DisplayUnit/constraints"/>
- </genClasses>
<genClasses ecoreClass="Properties.ecore#//contexts/Tab">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//contexts/Tab/label"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//contexts/Tab/id"/>
@@ -92,7 +83,6 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//contexts/View/name"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true"
ecoreFeature="ecore:EReference Properties.ecore#//contexts/View/sections"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//contexts/View/elementMultiplicity"/>
<genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference Properties.ecore#//contexts/View/context"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//contexts/View/automaticContext"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true"
@@ -130,31 +120,6 @@
<genFeatures notify="false" createChild="false" propertySortChoices="true"
ecoreFeature="ecore:EReference Properties.ecore#//contexts/DataContextRoot/modelElementFactory"/>
</genClasses>
- <genClasses ecoreClass="Properties.ecore#//contexts/ConstraintDescriptor">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//contexts/ConstraintDescriptor/name"/>
- <genFeatures property="None" notify="false" createChild="false" ecoreFeature="ecore:EReference Properties.ecore#//contexts/ConstraintDescriptor/display"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//contexts/ConstraintDescriptor/overrideable"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true"
- ecoreFeature="ecore:EReference Properties.ecore#//contexts/ConstraintDescriptor/overriddenConstraints"/>
- </genClasses>
- <genClasses ecoreClass="Properties.ecore#//contexts/SimpleConstraint">
- <genFeatures notify="false" createChild="false" propertySortChoices="true"
- ecoreFeature="ecore:EReference Properties.ecore#//contexts/SimpleConstraint/constraintType"/>
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Properties.ecore#//contexts/SimpleConstraint/properties"/>
- </genClasses>
- <genClasses ecoreClass="Properties.ecore#//contexts/CompositeConstraint">
- <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference Properties.ecore#//contexts/CompositeConstraint/constraints"/>
- </genClasses>
- <genClasses image="false" ecoreClass="Properties.ecore#//contexts/ConfigProperty">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//contexts/ConfigProperty/name"/>
- </genClasses>
- <genClasses ecoreClass="Properties.ecore#//contexts/ValueProperty">
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute Properties.ecore#//contexts/ValueProperty/value"/>
- </genClasses>
- <genClasses ecoreClass="Properties.ecore#//contexts/ReferenceProperty">
- <genFeatures notify="false" createChild="false" propertySortChoices="true"
- ecoreFeature="ecore:EReference Properties.ecore#//contexts/ReferenceProperty/value"/>
- </genClasses>
</nestedGenPackages>
<nestedGenPackages prefix="Ui" basePackage="org.eclipse.papyrus.views.properties"
disposableProviderFactory="true" ecorePackage="Properties.ecore#//ui">
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/plugin.xml b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/plugin.xml
index 58c83f6d4c8..71a31f8b988 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/plugin.xml
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/plugin.xml
@@ -12,21 +12,21 @@
<extension point="org.eclipse.emf.ecore.generated_package">
<package
- uri="http://www.eclipse.org/papyrus/properties/environment"
+ uri="http://www.eclipse.org/papyrus/properties/environment/0.9"
class="org.eclipse.papyrus.views.properties.environment.EnvironmentPackage"
genModel="Model/Properties.genmodel"/>
</extension>
<extension point="org.eclipse.emf.ecore.generated_package">
<package
- uri="http://www.eclipse.org/papyrus/properties/contexts"
+ uri="http://www.eclipse.org/papyrus/properties/contexts/0.9"
class="org.eclipse.papyrus.views.properties.contexts.ContextsPackage"
genModel="Model/Properties.genmodel"/>
</extension>
<extension point="org.eclipse.emf.ecore.generated_package">
<package
- uri="http://www.eclipse.org/papyrus/properties/ui"
+ uri="http://www.eclipse.org/papyrus/properties/ui/0.9"
class="org.eclipse.papyrus.views.properties.ui.UiPackage"
genModel="Model/Properties.genmodel"/>
</extension>
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/CompositeConstraint.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/CompositeConstraint.java
deleted file mode 100644
index 68c051dc16e..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/CompositeConstraint.java
+++ /dev/null
@@ -1,49 +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.views.properties.contexts;
-
-import org.eclipse.emf.common.util.EList;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Composite Constraint</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.CompositeConstraint#getConstraints <em>Constraints</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getCompositeConstraint()
- * @model
- * @generated
- */
-public interface CompositeConstraint extends ConstraintDescriptor {
-
- /**
- * Returns the value of the '<em><b>Constraints</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Constraints</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>Constraints</em>' containment reference list.
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getCompositeConstraint_Constraints()
- * @model containment="true"
- * @generated
- */
- EList<SimpleConstraint> getConstraints();
-
-} // CompositeConstraint
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ConfigProperty.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ConfigProperty.java
deleted file mode 100644
index 39f23dd6202..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ConfigProperty.java
+++ /dev/null
@@ -1,59 +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.views.properties.contexts;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Config Property</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.ConfigProperty#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getConfigProperty()
- * @model abstract="true"
- * @generated
- */
-public interface ConfigProperty 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.views.properties.contexts.ContextsPackage#getConfigProperty_Name()
- * @model required="true"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.ConfigProperty#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);
-
-} // ConfigProperty
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ConstraintDescriptor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ConstraintDescriptor.java
deleted file mode 100644
index e687874be9e..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ConstraintDescriptor.java
+++ /dev/null
@@ -1,137 +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.views.properties.contexts;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.views.properties.environment.ConstraintType;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Constraint Descriptor</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getDisplay <em>Display</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#isOverrideable <em>Overrideable</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getOverriddenConstraints <em>Overridden Constraints</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getConstraintDescriptor()
- * @model abstract="true"
- * @generated
- */
-public interface ConstraintDescriptor 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.views.properties.contexts.ContextsPackage#getConstraintDescriptor_Name()
- * @model required="true"
- * @generated
- */
- String getName();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#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>Display</b></em>' container reference.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.views.properties.contexts.DisplayUnit#getConstraints <em>Constraints</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Display</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>Display</em>' container reference.
- * @see #setDisplay(DisplayUnit)
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getConstraintDescriptor_Display()
- * @see org.eclipse.papyrus.views.properties.contexts.DisplayUnit#getConstraints
- * @model opposite="constraints" transient="false"
- * @generated
- */
- DisplayUnit getDisplay();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getDisplay <em>Display</em>}' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Display</em>' container reference.
- * @see #getDisplay()
- * @generated
- */
- void setDisplay(DisplayUnit value);
-
- /**
- * Returns the value of the '<em><b>Overridden Constraints</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Overridden Constraints</em>' reference list isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Overridden Constraints</em>' reference list.
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getConstraintDescriptor_OverriddenConstraints()
- * @model
- * @generated
- */
- EList<SimpleConstraint> getOverriddenConstraints();
-
- /**
- * Returns the value of the '<em><b>Overrideable</b></em>' attribute.
- * The default value is <code>"true"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Overrideable</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Overrideable</em>' attribute.
- * @see #setOverrideable(boolean)
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getConstraintDescriptor_Overrideable()
- * @model default="true" required="true"
- * @generated
- */
- boolean isOverrideable();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#isOverrideable <em>Overrideable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Overrideable</em>' attribute.
- * @see #isOverrideable()
- * @generated
- */
- void setOverrideable(boolean value);
-
-} // ConstraintDescriptor
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Context.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Context.java
index 0b62eee091b..718fdc3ff1d 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Context.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Context.java
@@ -1,20 +1,13 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts;
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EModelElement;
-import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
@@ -64,22 +57,20 @@ public interface Context extends EModelElement {
void setName(String value);
/**
- * Returns the value of the '<em><b>Views</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.views.properties.contexts.View}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.views.properties.contexts.View#getContext <em>Context</em>}'.
+ * Returns the value of the '<em><b>Dependencies</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.views.properties.contexts.Context}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Views</em>' containment reference list isn't clear,
+ * If the meaning of the '<em>Dependencies</em>' reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- * @return the value of the '<em>Views</em>' containment reference list.
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getContext_Views()
- * @see org.eclipse.papyrus.views.properties.contexts.View#getContext
- * @model opposite="context" containment="true"
+ * @return the value of the '<em>Dependencies</em>' reference list.
+ * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getContext_Dependencies()
+ * @model ordered="false"
* @generated
*/
- EList<View> getViews();
+ EList<Context> getDependencies();
/**
* Returns the value of the '<em><b>Tabs</b></em>' containment reference list.
@@ -98,35 +89,37 @@ public interface Context extends EModelElement {
EList<Tab> getTabs();
/**
- * Returns the value of the '<em><b>Data Contexts</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.views.properties.contexts.DataContextRoot}.
+ * Returns the value of the '<em><b>Views</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.views.properties.contexts.View}.
+ * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.views.properties.contexts.View#getContext <em>Context</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Data Contexts</em>' containment reference list isn't clear,
+ * If the meaning of the '<em>Views</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>Data Contexts</em>' containment reference list.
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getContext_DataContexts()
- * @model containment="true"
+ * @return the value of the '<em>Views</em>' containment reference list.
+ * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getContext_Views()
+ * @see org.eclipse.papyrus.views.properties.contexts.View#getContext
+ * @model opposite="context" containment="true"
* @generated
*/
- EList<DataContextRoot> getDataContexts();
+ EList<View> getViews();
/**
- * Returns the value of the '<em><b>Dependencies</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.views.properties.contexts.Context}.
+ * Returns the value of the '<em><b>Data Contexts</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.views.properties.contexts.DataContextRoot}.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Dependencies</em>' reference list isn't clear,
+ * If the meaning of the '<em>Data Contexts</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>Dependencies</em>' reference list.
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getContext_Dependencies()
- * @model ordered="false"
+ * @return the value of the '<em>Data Contexts</em>' containment reference list.
+ * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getContext_DataContexts()
+ * @model containment="true"
* @generated
*/
- EList<Context> getDependencies();
+ EList<DataContextRoot> getDataContexts();
} // Context
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ContextsFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ContextsFactory.java
index 3dff11f1a52..1a1efe32917 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ContextsFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ContextsFactory.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts;
import org.eclipse.emf.ecore.EFactory;
@@ -40,22 +35,22 @@ public interface ContextsFactory extends EFactory {
Context createContext();
/**
- * Returns a new object of class '<em>View</em>'.
+ * Returns a new object of class '<em>Tab</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>View</em>'.
+ * @return a new object of class '<em>Tab</em>'.
* @generated
*/
- View createView();
+ Tab createTab();
/**
- * Returns a new object of class '<em>Tab</em>'.
+ * Returns a new object of class '<em>View</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return a new object of class '<em>Tab</em>'.
+ * @return a new object of class '<em>View</em>'.
* @generated
*/
- Tab createTab();
+ View createView();
/**
* Returns a new object of class '<em>Section</em>'.
@@ -112,42 +107,6 @@ public interface ContextsFactory extends EFactory {
DataContextRoot createDataContextRoot();
/**
- * Returns a new object of class '<em>Simple Constraint</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Simple Constraint</em>'.
- * @generated
- */
- SimpleConstraint createSimpleConstraint();
-
- /**
- * Returns a new object of class '<em>Composite Constraint</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Composite Constraint</em>'.
- * @generated
- */
- CompositeConstraint createCompositeConstraint();
-
- /**
- * Returns a new object of class '<em>Value Property</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Value Property</em>'.
- * @generated
- */
- ValueProperty createValueProperty();
-
- /**
- * Returns a new object of class '<em>Reference Property</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Reference Property</em>'.
- * @generated
- */
- ReferenceProperty createReferenceProperty();
-
- /**
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ContextsPackage.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ContextsPackage.java
index 4df6fa88e34..8e5654284be 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ContextsPackage.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ContextsPackage.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts;
import org.eclipse.emf.ecore.EAttribute;
@@ -16,16 +11,17 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EcorePackage;
+import org.eclipse.papyrus.infra.constraints.ConstraintsPackage;
/**
* <!-- 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>
+ * <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.views.properties.contexts.ContextsFactory
@@ -33,6 +29,7 @@ import org.eclipse.emf.ecore.EcorePackage;
* @generated
*/
public interface ContextsPackage extends EPackage {
+
/**
* The package name.
* <!-- begin-user-doc -->
@@ -47,7 +44,7 @@ public interface ContextsPackage extends EPackage {
* <!-- end-user-doc -->
* @generated
*/
- String eNS_URI = "http://www.eclipse.org/papyrus/properties/contexts";
+ String eNS_URI = "http://www.eclipse.org/papyrus/properties/contexts/0.9";
/**
* The package namespace name.
@@ -139,44 +136,6 @@ public interface ContextsPackage extends EPackage {
int CONTEXT_FEATURE_COUNT = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 5;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.DisplayUnitImpl <em>Display Unit</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.DisplayUnitImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getDisplayUnit()
- * @generated
- */
- int DISPLAY_UNIT = 1;
-
- /**
- * The feature id for the '<em><b>Constraints</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DISPLAY_UNIT__CONSTRAINTS = 0;
-
- /**
- * The number of structural features of the '<em>Display Unit</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int DISPLAY_UNIT_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl <em>View</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getView()
- * @generated
- */
- int VIEW = 3;
-
- /**
* The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.TabImpl <em>Tab</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -184,7 +143,7 @@ public interface ContextsPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getTab()
* @generated
*/
- int TAB = 2;
+ int TAB = 1;
/**
* The feature id for the '<em><b>Label</b></em>' attribute.
@@ -268,40 +227,50 @@ public interface ContextsPackage extends EPackage {
int TAB_FEATURE_COUNT = 8;
/**
+ * The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl <em>View</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl
+ * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getView()
+ * @generated
+ */
+ int VIEW = 2;
+
+ /**
* The feature id for the '<em><b>Constraints</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VIEW__CONSTRAINTS = DISPLAY_UNIT__CONSTRAINTS;
+ int VIEW__CONSTRAINTS = ConstraintsPackage.DISPLAY_UNIT__CONSTRAINTS;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * The feature id for the '<em><b>Element Multiplicity</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VIEW__NAME = DISPLAY_UNIT_FEATURE_COUNT + 0;
+ int VIEW__ELEMENT_MULTIPLICITY = ConstraintsPackage.DISPLAY_UNIT__ELEMENT_MULTIPLICITY;
/**
- * The feature id for the '<em><b>Sections</b></em>' reference list.
+ * The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VIEW__SECTIONS = DISPLAY_UNIT_FEATURE_COUNT + 1;
+ int VIEW__NAME = ConstraintsPackage.DISPLAY_UNIT_FEATURE_COUNT + 0;
/**
- * The feature id for the '<em><b>Element Multiplicity</b></em>' attribute.
+ * The feature id for the '<em><b>Sections</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int VIEW__ELEMENT_MULTIPLICITY = DISPLAY_UNIT_FEATURE_COUNT + 2;
+ int VIEW__SECTIONS = ConstraintsPackage.DISPLAY_UNIT_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Context</b></em>' container reference.
@@ -310,7 +279,7 @@ public interface ContextsPackage extends EPackage {
* @generated
* @ordered
*/
- int VIEW__CONTEXT = DISPLAY_UNIT_FEATURE_COUNT + 3;
+ int VIEW__CONTEXT = ConstraintsPackage.DISPLAY_UNIT_FEATURE_COUNT + 2;
/**
* The feature id for the '<em><b>Automatic Context</b></em>' attribute.
@@ -319,7 +288,7 @@ public interface ContextsPackage extends EPackage {
* @generated
* @ordered
*/
- int VIEW__AUTOMATIC_CONTEXT = DISPLAY_UNIT_FEATURE_COUNT + 4;
+ int VIEW__AUTOMATIC_CONTEXT = ConstraintsPackage.DISPLAY_UNIT_FEATURE_COUNT + 3;
/**
* The feature id for the '<em><b>Datacontexts</b></em>' reference list.
@@ -328,7 +297,7 @@ public interface ContextsPackage extends EPackage {
* @generated
* @ordered
*/
- int VIEW__DATACONTEXTS = DISPLAY_UNIT_FEATURE_COUNT + 5;
+ int VIEW__DATACONTEXTS = ConstraintsPackage.DISPLAY_UNIT_FEATURE_COUNT + 4;
/**
* The number of structural features of the '<em>View</em>' class.
@@ -337,7 +306,7 @@ public interface ContextsPackage extends EPackage {
* @generated
* @ordered
*/
- int VIEW_FEATURE_COUNT = DISPLAY_UNIT_FEATURE_COUNT + 6;
+ int VIEW_FEATURE_COUNT = ConstraintsPackage.DISPLAY_UNIT_FEATURE_COUNT + 5;
/**
* The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.SectionImpl <em>Section</em>}' class.
@@ -347,7 +316,7 @@ public interface ContextsPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getSection()
* @generated
*/
- int SECTION = 4;
+ int SECTION = 3;
/**
* The feature id for the '<em><b>Constraints</b></em>' containment reference list.
@@ -356,7 +325,16 @@ public interface ContextsPackage extends EPackage {
* @generated
* @ordered
*/
- int SECTION__CONSTRAINTS = DISPLAY_UNIT__CONSTRAINTS;
+ int SECTION__CONSTRAINTS = ConstraintsPackage.DISPLAY_UNIT__CONSTRAINTS;
+
+ /**
+ * The feature id for the '<em><b>Element Multiplicity</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int SECTION__ELEMENT_MULTIPLICITY = ConstraintsPackage.DISPLAY_UNIT__ELEMENT_MULTIPLICITY;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -365,7 +343,7 @@ public interface ContextsPackage extends EPackage {
* @generated
* @ordered
*/
- int SECTION__NAME = DISPLAY_UNIT_FEATURE_COUNT + 0;
+ int SECTION__NAME = ConstraintsPackage.DISPLAY_UNIT_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Tab</b></em>' container reference.
@@ -374,7 +352,7 @@ public interface ContextsPackage extends EPackage {
* @generated
* @ordered
*/
- int SECTION__TAB = DISPLAY_UNIT_FEATURE_COUNT + 1;
+ int SECTION__TAB = ConstraintsPackage.DISPLAY_UNIT_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Section File</b></em>' attribute.
@@ -383,7 +361,7 @@ public interface ContextsPackage extends EPackage {
* @generated
* @ordered
*/
- int SECTION__SECTION_FILE = DISPLAY_UNIT_FEATURE_COUNT + 2;
+ int SECTION__SECTION_FILE = ConstraintsPackage.DISPLAY_UNIT_FEATURE_COUNT + 2;
/**
* The feature id for the '<em><b>Widget</b></em>' reference.
@@ -392,7 +370,7 @@ public interface ContextsPackage extends EPackage {
* @generated
* @ordered
*/
- int SECTION__WIDGET = DISPLAY_UNIT_FEATURE_COUNT + 3;
+ int SECTION__WIDGET = ConstraintsPackage.DISPLAY_UNIT_FEATURE_COUNT + 3;
/**
* The number of structural features of the '<em>Section</em>' class.
@@ -401,7 +379,7 @@ public interface ContextsPackage extends EPackage {
* @generated
* @ordered
*/
- int SECTION_FEATURE_COUNT = DISPLAY_UNIT_FEATURE_COUNT + 4;
+ int SECTION_FEATURE_COUNT = ConstraintsPackage.DISPLAY_UNIT_FEATURE_COUNT + 4;
/**
* The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.DataContextElementImpl <em>Data Context Element</em>}' class.
@@ -411,7 +389,7 @@ public interface ContextsPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getDataContextElement()
* @generated
*/
- int DATA_CONTEXT_ELEMENT = 5;
+ int DATA_CONTEXT_ELEMENT = 4;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -466,7 +444,7 @@ public interface ContextsPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getProperty()
* @generated
*/
- int PROPERTY = 6;
+ int PROPERTY = 5;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -539,7 +517,7 @@ public interface ContextsPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getUnknownProperty()
* @generated
*/
- int UNKNOWN_PROPERTY = 7;
+ int UNKNOWN_PROPERTY = 6;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -612,7 +590,7 @@ public interface ContextsPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getDataContextPackage()
* @generated
*/
- int DATA_CONTEXT_PACKAGE = 8;
+ int DATA_CONTEXT_PACKAGE = 7;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -676,7 +654,7 @@ public interface ContextsPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getDataContextRoot()
* @generated
*/
- int DATA_CONTEXT_ROOT = 9;
+ int DATA_CONTEXT_ROOT = 8;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -750,386 +728,169 @@ public interface ContextsPackage extends EPackage {
*/
int DATA_CONTEXT_ROOT_FEATURE_COUNT = DATA_CONTEXT_PACKAGE_FEATURE_COUNT + 2;
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ConstraintDescriptorImpl <em>Constraint Descriptor</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ConstraintDescriptorImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getConstraintDescriptor()
- * @generated
- */
- int CONSTRAINT_DESCRIPTOR = 10;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONSTRAINT_DESCRIPTOR__NAME = 0;
-
- /**
- * The feature id for the '<em><b>Display</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONSTRAINT_DESCRIPTOR__DISPLAY = 1;
-
- /**
- * The feature id for the '<em><b>Overrideable</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONSTRAINT_DESCRIPTOR__OVERRIDEABLE = 2;
-
- /**
- * The feature id for the '<em><b>Overridden Constraints</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONSTRAINT_DESCRIPTOR__OVERRIDDEN_CONSTRAINTS = 3;
-
- /**
- * The number of structural features of the '<em>Constraint Descriptor</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONSTRAINT_DESCRIPTOR_FEATURE_COUNT = 4;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.SimpleConstraintImpl <em>Simple Constraint</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.SimpleConstraintImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getSimpleConstraint()
- * @generated
- */
- int SIMPLE_CONSTRAINT = 11;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SIMPLE_CONSTRAINT__NAME = CONSTRAINT_DESCRIPTOR__NAME;
-
- /**
- * The feature id for the '<em><b>Display</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SIMPLE_CONSTRAINT__DISPLAY = CONSTRAINT_DESCRIPTOR__DISPLAY;
-
- /**
- * The feature id for the '<em><b>Overrideable</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SIMPLE_CONSTRAINT__OVERRIDEABLE = CONSTRAINT_DESCRIPTOR__OVERRIDEABLE;
-
- /**
- * The feature id for the '<em><b>Overridden Constraints</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SIMPLE_CONSTRAINT__OVERRIDDEN_CONSTRAINTS = CONSTRAINT_DESCRIPTOR__OVERRIDDEN_CONSTRAINTS;
-
- /**
- * The feature id for the '<em><b>Constraint Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SIMPLE_CONSTRAINT__CONSTRAINT_TYPE = CONSTRAINT_DESCRIPTOR_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Properties</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SIMPLE_CONSTRAINT__PROPERTIES = CONSTRAINT_DESCRIPTOR_FEATURE_COUNT + 1;
-
- /**
- * The number of structural features of the '<em>Simple Constraint</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int SIMPLE_CONSTRAINT_FEATURE_COUNT = CONSTRAINT_DESCRIPTOR_FEATURE_COUNT + 2;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.CompositeConstraintImpl <em>Composite Constraint</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.CompositeConstraintImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getCompositeConstraint()
- * @generated
- */
- int COMPOSITE_CONSTRAINT = 12;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COMPOSITE_CONSTRAINT__NAME = CONSTRAINT_DESCRIPTOR__NAME;
-
- /**
- * The feature id for the '<em><b>Display</b></em>' container reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COMPOSITE_CONSTRAINT__DISPLAY = CONSTRAINT_DESCRIPTOR__DISPLAY;
-
- /**
- * The feature id for the '<em><b>Overrideable</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COMPOSITE_CONSTRAINT__OVERRIDEABLE = CONSTRAINT_DESCRIPTOR__OVERRIDEABLE;
-
- /**
- * The feature id for the '<em><b>Overridden Constraints</b></em>' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COMPOSITE_CONSTRAINT__OVERRIDDEN_CONSTRAINTS = CONSTRAINT_DESCRIPTOR__OVERRIDDEN_CONSTRAINTS;
-
- /**
- * The feature id for the '<em><b>Constraints</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COMPOSITE_CONSTRAINT__CONSTRAINTS = CONSTRAINT_DESCRIPTOR_FEATURE_COUNT + 0;
-
- /**
- * The number of structural features of the '<em>Composite Constraint</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int COMPOSITE_CONSTRAINT_FEATURE_COUNT = CONSTRAINT_DESCRIPTOR_FEATURE_COUNT + 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ConfigPropertyImpl <em>Config Property</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ConfigPropertyImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getConfigProperty()
- * @generated
- */
- int CONFIG_PROPERTY = 13;
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONFIG_PROPERTY__NAME = 0;
-
- /**
- * The number of structural features of the '<em>Config Property</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONFIG_PROPERTY_FEATURE_COUNT = 1;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ValuePropertyImpl <em>Value Property</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ValuePropertyImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getValueProperty()
- * @generated
- */
- int VALUE_PROPERTY = 14;
-
- /**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.Context <em>Context</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @return the meta object for class '<em>Context</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Context
* @generated
- * @ordered
*/
- int VALUE_PROPERTY__NAME = CONFIG_PROPERTY__NAME;
+ EClass getContext();
/**
- * The feature id for the '<em><b>Value</b></em>' attribute.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Context#getName <em>Name</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Name</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Context#getName()
+ * @see #getContext()
* @generated
- * @ordered
*/
- int VALUE_PROPERTY__VALUE = CONFIG_PROPERTY_FEATURE_COUNT + 0;
+ EAttribute getContext_Name();
/**
- * The number of structural features of the '<em>Value Property</em>' class.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.views.properties.contexts.Context#getDependencies <em>Dependencies</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @return the meta object for the reference list '<em>Dependencies</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Context#getDependencies()
+ * @see #getContext()
* @generated
- * @ordered
*/
- int VALUE_PROPERTY_FEATURE_COUNT = CONFIG_PROPERTY_FEATURE_COUNT + 1;
+ EReference getContext_Dependencies();
/**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ReferencePropertyImpl <em>Reference Property</em>}' class.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.contexts.Context#getTabs <em>Tabs</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ReferencePropertyImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getReferenceProperty()
+ * @return the meta object for the containment reference list '<em>Tabs</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Context#getTabs()
+ * @see #getContext()
* @generated
*/
- int REFERENCE_PROPERTY = 15;
+ EReference getContext_Tabs();
/**
- * The feature id for the '<em><b>Name</b></em>' attribute.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.contexts.Context#getViews <em>Views</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Views</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Context#getViews()
+ * @see #getContext()
* @generated
- * @ordered
*/
- int REFERENCE_PROPERTY__NAME = CONFIG_PROPERTY__NAME;
+ EReference getContext_Views();
/**
- * The feature id for the '<em><b>Value</b></em>' reference.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.contexts.Context#getDataContexts <em>Data Contexts</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @return the meta object for the containment reference list '<em>Data Contexts</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Context#getDataContexts()
+ * @see #getContext()
* @generated
- * @ordered
*/
- int REFERENCE_PROPERTY__VALUE = CONFIG_PROPERTY_FEATURE_COUNT + 0;
+ EReference getContext_DataContexts();
/**
- * The number of structural features of the '<em>Reference Property</em>' class.
+ * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.Tab <em>Tab</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @return the meta object for class '<em>Tab</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Tab
* @generated
- * @ordered
*/
- int REFERENCE_PROPERTY_FEATURE_COUNT = CONFIG_PROPERTY_FEATURE_COUNT + 1;
-
+ EClass getTab();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.Context <em>Context</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getLabel <em>Label</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Context</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Context
+ * @return the meta object for the attribute '<em>Label</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Tab#getLabel()
+ * @see #getTab()
* @generated
*/
- EClass getContext();
+ EAttribute getTab_Label();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Context#getName <em>Name</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getId <em>Id</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Context#getName()
- * @see #getContext()
+ * @return the meta object for the attribute '<em>Id</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Tab#getId()
+ * @see #getTab()
* @generated
*/
- EAttribute getContext_Name();
+ EAttribute getTab_Id();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.contexts.Context#getViews <em>Views</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getCategory <em>Category</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Views</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Context#getViews()
- * @see #getContext()
+ * @return the meta object for the attribute '<em>Category</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Tab#getCategory()
+ * @see #getTab()
* @generated
*/
- EReference getContext_Views();
+ EAttribute getTab_Category();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.contexts.Context#getTabs <em>Tabs</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getImage <em>Image</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Tabs</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Context#getTabs()
- * @see #getContext()
+ * @return the meta object for the attribute '<em>Image</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Tab#getImage()
+ * @see #getTab()
* @generated
*/
- EReference getContext_Tabs();
+ EAttribute getTab_Image();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.contexts.Context#getDataContexts <em>Data Contexts</em>}'.
+ * Returns the meta object for the reference '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getAfterTab <em>After Tab</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Data Contexts</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Context#getDataContexts()
- * @see #getContext()
+ * @return the meta object for the reference '<em>After Tab</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Tab#getAfterTab()
+ * @see #getTab()
* @generated
*/
- EReference getContext_DataContexts();
+ EReference getTab_AfterTab();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.views.properties.contexts.Context#getDependencies <em>Dependencies</em>}'.
+ * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getSections <em>Sections</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Dependencies</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Context#getDependencies()
- * @see #getContext()
+ * @return the meta object for the containment reference list '<em>Sections</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Tab#getSections()
+ * @see #getTab()
* @generated
*/
- EReference getContext_Dependencies();
+ EReference getTab_Sections();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.DisplayUnit <em>Display Unit</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#isIndented <em>Indented</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for class '<em>Display Unit</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.DisplayUnit
+ * @return the meta object for the attribute '<em>Indented</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Tab#isIndented()
+ * @see #getTab()
* @generated
*/
- EClass getDisplayUnit();
+ EAttribute getTab_Indented();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.contexts.DisplayUnit#getConstraints <em>Constraints</em>}'.
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getPriority <em>Priority</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Constraints</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.DisplayUnit#getConstraints()
- * @see #getDisplayUnit()
+ * @return the meta object for the attribute '<em>Priority</em>'.
+ * @see org.eclipse.papyrus.views.properties.contexts.Tab#getPriority()
+ * @see #getTab()
* @generated
*/
- EReference getDisplayUnit_Constraints();
+ EAttribute getTab_Priority();
/**
* Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.View <em>View</em>}'.
@@ -1164,17 +925,6 @@ public interface ContextsPackage extends EPackage {
EReference getView_Sections();
/**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.View#getElementMultiplicity <em>Element Multiplicity</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Element Multiplicity</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.View#getElementMultiplicity()
- * @see #getView()
- * @generated
- */
- EAttribute getView_ElementMultiplicity();
-
- /**
* Returns the meta object for the container reference '{@link org.eclipse.papyrus.views.properties.contexts.View#getContext <em>Context</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1208,104 +958,6 @@ public interface ContextsPackage extends EPackage {
EReference getView_Datacontexts();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.Tab <em>Tab</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Tab</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Tab
- * @generated
- */
- EClass getTab();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getLabel <em>Label</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Label</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Tab#getLabel()
- * @see #getTab()
- * @generated
- */
- EAttribute getTab_Label();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getId <em>Id</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Id</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Tab#getId()
- * @see #getTab()
- * @generated
- */
- EAttribute getTab_Id();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getCategory <em>Category</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Category</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Tab#getCategory()
- * @see #getTab()
- * @generated
- */
- EAttribute getTab_Category();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getImage <em>Image</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Image</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Tab#getImage()
- * @see #getTab()
- * @generated
- */
- EAttribute getTab_Image();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getAfterTab <em>After Tab</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>After Tab</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Tab#getAfterTab()
- * @see #getTab()
- * @generated
- */
- EReference getTab_AfterTab();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getSections <em>Sections</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Sections</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Tab#getSections()
- * @see #getTab()
- * @generated
- */
- EReference getTab_Sections();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#isIndented <em>Indented</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Indented</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Tab#isIndented()
- * @see #getTab()
- * @generated
- */
- EAttribute getTab_Indented();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.Tab#getPriority <em>Priority</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Priority</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.Tab#getPriority()
- * @see #getTab()
- * @generated
- */
- EAttribute getTab_Priority();
-
- /**
* Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.Section <em>Section</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1553,176 +1205,6 @@ public interface ContextsPackage extends EPackage {
EReference getDataContextRoot_ModelElementFactory();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor <em>Constraint Descriptor</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Constraint Descriptor</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor
- * @generated
- */
- EClass getConstraintDescriptor();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getName()
- * @see #getConstraintDescriptor()
- * @generated
- */
- EAttribute getConstraintDescriptor_Name();
-
- /**
- * Returns the meta object for the container reference '{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getDisplay <em>Display</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the container reference '<em>Display</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getDisplay()
- * @see #getConstraintDescriptor()
- * @generated
- */
- EReference getConstraintDescriptor_Display();
-
- /**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getOverriddenConstraints <em>Overridden Constraints</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference list '<em>Overridden Constraints</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getOverriddenConstraints()
- * @see #getConstraintDescriptor()
- * @generated
- */
- EReference getConstraintDescriptor_OverriddenConstraints();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint <em>Simple Constraint</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Simple Constraint</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.SimpleConstraint
- * @generated
- */
- EClass getSimpleConstraint();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint#getConstraintType <em>Constraint Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Constraint Type</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.SimpleConstraint#getConstraintType()
- * @see #getSimpleConstraint()
- * @generated
- */
- EReference getSimpleConstraint_ConstraintType();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint#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.views.properties.contexts.SimpleConstraint#getProperties()
- * @see #getSimpleConstraint()
- * @generated
- */
- EReference getSimpleConstraint_Properties();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.CompositeConstraint <em>Composite Constraint</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Composite Constraint</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.CompositeConstraint
- * @generated
- */
- EClass getCompositeConstraint();
-
- /**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.contexts.CompositeConstraint#getConstraints <em>Constraints</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Constraints</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.CompositeConstraint#getConstraints()
- * @see #getCompositeConstraint()
- * @generated
- */
- EReference getCompositeConstraint_Constraints();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#isOverrideable <em>Overrideable</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Overrideable</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#isOverrideable()
- * @see #getConstraintDescriptor()
- * @generated
- */
- EAttribute getConstraintDescriptor_Overrideable();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.ConfigProperty <em>Config Property</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Config Property</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.ConfigProperty
- * @generated
- */
- EClass getConfigProperty();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.ConfigProperty#getName <em>Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Name</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.ConfigProperty#getName()
- * @see #getConfigProperty()
- * @generated
- */
- EAttribute getConfigProperty_Name();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.ValueProperty <em>Value Property</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Value Property</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.ValueProperty
- * @generated
- */
- EClass getValueProperty();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.contexts.ValueProperty#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Value</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.ValueProperty#getValue()
- * @see #getValueProperty()
- * @generated
- */
- EAttribute getValueProperty_Value();
-
- /**
- * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.contexts.ReferenceProperty <em>Reference Property</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Reference Property</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.ReferenceProperty
- * @generated
- */
- EClass getReferenceProperty();
-
- /**
- * Returns the meta object for the reference '{@link org.eclipse.papyrus.views.properties.contexts.ReferenceProperty#getValue <em>Value</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the reference '<em>Value</em>'.
- * @see org.eclipse.papyrus.views.properties.contexts.ReferenceProperty#getValue()
- * @see #getReferenceProperty()
- * @generated
- */
- EReference getReferenceProperty_Value();
-
- /**
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1735,15 +1217,16 @@ public interface ContextsPackage extends EPackage {
* <!-- 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>
+ * <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.views.properties.contexts.impl.ContextImpl <em>Context</em>}' class.
* <!-- begin-user-doc -->
@@ -1763,30 +1246,6 @@ public interface ContextsPackage extends EPackage {
EAttribute CONTEXT__NAME = eINSTANCE.getContext_Name();
/**
- * The meta object literal for the '<em><b>Views</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONTEXT__VIEWS = eINSTANCE.getContext_Views();
-
- /**
- * The meta object literal for the '<em><b>Tabs</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONTEXT__TABS = eINSTANCE.getContext_Tabs();
-
- /**
- * The meta object literal for the '<em><b>Data Contexts</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONTEXT__DATA_CONTEXTS = eINSTANCE.getContext_DataContexts();
-
- /**
* The meta object literal for the '<em><b>Dependencies</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1795,154 +1254,152 @@ public interface ContextsPackage extends EPackage {
EReference CONTEXT__DEPENDENCIES = eINSTANCE.getContext_Dependencies();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.DisplayUnitImpl <em>Display Unit</em>}' class.
+ * The meta object literal for the '<em><b>Tabs</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.DisplayUnitImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getDisplayUnit()
* @generated
*/
- EClass DISPLAY_UNIT = eINSTANCE.getDisplayUnit();
+ EReference CONTEXT__TABS = eINSTANCE.getContext_Tabs();
/**
- * The meta object literal for the '<em><b>Constraints</b></em>' containment reference list feature.
+ * The meta object literal for the '<em><b>Views</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference DISPLAY_UNIT__CONSTRAINTS = eINSTANCE.getDisplayUnit_Constraints();
+ EReference CONTEXT__VIEWS = eINSTANCE.getContext_Views();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl <em>View</em>}' class.
+ * The meta object literal for the '<em><b>Data Contexts</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getView()
* @generated
*/
- EClass VIEW = eINSTANCE.getView();
+ EReference CONTEXT__DATA_CONTEXTS = eINSTANCE.getContext_DataContexts();
/**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
+ * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.TabImpl <em>Tab</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.views.properties.contexts.impl.TabImpl
+ * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getTab()
* @generated
*/
- EAttribute VIEW__NAME = eINSTANCE.getView_Name();
+ EClass TAB = eINSTANCE.getTab();
/**
- * The meta object literal for the '<em><b>Sections</b></em>' reference list feature.
+ * The meta object literal for the '<em><b>Label</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference VIEW__SECTIONS = eINSTANCE.getView_Sections();
+ EAttribute TAB__LABEL = eINSTANCE.getTab_Label();
/**
- * The meta object literal for the '<em><b>Element Multiplicity</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EAttribute VIEW__ELEMENT_MULTIPLICITY = eINSTANCE.getView_ElementMultiplicity();
+ EAttribute TAB__ID = eINSTANCE.getTab_Id();
/**
- * The meta object literal for the '<em><b>Context</b></em>' container reference feature.
+ * The meta object literal for the '<em><b>Category</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference VIEW__CONTEXT = eINSTANCE.getView_Context();
+ EAttribute TAB__CATEGORY = eINSTANCE.getTab_Category();
/**
- * The meta object literal for the '<em><b>Automatic Context</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Image</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EAttribute VIEW__AUTOMATIC_CONTEXT = eINSTANCE.getView_AutomaticContext();
+ EAttribute TAB__IMAGE = eINSTANCE.getTab_Image();
/**
- * The meta object literal for the '<em><b>Datacontexts</b></em>' reference list feature.
+ * The meta object literal for the '<em><b>After Tab</b></em>' reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference VIEW__DATACONTEXTS = eINSTANCE.getView_Datacontexts();
+ EReference TAB__AFTER_TAB = eINSTANCE.getTab_AfterTab();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.TabImpl <em>Tab</em>}' class.
+ * The meta object literal for the '<em><b>Sections</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.TabImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getTab()
* @generated
*/
- EClass TAB = eINSTANCE.getTab();
+ EReference TAB__SECTIONS = eINSTANCE.getTab_Sections();
/**
- * The meta object literal for the '<em><b>Label</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Indented</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EAttribute TAB__LABEL = eINSTANCE.getTab_Label();
+ EAttribute TAB__INDENTED = eINSTANCE.getTab_Indented();
/**
- * The meta object literal for the '<em><b>Id</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Priority</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EAttribute TAB__ID = eINSTANCE.getTab_Id();
+ EAttribute TAB__PRIORITY = eINSTANCE.getTab_Priority();
/**
- * The meta object literal for the '<em><b>Category</b></em>' attribute feature.
+ * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl <em>View</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl
+ * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getView()
* @generated
*/
- EAttribute TAB__CATEGORY = eINSTANCE.getTab_Category();
+ EClass VIEW = eINSTANCE.getView();
/**
- * The meta object literal for the '<em><b>Image</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EAttribute TAB__IMAGE = eINSTANCE.getTab_Image();
+ EAttribute VIEW__NAME = eINSTANCE.getView_Name();
/**
- * The meta object literal for the '<em><b>After Tab</b></em>' reference feature.
+ * The meta object literal for the '<em><b>Sections</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference TAB__AFTER_TAB = eINSTANCE.getTab_AfterTab();
+ EReference VIEW__SECTIONS = eINSTANCE.getView_Sections();
/**
- * The meta object literal for the '<em><b>Sections</b></em>' containment reference list feature.
+ * The meta object literal for the '<em><b>Context</b></em>' container reference feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EReference TAB__SECTIONS = eINSTANCE.getTab_Sections();
+ EReference VIEW__CONTEXT = eINSTANCE.getView_Context();
/**
- * The meta object literal for the '<em><b>Indented</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Automatic Context</b></em>' attribute feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EAttribute TAB__INDENTED = eINSTANCE.getTab_Indented();
+ EAttribute VIEW__AUTOMATIC_CONTEXT = eINSTANCE.getView_AutomaticContext();
/**
- * The meta object literal for the '<em><b>Priority</b></em>' attribute feature.
+ * The meta object literal for the '<em><b>Datacontexts</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- EAttribute TAB__PRIORITY = eINSTANCE.getTab_Priority();
+ EReference VIEW__DATACONTEXTS = eINSTANCE.getView_Datacontexts();
/**
* The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.SectionImpl <em>Section</em>}' class.
@@ -2140,146 +1597,6 @@ public interface ContextsPackage extends EPackage {
*/
EReference DATA_CONTEXT_ROOT__MODEL_ELEMENT_FACTORY = eINSTANCE.getDataContextRoot_ModelElementFactory();
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ConstraintDescriptorImpl <em>Constraint Descriptor</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ConstraintDescriptorImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getConstraintDescriptor()
- * @generated
- */
- EClass CONSTRAINT_DESCRIPTOR = eINSTANCE.getConstraintDescriptor();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONSTRAINT_DESCRIPTOR__NAME = eINSTANCE.getConstraintDescriptor_Name();
-
- /**
- * The meta object literal for the '<em><b>Display</b></em>' container reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONSTRAINT_DESCRIPTOR__DISPLAY = eINSTANCE.getConstraintDescriptor_Display();
-
- /**
- * The meta object literal for the '<em><b>Overridden Constraints</b></em>' reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference CONSTRAINT_DESCRIPTOR__OVERRIDDEN_CONSTRAINTS = eINSTANCE.getConstraintDescriptor_OverriddenConstraints();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.SimpleConstraintImpl <em>Simple Constraint</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.SimpleConstraintImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getSimpleConstraint()
- * @generated
- */
- EClass SIMPLE_CONSTRAINT = eINSTANCE.getSimpleConstraint();
-
- /**
- * The meta object literal for the '<em><b>Constraint Type</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SIMPLE_CONSTRAINT__CONSTRAINT_TYPE = eINSTANCE.getSimpleConstraint_ConstraintType();
-
- /**
- * The meta object literal for the '<em><b>Properties</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference SIMPLE_CONSTRAINT__PROPERTIES = eINSTANCE.getSimpleConstraint_Properties();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.CompositeConstraintImpl <em>Composite Constraint</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.CompositeConstraintImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getCompositeConstraint()
- * @generated
- */
- EClass COMPOSITE_CONSTRAINT = eINSTANCE.getCompositeConstraint();
-
- /**
- * The meta object literal for the '<em><b>Constraints</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference COMPOSITE_CONSTRAINT__CONSTRAINTS = eINSTANCE.getCompositeConstraint_Constraints();
-
- /**
- * The meta object literal for the '<em><b>Overrideable</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONSTRAINT_DESCRIPTOR__OVERRIDEABLE = eINSTANCE.getConstraintDescriptor_Overrideable();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ConfigPropertyImpl <em>Config Property</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ConfigPropertyImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getConfigProperty()
- * @generated
- */
- EClass CONFIG_PROPERTY = eINSTANCE.getConfigProperty();
-
- /**
- * The meta object literal for the '<em><b>Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONFIG_PROPERTY__NAME = eINSTANCE.getConfigProperty_Name();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ValuePropertyImpl <em>Value Property</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ValuePropertyImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getValueProperty()
- * @generated
- */
- EClass VALUE_PROPERTY = eINSTANCE.getValueProperty();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute VALUE_PROPERTY__VALUE = eINSTANCE.getValueProperty_Value();
-
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.contexts.impl.ReferencePropertyImpl <em>Reference Property</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ReferencePropertyImpl
- * @see org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl#getReferenceProperty()
- * @generated
- */
- EClass REFERENCE_PROPERTY = eINSTANCE.getReferenceProperty();
-
- /**
- * The meta object literal for the '<em><b>Value</b></em>' reference feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference REFERENCE_PROPERTY__VALUE = eINSTANCE.getReferenceProperty_Value();
-
}
} //ContextsPackage
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextElement.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextElement.java
index 25774bcd0e8..c62a6778dff 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextElement.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextElement.java
@@ -1,18 +1,12 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts;
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EObject;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextPackage.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextPackage.java
index 5cbcc0849cc..c6642b25f13 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextPackage.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextPackage.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts;
import org.eclipse.emf.common.util.EList;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextRoot.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextRoot.java
index 0bd6a8333bc..e1161d77269 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextRoot.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DataContextRoot.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts;
import org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DisplayUnit.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DisplayUnit.java
deleted file mode 100644
index ecfe2e298b5..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/DisplayUnit.java
+++ /dev/null
@@ -1,53 +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.views.properties.contexts;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Display Unit</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.DisplayUnit#getConstraints <em>Constraints</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getDisplayUnit()
- * @model abstract="true"
- * @generated
- */
-public interface DisplayUnit extends EObject {
- /**
- * Returns the value of the '<em><b>Constraints</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor}.
- * It is bidirectional and its opposite is '{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getDisplay <em>Display</em>}'.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Constraints</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>Constraints</em>' containment reference list.
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getDisplayUnit_Constraints()
- * @see org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor#getDisplay
- * @model opposite="display" containment="true"
- * @generated
- */
- EList<ConstraintDescriptor> getConstraints();
-
-} // DisplayUnit
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Property.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Property.java
index 302fc83ea3b..01b10b49933 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Property.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Property.java
@@ -1,18 +1,12 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts;
import org.eclipse.emf.ecore.EObject;
-
import org.eclipse.papyrus.views.properties.environment.Type;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ReferenceProperty.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ReferenceProperty.java
deleted file mode 100644
index 3c35ec4ca74..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ReferenceProperty.java
+++ /dev/null
@@ -1,59 +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.views.properties.contexts;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Reference Property</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.ReferenceProperty#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getReferenceProperty()
- * @model
- * @generated
- */
-public interface ReferenceProperty extends ConfigProperty {
- /**
- * Returns the value of the '<em><b>Value</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Value</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Value</em>' reference.
- * @see #setValue(EObject)
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getReferenceProperty_Value()
- * @model required="true"
- * @generated
- */
- EObject getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.ReferenceProperty#getValue <em>Value</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Value</em>' reference.
- * @see #getValue()
- * @generated
- */
- void setValue(EObject value);
-
-} // ReferenceProperty
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Section.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Section.java
index 5858beac742..1be9a5b6db6 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Section.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Section.java
@@ -1,16 +1,12 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts;
+import org.eclipse.papyrus.infra.constraints.DisplayUnit;
import org.eclipse.papyrus.views.properties.ui.CompositeWidget;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/SimpleConstraint.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/SimpleConstraint.java
deleted file mode 100644
index 504c4f47f94..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/SimpleConstraint.java
+++ /dev/null
@@ -1,78 +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.views.properties.contexts;
-
-import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.papyrus.views.properties.environment.ConstraintType;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Simple Constraint</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint#getConstraintType <em>Constraint Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint#getProperties <em>Properties</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getSimpleConstraint()
- * @model
- * @generated
- */
-public interface SimpleConstraint extends ConstraintDescriptor {
- /**
- * Returns the value of the '<em><b>Constraint Type</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Constraint Type</em>' reference isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Constraint Type</em>' reference.
- * @see #setConstraintType(ConstraintType)
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getSimpleConstraint_ConstraintType()
- * @model required="true"
- * @generated
- */
- ConstraintType getConstraintType();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint#getConstraintType <em>Constraint Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Constraint Type</em>' reference.
- * @see #getConstraintType()
- * @generated
- */
- void setConstraintType(ConstraintType value);
-
- /**
- * Returns the value of the '<em><b>Properties</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.views.properties.contexts.ConfigProperty}.
- * <!-- 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.views.properties.contexts.ContextsPackage#getSimpleConstraint_Properties()
- * @model containment="true"
- * @generated
- */
- EList<ConfigProperty> getProperties();
-
-} // SimpleConstraint
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Tab.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Tab.java
index 71245dd3ee1..71a08fec87c 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Tab.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/Tab.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts;
import org.eclipse.emf.common.util.EList;
@@ -38,12 +33,12 @@ import org.eclipse.emf.ecore.EObject;
* @generated
*/
public interface Tab extends EObject {
-
/**
* Returns the value of the '<em><b>Label</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Label</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Label</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Label</em>' attribute.
@@ -68,7 +63,8 @@ public interface Tab extends EObject {
* Returns the value of the '<em><b>Id</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Id</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>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>Id</em>' attribute.
@@ -93,7 +89,8 @@ public interface Tab extends EObject {
* Returns the value of the '<em><b>Category</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Category</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Category</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Category</em>' attribute.
@@ -118,7 +115,8 @@ public interface Tab extends EObject {
* Returns the value of the '<em><b>Image</b></em>' attribute.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Image</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Image</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Image</em>' attribute.
@@ -143,7 +141,8 @@ public interface Tab extends EObject {
* Returns the value of the '<em><b>After Tab</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>After Tab</em>' reference isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>After Tab</em>' reference isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>After Tab</em>' reference.
@@ -170,7 +169,8 @@ public interface Tab extends EObject {
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.views.properties.contexts.Section#getTab <em>Tab</em>}'.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Sections</em>' containment reference list isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Sections</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>Sections</em>' containment reference list.
@@ -186,7 +186,8 @@ public interface Tab extends EObject {
* The default value is <code>"false"</code>.
* <!-- begin-user-doc -->
* <p>
- * If the meaning of the '<em>Indented</em>' attribute isn't clear, there really should be more of a description here...
+ * If the meaning of the '<em>Indented</em>' attribute isn't clear,
+ * there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Indented</em>' attribute.
@@ -232,4 +233,5 @@ public interface Tab extends EObject {
* @generated
*/
void setPriority(int value);
+
} // Tab
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/UnknownProperty.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/UnknownProperty.java
index 72bf472ce77..a56693df028 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/UnknownProperty.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/UnknownProperty.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ValueProperty.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ValueProperty.java
deleted file mode 100644
index 358ac0d6c97..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/ValueProperty.java
+++ /dev/null
@@ -1,58 +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.views.properties.contexts;
-
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Value Property</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.ValueProperty#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getValueProperty()
- * @model
- * @generated
- */
-public interface ValueProperty extends ConfigProperty {
- /**
- * 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.views.properties.contexts.ContextsPackage#getValueProperty_Value()
- * @model required="true"
- * @generated
- */
- String getValue();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.ValueProperty#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);
-
-} // ValueProperty
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/View.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/View.java
index a8295a84677..3164d975a2b 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/View.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/View.java
@@ -1,17 +1,13 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts;
import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.infra.constraints.DisplayUnit;
/**
* <!-- begin-user-doc -->
@@ -23,7 +19,6 @@ import org.eclipse.emf.common.util.EList;
* <ul>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.View#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.View#getSections <em>Sections</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.View#getElementMultiplicity <em>Element Multiplicity</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.View#getContext <em>Context</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.View#isAutomaticContext <em>Automatic Context</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.View#getDatacontexts <em>Datacontexts</em>}</li>
@@ -78,33 +73,6 @@ public interface View extends DisplayUnit {
EList<Section> getSections();
/**
- * Returns the value of the '<em><b>Element Multiplicity</b></em>' attribute.
- * The default value is <code>"1"</code>.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Element Multiplicity</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Element Multiplicity</em>' attribute.
- * @see #setElementMultiplicity(int)
- * @see org.eclipse.papyrus.views.properties.contexts.ContextsPackage#getView_ElementMultiplicity()
- * @model default="1" required="true"
- * @generated
- */
- int getElementMultiplicity();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.views.properties.contexts.View#getElementMultiplicity <em>Element Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Element Multiplicity</em>' attribute.
- * @see #getElementMultiplicity()
- * @generated
- */
- void setElementMultiplicity(int value);
-
- /**
* Returns the value of the '<em><b>Context</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.papyrus.views.properties.contexts.Context#getViews <em>Views</em>}'.
* <!-- begin-user-doc -->
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/CompositeConstraintImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/CompositeConstraintImpl.java
deleted file mode 100644
index 38758e1ffd3..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/CompositeConstraintImpl.java
+++ /dev/null
@@ -1,159 +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.views.properties.contexts.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.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.views.properties.contexts.CompositeConstraint;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Composite Constraint</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.CompositeConstraintImpl#getConstraints <em>Constraints</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class CompositeConstraintImpl extends ConstraintDescriptorImpl implements CompositeConstraint {
- /**
- * The cached value of the '{@link #getConstraints() <em>Constraints</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConstraints()
- * @generated
- * @ordered
- */
- protected EList<SimpleConstraint> constraints;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected CompositeConstraintImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ContextsPackage.Literals.COMPOSITE_CONSTRAINT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<SimpleConstraint> getConstraints() {
- if (constraints == null) {
- constraints = new EObjectContainmentEList<SimpleConstraint>(SimpleConstraint.class, this, ContextsPackage.COMPOSITE_CONSTRAINT__CONSTRAINTS);
- }
- return constraints;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ContextsPackage.COMPOSITE_CONSTRAINT__CONSTRAINTS:
- return ((InternalEList<?>)getConstraints()).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 ContextsPackage.COMPOSITE_CONSTRAINT__CONSTRAINTS:
- return getConstraints();
- }
- 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 ContextsPackage.COMPOSITE_CONSTRAINT__CONSTRAINTS:
- getConstraints().clear();
- getConstraints().addAll((Collection<? extends SimpleConstraint>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ContextsPackage.COMPOSITE_CONSTRAINT__CONSTRAINTS:
- getConstraints().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ContextsPackage.COMPOSITE_CONSTRAINT__CONSTRAINTS:
- return constraints != null && !constraints.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //CompositeConstraintImpl
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ConfigPropertyImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ConfigPropertyImpl.java
deleted file mode 100644
index 8405acb0221..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ConfigPropertyImpl.java
+++ /dev/null
@@ -1,172 +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.views.properties.contexts.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.views.properties.contexts.ConfigProperty;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Config Property</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ConfigPropertyImpl#getName <em>Name</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class ConfigPropertyImpl extends EObjectImpl implements ConfigProperty {
- /**
- * 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 ConfigPropertyImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ContextsPackage.Literals.CONFIG_PROPERTY;
- }
-
- /**
- * <!-- 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, ContextsPackage.CONFIG_PROPERTY__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ContextsPackage.CONFIG_PROPERTY__NAME:
- return getName();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ContextsPackage.CONFIG_PROPERTY__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 ContextsPackage.CONFIG_PROPERTY__NAME:
- setName(NAME_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ContextsPackage.CONFIG_PROPERTY__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();
- }
-
-} //ConfigPropertyImpl
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ConstraintDescriptorImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ConstraintDescriptorImpl.java
deleted file mode 100644
index c6c6c101379..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ConstraintDescriptorImpl.java
+++ /dev/null
@@ -1,373 +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.views.properties.contexts.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.EObjectResolvingEList;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-
-import org.eclipse.papyrus.views.properties.contexts.ConfigProperty;
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.contexts.DisplayUnit;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
-import org.eclipse.papyrus.views.properties.environment.ConstraintType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Constraint Descriptor</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ConstraintDescriptorImpl#getName <em>Name</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ConstraintDescriptorImpl#getDisplay <em>Display</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ConstraintDescriptorImpl#isOverrideable <em>Overrideable</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ConstraintDescriptorImpl#getOverriddenConstraints <em>Overridden Constraints</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class ConstraintDescriptorImpl extends EObjectImpl implements ConstraintDescriptor {
- /**
- * 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 #isOverrideable() <em>Overrideable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isOverrideable()
- * @generated
- * @ordered
- */
- protected static final boolean OVERRIDEABLE_EDEFAULT = true;
-
- /**
- * The cached value of the '{@link #isOverrideable() <em>Overrideable</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #isOverrideable()
- * @generated
- * @ordered
- */
- protected boolean overrideable = OVERRIDEABLE_EDEFAULT;
-
- /**
- * The cached value of the '{@link #getOverriddenConstraints() <em>Overridden Constraints</em>}' reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getOverriddenConstraints()
- * @generated
- * @ordered
- */
- protected EList<SimpleConstraint> overriddenConstraints;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ConstraintDescriptorImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ContextsPackage.Literals.CONSTRAINT_DESCRIPTOR;
- }
-
- /**
- * <!-- 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, ContextsPackage.CONSTRAINT_DESCRIPTOR__NAME, oldName, name));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public DisplayUnit getDisplay() {
- if (eContainerFeatureID() != ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY) return null;
- return (DisplayUnit)eContainer();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public NotificationChain basicSetDisplay(DisplayUnit newDisplay, NotificationChain msgs) {
- msgs = eBasicSetContainer((InternalEObject)newDisplay, ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY, msgs);
- return msgs;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setDisplay(DisplayUnit newDisplay) {
- if (newDisplay != eInternalContainer() || (eContainerFeatureID() != ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY && newDisplay != null)) {
- if (EcoreUtil.isAncestor(this, newDisplay))
- throw new IllegalArgumentException("Recursive containment not allowed for " + toString());
- NotificationChain msgs = null;
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- if (newDisplay != null)
- msgs = ((InternalEObject)newDisplay).eInverseAdd(this, ContextsPackage.DISPLAY_UNIT__CONSTRAINTS, DisplayUnit.class, msgs);
- msgs = basicSetDisplay(newDisplay, msgs);
- if (msgs != null) msgs.dispatch();
- }
- else if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY, newDisplay, newDisplay));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<SimpleConstraint> getOverriddenConstraints() {
- if (overriddenConstraints == null) {
- overriddenConstraints = new EObjectResolvingEList<SimpleConstraint>(SimpleConstraint.class, this, ContextsPackage.CONSTRAINT_DESCRIPTOR__OVERRIDDEN_CONSTRAINTS);
- }
- return overriddenConstraints;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public boolean isOverrideable() {
- return overrideable;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setOverrideable(boolean newOverrideable) {
- boolean oldOverrideable = overrideable;
- overrideable = newOverrideable;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ContextsPackage.CONSTRAINT_DESCRIPTOR__OVERRIDEABLE, oldOverrideable, overrideable));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY:
- if (eInternalContainer() != null)
- msgs = eBasicRemoveFromContainer(msgs);
- return basicSetDisplay((DisplayUnit)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 ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY:
- return basicSetDisplay(null, msgs);
- }
- return super.eInverseRemove(otherEnd, featureID, msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eBasicRemoveFromContainerFeature(NotificationChain msgs) {
- switch (eContainerFeatureID()) {
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY:
- return eInternalContainer().eInverseRemove(this, ContextsPackage.DISPLAY_UNIT__CONSTRAINTS, DisplayUnit.class, msgs);
- }
- return super.eBasicRemoveFromContainerFeature(msgs);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__NAME:
- return getName();
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY:
- return getDisplay();
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__OVERRIDEABLE:
- return isOverrideable();
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__OVERRIDDEN_CONSTRAINTS:
- return getOverriddenConstraints();
- }
- 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 ContextsPackage.CONSTRAINT_DESCRIPTOR__NAME:
- setName((String)newValue);
- return;
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY:
- setDisplay((DisplayUnit)newValue);
- return;
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__OVERRIDEABLE:
- setOverrideable((Boolean)newValue);
- return;
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__OVERRIDDEN_CONSTRAINTS:
- getOverriddenConstraints().clear();
- getOverriddenConstraints().addAll((Collection<? extends SimpleConstraint>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__NAME:
- setName(NAME_EDEFAULT);
- return;
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY:
- setDisplay((DisplayUnit)null);
- return;
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__OVERRIDEABLE:
- setOverrideable(OVERRIDEABLE_EDEFAULT);
- return;
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__OVERRIDDEN_CONSTRAINTS:
- getOverriddenConstraints().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__NAME:
- return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY:
- return getDisplay() != null;
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__OVERRIDEABLE:
- return overrideable != OVERRIDEABLE_EDEFAULT;
- case ContextsPackage.CONSTRAINT_DESCRIPTOR__OVERRIDDEN_CONSTRAINTS:
- return overriddenConstraints != null && !overriddenConstraints.isEmpty();
- }
- 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(", overrideable: ");
- result.append(overrideable);
- result.append(')');
- return result.toString();
- }
-
-} //ConstraintDescriptorImpl
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextImpl.java
index 0fcedf2063b..b36eda8f8f4 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextImpl.java
@@ -1,35 +1,24 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.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.EModelElementImpl;
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.EObjectContainmentWithInverseEList;
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.eclipse.emf.ecore.util.InternalEList;
-
import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.DataContextRoot;
@@ -159,11 +148,11 @@ public class ContextImpl extends EModelElementImpl implements Context {
* <!-- end-user-doc -->
* @generated
*/
- public EList<View> getViews() {
- if (views == null) {
- views = new EObjectContainmentWithInverseEList<View>(View.class, this, ContextsPackage.CONTEXT__VIEWS, ContextsPackage.VIEW__CONTEXT);
+ public EList<Context> getDependencies() {
+ if (dependencies == null) {
+ dependencies = new EObjectResolvingEList<Context>(Context.class, this, ContextsPackage.CONTEXT__DEPENDENCIES);
}
- return views;
+ return dependencies;
}
/**
@@ -183,11 +172,11 @@ public class ContextImpl extends EModelElementImpl implements Context {
* <!-- end-user-doc -->
* @generated
*/
- public EList<DataContextRoot> getDataContexts() {
- if (dataContexts == null) {
- dataContexts = new EObjectContainmentEList<DataContextRoot>(DataContextRoot.class, this, ContextsPackage.CONTEXT__DATA_CONTEXTS);
+ public EList<View> getViews() {
+ if (views == null) {
+ views = new EObjectContainmentWithInverseEList<View>(View.class, this, ContextsPackage.CONTEXT__VIEWS, ContextsPackage.VIEW__CONTEXT);
}
- return dataContexts;
+ return views;
}
/**
@@ -195,11 +184,11 @@ public class ContextImpl extends EModelElementImpl implements Context {
* <!-- end-user-doc -->
* @generated
*/
- public EList<Context> getDependencies() {
- if (dependencies == null) {
- dependencies = new EObjectResolvingEList<Context>(Context.class, this, ContextsPackage.CONTEXT__DEPENDENCIES);
+ public EList<DataContextRoot> getDataContexts() {
+ if (dataContexts == null) {
+ dataContexts = new EObjectContainmentEList<DataContextRoot>(DataContextRoot.class, this, ContextsPackage.CONTEXT__DATA_CONTEXTS);
}
- return dependencies;
+ return dataContexts;
}
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextsFactoryImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextsFactoryImpl.java
index 4194a511e78..728ec8bc58d 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextsFactoryImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextsFactoryImpl.java
@@ -1,25 +1,28 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.impl;
import org.eclipse.emf.ecore.EClass;
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.views.properties.contexts.*;
+import org.eclipse.papyrus.views.properties.contexts.Context;
+import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
+import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
+import org.eclipse.papyrus.views.properties.contexts.DataContextElement;
+import org.eclipse.papyrus.views.properties.contexts.DataContextPackage;
+import org.eclipse.papyrus.views.properties.contexts.DataContextRoot;
+import org.eclipse.papyrus.views.properties.contexts.Property;
+import org.eclipse.papyrus.views.properties.contexts.Section;
+import org.eclipse.papyrus.views.properties.contexts.Tab;
+import org.eclipse.papyrus.views.properties.contexts.UnknownProperty;
+import org.eclipse.papyrus.views.properties.contexts.View;
/**
* <!-- begin-user-doc -->
@@ -28,6 +31,7 @@ import org.eclipse.papyrus.views.properties.contexts.*;
* @generated
*/
public class ContextsFactoryImpl extends EFactoryImpl implements ContextsFactory {
+
/**
* Creates the default factory implementation.
* <!-- begin-user-doc -->
@@ -36,7 +40,7 @@ public class ContextsFactoryImpl extends EFactoryImpl implements ContextsFactory
*/
public static ContextsFactory init() {
try {
- ContextsFactory theContextsFactory = (ContextsFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/contexts");
+ ContextsFactory theContextsFactory = (ContextsFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/contexts/0.9");
if (theContextsFactory != null) {
return theContextsFactory;
}
@@ -74,10 +78,6 @@ public class ContextsFactoryImpl extends EFactoryImpl implements ContextsFactory
case ContextsPackage.UNKNOWN_PROPERTY: return createUnknownProperty();
case ContextsPackage.DATA_CONTEXT_PACKAGE: return createDataContextPackage();
case ContextsPackage.DATA_CONTEXT_ROOT: return createDataContextRoot();
- case ContextsPackage.SIMPLE_CONSTRAINT: return createSimpleConstraint();
- case ContextsPackage.COMPOSITE_CONSTRAINT: return createCompositeConstraint();
- case ContextsPackage.VALUE_PROPERTY: return createValueProperty();
- case ContextsPackage.REFERENCE_PROPERTY: return createReferenceProperty();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -98,9 +98,9 @@ public class ContextsFactoryImpl extends EFactoryImpl implements ContextsFactory
* <!-- end-user-doc -->
* @generated
*/
- public View createView() {
- ViewImpl view = new ViewImpl();
- return view;
+ public Tab createTab() {
+ TabImpl tab = new TabImpl();
+ return tab;
}
/**
@@ -108,9 +108,9 @@ public class ContextsFactoryImpl extends EFactoryImpl implements ContextsFactory
* <!-- end-user-doc -->
* @generated
*/
- public Tab createTab() {
- TabImpl tab = new TabImpl();
- return tab;
+ public View createView() {
+ ViewImpl view = new ViewImpl();
+ return view;
}
/**
@@ -178,46 +178,6 @@ public class ContextsFactoryImpl extends EFactoryImpl implements ContextsFactory
* <!-- end-user-doc -->
* @generated
*/
- public SimpleConstraint createSimpleConstraint() {
- SimpleConstraintImpl simpleConstraint = new SimpleConstraintImpl();
- return simpleConstraint;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public CompositeConstraint createCompositeConstraint() {
- CompositeConstraintImpl compositeConstraint = new CompositeConstraintImpl();
- return compositeConstraint;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ValueProperty createValueProperty() {
- ValuePropertyImpl valueProperty = new ValuePropertyImpl();
- return valueProperty;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ReferenceProperty createReferenceProperty() {
- ReferencePropertyImpl referenceProperty = new ReferencePropertyImpl();
- return referenceProperty;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public ContextsPackage getContextsPackage() {
return (ContextsPackage)getEPackage();
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextsPackageImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextsPackageImpl.java
index 5259bdc18ed..6bdca398770 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextsPackageImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ContextsPackageImpl.java
@@ -1,45 +1,28 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.impl;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
-
import org.eclipse.emf.ecore.EcorePackage;
import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-
-
-
-
-import org.eclipse.papyrus.views.properties.contexts.CompositeConstraint;
-import org.eclipse.papyrus.views.properties.contexts.ConfigProperty;
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
+import org.eclipse.papyrus.infra.constraints.ConstraintsPackage;
import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.contexts.ContextsFactory;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.DataContextElement;
import org.eclipse.papyrus.views.properties.contexts.DataContextPackage;
import org.eclipse.papyrus.views.properties.contexts.DataContextRoot;
-import org.eclipse.papyrus.views.properties.contexts.DisplayUnit;
import org.eclipse.papyrus.views.properties.contexts.Property;
-import org.eclipse.papyrus.views.properties.contexts.ReferenceProperty;
import org.eclipse.papyrus.views.properties.contexts.Section;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
import org.eclipse.papyrus.views.properties.contexts.Tab;
import org.eclipse.papyrus.views.properties.contexts.UnknownProperty;
-import org.eclipse.papyrus.views.properties.contexts.ValueProperty;
import org.eclipse.papyrus.views.properties.contexts.View;
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.impl.EnvironmentPackageImpl;
@@ -65,7 +48,7 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- private EClass displayUnitEClass = null;
+ private EClass tabEClass = null;
/**
* <!-- begin-user-doc -->
@@ -79,13 +62,6 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- private EClass tabEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
private EClass sectionEClass = null;
/**
@@ -124,48 +100,6 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
private EClass dataContextRootEClass = null;
/**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass constraintDescriptorEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass simpleConstraintEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass compositeConstraintEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass configPropertyEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass valuePropertyEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- private EClass referencePropertyEClass = 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.
@@ -212,6 +146,7 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
isInited = true;
// Initialize simple dependencies
+ ConstraintsPackage.eINSTANCE.eClass();
EcorePackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
@@ -260,33 +195,6 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EReference getContext_Views() {
- return (EReference)contextEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getContext_Tabs() {
- return (EReference)contextEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getContext_DataContexts() {
- return (EReference)contextEClass.getEStructuralFeatures().get(4);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public EReference getContext_Dependencies() {
return (EReference)contextEClass.getEStructuralFeatures().get(1);
}
@@ -296,8 +204,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EClass getDisplayUnit() {
- return displayUnitEClass;
+ public EReference getContext_Tabs() {
+ return (EReference)contextEClass.getEStructuralFeatures().get(2);
}
/**
@@ -305,8 +213,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EReference getDisplayUnit_Constraints() {
- return (EReference)displayUnitEClass.getEStructuralFeatures().get(0);
+ public EReference getContext_Views() {
+ return (EReference)contextEClass.getEStructuralFeatures().get(3);
}
/**
@@ -314,8 +222,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EClass getView() {
- return viewEClass;
+ public EReference getContext_DataContexts() {
+ return (EReference)contextEClass.getEStructuralFeatures().get(4);
}
/**
@@ -323,8 +231,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EAttribute getView_Name() {
- return (EAttribute)viewEClass.getEStructuralFeatures().get(0);
+ public EClass getTab() {
+ return tabEClass;
}
/**
@@ -332,8 +240,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EReference getView_Sections() {
- return (EReference)viewEClass.getEStructuralFeatures().get(1);
+ public EAttribute getTab_Label() {
+ return (EAttribute)tabEClass.getEStructuralFeatures().get(0);
}
/**
@@ -341,8 +249,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EAttribute getView_ElementMultiplicity() {
- return (EAttribute)viewEClass.getEStructuralFeatures().get(2);
+ public EAttribute getTab_Id() {
+ return (EAttribute)tabEClass.getEStructuralFeatures().get(1);
}
/**
@@ -350,8 +258,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EReference getView_Context() {
- return (EReference)viewEClass.getEStructuralFeatures().get(3);
+ public EAttribute getTab_Category() {
+ return (EAttribute)tabEClass.getEStructuralFeatures().get(2);
}
/**
@@ -359,8 +267,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EAttribute getView_AutomaticContext() {
- return (EAttribute)viewEClass.getEStructuralFeatures().get(4);
+ public EAttribute getTab_Image() {
+ return (EAttribute)tabEClass.getEStructuralFeatures().get(3);
}
/**
@@ -368,8 +276,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EReference getView_Datacontexts() {
- return (EReference)viewEClass.getEStructuralFeatures().get(5);
+ public EReference getTab_AfterTab() {
+ return (EReference)tabEClass.getEStructuralFeatures().get(4);
}
/**
@@ -377,8 +285,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EClass getTab() {
- return tabEClass;
+ public EReference getTab_Sections() {
+ return (EReference)tabEClass.getEStructuralFeatures().get(5);
}
/**
@@ -386,8 +294,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EAttribute getTab_Label() {
- return (EAttribute)tabEClass.getEStructuralFeatures().get(0);
+ public EAttribute getTab_Indented() {
+ return (EAttribute)tabEClass.getEStructuralFeatures().get(6);
}
/**
@@ -395,8 +303,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EAttribute getTab_Id() {
- return (EAttribute)tabEClass.getEStructuralFeatures().get(1);
+ public EAttribute getTab_Priority() {
+ return (EAttribute)tabEClass.getEStructuralFeatures().get(7);
}
/**
@@ -404,8 +312,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EAttribute getTab_Category() {
- return (EAttribute)tabEClass.getEStructuralFeatures().get(2);
+ public EClass getView() {
+ return viewEClass;
}
/**
@@ -413,8 +321,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EAttribute getTab_Image() {
- return (EAttribute)tabEClass.getEStructuralFeatures().get(3);
+ public EAttribute getView_Name() {
+ return (EAttribute)viewEClass.getEStructuralFeatures().get(0);
}
/**
@@ -422,8 +330,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EReference getTab_AfterTab() {
- return (EReference)tabEClass.getEStructuralFeatures().get(4);
+ public EReference getView_Sections() {
+ return (EReference)viewEClass.getEStructuralFeatures().get(1);
}
/**
@@ -431,8 +339,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EReference getTab_Sections() {
- return (EReference)tabEClass.getEStructuralFeatures().get(5);
+ public EReference getView_Context() {
+ return (EReference)viewEClass.getEStructuralFeatures().get(2);
}
/**
@@ -440,8 +348,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EAttribute getTab_Indented() {
- return (EAttribute)tabEClass.getEStructuralFeatures().get(6);
+ public EAttribute getView_AutomaticContext() {
+ return (EAttribute)viewEClass.getEStructuralFeatures().get(3);
}
/**
@@ -449,8 +357,8 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EAttribute getTab_Priority() {
- return (EAttribute)tabEClass.getEStructuralFeatures().get(7);
+ public EReference getView_Datacontexts() {
+ return (EReference)viewEClass.getEStructuralFeatures().get(4);
}
/**
@@ -665,150 +573,6 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
* <!-- end-user-doc -->
* @generated
*/
- public EClass getConstraintDescriptor() {
- return constraintDescriptorEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getConstraintDescriptor_Name() {
- return (EAttribute)constraintDescriptorEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getConstraintDescriptor_Display() {
- return (EReference)constraintDescriptorEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getConstraintDescriptor_OverriddenConstraints() {
- return (EReference)constraintDescriptorEClass.getEStructuralFeatures().get(3);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getSimpleConstraint() {
- return simpleConstraintEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSimpleConstraint_ConstraintType() {
- return (EReference)simpleConstraintEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getSimpleConstraint_Properties() {
- return (EReference)simpleConstraintEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getCompositeConstraint() {
- return compositeConstraintEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getCompositeConstraint_Constraints() {
- return (EReference)compositeConstraintEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getConstraintDescriptor_Overrideable() {
- return (EAttribute)constraintDescriptorEClass.getEStructuralFeatures().get(2);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getConfigProperty() {
- return configPropertyEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getConfigProperty_Name() {
- return (EAttribute)configPropertyEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getValueProperty() {
- return valuePropertyEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getValueProperty_Value() {
- return (EAttribute)valuePropertyEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EClass getReferenceProperty() {
- return referencePropertyEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EReference getReferenceProperty_Value() {
- return (EReference)referencePropertyEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public ContextsFactory getContextsFactory() {
return (ContextsFactory)getEFactoryInstance();
}
@@ -839,9 +603,6 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
createEReference(contextEClass, CONTEXT__VIEWS);
createEReference(contextEClass, CONTEXT__DATA_CONTEXTS);
- displayUnitEClass = createEClass(DISPLAY_UNIT);
- createEReference(displayUnitEClass, DISPLAY_UNIT__CONSTRAINTS);
-
tabEClass = createEClass(TAB);
createEAttribute(tabEClass, TAB__LABEL);
createEAttribute(tabEClass, TAB__ID);
@@ -855,7 +616,6 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
viewEClass = createEClass(VIEW);
createEAttribute(viewEClass, VIEW__NAME);
createEReference(viewEClass, VIEW__SECTIONS);
- createEAttribute(viewEClass, VIEW__ELEMENT_MULTIPLICITY);
createEReference(viewEClass, VIEW__CONTEXT);
createEAttribute(viewEClass, VIEW__AUTOMATIC_CONTEXT);
createEReference(viewEClass, VIEW__DATACONTEXTS);
@@ -888,28 +648,6 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
dataContextRootEClass = createEClass(DATA_CONTEXT_ROOT);
createEAttribute(dataContextRootEClass, DATA_CONTEXT_ROOT__LABEL);
createEReference(dataContextRootEClass, DATA_CONTEXT_ROOT__MODEL_ELEMENT_FACTORY);
-
- constraintDescriptorEClass = createEClass(CONSTRAINT_DESCRIPTOR);
- createEAttribute(constraintDescriptorEClass, CONSTRAINT_DESCRIPTOR__NAME);
- createEReference(constraintDescriptorEClass, CONSTRAINT_DESCRIPTOR__DISPLAY);
- createEAttribute(constraintDescriptorEClass, CONSTRAINT_DESCRIPTOR__OVERRIDEABLE);
- createEReference(constraintDescriptorEClass, CONSTRAINT_DESCRIPTOR__OVERRIDDEN_CONSTRAINTS);
-
- simpleConstraintEClass = createEClass(SIMPLE_CONSTRAINT);
- createEReference(simpleConstraintEClass, SIMPLE_CONSTRAINT__CONSTRAINT_TYPE);
- createEReference(simpleConstraintEClass, SIMPLE_CONSTRAINT__PROPERTIES);
-
- compositeConstraintEClass = createEClass(COMPOSITE_CONSTRAINT);
- createEReference(compositeConstraintEClass, COMPOSITE_CONSTRAINT__CONSTRAINTS);
-
- configPropertyEClass = createEClass(CONFIG_PROPERTY);
- createEAttribute(configPropertyEClass, CONFIG_PROPERTY__NAME);
-
- valuePropertyEClass = createEClass(VALUE_PROPERTY);
- createEAttribute(valuePropertyEClass, VALUE_PROPERTY__VALUE);
-
- referencePropertyEClass = createEClass(REFERENCE_PROPERTY);
- createEReference(referencePropertyEClass, REFERENCE_PROPERTY__VALUE);
}
/**
@@ -937,6 +675,7 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
// Obtain other dependent packages
EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ ConstraintsPackage theConstraintsPackage = (ConstraintsPackage)EPackage.Registry.INSTANCE.getEPackage(ConstraintsPackage.eNS_URI);
UiPackage theUiPackage = (UiPackage)EPackage.Registry.INSTANCE.getEPackage(UiPackage.eNS_URI);
EnvironmentPackage theEnvironmentPackage = (EnvironmentPackage)EPackage.Registry.INSTANCE.getEPackage(EnvironmentPackage.eNS_URI);
@@ -946,15 +685,11 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
// Add supertypes to classes
contextEClass.getESuperTypes().add(theEcorePackage.getEModelElement());
- viewEClass.getESuperTypes().add(this.getDisplayUnit());
- sectionEClass.getESuperTypes().add(this.getDisplayUnit());
+ viewEClass.getESuperTypes().add(theConstraintsPackage.getDisplayUnit());
+ sectionEClass.getESuperTypes().add(theConstraintsPackage.getDisplayUnit());
unknownPropertyEClass.getESuperTypes().add(this.getProperty());
dataContextPackageEClass.getESuperTypes().add(this.getDataContextElement());
dataContextRootEClass.getESuperTypes().add(this.getDataContextPackage());
- simpleConstraintEClass.getESuperTypes().add(this.getConstraintDescriptor());
- compositeConstraintEClass.getESuperTypes().add(this.getConstraintDescriptor());
- valuePropertyEClass.getESuperTypes().add(this.getConfigProperty());
- referencePropertyEClass.getESuperTypes().add(this.getConfigProperty());
// Initialize classes and features; add operations and parameters
initEClass(contextEClass, Context.class, "Context", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -964,9 +699,6 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
initEReference(getContext_Views(), this.getView(), this.getView_Context(), "views", null, 0, -1, Context.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getContext_DataContexts(), this.getDataContextRoot(), null, "dataContexts", null, 0, -1, Context.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(displayUnitEClass, DisplayUnit.class, "DisplayUnit", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getDisplayUnit_Constraints(), this.getConstraintDescriptor(), this.getConstraintDescriptor_Display(), "constraints", null, 0, -1, DisplayUnit.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
initEClass(tabEClass, Tab.class, "Tab", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getTab_Label(), ecorePackage.getEString(), "label", null, 1, 1, Tab.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getTab_Id(), ecorePackage.getEString(), "id", null, 1, 1, Tab.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -980,7 +712,6 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
initEClass(viewEClass, View.class, "View", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getView_Name(), ecorePackage.getEString(), "name", null, 1, 1, View.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getView_Sections(), this.getSection(), null, "sections", null, 0, -1, View.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getView_ElementMultiplicity(), ecorePackage.getEInt(), "elementMultiplicity", "1", 1, 1, View.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getView_Context(), this.getContext(), this.getContext_Views(), "context", null, 1, 1, View.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getView_AutomaticContext(), ecorePackage.getEBoolean(), "automaticContext", null, 1, 1, View.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getView_Datacontexts(), this.getDataContextElement(), null, "datacontexts", null, 0, -1, View.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -1014,28 +745,6 @@ public class ContextsPackageImpl extends EPackageImpl implements ContextsPackage
initEAttribute(getDataContextRoot_Label(), ecorePackage.getEString(), "label", null, 1, 1, DataContextRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getDataContextRoot_ModelElementFactory(), theEnvironmentPackage.getModelElementFactoryDescriptor(), null, "modelElementFactory", null, 1, 1, DataContextRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEClass(constraintDescriptorEClass, ConstraintDescriptor.class, "ConstraintDescriptor", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getConstraintDescriptor_Name(), ecorePackage.getEString(), "name", null, 1, 1, ConstraintDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConstraintDescriptor_Display(), this.getDisplayUnit(), this.getDisplayUnit_Constraints(), "display", null, 0, 1, ConstraintDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConstraintDescriptor_Overrideable(), ecorePackage.getEBoolean(), "overrideable", "true", 1, 1, ConstraintDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getConstraintDescriptor_OverriddenConstraints(), this.getSimpleConstraint(), null, "overriddenConstraints", null, 0, -1, ConstraintDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(simpleConstraintEClass, SimpleConstraint.class, "SimpleConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getSimpleConstraint_ConstraintType(), theEnvironmentPackage.getConstraintType(), null, "constraintType", null, 1, 1, SimpleConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getSimpleConstraint_Properties(), this.getConfigProperty(), null, "properties", null, 0, -1, SimpleConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(compositeConstraintEClass, CompositeConstraint.class, "CompositeConstraint", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getCompositeConstraint_Constraints(), this.getSimpleConstraint(), null, "constraints", null, 0, -1, CompositeConstraint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(configPropertyEClass, ConfigProperty.class, "ConfigProperty", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getConfigProperty_Name(), ecorePackage.getEString(), "name", null, 1, 1, ConfigProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(valuePropertyEClass, ValueProperty.class, "ValueProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getValueProperty_Value(), ecorePackage.getEString(), "value", null, 1, 1, ValueProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
- initEClass(referencePropertyEClass, ReferenceProperty.class, "ReferenceProperty", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEReference(getReferenceProperty_Value(), ecorePackage.getEObject(), null, "value", null, 1, 1, ReferenceProperty.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
// Create resource
createResource(eNS_URI);
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextElementImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextElementImpl.java
index 0ca1b5278cf..693a891efef 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextElementImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextElementImpl.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.impl;
import java.util.Collection;
@@ -46,7 +41,6 @@ import org.eclipse.papyrus.views.properties.contexts.Property;
* @generated
*/
public class DataContextElementImpl extends EObjectImpl implements DataContextElement {
-
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
@@ -348,40 +342,4 @@ public class DataContextElementImpl extends EObjectImpl implements DataContextEl
return result.toString();
}
- @Override
- public boolean equals(Object object) {
- if(object == null)
- return false;
-
- if(object == this)
- return true;
-
- if(object.getClass() == getClass()) {
- DataContextElement element = (DataContextElement)object;
- if(getName() == null) {
- if(element.getName() != null) {
- return false;
- }
- } else {
- if(!getName().equals(element.getName())) {
- return false;
- }
- }
-
- if(getPackage() == null) {
- if(element.getPackage() != null) {
- return false;
- }
- } else {
- if(!getPackage().equals(element.getPackage())) {
- return false;
- }
- }
-
- return true;
- }
-
- return false;
- }
-
} //DataContextElementImpl
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextPackageImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextPackageImpl.java
index 6e72dc82d73..7cc59ed0c8a 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextPackageImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextPackageImpl.java
@@ -1,28 +1,19 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.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.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.DataContextElement;
import org.eclipse.papyrus.views.properties.contexts.DataContextPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextRootImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextRootImpl.java
index 9390250de8a..6f58221cc45 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextRootImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DataContextRootImpl.java
@@ -1,24 +1,15 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.DataContextRoot;
import org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DisplayUnitImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DisplayUnitImpl.java
deleted file mode 100644
index 34e3ab2e506..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/DisplayUnitImpl.java
+++ /dev/null
@@ -1,176 +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.views.properties.contexts.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.EObjectContainmentWithInverseEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.contexts.DisplayUnit;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Display Unit</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.DisplayUnitImpl#getConstraints <em>Constraints</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public abstract class DisplayUnitImpl extends EObjectImpl implements DisplayUnit {
- /**
- * The cached value of the '{@link #getConstraints() <em>Constraints</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConstraints()
- * @generated
- * @ordered
- */
- protected EList<ConstraintDescriptor> constraints;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected DisplayUnitImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ContextsPackage.Literals.DISPLAY_UNIT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ConstraintDescriptor> getConstraints() {
- if (constraints == null) {
- constraints = new EObjectContainmentWithInverseEList<ConstraintDescriptor>(ConstraintDescriptor.class, this, ContextsPackage.DISPLAY_UNIT__CONSTRAINTS, ContextsPackage.CONSTRAINT_DESCRIPTOR__DISPLAY);
- }
- return constraints;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @SuppressWarnings("unchecked")
- @Override
- public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ContextsPackage.DISPLAY_UNIT__CONSTRAINTS:
- return ((InternalEList<InternalEObject>)(InternalEList<?>)getConstraints()).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 ContextsPackage.DISPLAY_UNIT__CONSTRAINTS:
- return ((InternalEList<?>)getConstraints()).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 ContextsPackage.DISPLAY_UNIT__CONSTRAINTS:
- return getConstraints();
- }
- 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 ContextsPackage.DISPLAY_UNIT__CONSTRAINTS:
- getConstraints().clear();
- getConstraints().addAll((Collection<? extends ConstraintDescriptor>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ContextsPackage.DISPLAY_UNIT__CONSTRAINTS:
- getConstraints().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ContextsPackage.DISPLAY_UNIT__CONSTRAINTS:
- return constraints != null && !constraints.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //DisplayUnitImpl
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/PropertyImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/PropertyImpl.java
index 839e4c24351..1a581412c20 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/PropertyImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/PropertyImpl.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.impl;
import org.eclipse.emf.common.notify.Notification;
@@ -42,7 +37,6 @@ import org.eclipse.papyrus.views.properties.environment.Type;
* @generated
*/
public class PropertyImpl extends EObjectImpl implements Property {
-
/**
* The default value of the '{@link #getName() <em>Name</em>}' attribute.
* <!-- begin-user-doc -->
@@ -484,38 +478,4 @@ public class PropertyImpl extends EObjectImpl implements Property {
return result.toString();
}
- @Override
- public boolean equals(Object object) {
- if(object == null)
- return false;
-
- if(object == this)
- return true;
-
- if(object instanceof Property) {
- Property property = (Property)object;
- if(getName() == null || property.getName() == null) {
- return false;
- }
- if(!getName().equals(property.getName())) {
- return false;
- }
-
- if(getMultiplicity() != property.getMultiplicity()) {
- return false;
- }
-
- if(!getType().equals(property.getType())) {
- return false;
- }
- if(!getContextElement().equals(property.getContextElement())) {
- return false;
- }
-
- return true;
- }
-
- return false;
- }
-
} //PropertyImpl
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ReferencePropertyImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ReferencePropertyImpl.java
deleted file mode 100644
index 9bbe6ad1c07..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ReferencePropertyImpl.java
+++ /dev/null
@@ -1,165 +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.views.properties.contexts.impl;
-
-import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.InternalEObject;
-
-import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.contexts.ReferenceProperty;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Reference Property</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ReferencePropertyImpl#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ReferencePropertyImpl extends ConfigPropertyImpl implements ReferenceProperty {
- /**
- * The cached value of the '{@link #getValue() <em>Value</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getValue()
- * @generated
- * @ordered
- */
- protected EObject value;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ReferencePropertyImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ContextsPackage.Literals.REFERENCE_PROPERTY;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject getValue() {
- if (value != null && value.eIsProxy()) {
- InternalEObject oldValue = (InternalEObject)value;
- value = eResolveProxy(oldValue);
- if (value != oldValue) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ContextsPackage.REFERENCE_PROPERTY__VALUE, oldValue, value));
- }
- }
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EObject basicGetValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(EObject newValue) {
- EObject oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ContextsPackage.REFERENCE_PROPERTY__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ContextsPackage.REFERENCE_PROPERTY__VALUE:
- if (resolve) return getValue();
- return basicGetValue();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case ContextsPackage.REFERENCE_PROPERTY__VALUE:
- setValue((EObject)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ContextsPackage.REFERENCE_PROPERTY__VALUE:
- setValue((EObject)null);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ContextsPackage.REFERENCE_PROPERTY__VALUE:
- return value != null;
- }
- return super.eIsSet(featureID);
- }
-
-} //ReferencePropertyImpl
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/SectionImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/SectionImpl.java
index c77d5ae9d4e..95981d0543f 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/SectionImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/SectionImpl.java
@@ -1,27 +1,18 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
import org.eclipse.emf.ecore.util.EcoreUtil;
-
-
+import org.eclipse.papyrus.infra.constraints.impl.DisplayUnitImpl;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.Section;
import org.eclipse.papyrus.views.properties.contexts.Tab;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/SimpleConstraintImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/SimpleConstraintImpl.java
deleted file mode 100644
index 90e2f935fbc..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/SimpleConstraintImpl.java
+++ /dev/null
@@ -1,224 +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.views.properties.contexts.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.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.InternalEList;
-
-
-import org.eclipse.papyrus.views.properties.contexts.ConfigProperty;
-import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
-import org.eclipse.papyrus.views.properties.environment.ConstraintType;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Simple Constraint</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.SimpleConstraintImpl#getConstraintType <em>Constraint Type</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.SimpleConstraintImpl#getProperties <em>Properties</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class SimpleConstraintImpl extends ConstraintDescriptorImpl implements SimpleConstraint {
- /**
- * The cached value of the '{@link #getConstraintType() <em>Constraint Type</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConstraintType()
- * @generated
- * @ordered
- */
- protected ConstraintType constraintType;
-
- /**
- * 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<ConfigProperty> properties;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected SimpleConstraintImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ContextsPackage.Literals.SIMPLE_CONSTRAINT;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConstraintType getConstraintType() {
- if (constraintType != null && constraintType.eIsProxy()) {
- InternalEObject oldConstraintType = (InternalEObject)constraintType;
- constraintType = (ConstraintType)eResolveProxy(oldConstraintType);
- if (constraintType != oldConstraintType) {
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.RESOLVE, ContextsPackage.SIMPLE_CONSTRAINT__CONSTRAINT_TYPE, oldConstraintType, constraintType));
- }
- }
- return constraintType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ConstraintType basicGetConstraintType() {
- return constraintType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setConstraintType(ConstraintType newConstraintType) {
- ConstraintType oldConstraintType = constraintType;
- constraintType = newConstraintType;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ContextsPackage.SIMPLE_CONSTRAINT__CONSTRAINT_TYPE, oldConstraintType, constraintType));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EList<ConfigProperty> getProperties() {
- if (properties == null) {
- properties = new EObjectContainmentEList<ConfigProperty>(ConfigProperty.class, this, ContextsPackage.SIMPLE_CONSTRAINT__PROPERTIES);
- }
- return properties;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
- switch (featureID) {
- case ContextsPackage.SIMPLE_CONSTRAINT__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 ContextsPackage.SIMPLE_CONSTRAINT__CONSTRAINT_TYPE:
- if (resolve) return getConstraintType();
- return basicGetConstraintType();
- case ContextsPackage.SIMPLE_CONSTRAINT__PROPERTIES:
- return getProperties();
- }
- 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 ContextsPackage.SIMPLE_CONSTRAINT__CONSTRAINT_TYPE:
- setConstraintType((ConstraintType)newValue);
- return;
- case ContextsPackage.SIMPLE_CONSTRAINT__PROPERTIES:
- getProperties().clear();
- getProperties().addAll((Collection<? extends ConfigProperty>)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case ContextsPackage.SIMPLE_CONSTRAINT__CONSTRAINT_TYPE:
- setConstraintType((ConstraintType)null);
- return;
- case ContextsPackage.SIMPLE_CONSTRAINT__PROPERTIES:
- getProperties().clear();
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ContextsPackage.SIMPLE_CONSTRAINT__CONSTRAINT_TYPE:
- return constraintType != null;
- case ContextsPackage.SIMPLE_CONSTRAINT__PROPERTIES:
- return properties != null && !properties.isEmpty();
- }
- return super.eIsSet(featureID);
- }
-
-} //SimpleConstraintImpl
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/TabImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/TabImpl.java
index 0e3f0b5c65b..c97593ceb93 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/TabImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/TabImpl.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.impl;
import java.util.Collection;
@@ -47,7 +42,6 @@ import org.eclipse.papyrus.views.properties.contexts.Tab;
* @generated
*/
public class TabImpl extends EObjectImpl implements Tab {
-
/**
* The default value of the '{@link #getLabel() <em>Label</em>}' attribute.
* <!-- begin-user-doc -->
@@ -569,57 +563,4 @@ public class TabImpl extends EObjectImpl implements Tab {
return result.toString();
}
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public boolean equals(Object other) {
- if(other == null)
- return false;
- if(this == other)
- return true;
-
- if(other instanceof Tab) {
- Tab tab = (Tab)other;
- return compareString(tab.getCategory(), getCategory()) && compareString(tab.getId(), getId());
- }
-
- return false;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- @Override
- public int hashCode() {
- if(getCategory() == null) {
- if(getId() == null) {
- return 0;
- }
- return getId().hashCode();
- }
-
- return 7 * getCategory().hashCode() + getId().hashCode();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @generated NOT
- */
- private boolean compareString(String s1, String s2) {
- if(s1 == null || s1.equals("")) {
- return s2 == null || s2.equals("");
- }
- return s1.equals(s2);
- }
-
} //TabImpl
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/UnknownPropertyImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/UnknownPropertyImpl.java
index d9a9acb8697..f1bee498f7d 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/UnknownPropertyImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/UnknownPropertyImpl.java
@@ -1,18 +1,12 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.impl;
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.UnknownProperty;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ValuePropertyImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ValuePropertyImpl.java
deleted file mode 100644
index dd79deec51d..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ValuePropertyImpl.java
+++ /dev/null
@@ -1,171 +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.views.properties.contexts.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.views.properties.contexts.ContextsPackage;
-import org.eclipse.papyrus.views.properties.contexts.ValueProperty;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Value Property</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ValuePropertyImpl#getValue <em>Value</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ValuePropertyImpl extends ConfigPropertyImpl implements ValueProperty {
- /**
- * 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 ValuePropertyImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return ContextsPackage.Literals.VALUE_PROPERTY;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getValue() {
- return value;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setValue(String newValue) {
- String oldValue = value;
- value = newValue;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ContextsPackage.VALUE_PROPERTY__VALUE, oldValue, value));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case ContextsPackage.VALUE_PROPERTY__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 ContextsPackage.VALUE_PROPERTY__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 ContextsPackage.VALUE_PROPERTY__VALUE:
- setValue(VALUE_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case ContextsPackage.VALUE_PROPERTY__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();
- }
-
-} //ValuePropertyImpl
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ViewImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ViewImpl.java
index c9b3cf00685..89530618f39 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ViewImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/impl/ViewImpl.java
@@ -1,31 +1,22 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.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.util.EObjectResolvingEList;
-
import org.eclipse.emf.ecore.util.EcoreUtil;
+import org.eclipse.papyrus.infra.constraints.impl.DisplayUnitImpl;
import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.DataContextElement;
@@ -41,7 +32,6 @@ import org.eclipse.papyrus.views.properties.contexts.View;
* <ul>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl#getSections <em>Sections</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl#getElementMultiplicity <em>Element Multiplicity</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl#getContext <em>Context</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl#isAutomaticContext <em>Automatic Context</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.contexts.impl.ViewImpl#getDatacontexts <em>Datacontexts</em>}</li>
@@ -82,26 +72,6 @@ public class ViewImpl extends DisplayUnitImpl implements View {
protected EList<Section> sections;
/**
- * The default value of the '{@link #getElementMultiplicity() <em>Element Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementMultiplicity()
- * @generated
- * @ordered
- */
- protected static final int ELEMENT_MULTIPLICITY_EDEFAULT = 1;
-
- /**
- * The cached value of the '{@link #getElementMultiplicity() <em>Element Multiplicity</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getElementMultiplicity()
- * @generated
- * @ordered
- */
- protected int elementMultiplicity = ELEMENT_MULTIPLICITY_EDEFAULT;
-
- /**
* The default value of the '{@link #isAutomaticContext() <em>Automatic Context</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -188,27 +158,6 @@ public class ViewImpl extends DisplayUnitImpl implements View {
* <!-- end-user-doc -->
* @generated
*/
- public int getElementMultiplicity() {
- return elementMultiplicity;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setElementMultiplicity(int newElementMultiplicity) {
- int oldElementMultiplicity = elementMultiplicity;
- elementMultiplicity = newElementMultiplicity;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, ContextsPackage.VIEW__ELEMENT_MULTIPLICITY, oldElementMultiplicity, elementMultiplicity));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public Context getContext() {
if (eContainerFeatureID() != ContextsPackage.VIEW__CONTEXT) return null;
return (Context)eContainer();
@@ -334,8 +283,6 @@ public class ViewImpl extends DisplayUnitImpl implements View {
return getName();
case ContextsPackage.VIEW__SECTIONS:
return getSections();
- case ContextsPackage.VIEW__ELEMENT_MULTIPLICITY:
- return getElementMultiplicity();
case ContextsPackage.VIEW__CONTEXT:
return getContext();
case ContextsPackage.VIEW__AUTOMATIC_CONTEXT:
@@ -362,9 +309,6 @@ public class ViewImpl extends DisplayUnitImpl implements View {
getSections().clear();
getSections().addAll((Collection<? extends Section>)newValue);
return;
- case ContextsPackage.VIEW__ELEMENT_MULTIPLICITY:
- setElementMultiplicity((Integer)newValue);
- return;
case ContextsPackage.VIEW__CONTEXT:
setContext((Context)newValue);
return;
@@ -393,9 +337,6 @@ public class ViewImpl extends DisplayUnitImpl implements View {
case ContextsPackage.VIEW__SECTIONS:
getSections().clear();
return;
- case ContextsPackage.VIEW__ELEMENT_MULTIPLICITY:
- setElementMultiplicity(ELEMENT_MULTIPLICITY_EDEFAULT);
- return;
case ContextsPackage.VIEW__CONTEXT:
setContext((Context)null);
return;
@@ -421,8 +362,6 @@ public class ViewImpl extends DisplayUnitImpl implements View {
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case ContextsPackage.VIEW__SECTIONS:
return sections != null && !sections.isEmpty();
- case ContextsPackage.VIEW__ELEMENT_MULTIPLICITY:
- return elementMultiplicity != ELEMENT_MULTIPLICITY_EDEFAULT;
case ContextsPackage.VIEW__CONTEXT:
return getContext() != null;
case ContextsPackage.VIEW__AUTOMATIC_CONTEXT:
@@ -445,8 +384,6 @@ public class ViewImpl extends DisplayUnitImpl implements View {
StringBuffer result = new StringBuffer(super.toString());
result.append(" (name: ");
result.append(name);
- result.append(", elementMultiplicity: ");
- result.append(elementMultiplicity);
result.append(", automaticContext: ");
result.append(automaticContext);
result.append(')');
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/util/ContextsAdapterFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/util/ContextsAdapterFactory.java
index d0259ee063d..7232147500c 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/util/ContextsAdapterFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/util/ContextsAdapterFactory.java
@@ -1,25 +1,28 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.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.EModelElement;
import org.eclipse.emf.ecore.EObject;
-
+import org.eclipse.papyrus.infra.constraints.DisplayUnit;
import org.eclipse.papyrus.views.properties.contexts.*;
+import org.eclipse.papyrus.views.properties.contexts.Context;
+import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
+import org.eclipse.papyrus.views.properties.contexts.DataContextElement;
+import org.eclipse.papyrus.views.properties.contexts.DataContextPackage;
+import org.eclipse.papyrus.views.properties.contexts.DataContextRoot;
+import org.eclipse.papyrus.views.properties.contexts.Property;
+import org.eclipse.papyrus.views.properties.contexts.Section;
+import org.eclipse.papyrus.views.properties.contexts.Tab;
+import org.eclipse.papyrus.views.properties.contexts.UnknownProperty;
+import org.eclipse.papyrus.views.properties.contexts.View;
/**
* <!-- begin-user-doc -->
@@ -82,10 +85,6 @@ public class ContextsAdapterFactory extends AdapterFactoryImpl {
return createContextAdapter();
}
@Override
- public Adapter caseDisplayUnit(DisplayUnit object) {
- return createDisplayUnitAdapter();
- }
- @Override
public Adapter caseTab(Tab object) {
return createTabAdapter();
}
@@ -118,34 +117,14 @@ public class ContextsAdapterFactory extends AdapterFactoryImpl {
return createDataContextRootAdapter();
}
@Override
- public Adapter caseConstraintDescriptor(ConstraintDescriptor object) {
- return createConstraintDescriptorAdapter();
- }
- @Override
- public Adapter caseSimpleConstraint(SimpleConstraint object) {
- return createSimpleConstraintAdapter();
- }
- @Override
- public Adapter caseCompositeConstraint(CompositeConstraint object) {
- return createCompositeConstraintAdapter();
- }
- @Override
- public Adapter caseConfigProperty(ConfigProperty object) {
- return createConfigPropertyAdapter();
- }
- @Override
- public Adapter caseValueProperty(ValueProperty object) {
- return createValuePropertyAdapter();
- }
- @Override
- public Adapter caseReferenceProperty(ReferenceProperty object) {
- return createReferencePropertyAdapter();
- }
- @Override
public Adapter caseEModelElement(EModelElement object) {
return createEModelElementAdapter();
}
@Override
+ public Adapter caseDisplayUnit(DisplayUnit object) {
+ return createDisplayUnitAdapter();
+ }
+ @Override
public Adapter defaultCase(EObject object) {
return createEObjectAdapter();
}
@@ -180,16 +159,16 @@ public class ContextsAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.contexts.DisplayUnit <em>Display Unit</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.contexts.Tab <em>Tab</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.views.properties.contexts.DisplayUnit
+ * @see org.eclipse.papyrus.views.properties.contexts.Tab
* @generated
*/
- public Adapter createDisplayUnitAdapter() {
+ public Adapter createTabAdapter() {
return null;
}
@@ -208,20 +187,6 @@ public class ContextsAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.contexts.Tab <em>Tab</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.views.properties.contexts.Tab
- * @generated
- */
- public Adapter createTabAdapter() {
- return null;
- }
-
- /**
* Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.contexts.Section <em>Section</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
@@ -306,100 +271,30 @@ public class ContextsAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor <em>Constraint Descriptor</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.views.properties.contexts.ConstraintDescriptor
- * @generated
- */
- public Adapter createConstraintDescriptorAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.contexts.SimpleConstraint <em>Simple Constraint</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.views.properties.contexts.SimpleConstraint
- * @generated
- */
- public Adapter createSimpleConstraintAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.contexts.CompositeConstraint <em>Composite Constraint</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.views.properties.contexts.CompositeConstraint
- * @generated
- */
- public Adapter createCompositeConstraintAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.contexts.ConfigProperty <em>Config Property</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.views.properties.contexts.ConfigProperty
- * @generated
- */
- public Adapter createConfigPropertyAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.contexts.ValueProperty <em>Value Property</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.views.properties.contexts.ValueProperty
- * @generated
- */
- public Adapter createValuePropertyAdapter() {
- return null;
- }
-
- /**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.contexts.ReferenceProperty <em>Reference Property</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EModelElement <em>EModel 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.views.properties.contexts.ReferenceProperty
+ * @see org.eclipse.emf.ecore.EModelElement
* @generated
*/
- public Adapter createReferencePropertyAdapter() {
+ public Adapter createEModelElementAdapter() {
return null;
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EModelElement <em>EModel Element</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.constraints.DisplayUnit <em>Display Unit</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.emf.ecore.EModelElement
+ * @see org.eclipse.papyrus.infra.constraints.DisplayUnit
* @generated
*/
- public Adapter createEModelElementAdapter() {
+ public Adapter createDisplayUnitAdapter() {
return null;
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/util/ContextsSwitch.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/util/ContextsSwitch.java
index 02f1a85f4ea..36f6758437e 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/util/ContextsSwitch.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/contexts/util/ContextsSwitch.java
@@ -1,25 +1,27 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.contexts.util;
import org.eclipse.emf.ecore.EModelElement;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
-
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
+import org.eclipse.papyrus.infra.constraints.DisplayUnit;
import org.eclipse.papyrus.views.properties.contexts.*;
+import org.eclipse.papyrus.views.properties.contexts.Context;
+import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
+import org.eclipse.papyrus.views.properties.contexts.DataContextElement;
+import org.eclipse.papyrus.views.properties.contexts.DataContextPackage;
+import org.eclipse.papyrus.views.properties.contexts.DataContextRoot;
+import org.eclipse.papyrus.views.properties.contexts.Property;
+import org.eclipse.papyrus.views.properties.contexts.Section;
+import org.eclipse.papyrus.views.properties.contexts.Tab;
+import org.eclipse.papyrus.views.properties.contexts.UnknownProperty;
+import org.eclipse.papyrus.views.properties.contexts.View;
/**
* <!-- begin-user-doc -->
@@ -85,12 +87,6 @@ public class ContextsSwitch<T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case ContextsPackage.DISPLAY_UNIT: {
- DisplayUnit displayUnit = (DisplayUnit)theEObject;
- T result = caseDisplayUnit(displayUnit);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
case ContextsPackage.TAB: {
Tab tab = (Tab)theEObject;
T result = caseTab(tab);
@@ -145,46 +141,6 @@ public class ContextsSwitch<T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case ContextsPackage.CONSTRAINT_DESCRIPTOR: {
- ConstraintDescriptor constraintDescriptor = (ConstraintDescriptor)theEObject;
- T result = caseConstraintDescriptor(constraintDescriptor);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ContextsPackage.SIMPLE_CONSTRAINT: {
- SimpleConstraint simpleConstraint = (SimpleConstraint)theEObject;
- T result = caseSimpleConstraint(simpleConstraint);
- if (result == null) result = caseConstraintDescriptor(simpleConstraint);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ContextsPackage.COMPOSITE_CONSTRAINT: {
- CompositeConstraint compositeConstraint = (CompositeConstraint)theEObject;
- T result = caseCompositeConstraint(compositeConstraint);
- if (result == null) result = caseConstraintDescriptor(compositeConstraint);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ContextsPackage.CONFIG_PROPERTY: {
- ConfigProperty configProperty = (ConfigProperty)theEObject;
- T result = caseConfigProperty(configProperty);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ContextsPackage.VALUE_PROPERTY: {
- ValueProperty valueProperty = (ValueProperty)theEObject;
- T result = caseValueProperty(valueProperty);
- if (result == null) result = caseConfigProperty(valueProperty);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
- case ContextsPackage.REFERENCE_PROPERTY: {
- ReferenceProperty referenceProperty = (ReferenceProperty)theEObject;
- T result = caseReferenceProperty(referenceProperty);
- if (result == null) result = caseConfigProperty(referenceProperty);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
default: return defaultCase(theEObject);
}
}
@@ -205,17 +161,17 @@ public class ContextsSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Display Unit</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Tab</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>Display Unit</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Tab</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseDisplayUnit(DisplayUnit object) {
+ public T caseTab(Tab object) {
return null;
}
@@ -235,21 +191,6 @@ public class ContextsSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Tab</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>Tab</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseTab(Tab object) {
- return null;
- }
-
- /**
* Returns the result of interpreting the object as an instance of '<em>Section</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
@@ -340,107 +281,32 @@ public class ContextsSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Constraint Descriptor</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>Constraint Descriptor</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseConstraintDescriptor(ConstraintDescriptor object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Simple Constraint</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>Simple Constraint</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseSimpleConstraint(SimpleConstraint object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Composite Constraint</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>Composite Constraint</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseCompositeConstraint(CompositeConstraint object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Config Property</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>Config Property</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseConfigProperty(ConfigProperty object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Value Property</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>Value Property</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseValueProperty(ValueProperty object) {
- return null;
- }
-
- /**
- * Returns the result of interpreting the object as an instance of '<em>Reference Property</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>EModel 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>Reference Property</em>'.
+ * @return the result of interpreting the object as an instance of '<em>EModel Element</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseReferenceProperty(ReferenceProperty object) {
+ public T caseEModelElement(EModelElement object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>EModel Element</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Display Unit</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>EModel Element</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Display Unit</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseEModelElement(EModelElement object) {
+ public T caseDisplayUnit(DisplayUnit object) {
return null;
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/CompositeWidgetType.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/CompositeWidgetType.java
index 1dcf5146190..79740608e74 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/CompositeWidgetType.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/CompositeWidgetType.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ConstraintType.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ConstraintType.java
deleted file mode 100644
index db4c83020c3..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ConstraintType.java
+++ /dev/null
@@ -1,86 +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.views.properties.environment;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Constraint Type</b></em>'.
- * <!-- end-user-doc -->
- *
- * <p>
- * The following features are supported:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.environment.ConstraintType#getLabel <em>Label</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.environment.ConstraintType#getConstraintClass <em>Constraint Class</em>}</li>
- * </ul>
- * </p>
- *
- * @see org.eclipse.papyrus.views.properties.environment.EnvironmentPackage#getConstraintType()
- * @model
- * @generated
- */
-public interface ConstraintType extends EObject {
- /**
- * Returns the value of the '<em><b>Label</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Label</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Label</em>' attribute.
- * @see #setLabel(String)
- * @see org.eclipse.papyrus.views.properties.environment.EnvironmentPackage#getConstraintType_Label()
- * @model required="true"
- * @generated
- */
- String getLabel();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.views.properties.environment.ConstraintType#getLabel <em>Label</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Label</em>' attribute.
- * @see #getLabel()
- * @generated
- */
- void setLabel(String value);
-
- /**
- * Returns the value of the '<em><b>Constraint Class</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Constraint Class</em>' attribute isn't clear,
- * there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- * @return the value of the '<em>Constraint Class</em>' attribute.
- * @see #setConstraintClass(String)
- * @see org.eclipse.papyrus.views.properties.environment.EnvironmentPackage#getConstraintType_ConstraintClass()
- * @model required="true"
- * @generated
- */
- String getConstraintClass();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.views.properties.environment.ConstraintType#getConstraintClass <em>Constraint Class</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param value the new value of the '<em>Constraint Class</em>' attribute.
- * @see #getConstraintClass()
- * @generated
- */
- void setConstraintClass(String value);
-
-} // ConstraintType
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ContentProviderType.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ContentProviderType.java
deleted file mode 100644
index 2f9e06d5ae2..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ContentProviderType.java
+++ /dev/null
@@ -1,27 +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.views.properties.environment;
-
-import org.eclipse.emf.ecore.EObject;
-
-/**
- * <!-- begin-user-doc -->
- * A representation of the model object '<em><b>Content Provider Type</b></em>'.
- * <!-- end-user-doc -->
- *
- *
- * @see org.eclipse.papyrus.views.properties.environment.EnvironmentPackage#getContentProviderType()
- * @model
- * @generated
- */
-public interface ContentProviderType extends EObject {
-} // ContentProviderType
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Environment.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Environment.java
index b65e10e06a2..0edba652b93 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Environment.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Environment.java
@@ -1,22 +1,13 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
import org.eclipse.emf.common.util.EList;
-
-import org.eclipse.emf.ecore.EModelElement;
-import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.views.properties.contexts.Context;
+import org.eclipse.papyrus.infra.constraints.environment.ConstraintEnvironment;
/**
* <!-- begin-user-doc -->
@@ -27,7 +18,6 @@ import org.eclipse.papyrus.views.properties.contexts.Context;
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.views.properties.environment.Environment#getModelElementFactories <em>Model Element Factories</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.environment.Environment#getConstraintTypes <em>Constraint Types</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.environment.Environment#getWidgetTypes <em>Widget Types</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.environment.Environment#getPropertyEditorTypes <em>Property Editor Types</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.environment.Environment#getCompositeWidgetTypes <em>Composite Widget Types</em>}</li>
@@ -41,7 +31,7 @@ import org.eclipse.papyrus.views.properties.contexts.Context;
* @model
* @generated
*/
-public interface Environment extends EModelElement {
+public interface Environment extends ConstraintEnvironment {
/**
* Returns the value of the '<em><b>Model Element Factories</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor}.
@@ -59,22 +49,6 @@ public interface Environment extends EModelElement {
EList<ModelElementFactoryDescriptor> getModelElementFactories();
/**
- * Returns the value of the '<em><b>Constraint Types</b></em>' containment reference list.
- * The list contents are of type {@link org.eclipse.papyrus.views.properties.environment.ConstraintType}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Constraint Types</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>Constraint Types</em>' containment reference list.
- * @see org.eclipse.papyrus.views.properties.environment.EnvironmentPackage#getEnvironment_ConstraintTypes()
- * @model containment="true"
- * @generated
- */
- EList<ConstraintType> getConstraintTypes();
-
- /**
* Returns the value of the '<em><b>Widget Types</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.papyrus.views.properties.environment.StandardWidgetType}.
* <!-- begin-user-doc -->
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/EnvironmentFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/EnvironmentFactory.java
index f578bdb8328..15e3148dac0 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/EnvironmentFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/EnvironmentFactory.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
import org.eclipse.emf.ecore.EFactory;
@@ -67,15 +62,6 @@ public interface EnvironmentFactory extends EFactory {
LayoutType createLayoutType();
/**
- * Returns a new object of class '<em>Constraint Type</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Constraint Type</em>'.
- * @generated
- */
- ConstraintType createConstraintType();
-
- /**
* Returns a new object of class '<em>Model Element Factory Descriptor</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/EnvironmentPackage.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/EnvironmentPackage.java
index c6956f68ef3..00c00b3d915 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/EnvironmentPackage.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/EnvironmentPackage.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
import org.eclipse.emf.ecore.EAttribute;
@@ -16,17 +11,16 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EcorePackage;
/**
* <!-- 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>
+ * <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.views.properties.environment.EnvironmentFactory
@@ -34,6 +28,7 @@ import org.eclipse.emf.ecore.EcorePackage;
* @generated
*/
public interface EnvironmentPackage extends EPackage {
+
/**
* The package name.
* <!-- begin-user-doc -->
@@ -48,7 +43,7 @@ public interface EnvironmentPackage extends EPackage {
* <!-- end-user-doc -->
* @generated
*/
- String eNS_URI = "http://www.eclipse.org/papyrus/properties/environment";
+ String eNS_URI = "http://www.eclipse.org/papyrus/properties/environment/0.9";
/**
* The package namespace name.
@@ -77,13 +72,13 @@ public interface EnvironmentPackage extends EPackage {
int ENVIRONMENT = 0;
/**
- * The feature id for the '<em><b>EAnnotations</b></em>' containment reference list.
+ * The feature id for the '<em><b>Constraint Types</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int ENVIRONMENT__EANNOTATIONS = EcorePackage.EMODEL_ELEMENT__EANNOTATIONS;
+ int ENVIRONMENT__CONSTRAINT_TYPES = org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.CONSTRAINT_ENVIRONMENT__CONSTRAINT_TYPES;
/**
* The feature id for the '<em><b>Model Element Factories</b></em>' containment reference list.
@@ -92,16 +87,7 @@ public interface EnvironmentPackage extends EPackage {
* @generated
* @ordered
*/
- int ENVIRONMENT__MODEL_ELEMENT_FACTORIES = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 0;
-
- /**
- * The feature id for the '<em><b>Constraint Types</b></em>' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int ENVIRONMENT__CONSTRAINT_TYPES = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 1;
+ int ENVIRONMENT__MODEL_ELEMENT_FACTORIES = org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.CONSTRAINT_ENVIRONMENT_FEATURE_COUNT + 0;
/**
* The feature id for the '<em><b>Widget Types</b></em>' containment reference list.
@@ -110,7 +96,7 @@ public interface EnvironmentPackage extends EPackage {
* @generated
* @ordered
*/
- int ENVIRONMENT__WIDGET_TYPES = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 2;
+ int ENVIRONMENT__WIDGET_TYPES = org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.CONSTRAINT_ENVIRONMENT_FEATURE_COUNT + 1;
/**
* The feature id for the '<em><b>Property Editor Types</b></em>' containment reference list.
@@ -119,7 +105,7 @@ public interface EnvironmentPackage extends EPackage {
* @generated
* @ordered
*/
- int ENVIRONMENT__PROPERTY_EDITOR_TYPES = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 3;
+ int ENVIRONMENT__PROPERTY_EDITOR_TYPES = org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.CONSTRAINT_ENVIRONMENT_FEATURE_COUNT + 2;
/**
* The feature id for the '<em><b>Composite Widget Types</b></em>' containment reference list.
@@ -128,7 +114,7 @@ public interface EnvironmentPackage extends EPackage {
* @generated
* @ordered
*/
- int ENVIRONMENT__COMPOSITE_WIDGET_TYPES = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 4;
+ int ENVIRONMENT__COMPOSITE_WIDGET_TYPES = org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.CONSTRAINT_ENVIRONMENT_FEATURE_COUNT + 3;
/**
* The feature id for the '<em><b>Layout Types</b></em>' containment reference list.
@@ -137,7 +123,7 @@ public interface EnvironmentPackage extends EPackage {
* @generated
* @ordered
*/
- int ENVIRONMENT__LAYOUT_TYPES = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 5;
+ int ENVIRONMENT__LAYOUT_TYPES = org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.CONSTRAINT_ENVIRONMENT_FEATURE_COUNT + 4;
/**
* The feature id for the '<em><b>Namespaces</b></em>' containment reference list.
@@ -146,7 +132,7 @@ public interface EnvironmentPackage extends EPackage {
* @generated
* @ordered
*/
- int ENVIRONMENT__NAMESPACES = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 6;
+ int ENVIRONMENT__NAMESPACES = org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.CONSTRAINT_ENVIRONMENT_FEATURE_COUNT + 5;
/**
* The feature id for the '<em><b>Misc Classes</b></em>' containment reference list.
@@ -155,7 +141,7 @@ public interface EnvironmentPackage extends EPackage {
* @generated
* @ordered
*/
- int ENVIRONMENT__MISC_CLASSES = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 7;
+ int ENVIRONMENT__MISC_CLASSES = org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.CONSTRAINT_ENVIRONMENT_FEATURE_COUNT + 6;
/**
* The number of structural features of the '<em>Environment</em>' class.
@@ -164,7 +150,7 @@ public interface EnvironmentPackage extends EPackage {
* @generated
* @ordered
*/
- int ENVIRONMENT_FEATURE_COUNT = EcorePackage.EMODEL_ELEMENT_FEATURE_COUNT + 8;
+ int ENVIRONMENT_FEATURE_COUNT = org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.CONSTRAINT_ENVIRONMENT_FEATURE_COUNT + 7;
/**
* The meta object id for the '{@link org.eclipse.papyrus.views.properties.environment.impl.WidgetTypeImpl <em>Widget Type</em>}' class.
@@ -369,43 +355,6 @@ public interface EnvironmentPackage extends EPackage {
int LAYOUT_TYPE_FEATURE_COUNT = WIDGET_TYPE_FEATURE_COUNT + 0;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.environment.impl.ConstraintTypeImpl <em>Constraint Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.environment.impl.ConstraintTypeImpl
- * @see org.eclipse.papyrus.views.properties.environment.impl.EnvironmentPackageImpl#getConstraintType()
- * @generated
- */
- int CONSTRAINT_TYPE = 5;
-
- /**
- * The feature id for the '<em><b>Label</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONSTRAINT_TYPE__LABEL = 0;
-
- /**
- * The feature id for the '<em><b>Constraint Class</b></em>' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONSTRAINT_TYPE__CONSTRAINT_CLASS = 1;
-
- /**
- * The number of structural features of the '<em>Constraint Type</em>' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- * @ordered
- */
- int CONSTRAINT_TYPE_FEATURE_COUNT = 2;
-
- /**
* The meta object id for the '{@link org.eclipse.papyrus.views.properties.environment.impl.ModelElementFactoryDescriptorImpl <em>Model Element Factory Descriptor</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -413,7 +362,7 @@ public interface EnvironmentPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.environment.impl.EnvironmentPackageImpl#getModelElementFactoryDescriptor()
* @generated
*/
- int MODEL_ELEMENT_FACTORY_DESCRIPTOR = 6;
+ int MODEL_ELEMENT_FACTORY_DESCRIPTOR = 5;
/**
* The feature id for the '<em><b>Name</b></em>' attribute.
@@ -450,7 +399,7 @@ public interface EnvironmentPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.environment.impl.EnvironmentPackageImpl#getStandardWidgetType()
* @generated
*/
- int STANDARD_WIDGET_TYPE = 7;
+ int STANDARD_WIDGET_TYPE = 6;
/**
* The feature id for the '<em><b>Label</b></em>' attribute.
@@ -496,7 +445,7 @@ public interface EnvironmentPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.environment.impl.EnvironmentPackageImpl#getNamespace()
* @generated
*/
- int NAMESPACE = 8;
+ int NAMESPACE = 7;
/**
* The feature id for the '<em><b>Prefix</b></em>' attribute.
@@ -542,7 +491,7 @@ public interface EnvironmentPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.environment.impl.EnvironmentPackageImpl#getMiscClass()
* @generated
*/
- int MISC_CLASS = 9;
+ int MISC_CLASS = 8;
/**
* The feature id for the '<em><b>Label</b></em>' attribute.
@@ -588,7 +537,7 @@ public interface EnvironmentPackage extends EPackage {
* @see org.eclipse.papyrus.views.properties.environment.impl.EnvironmentPackageImpl#getType()
* @generated
*/
- int TYPE = 10;
+ int TYPE = 9;
/**
@@ -613,17 +562,6 @@ public interface EnvironmentPackage extends EPackage {
EReference getEnvironment_ModelElementFactories();
/**
- * Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.environment.Environment#getConstraintTypes <em>Constraint Types</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the containment reference list '<em>Constraint Types</em>'.
- * @see org.eclipse.papyrus.views.properties.environment.Environment#getConstraintTypes()
- * @see #getEnvironment()
- * @generated
- */
- EReference getEnvironment_ConstraintTypes();
-
- /**
* Returns the meta object for the containment reference list '{@link org.eclipse.papyrus.views.properties.environment.Environment#getWidgetTypes <em>Widget Types</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -785,38 +723,6 @@ public interface EnvironmentPackage extends EPackage {
EClass getLayoutType();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.environment.ConstraintType <em>Constraint Type</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Constraint Type</em>'.
- * @see org.eclipse.papyrus.views.properties.environment.ConstraintType
- * @generated
- */
- EClass getConstraintType();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.environment.ConstraintType#getLabel <em>Label</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Label</em>'.
- * @see org.eclipse.papyrus.views.properties.environment.ConstraintType#getLabel()
- * @see #getConstraintType()
- * @generated
- */
- EAttribute getConstraintType_Label();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.environment.ConstraintType#getConstraintClass <em>Constraint Class</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Constraint Class</em>'.
- * @see org.eclipse.papyrus.views.properties.environment.ConstraintType#getConstraintClass()
- * @see #getConstraintType()
- * @generated
- */
- EAttribute getConstraintType_ConstraintClass();
-
- /**
* Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor <em>Model Element Factory Descriptor</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -967,15 +873,16 @@ public interface EnvironmentPackage extends EPackage {
* <!-- 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>
+ * <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.views.properties.environment.impl.EnvironmentImpl <em>Environment</em>}' class.
* <!-- begin-user-doc -->
@@ -995,14 +902,6 @@ public interface EnvironmentPackage extends EPackage {
EReference ENVIRONMENT__MODEL_ELEMENT_FACTORIES = eINSTANCE.getEnvironment_ModelElementFactories();
/**
- * The meta object literal for the '<em><b>Constraint Types</b></em>' containment reference list feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EReference ENVIRONMENT__CONSTRAINT_TYPES = eINSTANCE.getEnvironment_ConstraintTypes();
-
- /**
* The meta object literal for the '<em><b>Widget Types</b></em>' containment reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1131,32 +1030,6 @@ public interface EnvironmentPackage extends EPackage {
EClass LAYOUT_TYPE = eINSTANCE.getLayoutType();
/**
- * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.environment.impl.ConstraintTypeImpl <em>Constraint Type</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.environment.impl.ConstraintTypeImpl
- * @see org.eclipse.papyrus.views.properties.environment.impl.EnvironmentPackageImpl#getConstraintType()
- * @generated
- */
- EClass CONSTRAINT_TYPE = eINSTANCE.getConstraintType();
-
- /**
- * The meta object literal for the '<em><b>Label</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONSTRAINT_TYPE__LABEL = eINSTANCE.getConstraintType_Label();
-
- /**
- * The meta object literal for the '<em><b>Constraint Class</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute CONSTRAINT_TYPE__CONSTRAINT_CLASS = eINSTANCE.getConstraintType_ConstraintClass();
-
- /**
* The meta object literal for the '{@link org.eclipse.papyrus.views.properties.environment.impl.ModelElementFactoryDescriptorImpl <em>Model Element Factory Descriptor</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/LayoutType.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/LayoutType.java
index 5f7762f75e3..47dcd23df90 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/LayoutType.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/LayoutType.java
@@ -1,17 +1,11 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
-import org.eclipse.emf.ecore.EObject;
/**
* <!-- begin-user-doc -->
@@ -24,5 +18,4 @@ import org.eclipse.emf.ecore.EObject;
* @generated
*/
public interface LayoutType extends WidgetType {
-
} // LayoutType
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/MiscClass.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/MiscClass.java
index 6928b411a0b..01b2ca181c4 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/MiscClass.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/MiscClass.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
import org.eclipse.emf.ecore.EObject;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ModelElementFactoryDescriptor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ModelElementFactoryDescriptor.java
index cabcaa5d0c2..3dc435d9049 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ModelElementFactoryDescriptor.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/ModelElementFactoryDescriptor.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
import org.eclipse.emf.ecore.EObject;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Namespace.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Namespace.java
index ea8fbdb70ad..39e3f047ff3 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Namespace.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Namespace.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
import org.eclipse.emf.ecore.EObject;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/PropertyEditorType.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/PropertyEditorType.java
index b6a7f8b719a..81f8df23994 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/PropertyEditorType.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/PropertyEditorType.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/StandardWidgetType.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/StandardWidgetType.java
index fb0dd1449df..27177ecd89f 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/StandardWidgetType.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/StandardWidgetType.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Type.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Type.java
index aeffb49a7c4..f7916191dbb 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Type.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/Type.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
import java.util.Arrays;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/WidgetType.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/WidgetType.java
index bca73c1e0ea..76823658cee 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/WidgetType.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/WidgetType.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment;
import org.eclipse.emf.ecore.EObject;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/CompositeWidgetTypeImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/CompositeWidgetTypeImpl.java
index d4ec846b60e..056bf9d6739 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/CompositeWidgetTypeImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/CompositeWidgetTypeImpl.java
@@ -1,18 +1,12 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.impl;
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.papyrus.views.properties.environment.CompositeWidgetType;
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/ConstraintTypeImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/ConstraintTypeImpl.java
deleted file mode 100644
index b22a61773bb..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/ConstraintTypeImpl.java
+++ /dev/null
@@ -1,263 +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.views.properties.environment.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.views.properties.environment.ConstraintType;
-import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
-
-/**
- * <!-- begin-user-doc -->
- * An implementation of the model object '<em><b>Constraint Type</b></em>'.
- * <!-- end-user-doc -->
- * <p>
- * The following features are implemented:
- * <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.environment.impl.ConstraintTypeImpl#getLabel <em>Label</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.environment.impl.ConstraintTypeImpl#getConstraintClass <em>Constraint Class</em>}</li>
- * </ul>
- * </p>
- *
- * @generated
- */
-public class ConstraintTypeImpl extends EObjectImpl implements ConstraintType {
-
- /**
- * The default value of the '{@link #getLabel() <em>Label</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLabel()
- * @generated
- * @ordered
- */
- protected static final String LABEL_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getLabel() <em>Label</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getLabel()
- * @generated
- * @ordered
- */
- protected String label = LABEL_EDEFAULT;
-
- /**
- * The default value of the '{@link #getConstraintClass() <em>Constraint Class</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConstraintClass()
- * @generated
- * @ordered
- */
- protected static final String CONSTRAINT_CLASS_EDEFAULT = null;
-
- /**
- * The cached value of the '{@link #getConstraintClass() <em>Constraint Class</em>}' attribute.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConstraintClass()
- * @generated
- * @ordered
- */
- protected String constraintClass = CONSTRAINT_CLASS_EDEFAULT;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- protected ConstraintTypeImpl() {
- super();
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- protected EClass eStaticClass() {
- return EnvironmentPackage.Literals.CONSTRAINT_TYPE;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getLabel() {
- return label;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setLabel(String newLabel) {
- String oldLabel = label;
- label = newLabel;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, EnvironmentPackage.CONSTRAINT_TYPE__LABEL, oldLabel, label));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public String getConstraintClass() {
- return constraintClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public void setConstraintClass(String newConstraintClass) {
- String oldConstraintClass = constraintClass;
- constraintClass = newConstraintClass;
- if (eNotificationRequired())
- eNotify(new ENotificationImpl(this, Notification.SET, EnvironmentPackage.CONSTRAINT_TYPE__CONSTRAINT_CLASS, oldConstraintClass, constraintClass));
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch (featureID) {
- case EnvironmentPackage.CONSTRAINT_TYPE__LABEL:
- return getLabel();
- case EnvironmentPackage.CONSTRAINT_TYPE__CONSTRAINT_CLASS:
- return getConstraintClass();
- }
- return super.eGet(featureID, resolve, coreType);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eSet(int featureID, Object newValue) {
- switch (featureID) {
- case EnvironmentPackage.CONSTRAINT_TYPE__LABEL:
- setLabel((String)newValue);
- return;
- case EnvironmentPackage.CONSTRAINT_TYPE__CONSTRAINT_CLASS:
- setConstraintClass((String)newValue);
- return;
- }
- super.eSet(featureID, newValue);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public void eUnset(int featureID) {
- switch (featureID) {
- case EnvironmentPackage.CONSTRAINT_TYPE__LABEL:
- setLabel(LABEL_EDEFAULT);
- return;
- case EnvironmentPackage.CONSTRAINT_TYPE__CONSTRAINT_CLASS:
- setConstraintClass(CONSTRAINT_CLASS_EDEFAULT);
- return;
- }
- super.eUnset(featureID);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- @Override
- public boolean eIsSet(int featureID) {
- switch (featureID) {
- case EnvironmentPackage.CONSTRAINT_TYPE__LABEL:
- return LABEL_EDEFAULT == null ? label != null : !LABEL_EDEFAULT.equals(label);
- case EnvironmentPackage.CONSTRAINT_TYPE__CONSTRAINT_CLASS:
- return CONSTRAINT_CLASS_EDEFAULT == null ? constraintClass != null : !CONSTRAINT_CLASS_EDEFAULT.equals(constraintClass);
- }
- 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(" (label: ");
- result.append(label);
- result.append(", constraintClass: ");
- result.append(constraintClass);
- result.append(')');
- return result.toString();
- }
-
- @Override
- public boolean equals(Object object) {
- if(object == null) {
- return false;
- }
-
- if(this == object) {
- return true;
- }
-
- if(object.getClass() == getClass()) {
- ConstraintType constraint = (ConstraintType)object;
-
- if(getConstraintClass() == null) {
- if(constraint.getConstraintClass() != null) {
- return false;
- }
- } else {
- if(!getConstraintClass().equals(constraint.getConstraintClass())) {
- return false;
- }
- }
-
- if(getLabel() == null) {
- if(constraint.getLabel() != null) {
- return false;
- }
- } else {
- if(!getLabel().equals(constraint.getLabel())) {
- return false;
- }
- }
-
- return true;
- }
-
- return false;
- }
-
-} //ConstraintTypeImpl
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentFactoryImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentFactoryImpl.java
index eab3e10bcd3..ec5db7b65eb 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentFactoryImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentFactoryImpl.java
@@ -1,26 +1,29 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.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.views.properties.environment.*;
+import org.eclipse.papyrus.views.properties.environment.CompositeWidgetType;
+import org.eclipse.papyrus.views.properties.environment.Environment;
+import org.eclipse.papyrus.views.properties.environment.EnvironmentFactory;
+import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
+import org.eclipse.papyrus.views.properties.environment.LayoutType;
+import org.eclipse.papyrus.views.properties.environment.MiscClass;
+import org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor;
+import org.eclipse.papyrus.views.properties.environment.Namespace;
+import org.eclipse.papyrus.views.properties.environment.PropertyEditorType;
+import org.eclipse.papyrus.views.properties.environment.StandardWidgetType;
+import org.eclipse.papyrus.views.properties.environment.Type;
/**
* <!-- begin-user-doc -->
@@ -29,6 +32,7 @@ import org.eclipse.papyrus.views.properties.environment.*;
* @generated
*/
public class EnvironmentFactoryImpl extends EFactoryImpl implements EnvironmentFactory {
+
/**
* Creates the default factory implementation.
* <!-- begin-user-doc -->
@@ -37,7 +41,7 @@ public class EnvironmentFactoryImpl extends EFactoryImpl implements EnvironmentF
*/
public static EnvironmentFactory init() {
try {
- EnvironmentFactory theEnvironmentFactory = (EnvironmentFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/environment");
+ EnvironmentFactory theEnvironmentFactory = (EnvironmentFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/environment/0.9");
if (theEnvironmentFactory != null) {
return theEnvironmentFactory;
}
@@ -70,7 +74,6 @@ public class EnvironmentFactoryImpl extends EFactoryImpl implements EnvironmentF
case EnvironmentPackage.PROPERTY_EDITOR_TYPE: return createPropertyEditorType();
case EnvironmentPackage.COMPOSITE_WIDGET_TYPE: return createCompositeWidgetType();
case EnvironmentPackage.LAYOUT_TYPE: return createLayoutType();
- case EnvironmentPackage.CONSTRAINT_TYPE: return createConstraintType();
case EnvironmentPackage.MODEL_ELEMENT_FACTORY_DESCRIPTOR: return createModelElementFactoryDescriptor();
case EnvironmentPackage.STANDARD_WIDGET_TYPE: return createStandardWidgetType();
case EnvironmentPackage.NAMESPACE: return createNamespace();
@@ -155,16 +158,6 @@ public class EnvironmentFactoryImpl extends EFactoryImpl implements EnvironmentF
* <!-- end-user-doc -->
* @generated
*/
- public ConstraintType createConstraintType() {
- ConstraintTypeImpl constraintType = new ConstraintTypeImpl();
- return constraintType;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public ModelElementFactoryDescriptor createModelElementFactoryDescriptor() {
ModelElementFactoryDescriptorImpl modelElementFactoryDescriptor = new ModelElementFactoryDescriptorImpl();
return modelElementFactoryDescriptor;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentImpl.java
index c4c64e151aa..5516a033e78 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentImpl.java
@@ -1,36 +1,21 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.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.EModelElementImpl;
-import org.eclipse.emf.ecore.impl.EObjectImpl;
-
import org.eclipse.emf.ecore.util.EObjectContainmentEList;
-import org.eclipse.emf.ecore.util.EObjectResolvingEList;
import org.eclipse.emf.ecore.util.InternalEList;
-
-
-import org.eclipse.papyrus.views.properties.contexts.Context;
+import org.eclipse.papyrus.infra.constraints.environment.impl.ConstraintEnvironmentImpl;
import org.eclipse.papyrus.views.properties.environment.CompositeWidgetType;
-import org.eclipse.papyrus.views.properties.environment.ConstraintType;
import org.eclipse.papyrus.views.properties.environment.Environment;
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.LayoutType;
@@ -48,7 +33,6 @@ import org.eclipse.papyrus.views.properties.environment.StandardWidgetType;
* The following features are implemented:
* <ul>
* <li>{@link org.eclipse.papyrus.views.properties.environment.impl.EnvironmentImpl#getModelElementFactories <em>Model Element Factories</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.environment.impl.EnvironmentImpl#getConstraintTypes <em>Constraint Types</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.environment.impl.EnvironmentImpl#getWidgetTypes <em>Widget Types</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.environment.impl.EnvironmentImpl#getPropertyEditorTypes <em>Property Editor Types</em>}</li>
* <li>{@link org.eclipse.papyrus.views.properties.environment.impl.EnvironmentImpl#getCompositeWidgetTypes <em>Composite Widget Types</em>}</li>
@@ -60,7 +44,7 @@ import org.eclipse.papyrus.views.properties.environment.StandardWidgetType;
*
* @generated
*/
-public class EnvironmentImpl extends EModelElementImpl implements Environment {
+public class EnvironmentImpl extends ConstraintEnvironmentImpl implements Environment {
/**
* The cached value of the '{@link #getModelElementFactories() <em>Model Element Factories</em>}' containment reference list.
* <!-- begin-user-doc -->
@@ -72,16 +56,6 @@ public class EnvironmentImpl extends EModelElementImpl implements Environment {
protected EList<ModelElementFactoryDescriptor> modelElementFactories;
/**
- * The cached value of the '{@link #getConstraintTypes() <em>Constraint Types</em>}' containment reference list.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see #getConstraintTypes()
- * @generated
- * @ordered
- */
- protected EList<ConstraintType> constraintTypes;
-
- /**
* The cached value of the '{@link #getWidgetTypes() <em>Widget Types</em>}' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -177,18 +151,6 @@ public class EnvironmentImpl extends EModelElementImpl implements Environment {
* <!-- end-user-doc -->
* @generated
*/
- public EList<ConstraintType> getConstraintTypes() {
- if (constraintTypes == null) {
- constraintTypes = new EObjectContainmentEList<ConstraintType>(ConstraintType.class, this, EnvironmentPackage.ENVIRONMENT__CONSTRAINT_TYPES);
- }
- return constraintTypes;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public EList<StandardWidgetType> getWidgetTypes() {
if (widgetTypes == null) {
widgetTypes = new EObjectContainmentEList<StandardWidgetType>(StandardWidgetType.class, this, EnvironmentPackage.ENVIRONMENT__WIDGET_TYPES);
@@ -266,8 +228,6 @@ public class EnvironmentImpl extends EModelElementImpl implements Environment {
switch (featureID) {
case EnvironmentPackage.ENVIRONMENT__MODEL_ELEMENT_FACTORIES:
return ((InternalEList<?>)getModelElementFactories()).basicRemove(otherEnd, msgs);
- case EnvironmentPackage.ENVIRONMENT__CONSTRAINT_TYPES:
- return ((InternalEList<?>)getConstraintTypes()).basicRemove(otherEnd, msgs);
case EnvironmentPackage.ENVIRONMENT__WIDGET_TYPES:
return ((InternalEList<?>)getWidgetTypes()).basicRemove(otherEnd, msgs);
case EnvironmentPackage.ENVIRONMENT__PROPERTY_EDITOR_TYPES:
@@ -294,8 +254,6 @@ public class EnvironmentImpl extends EModelElementImpl implements Environment {
switch (featureID) {
case EnvironmentPackage.ENVIRONMENT__MODEL_ELEMENT_FACTORIES:
return getModelElementFactories();
- case EnvironmentPackage.ENVIRONMENT__CONSTRAINT_TYPES:
- return getConstraintTypes();
case EnvironmentPackage.ENVIRONMENT__WIDGET_TYPES:
return getWidgetTypes();
case EnvironmentPackage.ENVIRONMENT__PROPERTY_EDITOR_TYPES:
@@ -325,10 +283,6 @@ public class EnvironmentImpl extends EModelElementImpl implements Environment {
getModelElementFactories().clear();
getModelElementFactories().addAll((Collection<? extends ModelElementFactoryDescriptor>)newValue);
return;
- case EnvironmentPackage.ENVIRONMENT__CONSTRAINT_TYPES:
- getConstraintTypes().clear();
- getConstraintTypes().addAll((Collection<? extends ConstraintType>)newValue);
- return;
case EnvironmentPackage.ENVIRONMENT__WIDGET_TYPES:
getWidgetTypes().clear();
getWidgetTypes().addAll((Collection<? extends StandardWidgetType>)newValue);
@@ -368,9 +322,6 @@ public class EnvironmentImpl extends EModelElementImpl implements Environment {
case EnvironmentPackage.ENVIRONMENT__MODEL_ELEMENT_FACTORIES:
getModelElementFactories().clear();
return;
- case EnvironmentPackage.ENVIRONMENT__CONSTRAINT_TYPES:
- getConstraintTypes().clear();
- return;
case EnvironmentPackage.ENVIRONMENT__WIDGET_TYPES:
getWidgetTypes().clear();
return;
@@ -403,8 +354,6 @@ public class EnvironmentImpl extends EModelElementImpl implements Environment {
switch (featureID) {
case EnvironmentPackage.ENVIRONMENT__MODEL_ELEMENT_FACTORIES:
return modelElementFactories != null && !modelElementFactories.isEmpty();
- case EnvironmentPackage.ENVIRONMENT__CONSTRAINT_TYPES:
- return constraintTypes != null && !constraintTypes.isEmpty();
case EnvironmentPackage.ENVIRONMENT__WIDGET_TYPES:
return widgetTypes != null && !widgetTypes.isEmpty();
case EnvironmentPackage.ENVIRONMENT__PROPERTY_EDITOR_TYPES:
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentPackageImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentPackageImpl.java
index f445306e5af..7f2f1f78295 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentPackageImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/EnvironmentPackageImpl.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.impl;
import org.eclipse.emf.ecore.EAttribute;
@@ -16,19 +11,12 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EEnum;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
-
import org.eclipse.emf.ecore.EcorePackage;
import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-
-
-
-
+import org.eclipse.papyrus.infra.constraints.ConstraintsPackage;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl;
import org.eclipse.papyrus.views.properties.environment.CompositeWidgetType;
-import org.eclipse.papyrus.views.properties.environment.ConstraintType;
-import org.eclipse.papyrus.views.properties.environment.ContentProviderType;
import org.eclipse.papyrus.views.properties.environment.Environment;
import org.eclipse.papyrus.views.properties.environment.EnvironmentFactory;
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
@@ -90,13 +78,6 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
* <!-- end-user-doc -->
* @generated
*/
- private EClass constraintTypeEClass = null;
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
private EClass modelElementFactoryDescriptorEClass = null;
/**
@@ -174,6 +155,7 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
isInited = true;
// Initialize simple dependencies
+ ConstraintsPackage.eINSTANCE.eClass();
EcorePackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
@@ -222,17 +204,8 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
* <!-- end-user-doc -->
* @generated
*/
- public EReference getEnvironment_ConstraintTypes() {
- return (EReference)environmentEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public EReference getEnvironment_WidgetTypes() {
- return (EReference)environmentEClass.getEStructuralFeatures().get(2);
+ return (EReference)environmentEClass.getEStructuralFeatures().get(1);
}
/**
@@ -241,7 +214,7 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
* @generated
*/
public EReference getEnvironment_PropertyEditorTypes() {
- return (EReference)environmentEClass.getEStructuralFeatures().get(3);
+ return (EReference)environmentEClass.getEStructuralFeatures().get(2);
}
/**
@@ -250,7 +223,7 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
* @generated
*/
public EReference getEnvironment_CompositeWidgetTypes() {
- return (EReference)environmentEClass.getEStructuralFeatures().get(4);
+ return (EReference)environmentEClass.getEStructuralFeatures().get(3);
}
/**
@@ -259,7 +232,7 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
* @generated
*/
public EReference getEnvironment_LayoutTypes() {
- return (EReference)environmentEClass.getEStructuralFeatures().get(5);
+ return (EReference)environmentEClass.getEStructuralFeatures().get(4);
}
/**
@@ -268,7 +241,7 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
* @generated
*/
public EReference getEnvironment_Namespaces() {
- return (EReference)environmentEClass.getEStructuralFeatures().get(6);
+ return (EReference)environmentEClass.getEStructuralFeatures().get(5);
}
/**
@@ -277,7 +250,7 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
* @generated
*/
public EReference getEnvironment_MiscClasses() {
- return (EReference)environmentEClass.getEStructuralFeatures().get(7);
+ return (EReference)environmentEClass.getEStructuralFeatures().get(6);
}
/**
@@ -366,33 +339,6 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
* <!-- end-user-doc -->
* @generated
*/
- public EClass getConstraintType() {
- return constraintTypeEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getConstraintType_Label() {
- return (EAttribute)constraintTypeEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getConstraintType_ConstraintClass() {
- return (EAttribute)constraintTypeEClass.getEStructuralFeatures().get(1);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public EClass getModelElementFactoryDescriptor() {
return modelElementFactoryDescriptorEClass;
}
@@ -535,7 +481,6 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
// Create classes and their features
environmentEClass = createEClass(ENVIRONMENT);
createEReference(environmentEClass, ENVIRONMENT__MODEL_ELEMENT_FACTORIES);
- createEReference(environmentEClass, ENVIRONMENT__CONSTRAINT_TYPES);
createEReference(environmentEClass, ENVIRONMENT__WIDGET_TYPES);
createEReference(environmentEClass, ENVIRONMENT__PROPERTY_EDITOR_TYPES);
createEReference(environmentEClass, ENVIRONMENT__COMPOSITE_WIDGET_TYPES);
@@ -556,10 +501,6 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
layoutTypeEClass = createEClass(LAYOUT_TYPE);
- constraintTypeEClass = createEClass(CONSTRAINT_TYPE);
- createEAttribute(constraintTypeEClass, CONSTRAINT_TYPE__LABEL);
- createEAttribute(constraintTypeEClass, CONSTRAINT_TYPE__CONSTRAINT_CLASS);
-
modelElementFactoryDescriptorEClass = createEClass(MODEL_ELEMENT_FACTORY_DESCRIPTOR);
createEAttribute(modelElementFactoryDescriptorEClass, MODEL_ELEMENT_FACTORY_DESCRIPTOR__NAME);
createEAttribute(modelElementFactoryDescriptorEClass, MODEL_ELEMENT_FACTORY_DESCRIPTOR__FACTORY_CLASS);
@@ -604,14 +545,14 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
setNsURI(eNS_URI);
// Obtain other dependent packages
- EcorePackage theEcorePackage = (EcorePackage)EPackage.Registry.INSTANCE.getEPackage(EcorePackage.eNS_URI);
+ org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage theEnvironmentPackage_1 = (org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage)EPackage.Registry.INSTANCE.getEPackage(org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.eNS_URI);
// Create type parameters
// Set bounds for type parameters
// Add supertypes to classes
- environmentEClass.getESuperTypes().add(theEcorePackage.getEModelElement());
+ environmentEClass.getESuperTypes().add(theEnvironmentPackage_1.getConstraintEnvironment());
propertyEditorTypeEClass.getESuperTypes().add(this.getWidgetType());
compositeWidgetTypeEClass.getESuperTypes().add(this.getWidgetType());
layoutTypeEClass.getESuperTypes().add(this.getWidgetType());
@@ -620,7 +561,6 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
// Initialize classes and features; add operations and parameters
initEClass(environmentEClass, Environment.class, "Environment", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getEnvironment_ModelElementFactories(), this.getModelElementFactoryDescriptor(), null, "modelElementFactories", null, 0, -1, Environment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEReference(getEnvironment_ConstraintTypes(), this.getConstraintType(), null, "constraintTypes", null, 0, -1, Environment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getEnvironment_WidgetTypes(), this.getStandardWidgetType(), null, "widgetTypes", null, 0, -1, Environment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getEnvironment_PropertyEditorTypes(), this.getPropertyEditorType(), null, "propertyEditorTypes", null, 0, -1, Environment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getEnvironment_CompositeWidgetTypes(), this.getCompositeWidgetType(), null, "compositeWidgetTypes", null, 0, -1, Environment.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -641,10 +581,6 @@ public class EnvironmentPackageImpl extends EPackageImpl implements EnvironmentP
initEClass(layoutTypeEClass, LayoutType.class, "LayoutType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEClass(constraintTypeEClass, ConstraintType.class, "ConstraintType", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
- initEAttribute(getConstraintType_Label(), ecorePackage.getEString(), "label", null, 1, 1, ConstraintType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getConstraintType_ConstraintClass(), ecorePackage.getEString(), "constraintClass", null, 1, 1, ConstraintType.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
-
initEClass(modelElementFactoryDescriptorEClass, ModelElementFactoryDescriptor.class, "ModelElementFactoryDescriptor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getModelElementFactoryDescriptor_Name(), ecorePackage.getEString(), "name", null, 1, 1, ModelElementFactoryDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getModelElementFactoryDescriptor_FactoryClass(), ecorePackage.getEString(), "factoryClass", null, 1, 1, ModelElementFactoryDescriptor.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/LayoutTypeImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/LayoutTypeImpl.java
index 3ab95e377e9..e9b22af4477 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/LayoutTypeImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/LayoutTypeImpl.java
@@ -1,23 +1,12 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.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.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.LayoutType;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/MiscClassImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/MiscClassImpl.java
index 5fb6ddb1f74..51caaf1dca5 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/MiscClassImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/MiscClassImpl.java
@@ -1,24 +1,16 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.impl;
import org.eclipse.emf.common.notify.Notification;
-
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.papyrus.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.MiscClass;
import org.eclipse.papyrus.views.properties.environment.Namespace;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/ModelElementFactoryDescriptorImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/ModelElementFactoryDescriptorImpl.java
index 18881f45825..f5be2b1a5ff 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/ModelElementFactoryDescriptorImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/ModelElementFactoryDescriptorImpl.java
@@ -1,23 +1,15 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.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.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/NamespaceImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/NamespaceImpl.java
index 7e7c6409115..082d381f030 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/NamespaceImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/NamespaceImpl.java
@@ -1,23 +1,15 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.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.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.Namespace;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/PropertyEditorTypeImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/PropertyEditorTypeImpl.java
index 03093e32a4c..1247d0711fa 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/PropertyEditorTypeImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/PropertyEditorTypeImpl.java
@@ -1,22 +1,14 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.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.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.PropertyEditorType;
import org.eclipse.papyrus.views.properties.environment.Type;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/StandardWidgetTypeImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/StandardWidgetTypeImpl.java
index e9ab238da7e..c74e39142b0 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/StandardWidgetTypeImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/StandardWidgetTypeImpl.java
@@ -1,18 +1,12 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.impl;
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.StandardWidgetType;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/WidgetTypeImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/WidgetTypeImpl.java
index 768b517f3a8..72dc4b037ac 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/WidgetTypeImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/impl/WidgetTypeImpl.java
@@ -1,24 +1,16 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.impl;
import org.eclipse.emf.common.notify.Notification;
-
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.papyrus.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.environment.Namespace;
import org.eclipse.papyrus.views.properties.environment.WidgetType;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/util/EnvironmentAdapterFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/util/EnvironmentAdapterFactory.java
index dee9872b661..f32f035f1e7 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/util/EnvironmentAdapterFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/util/EnvironmentAdapterFactory.java
@@ -1,25 +1,27 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.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.EModelElement;
import org.eclipse.emf.ecore.EObject;
-
+import org.eclipse.papyrus.infra.constraints.environment.ConstraintEnvironment;
import org.eclipse.papyrus.views.properties.environment.*;
+import org.eclipse.papyrus.views.properties.environment.CompositeWidgetType;
+import org.eclipse.papyrus.views.properties.environment.Environment;
+import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
+import org.eclipse.papyrus.views.properties.environment.LayoutType;
+import org.eclipse.papyrus.views.properties.environment.MiscClass;
+import org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor;
+import org.eclipse.papyrus.views.properties.environment.Namespace;
+import org.eclipse.papyrus.views.properties.environment.PropertyEditorType;
+import org.eclipse.papyrus.views.properties.environment.StandardWidgetType;
+import org.eclipse.papyrus.views.properties.environment.WidgetType;
/**
* <!-- begin-user-doc -->
@@ -98,10 +100,6 @@ public class EnvironmentAdapterFactory extends AdapterFactoryImpl {
return createLayoutTypeAdapter();
}
@Override
- public Adapter caseConstraintType(ConstraintType object) {
- return createConstraintTypeAdapter();
- }
- @Override
public Adapter caseModelElementFactoryDescriptor(ModelElementFactoryDescriptor object) {
return createModelElementFactoryDescriptorAdapter();
}
@@ -118,8 +116,8 @@ public class EnvironmentAdapterFactory extends AdapterFactoryImpl {
return createMiscClassAdapter();
}
@Override
- public Adapter caseEModelElement(EModelElement object) {
- return createEModelElementAdapter();
+ public Adapter caseConstraintEnvironment(ConstraintEnvironment object) {
+ return createConstraintEnvironmentAdapter();
}
@Override
public Adapter defaultCase(EObject object) {
@@ -212,20 +210,6 @@ public class EnvironmentAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.environment.ConstraintType <em>Constraint Type</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.views.properties.environment.ConstraintType
- * @generated
- */
- public Adapter createConstraintTypeAdapter() {
- return null;
- }
-
- /**
* Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor <em>Model Element Factory Descriptor</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
@@ -282,16 +266,16 @@ public class EnvironmentAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.emf.ecore.EModelElement <em>EModel Element</em>}'.
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.infra.constraints.environment.ConstraintEnvironment <em>Constraint Environment</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.emf.ecore.EModelElement
+ * @see org.eclipse.papyrus.infra.constraints.environment.ConstraintEnvironment
* @generated
*/
- public Adapter createEModelElementAdapter() {
+ public Adapter createConstraintEnvironmentAdapter() {
return null;
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/util/EnvironmentSwitch.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/util/EnvironmentSwitch.java
index bc65692bd30..5bd37901e88 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/util/EnvironmentSwitch.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/environment/util/EnvironmentSwitch.java
@@ -1,25 +1,26 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.environment.util;
-import org.eclipse.emf.ecore.EModelElement;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
-
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
+import org.eclipse.papyrus.infra.constraints.environment.ConstraintEnvironment;
import org.eclipse.papyrus.views.properties.environment.*;
+import org.eclipse.papyrus.views.properties.environment.CompositeWidgetType;
+import org.eclipse.papyrus.views.properties.environment.Environment;
+import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
+import org.eclipse.papyrus.views.properties.environment.LayoutType;
+import org.eclipse.papyrus.views.properties.environment.MiscClass;
+import org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor;
+import org.eclipse.papyrus.views.properties.environment.Namespace;
+import org.eclipse.papyrus.views.properties.environment.PropertyEditorType;
+import org.eclipse.papyrus.views.properties.environment.StandardWidgetType;
+import org.eclipse.papyrus.views.properties.environment.WidgetType;
/**
* <!-- begin-user-doc -->
@@ -81,7 +82,7 @@ public class EnvironmentSwitch<T> extends Switch<T> {
case EnvironmentPackage.ENVIRONMENT: {
Environment environment = (Environment)theEObject;
T result = caseEnvironment(environment);
- if (result == null) result = caseEModelElement(environment);
+ if (result == null) result = caseConstraintEnvironment(environment);
if (result == null) result = defaultCase(theEObject);
return result;
}
@@ -112,12 +113,6 @@ public class EnvironmentSwitch<T> extends Switch<T> {
if (result == null) result = defaultCase(theEObject);
return result;
}
- case EnvironmentPackage.CONSTRAINT_TYPE: {
- ConstraintType constraintType = (ConstraintType)theEObject;
- T result = caseConstraintType(constraintType);
- if (result == null) result = defaultCase(theEObject);
- return result;
- }
case EnvironmentPackage.MODEL_ELEMENT_FACTORY_DESCRIPTOR: {
ModelElementFactoryDescriptor modelElementFactoryDescriptor = (ModelElementFactoryDescriptor)theEObject;
T result = caseModelElementFactoryDescriptor(modelElementFactoryDescriptor);
@@ -223,21 +218,6 @@ public class EnvironmentSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Constraint Type</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>Constraint Type</em>'.
- * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
- * @generated
- */
- public T caseConstraintType(ConstraintType object) {
- return null;
- }
-
- /**
* Returns the result of interpreting the object as an instance of '<em>Model Element Factory Descriptor</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;
@@ -298,17 +278,17 @@ public class EnvironmentSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>EModel Element</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Constraint Environment</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>EModel Element</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Constraint Environment</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseEModelElement(EModelElement object) {
+ public T caseConstraintEnvironment(ConstraintEnvironment object) {
return null;
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/CompositeWidget.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/CompositeWidget.java
index 1d3b4be492c..7f4530c1e25 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/CompositeWidget.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/CompositeWidget.java
@@ -1,18 +1,12 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.papyrus.views.properties.environment.CompositeWidgetType;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Element.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Element.java
index a01ec13549a..c0ca033d370 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Element.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Element.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
import org.eclipse.emf.ecore.EObject;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Layout.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Layout.java
index 037668655e7..1185c5a3cb6 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Layout.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Layout.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
import org.eclipse.papyrus.views.properties.environment.LayoutType;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/PropertyEditor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/PropertyEditor.java
index 6909137d904..c19a33f9189 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/PropertyEditor.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/PropertyEditor.java
@@ -1,17 +1,11 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
-
import org.eclipse.papyrus.views.properties.contexts.Property;
import org.eclipse.papyrus.views.properties.contexts.UnknownProperty;
import org.eclipse.papyrus.views.properties.environment.PropertyEditorType;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/ReferenceAttribute.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/ReferenceAttribute.java
index afc1cf8c721..a3d888feaf5 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/ReferenceAttribute.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/ReferenceAttribute.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/StandardWidget.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/StandardWidget.java
index c4ad3d460cc..b65fb8f5e03 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/StandardWidget.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/StandardWidget.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
import org.eclipse.papyrus.views.properties.environment.StandardWidgetType;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UIComponent.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UIComponent.java
index 8b54b6a99ef..7c91138f803 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UIComponent.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UIComponent.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
import org.eclipse.emf.common.util.EList;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UiFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UiFactory.java
index a8829b839e5..ac7c9ec303b 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UiFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UiFactory.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
import org.eclipse.emf.ecore.EFactory;
@@ -67,6 +62,15 @@ public interface UiFactory extends EFactory {
CompositeWidget createCompositeWidget();
/**
+ * Returns a new object of class '<em>Unknown Component</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>Unknown Component</em>'.
+ * @generated
+ */
+ UnknownComponent createUnknownComponent();
+
+ /**
* Returns a new object of class '<em>Layout</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -94,15 +98,6 @@ public interface UiFactory extends EFactory {
ReferenceAttribute createReferenceAttribute();
/**
- * Returns a new object of class '<em>Unknown Component</em>'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return a new object of class '<em>Unknown Component</em>'.
- * @generated
- */
- UnknownComponent createUnknownComponent();
-
- /**
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UiPackage.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UiPackage.java
index 57c2f56284a..aaa3c9c8b07 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UiPackage.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UiPackage.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
import org.eclipse.emf.ecore.EAttribute;
@@ -46,7 +41,7 @@ public interface UiPackage extends EPackage {
* <!-- end-user-doc -->
* @generated
*/
- String eNS_URI = "http://www.eclipse.org/papyrus/properties/ui";
+ String eNS_URI = "http://www.eclipse.org/papyrus/properties/ui/0.9";
/**
* The package namespace name.
@@ -323,46 +318,6 @@ public interface UiPackage extends EPackage {
int COMPOSITE_WIDGET_FEATURE_COUNT = WIDGET_FEATURE_COUNT + 3;
/**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.ui.impl.LayoutImpl <em>Layout</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.ui.impl.LayoutImpl
- * @see org.eclipse.papyrus.views.properties.ui.impl.UiPackageImpl#getLayout()
- * @generated
- */
- int LAYOUT = 7;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.ui.impl.WidgetAttributeImpl <em>Widget Attribute</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.ui.impl.WidgetAttributeImpl
- * @see org.eclipse.papyrus.views.properties.ui.impl.UiPackageImpl#getWidgetAttribute()
- * @generated
- */
- int WIDGET_ATTRIBUTE = 8;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.ui.impl.ValueAttributeImpl <em>Value Attribute</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.ui.impl.ValueAttributeImpl
- * @see org.eclipse.papyrus.views.properties.ui.impl.UiPackageImpl#getValueAttribute()
- * @generated
- */
- int VALUE_ATTRIBUTE = 9;
-
- /**
- * The meta object id for the '{@link org.eclipse.papyrus.views.properties.ui.impl.ReferenceAttributeImpl <em>Reference Attribute</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.ui.impl.ReferenceAttributeImpl
- * @see org.eclipse.papyrus.views.properties.ui.impl.UiPackageImpl#getReferenceAttribute()
- * @generated
- */
- int REFERENCE_ATTRIBUTE = 10;
-
- /**
* The meta object id for the '{@link org.eclipse.papyrus.views.properties.ui.impl.UnknownComponentImpl <em>Unknown Component</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -400,6 +355,16 @@ public interface UiPackage extends EPackage {
int UNKNOWN_COMPONENT_FEATURE_COUNT = WIDGET_FEATURE_COUNT + 1;
/**
+ * The meta object id for the '{@link org.eclipse.papyrus.views.properties.ui.impl.LayoutImpl <em>Layout</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.views.properties.ui.impl.LayoutImpl
+ * @see org.eclipse.papyrus.views.properties.ui.impl.UiPackageImpl#getLayout()
+ * @generated
+ */
+ int LAYOUT = 7;
+
+ /**
* The feature id for the '<em><b>Attributes</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -427,6 +392,16 @@ public interface UiPackage extends EPackage {
int LAYOUT_FEATURE_COUNT = UI_COMPONENT_FEATURE_COUNT + 1;
/**
+ * The meta object id for the '{@link org.eclipse.papyrus.views.properties.ui.impl.WidgetAttributeImpl <em>Widget Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.views.properties.ui.impl.WidgetAttributeImpl
+ * @see org.eclipse.papyrus.views.properties.ui.impl.UiPackageImpl#getWidgetAttribute()
+ * @generated
+ */
+ int WIDGET_ATTRIBUTE = 8;
+
+ /**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -445,6 +420,16 @@ public interface UiPackage extends EPackage {
int WIDGET_ATTRIBUTE_FEATURE_COUNT = ELEMENT_FEATURE_COUNT + 1;
/**
+ * The meta object id for the '{@link org.eclipse.papyrus.views.properties.ui.impl.ValueAttributeImpl <em>Value Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.views.properties.ui.impl.ValueAttributeImpl
+ * @see org.eclipse.papyrus.views.properties.ui.impl.UiPackageImpl#getValueAttribute()
+ * @generated
+ */
+ int VALUE_ATTRIBUTE = 9;
+
+ /**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -472,6 +457,16 @@ public interface UiPackage extends EPackage {
int VALUE_ATTRIBUTE_FEATURE_COUNT = WIDGET_ATTRIBUTE_FEATURE_COUNT + 1;
/**
+ * The meta object id for the '{@link org.eclipse.papyrus.views.properties.ui.impl.ReferenceAttributeImpl <em>Reference Attribute</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.views.properties.ui.impl.ReferenceAttributeImpl
+ * @see org.eclipse.papyrus.views.properties.ui.impl.UiPackageImpl#getReferenceAttribute()
+ * @generated
+ */
+ int REFERENCE_ATTRIBUTE = 10;
+
+ /**
* The feature id for the '<em><b>Name</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -692,6 +687,27 @@ public interface UiPackage extends EPackage {
EReference getCompositeWidget_WidgetType();
/**
+ * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.ui.UnknownComponent <em>Unknown Component</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>Unknown Component</em>'.
+ * @see org.eclipse.papyrus.views.properties.ui.UnknownComponent
+ * @generated
+ */
+ EClass getUnknownComponent();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.ui.UnknownComponent#getTypeName <em>Type Name</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type Name</em>'.
+ * @see org.eclipse.papyrus.views.properties.ui.UnknownComponent#getTypeName()
+ * @see #getUnknownComponent()
+ * @generated
+ */
+ EAttribute getUnknownComponent_TypeName();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.ui.Layout <em>Layout</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -776,27 +792,6 @@ public interface UiPackage extends EPackage {
EReference getReferenceAttribute_Value();
/**
- * Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.ui.UnknownComponent <em>Unknown Component</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for class '<em>Unknown Component</em>'.
- * @see org.eclipse.papyrus.views.properties.ui.UnknownComponent
- * @generated
- */
- EClass getUnknownComponent();
-
- /**
- * Returns the meta object for the attribute '{@link org.eclipse.papyrus.views.properties.ui.UnknownComponent#getTypeName <em>Type Name</em>}'.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @return the meta object for the attribute '<em>Type Name</em>'.
- * @see org.eclipse.papyrus.views.properties.ui.UnknownComponent#getTypeName()
- * @see #getUnknownComponent()
- * @generated
- */
- EAttribute getUnknownComponent_TypeName();
-
- /**
* Returns the factory that creates the instances of the model.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -975,6 +970,24 @@ public interface UiPackage extends EPackage {
EReference COMPOSITE_WIDGET__WIDGET_TYPE = eINSTANCE.getCompositeWidget_WidgetType();
/**
+ * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.ui.impl.UnknownComponentImpl <em>Unknown Component</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.papyrus.views.properties.ui.impl.UnknownComponentImpl
+ * @see org.eclipse.papyrus.views.properties.ui.impl.UiPackageImpl#getUnknownComponent()
+ * @generated
+ */
+ EClass UNKNOWN_COMPONENT = eINSTANCE.getUnknownComponent();
+
+ /**
+ * The meta object literal for the '<em><b>Type Name</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute UNKNOWN_COMPONENT__TYPE_NAME = eINSTANCE.getUnknownComponent_TypeName();
+
+ /**
* The meta object literal for the '{@link org.eclipse.papyrus.views.properties.ui.impl.LayoutImpl <em>Layout</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1046,24 +1059,6 @@ public interface UiPackage extends EPackage {
*/
EReference REFERENCE_ATTRIBUTE__VALUE = eINSTANCE.getReferenceAttribute_Value();
- /**
- * The meta object literal for the '{@link org.eclipse.papyrus.views.properties.ui.impl.UnknownComponentImpl <em>Unknown Component</em>}' class.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @see org.eclipse.papyrus.views.properties.ui.impl.UnknownComponentImpl
- * @see org.eclipse.papyrus.views.properties.ui.impl.UiPackageImpl#getUnknownComponent()
- * @generated
- */
- EClass UNKNOWN_COMPONENT = eINSTANCE.getUnknownComponent();
-
- /**
- * The meta object literal for the '<em><b>Type Name</b></em>' attribute feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- EAttribute UNKNOWN_COMPONENT__TYPE_NAME = eINSTANCE.getUnknownComponent_TypeName();
-
}
} //UiPackage
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UnknownComponent.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UnknownComponent.java
index 5c5ac0e3974..07e9fa9c58d 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UnknownComponent.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/UnknownComponent.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/ValueAttribute.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/ValueAttribute.java
index b43059a595a..f52ed6b9108 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/ValueAttribute.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/ValueAttribute.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Widget.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Widget.java
index 2b68958d1c7..95027dc5331 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Widget.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/Widget.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/WidgetAttribute.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/WidgetAttribute.java
index 60e81446a7e..9625c281e96 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/WidgetAttribute.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/WidgetAttribute.java
@@ -1,14 +1,9 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/CompositeWidgetImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/CompositeWidgetImpl.java
index 9a62fc1b1d6..e01563ef17c 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/CompositeWidgetImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/CompositeWidgetImpl.java
@@ -1,32 +1,21 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.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.util.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
-
-
import org.eclipse.papyrus.views.properties.environment.CompositeWidgetType;
import org.eclipse.papyrus.views.properties.ui.CompositeWidget;
import org.eclipse.papyrus.views.properties.ui.Layout;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ElementImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ElementImpl.java
index f79e47cbc4d..3f6f22d8c05 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ElementImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ElementImpl.java
@@ -1,20 +1,13 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.impl;
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.EObjectImpl;
-
import org.eclipse.papyrus.views.properties.ui.Element;
import org.eclipse.papyrus.views.properties.ui.UiPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/LayoutImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/LayoutImpl.java
index f7520417623..b8d5d817ac9 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/LayoutImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/LayoutImpl.java
@@ -1,24 +1,15 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-
import org.eclipse.papyrus.views.properties.environment.LayoutType;
import org.eclipse.papyrus.views.properties.ui.Layout;
import org.eclipse.papyrus.views.properties.ui.UiPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/PropertyEditorImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/PropertyEditorImpl.java
index 14169251877..4fc7c001693 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/PropertyEditorImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/PropertyEditorImpl.java
@@ -1,26 +1,16 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.notify.NotificationChain;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-
-
import org.eclipse.papyrus.views.properties.contexts.Property;
import org.eclipse.papyrus.views.properties.contexts.UnknownProperty;
import org.eclipse.papyrus.views.properties.environment.PropertyEditorType;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ReferenceAttributeImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ReferenceAttributeImpl.java
index e2ecaa76cd0..65f1660e217 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ReferenceAttributeImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ReferenceAttributeImpl.java
@@ -1,24 +1,16 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.impl;
import org.eclipse.emf.common.notify.Notification;
import org.eclipse.emf.common.notify.NotificationChain;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
import org.eclipse.papyrus.views.properties.ui.ReferenceAttribute;
import org.eclipse.papyrus.views.properties.ui.UIComponent;
import org.eclipse.papyrus.views.properties.ui.UiPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/StandardWidgetImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/StandardWidgetImpl.java
index e5429b17861..a37b472d535 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/StandardWidgetImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/StandardWidgetImpl.java
@@ -1,24 +1,15 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.impl;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.InternalEObject;
-
import org.eclipse.emf.ecore.impl.ENotificationImpl;
-
-
import org.eclipse.papyrus.views.properties.environment.StandardWidgetType;
import org.eclipse.papyrus.views.properties.ui.StandardWidget;
import org.eclipse.papyrus.views.properties.ui.UiPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UIComponentImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UIComponentImpl.java
index 16206e81b3b..05eee6ad6c2 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UIComponentImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UIComponentImpl.java
@@ -1,28 +1,19 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.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.EObjectContainmentEList;
import org.eclipse.emf.ecore.util.InternalEList;
-
import org.eclipse.papyrus.views.properties.ui.UIComponent;
import org.eclipse.papyrus.views.properties.ui.UiPackage;
import org.eclipse.papyrus.views.properties.ui.WidgetAttribute;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UiFactoryImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UiFactoryImpl.java
index 3b6412de696..3bbf4d27183 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UiFactoryImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UiFactoryImpl.java
@@ -1,25 +1,27 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.impl;
import org.eclipse.emf.ecore.EClass;
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.views.properties.ui.*;
+import org.eclipse.papyrus.views.properties.ui.CompositeWidget;
+import org.eclipse.papyrus.views.properties.ui.Element;
+import org.eclipse.papyrus.views.properties.ui.Layout;
+import org.eclipse.papyrus.views.properties.ui.PropertyEditor;
+import org.eclipse.papyrus.views.properties.ui.ReferenceAttribute;
+import org.eclipse.papyrus.views.properties.ui.StandardWidget;
+import org.eclipse.papyrus.views.properties.ui.UiFactory;
+import org.eclipse.papyrus.views.properties.ui.UiPackage;
+import org.eclipse.papyrus.views.properties.ui.UnknownComponent;
+import org.eclipse.papyrus.views.properties.ui.ValueAttribute;
/**
* <!-- begin-user-doc -->
@@ -36,7 +38,7 @@ public class UiFactoryImpl extends EFactoryImpl implements UiFactory {
*/
public static UiFactory init() {
try {
- UiFactory theUiFactory = (UiFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/ui");
+ UiFactory theUiFactory = (UiFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/ui/0.9");
if (theUiFactory != null) {
return theUiFactory;
}
@@ -123,6 +125,16 @@ public class UiFactoryImpl extends EFactoryImpl implements UiFactory {
* <!-- end-user-doc -->
* @generated
*/
+ public UnknownComponent createUnknownComponent() {
+ UnknownComponentImpl unknownComponent = new UnknownComponentImpl();
+ return unknownComponent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public Layout createLayout() {
LayoutImpl layout = new LayoutImpl();
return layout;
@@ -153,16 +165,6 @@ public class UiFactoryImpl extends EFactoryImpl implements UiFactory {
* <!-- end-user-doc -->
* @generated
*/
- public UnknownComponent createUnknownComponent() {
- UnknownComponentImpl unknownComponent = new UnknownComponentImpl();
- return unknownComponent;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public UiPackage getUiPackage() {
return (UiPackage)getEPackage();
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UiPackageImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UiPackageImpl.java
index 1bb390c245b..ecfe7bcf8d8 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UiPackageImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UiPackageImpl.java
@@ -1,28 +1,18 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.impl;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
-
import org.eclipse.emf.ecore.EcorePackage;
import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-
-
-
-
+import org.eclipse.papyrus.infra.constraints.ConstraintsPackage;
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.contexts.impl.ContextsPackageImpl;
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
@@ -95,35 +85,35 @@ public class UiPackageImpl extends EPackageImpl implements UiPackage {
* <!-- end-user-doc -->
* @generated
*/
- private EClass layoutEClass = null;
+ private EClass unknownComponentEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass widgetAttributeEClass = null;
+ private EClass layoutEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass valueAttributeEClass = null;
+ private EClass widgetAttributeEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass referenceAttributeEClass = null;
+ private EClass valueAttributeEClass = null;
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
- private EClass unknownComponentEClass = null;
+ private EClass referenceAttributeEClass = null;
/**
* Creates an instance of the model <b>Package</b>, registered with
@@ -172,6 +162,7 @@ public class UiPackageImpl extends EPackageImpl implements UiPackage {
isInited = true;
// Initialize simple dependencies
+ ConstraintsPackage.eINSTANCE.eClass();
EcorePackage.eINSTANCE.eClass();
// Obtain or create and register interdependencies
@@ -364,6 +355,24 @@ public class UiPackageImpl extends EPackageImpl implements UiPackage {
* <!-- end-user-doc -->
* @generated
*/
+ public EClass getUnknownComponent() {
+ return unknownComponentEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getUnknownComponent_TypeName() {
+ return (EAttribute)unknownComponentEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getLayout() {
return layoutEClass;
}
@@ -436,24 +445,6 @@ public class UiPackageImpl extends EPackageImpl implements UiPackage {
* <!-- end-user-doc -->
* @generated
*/
- public EClass getUnknownComponent() {
- return unknownComponentEClass;
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public EAttribute getUnknownComponent_TypeName() {
- return (EAttribute)unknownComponentEClass.getEStructuralFeatures().get(0);
- }
-
- /**
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
public UiFactory getUiFactory() {
return (UiFactory)getEFactoryInstance();
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UnknownComponentImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UnknownComponentImpl.java
index cb0ade154bd..3af41eb337c 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UnknownComponentImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/UnknownComponentImpl.java
@@ -1,22 +1,14 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.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.views.properties.ui.UiPackage;
import org.eclipse.papyrus.views.properties.ui.UnknownComponent;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ValueAttributeImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ValueAttributeImpl.java
index 76270992e5f..003c63f6f8f 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ValueAttributeImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/ValueAttributeImpl.java
@@ -1,22 +1,14 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.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.views.properties.ui.UiPackage;
import org.eclipse.papyrus.views.properties.ui.ValueAttribute;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/WidgetAttributeImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/WidgetAttributeImpl.java
index 0ddf4cd4690..c4dd7ddb1ae 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/WidgetAttributeImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/WidgetAttributeImpl.java
@@ -1,22 +1,14 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.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.views.properties.ui.UiPackage;
import org.eclipse.papyrus.views.properties.ui.WidgetAttribute;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/WidgetImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/WidgetImpl.java
index f1d61794a77..81d37726f5a 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/WidgetImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/impl/WidgetImpl.java
@@ -1,18 +1,12 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.impl;
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.papyrus.views.properties.ui.UiPackage;
import org.eclipse.papyrus.views.properties.ui.Widget;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/util/UiAdapterFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/util/UiAdapterFactory.java
index 1504c27f046..24261737a77 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/util/UiAdapterFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/util/UiAdapterFactory.java
@@ -1,24 +1,28 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.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.views.properties.ui.*;
+import org.eclipse.papyrus.views.properties.ui.CompositeWidget;
+import org.eclipse.papyrus.views.properties.ui.Element;
+import org.eclipse.papyrus.views.properties.ui.Layout;
+import org.eclipse.papyrus.views.properties.ui.PropertyEditor;
+import org.eclipse.papyrus.views.properties.ui.ReferenceAttribute;
+import org.eclipse.papyrus.views.properties.ui.StandardWidget;
+import org.eclipse.papyrus.views.properties.ui.UIComponent;
+import org.eclipse.papyrus.views.properties.ui.UiPackage;
+import org.eclipse.papyrus.views.properties.ui.UnknownComponent;
+import org.eclipse.papyrus.views.properties.ui.ValueAttribute;
+import org.eclipse.papyrus.views.properties.ui.Widget;
+import org.eclipse.papyrus.views.properties.ui.WidgetAttribute;
/**
* <!-- begin-user-doc -->
@@ -225,6 +229,20 @@ public class UiAdapterFactory extends AdapterFactoryImpl {
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.ui.UnknownComponent <em>Unknown Component</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.views.properties.ui.UnknownComponent
+ * @generated
+ */
+ public Adapter createUnknownComponentAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.ui.Layout <em>Layout</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
@@ -281,20 +299,6 @@ public class UiAdapterFactory extends AdapterFactoryImpl {
}
/**
- * Creates a new adapter for an object of class '{@link org.eclipse.papyrus.views.properties.ui.UnknownComponent <em>Unknown Component</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.views.properties.ui.UnknownComponent
- * @generated
- */
- public Adapter createUnknownComponentAdapter() {
- return null;
- }
-
- /**
* Creates a new adapter for the default case.
* <!-- begin-user-doc -->
* This default implementation returns null.
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/util/UiSwitch.java b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/util/UiSwitch.java
index 0932d73ea5e..d7bb044174f 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/util/UiSwitch.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties.model/src-gen/org/eclipse/papyrus/views/properties/ui/util/UiSwitch.java
@@ -1,24 +1,27 @@
-/*****************************************************************************
- * 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
+/**
+ * <copyright>
+ * </copyright>
*
- * Contributors:
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Initial API and implementation
- *****************************************************************************/
+ * $Id$
+ */
package org.eclipse.papyrus.views.properties.ui.util;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
-
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
import org.eclipse.papyrus.views.properties.ui.*;
+import org.eclipse.papyrus.views.properties.ui.CompositeWidget;
+import org.eclipse.papyrus.views.properties.ui.Element;
+import org.eclipse.papyrus.views.properties.ui.Layout;
+import org.eclipse.papyrus.views.properties.ui.PropertyEditor;
+import org.eclipse.papyrus.views.properties.ui.ReferenceAttribute;
+import org.eclipse.papyrus.views.properties.ui.StandardWidget;
+import org.eclipse.papyrus.views.properties.ui.UIComponent;
+import org.eclipse.papyrus.views.properties.ui.UiPackage;
+import org.eclipse.papyrus.views.properties.ui.UnknownComponent;
+import org.eclipse.papyrus.views.properties.ui.ValueAttribute;
+import org.eclipse.papyrus.views.properties.ui.Widget;
+import org.eclipse.papyrus.views.properties.ui.WidgetAttribute;
/**
* <!-- begin-user-doc -->
@@ -260,77 +263,77 @@ public class UiSwitch<T> extends Switch<T> {
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Layout</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Unknown Component</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>Layout</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Unknown Component</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseLayout(Layout object) {
+ public T caseUnknownComponent(UnknownComponent object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Widget Attribute</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Layout</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>Widget Attribute</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Layout</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseWidgetAttribute(WidgetAttribute object) {
+ public T caseLayout(Layout object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Value Attribute</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Widget Attribute</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>Value Attribute</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Widget Attribute</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseValueAttribute(ValueAttribute object) {
+ public T caseWidgetAttribute(WidgetAttribute object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Reference Attribute</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Value Attribute</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>Reference Attribute</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Value Attribute</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseReferenceAttribute(ReferenceAttribute object) {
+ public T caseValueAttribute(ValueAttribute object) {
return null;
}
/**
- * Returns the result of interpreting the object as an instance of '<em>Unknown Component</em>'.
+ * Returns the result of interpreting the object as an instance of '<em>Reference Attribute</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>Unknown Component</em>'.
+ * @return the result of interpreting the object as an instance of '<em>Reference Attribute</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
*/
- public T caseUnknownComponent(UnknownComponent object) {
+ public T caseReferenceAttribute(ReferenceAttribute object) {
return null;
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/.classpath b/plugins/views/properties/org.eclipse.papyrus.views.properties/.classpath
index 84853724f03..e12efdd53ae 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/.classpath
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="src-gen"/>
+ <classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="output" path="bin"/>
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/META-INF/MANIFEST.MF b/plugins/views/properties/org.eclipse.papyrus.views.properties/META-INF/MANIFEST.MF
index d990a17af21..cddba34fdcd 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/META-INF/MANIFEST.MF
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/META-INF/MANIFEST.MF
@@ -1,9 +1,7 @@
Manifest-Version: 1.0
Export-Package: org.eclipse.papyrus.views.properties,
org.eclipse.papyrus.views.properties.catalog,
- org.eclipse.papyrus.views.properties.constraints,
org.eclipse.papyrus.views.properties.creation,
- org.eclipse.papyrus.views.properties.databinding,
org.eclipse.papyrus.views.properties.modelelement,
org.eclipse.papyrus.views.properties.providers,
org.eclipse.papyrus.views.properties.root,
@@ -44,11 +42,12 @@ Require-Bundle: com.ibm.icu,
org.eclipse.emf.facet.infra.common.core;bundle-version="0.1.0",
org.eclipse.papyrus.views.modelexplorer.widgets;bundle-version="0.9.0",
org.eclipse.gmf.runtime.diagram.ui;bundle-version="1.5.0",
- org.eclipse.papyrus.infra.emf;bundle-version="0.9.0"
+ org.eclipse.papyrus.infra.emf;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.tools;bundle-version="0.9.0",
+ org.eclipse.papyrus.infra.constraints;bundle-version="0.9.0";visibility:=reexport
Bundle-Vendor: %Bundle-Vendor
Bundle-Version: 0.9.0.qualifier
-Eclipse-BuddyPolicy: dependent
Bundle-ManifestVersion: 2
Bundle-Activator: org.eclipse.papyrus.views.properties.Activator
Bundle-SymbolicName: org.eclipse.papyrus.views.properties;singleton:=true
-
+Eclipse-BuddyPolicy: dependent
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/model/Environment.xmi b/plugins/views/properties/org.eclipse.papyrus.views.properties/model/Environment.xmi
index 296451f75ae..c62fa4c90e0 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/model/Environment.xmi
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/model/Environment.xmi
@@ -1,49 +1,193 @@
<?xml version="1.0" encoding="ASCII"?>
-<environment:Environment xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:environment="http://www.eclipse.org/papyrus/properties/environment">
- <modelElementFactories name="EMF Factory" factoryClass="org.eclipse.papyrus.views.properties.modelelement.EMFModelElementFactory"/>
- <modelElementFactories name="Annotation Factory" factoryClass="org.eclipse.papyrus.views.properties.modelelement.AnnotationModelElementFactory"/>
- <constraintTypes label="EMF Instance Of" constraintClass="org.eclipse.papyrus.views.properties.constraints.EMFInstanceOfConstraint"/>
- <constraintTypes label="True Constraint" constraintClass="org.eclipse.papyrus.views.properties.constraints.TrueConstraint"/>
- <constraintTypes label="EMF Query" constraintClass="org.eclipse.papyrus.views.properties.constraints.EMFQueryConstraint"/>
- <constraintTypes label="Java Instance Of" constraintClass="org.eclipse.papyrus.views.properties.constraints.JavaInstanceOf"/>
- <constraintTypes label="Java Query" constraintClass="org.eclipse.papyrus.views.properties.constraints.JavaQueryConstraint"/>
- <widgetTypes label="Label" widgetClass="Label"/>
- <widgetTypes label="Text" widgetClass="Text"/>
- <propertyEditorTypes label="StringEditor" widgetClass="StringEditor" namespace="//@namespaces.3"/>
- <propertyEditorTypes label="StringMultiline" widgetClass="StringMultiline" namespace="//@namespaces.3"/>
- <propertyEditorTypes label="StringLabel (Read-only)" widgetClass="StringLabel" namespace="//@namespaces.3"/>
- <propertyEditorTypes label="StringCombo" widgetClass="StringCombo" namespace="//@namespaces.3"/>
- <propertyEditorTypes label="FileSelector" widgetClass="StringFileSelector" namespace="//@namespaces.3"/>
- <propertyEditorTypes label="BooleanCombo" widgetClass="BooleanCombo" namespace="//@namespaces.3" type="Boolean"/>
- <propertyEditorTypes label="BooleanCheckbox" widgetClass="BooleanCheckbox" namespace="//@namespaces.3" type="Boolean"/>
- <propertyEditorTypes label="BooleanRadio" widgetClass="BooleanRadio" namespace="//@namespaces.3" type="Boolean"/>
- <propertyEditorTypes label="BooleanToggle" widgetClass="BooleanToggle" namespace="//@namespaces.3" type="Boolean"/>
- <propertyEditorTypes label="IntegerEditor" widgetClass="IntegerEditor" namespace="//@namespaces.3" type="Integer"/>
- <propertyEditorTypes label="IntegerSpinner" widgetClass="IntegerSpinner" namespace="//@namespaces.3" type="Integer"/>
- <propertyEditorTypes label="EnumCombo" widgetClass="EnumCombo" namespace="//@namespaces.3" type="Enumeration"/>
- <propertyEditorTypes label="EnumRadio (No preview)" widgetClass="EnumRadio" namespace="//@namespaces.3" type="Enumeration"/>
- <propertyEditorTypes label="ReferenceCombo" widgetClass="ReferenceCombo" namespace="//@namespaces.3" type="Reference"/>
- <propertyEditorTypes label="ReferenceDialog" widgetClass="ReferenceDialog" namespace="//@namespaces.3" type="Reference"/>
- <propertyEditorTypes label="ViewEditor" widgetClass="ViewEditor" namespace="//@namespaces.3" type="Reference" multiplicity="-1"/>
- <propertyEditorTypes label="ReferenceLabel (Read-only)" widgetClass="ReferenceLabel" namespace="//@namespaces.3" type="Reference"/>
- <propertyEditorTypes label="MultiReference" widgetClass="MultiReference" namespace="//@namespaces.3" type="Reference" multiplicity="-1"/>
- <propertyEditorTypes label="MultiReferenceWithPropertyView" widgetClass="MultiReferencePropertyEditorWithPropertyView" namespace="//@namespaces.3" type="Reference" multiplicity="-1"/>
- <propertyEditorTypes label="MultiString" widgetClass="MultiString" namespace="//@namespaces.3" multiplicity="-1"/>
- <propertyEditorTypes label="MultipleFileEditor" widgetClass="MultiStringFile" namespace="//@namespaces.3" multiplicity="-1"/>
- <propertyEditorTypes label="MultiInteger" widgetClass="MultiInteger" namespace="//@namespaces.3" type="Integer" multiplicity="-1"/>
- <propertyEditorTypes label="InvalidWidget" widgetClass="InvalidWidget" namespace="//@namespaces.3"/>
- <compositeWidgetTypes label="Composite" widgetClass="Composite"/>
- <compositeWidgetTypes label="Group" widgetClass="Group"/>
- <layoutTypes label="GridLayout" widgetClass="GridLayout"/>
- <layoutTypes label="FillLayout" widgetClass="FillLayout"/>
- <layoutTypes label="RowLayout" widgetClass="RowLayout"/>
- <layoutTypes label="PropertiesLayout" widgetClass="PropertiesLayout" namespace="//@namespaces.4"/>
- <namespaces prefix="" name="" value="http://www.eclipse.org/xwt/presentation"/>
- <namespaces prefix="" name="x" value="http://www.eclipse.org/xwt"/>
- <namespaces prefix="clr-namespace" name="j" value="java.lang"/>
- <namespaces prefix="clr-namespace" name="ppe" value="org.eclipse.papyrus.views.properties.widgets"/>
- <namespaces prefix="clr-namespace" name="ppel" value="org.eclipse.papyrus.views.properties.widgets.layout"/>
- <namespaces prefix="clr-namespace" name="ppec" value="org.eclipse.papyrus.views.properties.creation"/>
- <miscClasses label="EMF object factory" class="EcorePropertyEditorFactory" namespace="//@namespaces.5"/>
- <miscClasses label="Property view Edition factory" class="PropertyEditorFactory" namespace="//@namespaces.5"/>
+<environment:Environment
+ xmi:version="2.0"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:environment="http://www.eclipse.org/papyrus/properties/environment/0.9">
+ <modelElementFactories
+ name="EMF Factory"
+ factoryClass="org.eclipse.papyrus.views.properties.modelelement.EMFModelElementFactory"/>
+ <modelElementFactories
+ name="Annotation Factory"
+ factoryClass="org.eclipse.papyrus.views.properties.modelelement.AnnotationModelElementFactory"/>
+ <constraintTypes
+ label="EMF Instance Of"
+ constraintClass="org.eclipse.papyrus.infra.constraints.constraints.EMFInstanceOfConstraint"/>
+ <constraintTypes
+ label="True Constraint"
+ constraintClass="org.eclipse.papyrus.infra.constraints.constraints.TrueConstraint"/>
+ <constraintTypes
+ label="EMF Query"
+ constraintClass="org.eclipse.papyrus.infra.constraints.constraints.EMFQueryConstraint"/>
+ <constraintTypes
+ label="Java Instance Of"
+ constraintClass="org.eclipse.papyrus.infra.constraints.constraints.JavaInstanceOf"/>
+ <constraintTypes
+ label="Java Query"
+ constraintClass="org.eclipse.papyrus.infra.constraints.constraints.JavaQueryConstraint"/>
+ <widgetTypes
+ label="Label"
+ widgetClass="Label"/>
+ <widgetTypes
+ label="Text"
+ widgetClass="Text"/>
+ <propertyEditorTypes
+ label="StringEditor"
+ widgetClass="StringEditor"
+ namespace="//@namespaces.3"/>
+ <propertyEditorTypes
+ label="StringMultiline"
+ widgetClass="StringMultiline"
+ namespace="//@namespaces.3"/>
+ <propertyEditorTypes
+ label="StringLabel (Read-only)"
+ widgetClass="StringLabel"
+ namespace="//@namespaces.3"/>
+ <propertyEditorTypes
+ label="StringCombo"
+ widgetClass="StringCombo"
+ namespace="//@namespaces.3"/>
+ <propertyEditorTypes
+ label="FileSelector"
+ widgetClass="StringFileSelector"
+ namespace="//@namespaces.3"/>
+ <propertyEditorTypes
+ label="BooleanCombo"
+ widgetClass="BooleanCombo"
+ namespace="//@namespaces.3"
+ type="Boolean"/>
+ <propertyEditorTypes
+ label="BooleanCheckbox"
+ widgetClass="BooleanCheckbox"
+ namespace="//@namespaces.3"
+ type="Boolean"/>
+ <propertyEditorTypes
+ label="BooleanRadio"
+ widgetClass="BooleanRadio"
+ namespace="//@namespaces.3"
+ type="Boolean"/>
+ <propertyEditorTypes
+ label="BooleanToggle"
+ widgetClass="BooleanToggle"
+ namespace="//@namespaces.3"
+ type="Boolean"/>
+ <propertyEditorTypes
+ label="IntegerEditor"
+ widgetClass="IntegerEditor"
+ namespace="//@namespaces.3"
+ type="Integer"/>
+ <propertyEditorTypes
+ label="IntegerSpinner"
+ widgetClass="IntegerSpinner"
+ namespace="//@namespaces.3"
+ type="Integer"/>
+ <propertyEditorTypes
+ label="EnumCombo"
+ widgetClass="EnumCombo"
+ namespace="//@namespaces.3"
+ type="Enumeration"/>
+ <propertyEditorTypes
+ label="EnumRadio (No preview)"
+ widgetClass="EnumRadio"
+ namespace="//@namespaces.3"
+ type="Enumeration"/>
+ <propertyEditorTypes
+ label="ReferenceCombo"
+ widgetClass="ReferenceCombo"
+ namespace="//@namespaces.3"
+ type="Reference"/>
+ <propertyEditorTypes
+ label="ReferenceDialog"
+ widgetClass="ReferenceDialog"
+ namespace="//@namespaces.3"
+ type="Reference"/>
+ <propertyEditorTypes
+ label="ViewEditor"
+ widgetClass="ViewEditor"
+ namespace="//@namespaces.3"
+ type="Reference"
+ multiplicity="-1"/>
+ <propertyEditorTypes
+ label="ReferenceLabel (Read-only)"
+ widgetClass="ReferenceLabel"
+ namespace="//@namespaces.3"
+ type="Reference"/>
+ <propertyEditorTypes
+ label="MultiReference"
+ widgetClass="MultiReference"
+ namespace="//@namespaces.3"
+ type="Reference"
+ multiplicity="-1"/>
+ <propertyEditorTypes
+ label="MultiReferenceWithPropertyView"
+ widgetClass="MultiReferencePropertyEditorWithPropertyView"
+ namespace="//@namespaces.3"
+ type="Reference"
+ multiplicity="-1"/>
+ <propertyEditorTypes
+ label="MultiString"
+ widgetClass="MultiString"
+ namespace="//@namespaces.3"
+ multiplicity="-1"/>
+ <propertyEditorTypes
+ label="MultipleFileEditor"
+ widgetClass="MultiStringFile"
+ namespace="//@namespaces.3"
+ multiplicity="-1"/>
+ <propertyEditorTypes
+ label="MultiInteger"
+ widgetClass="MultiInteger"
+ namespace="//@namespaces.3"
+ type="Integer"
+ multiplicity="-1"/>
+ <propertyEditorTypes
+ label="InvalidWidget"
+ widgetClass="InvalidWidget"
+ namespace="//@namespaces.3"/>
+ <compositeWidgetTypes
+ label="Composite"
+ widgetClass="Composite"/>
+ <compositeWidgetTypes
+ label="Group"
+ widgetClass="Group"/>
+ <layoutTypes
+ label="GridLayout"
+ widgetClass="GridLayout"/>
+ <layoutTypes
+ label="FillLayout"
+ widgetClass="FillLayout"/>
+ <layoutTypes
+ label="RowLayout"
+ widgetClass="RowLayout"/>
+ <layoutTypes
+ label="PropertiesLayout"
+ widgetClass="PropertiesLayout"
+ namespace="//@namespaces.4"/>
+ <namespaces
+ prefix=""
+ name=""
+ value="http://www.eclipse.org/xwt/presentation"/>
+ <namespaces
+ prefix=""
+ name="x"
+ value="http://www.eclipse.org/xwt"/>
+ <namespaces
+ name="j"
+ value="java.lang"/>
+ <namespaces
+ name="ppe"
+ value="org.eclipse.papyrus.views.properties.widgets"/>
+ <namespaces
+ name="ppel"
+ value="org.eclipse.papyrus.views.properties.widgets.layout"/>
+ <namespaces
+ name="ppec"
+ value="org.eclipse.papyrus.views.properties.creation"/>
+ <miscClasses
+ label="EMF object factory"
+ class="EcorePropertyEditorFactory"
+ namespace="//@namespaces.5"/>
+ <miscClasses
+ label="Property view Edition factory"
+ class="PropertyEditorFactory"
+ namespace="//@namespaces.5"/>
</environment:Environment>
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/plugin.properties b/plugins/views/properties/org.eclipse.papyrus.views.properties/plugin.properties
index cb3492bafd3..78d0ba4ef32 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/plugin.properties
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/plugin.properties
@@ -10,4 +10,4 @@ providerName = Eclipse Modeling Project
Bundle-Vendor = Eclipse Modeling Project
page.name = Property views
extension-point.context = Context
-extension-point.environment = Environment \ No newline at end of file
+extension-point.environment = Environment
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/plugin.xml b/plugins/views/properties/org.eclipse.papyrus.views.properties/plugin.xml
index 16ca2642a35..619e2401934 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/plugin.xml
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/plugin.xml
@@ -61,7 +61,7 @@
<extension
point="org.eclipse.papyrus.views.properties.labelprovider">
<labelProvider
- labelProvider="org.eclipse.papyrus.views.properties.providers.EMFObjectFilteredLabelProvider"
+ labelProvider="org.eclipse.papyrus.views.properties.providers.EMFFilteredLabelProvider"
priority="100">
</labelProvider>
</extension>
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/schema/environment.exsd b/plugins/views/properties/org.eclipse.papyrus.views.properties/schema/environment.exsd
index 76e3eda43fc..273098d8af8 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/schema/environment.exsd
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/schema/environment.exsd
@@ -6,7 +6,7 @@
<meta.schema plugin="org.eclipse.papyrus.views.properties" id="Environment" name="Environment"/>
</appInfo>
<documentation>
- Extension point used to provide new Environment to the Papyrus Property View. An Environment is an EMF Model conforming to http://www.eclipse.org/papyrus/properties/environment (From org.eclipse.papyrus.views.properties.model), defining a set of element descriptors (Widgets, Factories, ...), which can be used by the different Contexts to define new property views.
+ Extension point used to provide new Environment to the Papyrus Property View. An Environment is an EMF Model conforming to http://www.eclipse.org/papyrus/properties/environment/0.9 (From org.eclipse.papyrus.views.properties.model), defining a set of element descriptors (Widgets, Factories, ...), which can be used by the different Contexts to define new property views.
</documentation>
</annotation>
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/PropertiesRoot.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/PropertiesRoot.java
index 9ac0075bc4d..66121b6d8c2 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/PropertiesRoot.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/PropertiesRoot.java
@@ -7,10 +7,7 @@
package org.eclipse.papyrus.views.properties.root;
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EObject;
-
-
import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.environment.Environment;
@@ -18,15 +15,15 @@ import org.eclipse.papyrus.views.properties.environment.Environment;
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Properties Root</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.root.PropertiesRoot#getEnvironments <em>Environments</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.root.PropertiesRoot#getContexts <em>Contexts</em>}</li>
+ * <li>{@link org.eclipse.papyrus.views.properties.root.PropertiesRoot#getEnvironments <em>Environments</em>}</li>
+ * <li>{@link org.eclipse.papyrus.views.properties.root.PropertiesRoot#getContexts <em>Contexts</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.views.properties.root.RootPackage#getPropertiesRoot()
* @model
* @generated
@@ -41,7 +38,6 @@ public interface PropertiesRoot extends EObject {
* If the meaning of the '<em>Environments</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Environments</em>' reference list.
* @see org.eclipse.papyrus.views.properties.root.RootPackage#getPropertiesRoot_Environments()
* @model
@@ -57,7 +53,6 @@ public interface PropertiesRoot extends EObject {
* If the meaning of the '<em>Contexts</em>' reference list isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
- *
* @return the value of the '<em>Contexts</em>' reference list.
* @see org.eclipse.papyrus.views.properties.root.RootPackage#getPropertiesRoot_Contexts()
* @model
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/RootFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/RootFactory.java
index e29cbd617bd..fa6ec562cc9 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/RootFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/RootFactory.java
@@ -13,7 +13,6 @@ import org.eclipse.emf.ecore.EFactory;
* 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.views.properties.root.RootPackage
* @generated
*/
@@ -23,7 +22,6 @@ public interface RootFactory extends EFactory {
* The singleton instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
RootFactory eINSTANCE = org.eclipse.papyrus.views.properties.root.impl.RootFactoryImpl.init();
@@ -32,7 +30,6 @@ public interface RootFactory extends EFactory {
* Returns a new object of class '<em>Properties Root</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return a new object of class '<em>Properties Root</em>'.
* @generated
*/
@@ -42,7 +39,6 @@ public interface RootFactory extends EFactory {
* Returns the package supported by this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the package supported by this factory.
* @generated
*/
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/RootPackage.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/RootPackage.java
index 4ca9f2585f4..c9534387610 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/RootPackage.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/RootPackage.java
@@ -21,7 +21,6 @@ import org.eclipse.emf.ecore.EReference;
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.views.properties.root.RootFactory
* @model kind="package"
* @generated
@@ -32,7 +31,6 @@ public interface RootPackage extends EPackage {
* The package name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNAME = "root"; //$NON-NLS-1$
@@ -41,7 +39,6 @@ public interface RootPackage extends EPackage {
* The package namespace URI.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_URI = "http://www.eclipse.org/papyrus/properties/root"; //$NON-NLS-1$
@@ -50,7 +47,6 @@ public interface RootPackage extends EPackage {
* The package namespace name.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
String eNS_PREFIX = "root"; //$NON-NLS-1$
@@ -59,7 +55,6 @@ public interface RootPackage extends EPackage {
* The singleton instance of the package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
RootPackage eINSTANCE = org.eclipse.papyrus.views.properties.root.impl.RootPackageImpl.init();
@@ -68,7 +63,6 @@ public interface RootPackage extends EPackage {
* The meta object id for the '{@link org.eclipse.papyrus.views.properties.root.impl.PropertiesRootImpl <em>Properties Root</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.views.properties.root.impl.PropertiesRootImpl
* @see org.eclipse.papyrus.views.properties.root.impl.RootPackageImpl#getPropertiesRoot()
* @generated
@@ -79,7 +73,6 @@ public interface RootPackage extends EPackage {
* The feature id for the '<em><b>Environments</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -89,7 +82,6 @@ public interface RootPackage extends EPackage {
* The feature id for the '<em><b>Contexts</b></em>' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -99,7 +91,6 @@ public interface RootPackage extends EPackage {
* The number of structural features of the '<em>Properties Root</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
* @ordered
*/
@@ -110,7 +101,6 @@ public interface RootPackage extends EPackage {
* Returns the meta object for class '{@link org.eclipse.papyrus.views.properties.root.PropertiesRoot <em>Properties Root</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for class '<em>Properties Root</em>'.
* @see org.eclipse.papyrus.views.properties.root.PropertiesRoot
* @generated
@@ -118,11 +108,9 @@ public interface RootPackage extends EPackage {
EClass getPropertiesRoot();
/**
- * Returns the meta object for the reference list '{@link org.eclipse.papyrus.views.properties.root.PropertiesRoot#getEnvironments
- * <em>Environments</em>}'.
+ * Returns the meta object for the reference list '{@link org.eclipse.papyrus.views.properties.root.PropertiesRoot#getEnvironments <em>Environments</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference list '<em>Environments</em>'.
* @see org.eclipse.papyrus.views.properties.root.PropertiesRoot#getEnvironments()
* @see #getPropertiesRoot()
@@ -134,7 +122,6 @@ public interface RootPackage extends EPackage {
* Returns the meta object for the reference list '{@link org.eclipse.papyrus.views.properties.root.PropertiesRoot#getContexts <em>Contexts</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @return the meta object for the reference list '<em>Contexts</em>'.
* @see org.eclipse.papyrus.views.properties.root.PropertiesRoot#getContexts()
* @see #getPropertiesRoot()
@@ -146,7 +133,6 @@ public interface RootPackage extends EPackage {
* 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
*/
@@ -162,7 +148,6 @@ public interface RootPackage extends EPackage {
* <li>and each data type</li>
* </ul>
* <!-- end-user-doc -->
- *
* @generated
*/
interface Literals {
@@ -171,7 +156,6 @@ public interface RootPackage extends EPackage {
* The meta object literal for the '{@link org.eclipse.papyrus.views.properties.root.impl.PropertiesRootImpl <em>Properties Root</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.views.properties.root.impl.PropertiesRootImpl
* @see org.eclipse.papyrus.views.properties.root.impl.RootPackageImpl#getPropertiesRoot()
* @generated
@@ -182,7 +166,6 @@ public interface RootPackage extends EPackage {
* The meta object literal for the '<em><b>Environments</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference PROPERTIES_ROOT__ENVIRONMENTS = eINSTANCE.getPropertiesRoot_Environments();
@@ -191,7 +174,6 @@ public interface RootPackage extends EPackage {
* The meta object literal for the '<em><b>Contexts</b></em>' reference list feature.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
EReference PROPERTIES_ROOT__CONTEXTS = eINSTANCE.getPropertiesRoot_Contexts();
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/PropertiesRootImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/PropertiesRootImpl.java
index 5486bf18a5c..43bf3c50ab6 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/PropertiesRootImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/PropertiesRootImpl.java
@@ -9,15 +9,9 @@ package org.eclipse.papyrus.views.properties.root.impl;
import java.util.Collection;
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EClass;
-
import org.eclipse.emf.ecore.impl.EObjectImpl;
-
import org.eclipse.emf.ecore.util.EObjectResolvingEList;
-
-
-
import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.environment.Environment;
import org.eclipse.papyrus.views.properties.root.PropertiesRoot;
@@ -30,11 +24,11 @@ import org.eclipse.papyrus.views.properties.root.RootPackage;
* <p>
* The following features are implemented:
* <ul>
- * <li>{@link org.eclipse.papyrus.views.properties.root.impl.PropertiesRootImpl#getEnvironments <em>Environments</em>}</li>
- * <li>{@link org.eclipse.papyrus.views.properties.root.impl.PropertiesRootImpl#getContexts <em>Contexts</em>}</li>
+ * <li>{@link org.eclipse.papyrus.views.properties.root.impl.PropertiesRootImpl#getEnvironments <em>Environments</em>}</li>
+ * <li>{@link org.eclipse.papyrus.views.properties.root.impl.PropertiesRootImpl#getContexts <em>Contexts</em>}</li>
* </ul>
* </p>
- *
+ *
* @generated
*/
public class PropertiesRootImpl extends EObjectImpl implements PropertiesRoot {
@@ -43,7 +37,6 @@ public class PropertiesRootImpl extends EObjectImpl implements PropertiesRoot {
* The cached value of the '{@link #getEnvironments() <em>Environments</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getEnvironments()
* @generated
* @ordered
@@ -54,7 +47,6 @@ public class PropertiesRootImpl extends EObjectImpl implements PropertiesRoot {
* The cached value of the '{@link #getContexts() <em>Contexts</em>}' reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @see #getContexts()
* @generated
* @ordered
@@ -64,7 +56,6 @@ public class PropertiesRootImpl extends EObjectImpl implements PropertiesRoot {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected PropertiesRootImpl() {
@@ -74,7 +65,6 @@ public class PropertiesRootImpl extends EObjectImpl implements PropertiesRoot {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
@@ -85,11 +75,10 @@ public class PropertiesRootImpl extends EObjectImpl implements PropertiesRoot {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<Environment> getEnvironments() {
- if(environments == null) {
+ if (environments == null) {
environments = new EObjectResolvingEList<Environment>(Environment.class, this, RootPackage.PROPERTIES_ROOT__ENVIRONMENTS);
}
return environments;
@@ -98,11 +87,10 @@ public class PropertiesRootImpl extends EObjectImpl implements PropertiesRoot {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EList<Context> getContexts() {
- if(contexts == null) {
+ if (contexts == null) {
contexts = new EObjectResolvingEList<Context>(Context.class, this, RootPackage.PROPERTIES_ROOT__CONTEXTS);
}
return contexts;
@@ -111,16 +99,15 @@ public class PropertiesRootImpl extends EObjectImpl implements PropertiesRoot {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
- switch(featureID) {
- case RootPackage.PROPERTIES_ROOT__ENVIRONMENTS:
- return getEnvironments();
- case RootPackage.PROPERTIES_ROOT__CONTEXTS:
- return getContexts();
+ switch (featureID) {
+ case RootPackage.PROPERTIES_ROOT__ENVIRONMENTS:
+ return getEnvironments();
+ case RootPackage.PROPERTIES_ROOT__CONTEXTS:
+ return getContexts();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -128,21 +115,20 @@ public class PropertiesRootImpl extends EObjectImpl implements PropertiesRoot {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@SuppressWarnings("unchecked")
@Override
public void eSet(int featureID, Object newValue) {
- switch(featureID) {
- case RootPackage.PROPERTIES_ROOT__ENVIRONMENTS:
- getEnvironments().clear();
- getEnvironments().addAll((Collection<? extends Environment>)newValue);
- return;
- case RootPackage.PROPERTIES_ROOT__CONTEXTS:
- getContexts().clear();
- getContexts().addAll((Collection<? extends Context>)newValue);
- return;
+ switch (featureID) {
+ case RootPackage.PROPERTIES_ROOT__ENVIRONMENTS:
+ getEnvironments().clear();
+ getEnvironments().addAll((Collection<? extends Environment>)newValue);
+ return;
+ case RootPackage.PROPERTIES_ROOT__CONTEXTS:
+ getContexts().clear();
+ getContexts().addAll((Collection<? extends Context>)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -150,18 +136,17 @@ public class PropertiesRootImpl extends EObjectImpl implements PropertiesRoot {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public void eUnset(int featureID) {
- switch(featureID) {
- case RootPackage.PROPERTIES_ROOT__ENVIRONMENTS:
- getEnvironments().clear();
- return;
- case RootPackage.PROPERTIES_ROOT__CONTEXTS:
- getContexts().clear();
- return;
+ switch (featureID) {
+ case RootPackage.PROPERTIES_ROOT__ENVIRONMENTS:
+ getEnvironments().clear();
+ return;
+ case RootPackage.PROPERTIES_ROOT__CONTEXTS:
+ getContexts().clear();
+ return;
}
super.eUnset(featureID);
}
@@ -169,16 +154,15 @@ public class PropertiesRootImpl extends EObjectImpl implements PropertiesRoot {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public boolean eIsSet(int featureID) {
- switch(featureID) {
- case RootPackage.PROPERTIES_ROOT__ENVIRONMENTS:
- return environments != null && !environments.isEmpty();
- case RootPackage.PROPERTIES_ROOT__CONTEXTS:
- return contexts != null && !contexts.isEmpty();
+ switch (featureID) {
+ case RootPackage.PROPERTIES_ROOT__ENVIRONMENTS:
+ return environments != null && !environments.isEmpty();
+ case RootPackage.PROPERTIES_ROOT__CONTEXTS:
+ return contexts != null && !contexts.isEmpty();
}
return super.eIsSet(featureID);
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/RootFactoryImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/RootFactoryImpl.java
index 26d631d3d00..8fabd4fe91d 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/RootFactoryImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/RootFactoryImpl.java
@@ -9,18 +9,16 @@ package org.eclipse.papyrus.views.properties.root.impl;
import org.eclipse.emf.ecore.EClass;
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.views.properties.root.*;
+import org.eclipse.papyrus.views.properties.root.PropertiesRoot;
+import org.eclipse.papyrus.views.properties.root.RootFactory;
+import org.eclipse.papyrus.views.properties.root.RootPackage;
/**
* <!-- begin-user-doc -->
* An implementation of the model <b>Factory</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class RootFactoryImpl extends EFactoryImpl implements RootFactory {
@@ -29,16 +27,16 @@ public class RootFactoryImpl extends EFactoryImpl implements RootFactory {
* Creates the default factory implementation.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public static RootFactory init() {
try {
- RootFactory theRootFactory = (RootFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/root"); //$NON-NLS-1$
- if(theRootFactory != null) {
+ RootFactory theRootFactory = (RootFactory)EPackage.Registry.INSTANCE.getEFactory("http://www.eclipse.org/papyrus/properties/root");
+ if (theRootFactory != null) {
return theRootFactory;
}
- } catch (Exception exception) {
+ }
+ catch (Exception exception) {
EcorePlugin.INSTANCE.log(exception);
}
return new RootFactoryImpl();
@@ -48,7 +46,6 @@ public class RootFactoryImpl extends EFactoryImpl implements RootFactory {
* Creates an instance of the factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public RootFactoryImpl() {
@@ -58,23 +55,20 @@ public class RootFactoryImpl extends EFactoryImpl implements RootFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
@Override
public EObject create(EClass eClass) {
- switch(eClass.getClassifierID()) {
- case RootPackage.PROPERTIES_ROOT:
- return createPropertiesRoot();
- default:
- throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$
+ switch (eClass.getClassifierID()) {
+ case RootPackage.PROPERTIES_ROOT: return createPropertiesRoot();
+ default:
+ throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public PropertiesRoot createPropertiesRoot() {
@@ -85,7 +79,6 @@ public class RootFactoryImpl extends EFactoryImpl implements RootFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public RootPackage getRootPackage() {
@@ -95,7 +88,6 @@ public class RootFactoryImpl extends EFactoryImpl implements RootFactory {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @deprecated
* @generated
*/
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/RootPackageImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/RootPackageImpl.java
index 91bc2bd793b..a37fa23c8d3 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/RootPackageImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/impl/RootPackageImpl.java
@@ -9,12 +9,7 @@ package org.eclipse.papyrus.views.properties.root.impl;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
-
import org.eclipse.emf.ecore.impl.EPackageImpl;
-
-
-
-
import org.eclipse.papyrus.views.properties.contexts.ContextsPackage;
import org.eclipse.papyrus.views.properties.environment.EnvironmentPackage;
import org.eclipse.papyrus.views.properties.root.PropertiesRoot;
@@ -26,7 +21,6 @@ import org.eclipse.papyrus.views.properties.ui.UiPackage;
* <!-- begin-user-doc -->
* An implementation of the model <b>Package</b>.
* <!-- end-user-doc -->
- *
* @generated
*/
public class RootPackageImpl extends EPackageImpl implements RootPackage {
@@ -34,19 +28,19 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private EClass propertiesRootEClass = null;
/**
- * Creates an instance of the model <b>Package</b>, registered with {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the
- * package
+ * 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 -->
- *
+ * <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.views.properties.root.RootPackage#eNS_URI
* @see #init()
@@ -59,7 +53,6 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private static boolean isInited = false;
@@ -67,18 +60,16 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
/**
* 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 RootPackage#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 -->
- *
+ * <p>This method is used to initialize {@link RootPackage#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 RootPackage init() {
- if(isInited)
- return (RootPackage)EPackage.Registry.INSTANCE.getEPackage(RootPackage.eNS_URI);
+ if (isInited) return (RootPackage)EPackage.Registry.INSTANCE.getEPackage(RootPackage.eNS_URI);
// Obtain or create and register package
RootPackageImpl theRootPackage = (RootPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof RootPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new RootPackageImpl());
@@ -89,6 +80,7 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
EnvironmentPackage.eINSTANCE.eClass();
ContextsPackage.eINSTANCE.eClass();
UiPackage.eINSTANCE.eClass();
+ org.eclipse.papyrus.infra.constraints.environment.EnvironmentPackage.eINSTANCE.eClass();
// Create package meta-data objects
theRootPackage.createPackageContents();
@@ -99,7 +91,7 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
// Mark meta-data to indicate it can't be changed
theRootPackage.freeze();
-
+
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(RootPackage.eNS_URI, theRootPackage);
return theRootPackage;
@@ -108,7 +100,6 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EClass getPropertiesRoot() {
@@ -118,7 +109,6 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getPropertiesRoot_Environments() {
@@ -128,7 +118,6 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public EReference getPropertiesRoot_Contexts() {
@@ -138,7 +127,6 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public RootFactory getRootFactory() {
@@ -148,22 +136,19 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isCreated = false;
/**
- * Creates the meta-model objects for the package. This method is
+ * 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;
+ if (isCreated) return;
isCreated = true;
// Create classes and their features
@@ -175,22 +160,19 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
private boolean isInitialized = false;
/**
- * Complete the initialization of the package and its meta-model. This
+ * 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;
+ if (isInitialized) return;
isInitialized = true;
// Initialize package
@@ -209,9 +191,9 @@ public class RootPackageImpl extends EPackageImpl implements RootPackage {
// Add supertypes to classes
// Initialize classes and features; add operations and parameters
- initEClass(propertiesRootEClass, PropertiesRoot.class, "PropertiesRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$
- initEReference(getPropertiesRoot_Environments(), theEnvironmentPackage.getEnvironment(), null, "environments", null, 0, -1, PropertiesRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
- initEReference(getPropertiesRoot_Contexts(), theContextsPackage.getContext(), null, "contexts", null, 0, -1, PropertiesRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$
+ initEClass(propertiesRootEClass, PropertiesRoot.class, "PropertiesRoot", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEReference(getPropertiesRoot_Environments(), theEnvironmentPackage.getEnvironment(), null, "environments", null, 0, -1, PropertiesRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getPropertiesRoot_Contexts(), theContextsPackage.getContext(), null, "contexts", null, 0, -1, PropertiesRoot.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
// Create resource
createResource(eNS_URI);
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/util/RootAdapterFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/util/RootAdapterFactory.java
index 2cb65b2dcbb..3f96e996686 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/util/RootAdapterFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/util/RootAdapterFactory.java
@@ -8,19 +8,16 @@ package org.eclipse.papyrus.views.properties.root.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.views.properties.root.*;
+import org.eclipse.papyrus.views.properties.root.PropertiesRoot;
+import org.eclipse.papyrus.views.properties.root.RootPackage;
/**
* <!-- 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.views.properties.root.RootPackage
* @generated
*/
@@ -30,7 +27,6 @@ public class RootAdapterFactory extends AdapterFactoryImpl {
* The cached model package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected static RootPackage modelPackage;
@@ -39,11 +35,10 @@ public class RootAdapterFactory extends AdapterFactoryImpl {
* Creates an instance of the adapter factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public RootAdapterFactory() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = RootPackage.eINSTANCE;
}
}
@@ -53,16 +48,15 @@ public class RootAdapterFactory extends AdapterFactoryImpl {
* <!-- 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) {
+ if (object == modelPackage) {
return true;
}
- if(object instanceof EObject) {
+ if (object instanceof EObject) {
return ((EObject)object).eClass().getEPackage() == modelPackage;
}
return false;
@@ -72,29 +66,24 @@ public class RootAdapterFactory extends AdapterFactoryImpl {
* The switch that delegates to the <code>createXXX</code> methods.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected RootSwitch<Adapter> modelSwitch = new RootSwitch<Adapter>() {
-
- @Override
- public Adapter casePropertiesRoot(PropertiesRoot object) {
- return createPropertiesRootAdapter();
- }
-
- @Override
- public Adapter defaultCase(EObject object) {
- return createEObjectAdapter();
- }
- };
+ @Override
+ public Adapter casePropertiesRoot(PropertiesRoot object) {
+ return createPropertiesRootAdapter();
+ }
+ @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.
+ * @param target the object to adapt.
* @return the adapter for the <code>target</code>.
* @generated
*/
@@ -110,7 +99,6 @@ public class RootAdapterFactory extends AdapterFactoryImpl {
* 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.views.properties.root.PropertiesRoot
* @generated
@@ -124,7 +112,6 @@ public class RootAdapterFactory extends AdapterFactoryImpl {
* <!-- begin-user-doc -->
* This default implementation returns null.
* <!-- end-user-doc -->
- *
* @return the new adapter.
* @generated
*/
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/util/RootSwitch.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/util/RootSwitch.java
index d362685205d..4d667913652 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/util/RootSwitch.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/root/util/RootSwitch.java
@@ -6,12 +6,11 @@
*/
package org.eclipse.papyrus.views.properties.root.util;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.views.properties.root.*;
+import org.eclipse.emf.ecore.EPackage;
+import org.eclipse.emf.ecore.util.Switch;
+import org.eclipse.papyrus.views.properties.root.PropertiesRoot;
+import org.eclipse.papyrus.views.properties.root.RootPackage;
/**
* <!-- begin-user-doc -->
@@ -22,17 +21,16 @@ import org.eclipse.papyrus.views.properties.root.*;
* until a non-null result is returned,
* which is the result of the switch.
* <!-- end-user-doc -->
- *
* @see org.eclipse.papyrus.views.properties.root.RootPackage
* @generated
*/
-public class RootSwitch<T> {
+public class RootSwitch<T> extends
+Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
protected static RootPackage modelPackage;
@@ -41,64 +39,44 @@ public class RootSwitch<T> {
* Creates an instance of the switch.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public RootSwitch() {
- if(modelPackage == null) {
+ if (modelPackage == null) {
modelPackage = RootPackage.eINSTANCE;
}
}
/**
- * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
+ * Checks whether this is a switch for the given package.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
- * @return the first non-null result returned by a <code>caseXXX</code> call.
+ * @parameter ePackage the package in question.
+ * @return whether this is a switch for the given package.
* @generated
*/
- public T doSwitch(EObject theEObject) {
- return doSwitch(theEObject.eClass(), theEObject);
+ @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
- */
- protected T doSwitch(EClass theEClass, EObject theEObject) {
- if(theEClass.eContainer() == modelPackage) {
- return doSwitch(theEClass.getClassifierID(), theEObject);
- } else {
- List<EClass> eSuperTypes = theEClass.getESuperTypes();
- return eSuperTypes.isEmpty() ? defaultCase(theEObject) : doSwitch(eSuperTypes.get(0), theEObject);
- }
- }
-
- /**
- * 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 RootPackage.PROPERTIES_ROOT:
- {
- PropertiesRoot propertiesRoot = (PropertiesRoot)theEObject;
- T result = casePropertiesRoot(propertiesRoot);
- if(result == null)
- result = defaultCase(theEObject);
- return result;
- }
- default:
- return defaultCase(theEObject);
+ switch (classifierID) {
+ case RootPackage.PROPERTIES_ROOT: {
+ PropertiesRoot propertiesRoot = (PropertiesRoot)theEObject;
+ T result = casePropertiesRoot(propertiesRoot);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
+ default: return defaultCase(theEObject);
}
}
@@ -108,9 +86,7 @@ public class RootSwitch<T> {
* This implementation returns null;
* returning a non-null result will terminate the switch.
* <!-- end-user-doc -->
- *
- * @param object
- * the target of the switch.
+ * @param object the target of the switch.
* @return the result of interpreting the object as an instance of '<em>Properties Root</em>'.
* @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
* @generated
@@ -125,13 +101,12 @@ public class RootSwitch<T> {
* 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.
+ * @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;
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/Preferences.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/Preferences.java
index ea42dd6be85..85a216ab9ca 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/Preferences.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/Preferences.java
@@ -7,7 +7,6 @@
package org.eclipse.papyrus.views.properties.runtime.preferences;
import org.eclipse.emf.common.util.EList;
-
import org.eclipse.emf.ecore.EObject;
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/ContextDescriptorImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/ContextDescriptorImpl.java
index eae81c11435..8b49048bc21 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/ContextDescriptorImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/ContextDescriptorImpl.java
@@ -7,12 +7,9 @@
package org.eclipse.papyrus.views.properties.runtime.preferences.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.views.properties.runtime.preferences.ContextDescriptor;
import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesFactoryImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesFactoryImpl.java
index 079327ed832..7cdad749f18 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesFactoryImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesFactoryImpl.java
@@ -9,12 +9,12 @@ package org.eclipse.papyrus.views.properties.runtime.preferences.impl;
import org.eclipse.emf.ecore.EClass;
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.views.properties.runtime.preferences.*;
+import org.eclipse.papyrus.views.properties.runtime.preferences.ContextDescriptor;
+import org.eclipse.papyrus.views.properties.runtime.preferences.Preferences;
+import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesFactory;
+import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesPackage;
/**
* <!-- begin-user-doc -->
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesImpl.java
index c91dd8867d3..31ed77ba779 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesImpl.java
@@ -9,17 +9,12 @@ package org.eclipse.papyrus.views.properties.runtime.preferences.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.views.properties.runtime.preferences.ContextDescriptor;
import org.eclipse.papyrus.views.properties.runtime.preferences.Preferences;
import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesPackage;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesPackageImpl.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesPackageImpl.java
index 02d427dc4ab..b318d785b4f 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesPackageImpl.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/impl/PreferencesPackageImpl.java
@@ -10,9 +10,7 @@ import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
-
import org.eclipse.emf.ecore.impl.EPackageImpl;
-
import org.eclipse.papyrus.views.properties.runtime.preferences.ContextDescriptor;
import org.eclipse.papyrus.views.properties.runtime.preferences.Preferences;
import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesFactory;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/util/PreferencesAdapterFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/util/PreferencesAdapterFactory.java
index 63448b64457..061844d822a 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/util/PreferencesAdapterFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/util/PreferencesAdapterFactory.java
@@ -8,12 +8,11 @@ package org.eclipse.papyrus.views.properties.runtime.preferences.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.views.properties.runtime.preferences.*;
+import org.eclipse.papyrus.views.properties.runtime.preferences.ContextDescriptor;
+import org.eclipse.papyrus.views.properties.runtime.preferences.Preferences;
+import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesPackage;
/**
* <!-- begin-user-doc -->
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/util/PreferencesSwitch.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/util/PreferencesSwitch.java
index dca45d436dd..57f57b0a6fa 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/util/PreferencesSwitch.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src-gen/org/eclipse/papyrus/views/properties/runtime/preferences/util/PreferencesSwitch.java
@@ -10,8 +10,9 @@ import java.util.List;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
-
-import org.eclipse.papyrus.views.properties.runtime.preferences.*;
+import org.eclipse.papyrus.views.properties.runtime.preferences.ContextDescriptor;
+import org.eclipse.papyrus.views.properties.runtime.preferences.Preferences;
+import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesPackage;
/**
* <!-- begin-user-doc -->
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/AbstractConstraint.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/AbstractConstraint.java
deleted file mode 100644
index d5953b142a1..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/AbstractConstraint.java
+++ /dev/null
@@ -1,231 +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.views.properties.constraints;
-
-import java.util.Iterator;
-
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.papyrus.views.properties.Activator;
-import org.eclipse.papyrus.views.properties.contexts.ConfigProperty;
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
-import org.eclipse.papyrus.views.properties.contexts.DisplayUnit;
-import org.eclipse.papyrus.views.properties.contexts.ReferenceProperty;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
-import org.eclipse.papyrus.views.properties.contexts.ValueProperty;
-import org.eclipse.papyrus.views.properties.contexts.View;
-
-/**
- * An abstract implementation for the Constraint interface.
- *
- * @author Camille Letavernier
- *
- */
-public abstract class AbstractConstraint implements Constraint {
-
- /**
- * The descriptor used to instantiate this constraint.
- * Contains some attributes for this constraint
- */
- protected ConstraintDescriptor descriptor;
-
- /**
- * The display unit (Section or View) associated to this constraint
- */
- protected DisplayUnit display;
-
- public final void setConstraintDescriptor(ConstraintDescriptor descriptor) {
- this.descriptor = descriptor;
- display = getDisplay(descriptor);
- if(descriptor instanceof SimpleConstraint) {
- setDescriptor((SimpleConstraint)descriptor);
- }
- }
-
- private DisplayUnit getDisplay(ConstraintDescriptor descriptor) {
- if(descriptor.getDisplay() == null) {
- if(descriptor.eContainer() instanceof ConstraintDescriptor) {
- return getDisplay((ConstraintDescriptor)descriptor.eContainer());
- }
- }
- return descriptor.getDisplay();
- }
-
- public View getView() {
- if(display instanceof View) {
- return (View)display;
- } else {
- Activator.log.warn("The constraint " + descriptor.getName() + " isn't owned by a View"); //$NON-NLS-1$ //$NON-NLS-2$
- return null;
- }
- }
-
- /**
- * A constraint for a Single element (Exactly one) overrides
- * the same constraint for a multiple element (One or more)
- */
- public boolean overrides(Constraint constraint) {
- if(equivalent(constraint)) {
- if(getView().getElementMultiplicity() == 1) {
- if(constraint.getView().getElementMultiplicity() != 1) {
- return true;
- }
- }
- }
-
- return false;
- }
-
- /**
- * Tests if two constraints are equivalent.
- * Two constraints are equivalent if they have the same parameters.
- * Two equivalent constraints may have different Display units, with
- * different multiplicities.
- *
- * @param constraint
- * @return
- * True if this object is equivalent to the given constraint
- */
- protected abstract boolean equivalent(Constraint constraint);
-
- public ConstraintDescriptor getDescriptor() {
- return descriptor;
- }
-
- /**
- * Returns the ConfigProperty corresponding to the given propertyName
- *
- * @param propertyName
- * The name of the property to retrieve
- * @return
- * The ConfigProperty corresponding to the given propertyName
- */
- protected ConfigProperty getProperty(String propertyName) {
- if(descriptor == null || !(descriptor instanceof SimpleConstraint)) {
- Activator.log.warn("The constraint descriptor has not been set for this constraint : " + this); //$NON-NLS-1$
- } else {
- for(ConfigProperty property : ((SimpleConstraint)descriptor).getProperties()) {
- if(property.getName().equals(propertyName)) {
- return property;
- }
- }
- }
-
- Activator.log.warn("The property " + propertyName + " has not been set for constraint " + descriptor.getName()); //$NON-NLS-1$ //$NON-NLS-2$
-
- return null;
- }
-
- /**
- * Returns the value associated to the given property
- *
- * @param propertyName
- * The name of the property for which we want to retrieve the value
- * The name must correspond to a valid ValueProperty
- * @return
- * The value associated to the given property
- *
- * @see #getReferenceValue(String)
- */
- protected String getValue(String propertyName) {
- ConfigProperty property = getProperty(propertyName);
-
- if(property instanceof ValueProperty) {
- return ((ValueProperty)property).getValue();
- }
-
- Activator.log.warn("The property " + propertyName + " is not a ValueProperty (Constraint " + descriptor.getName() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-
- return null;
- }
-
- /**
- * Returns the value associated to the given property
- *
- * @param propertyName
- * The name of the property for which we want to retrieve the value
- * The name must correspond to a valid ReferenceProperty
- * @return
- * The value associated to the given property
- *
- * @see #getValue(String)
- */
- protected Object getReferenceValue(String propertyName) {
- ConfigProperty property = getProperty(propertyName);
- if(property instanceof ReferenceProperty) {
- return ((ReferenceProperty)property).getValue();
- }
-
- Activator.log.warn("The property " + propertyName + " is not a ReferenceProperty (Constraint " + descriptor.getName() + ")"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-
- return null;
- }
-
- /**
- * Sets the Constraint Descriptor for this constraint.
- * The constraint descriptor may contain some parameters to configure this
- * constraint.
- * Implementors may override.
- *
- * @param descriptor
- * The constraint descriptor to be associated to this constraint
- *
- * @see #setConstraintDescriptor(ConstraintDescriptor)
- */
- protected void setDescriptor(SimpleConstraint descriptor) {
- //Implementors may override
- }
-
- /**
- * {@inheritDoc}
- *
- * The default implementation matches a selection iff the constraint matches
- * each object of the selection.
- */
- public boolean match(IStructuredSelection selection) {
- if(selection.isEmpty()) {
- return false;
- }
-
-
- int elementMultiplicity;
-
- if(display instanceof View) {
- elementMultiplicity = ((View)display).getElementMultiplicity();
- } else {
- //FIXME : The dynamic sections were initially not supposed to be used on multi-selection
- //Thus, they don't have an elementMultiplicity criteria.
- elementMultiplicity = -1; //Arbitrary number of elements for Sections
- }
-
- int selectionSize = selection.size();
- if(elementMultiplicity == 1) {
- if(selectionSize == 1) {
- if(match(selection.getFirstElement())) {
- return true;
- }
- }
- } else if(elementMultiplicity == selectionSize || elementMultiplicity < 0) {
- Iterator<?> selectionIterator = selection.iterator();
- while(selectionIterator.hasNext()) {
- Object selectedItem = selectionIterator.next();
- if(!match(selectedItem)) {
- return false;
- }
- }
-
- return true;
- }
-
- return false;
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/CompoundConstraint.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/CompoundConstraint.java
deleted file mode 100644
index dc54042c4c6..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/CompoundConstraint.java
+++ /dev/null
@@ -1,107 +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.views.properties.constraints;
-
-import java.util.LinkedList;
-import java.util.List;
-
-/**
- * A Composite constraint. It matches a given selection if and only if
- * all its sub constraints match this selection.
- *
- * @author Camille Letavernier
- */
-public class CompoundConstraint extends AbstractConstraint {
-
- /**
- * Adds a sub-constraint to this constraint
- *
- * @param subConstraint
- * The sub-constraint to be added
- */
- public void addConstraint(Constraint subConstraint) {
- constraints.add(subConstraint);
- }
-
- /**
- * A Composite Constraints matches a selection if and only if
- * all its inner constraints match it
- */
- public boolean match(Object selection) {
- for(Constraint constraint : constraints) {
- if(!constraint.match(selection)) {
- return false;
- }
- }
- return true;
- }
-
- @Override
- public boolean overrides(Constraint constraint) {
- if(constraints.size() == 0) {
- return false;
- }
-
- if(constraints.size() == 1) {
- return constraints.get(0).overrides(constraint);
- }
-
- //A Composite overrides another Composite if at least one sub-constraint overrides another one,
- //and each sub-constraint is at least equal to another one
- if(constraint instanceof CompoundConstraint) {
- boolean atLeastOneOverride = false;
- for(Constraint subConstraint : constraints) {
- boolean equalsOrOverride = false;
- for(Constraint otherSubConstraint : ((CompoundConstraint)constraint).constraints) {
- if(subConstraint.overrides(otherSubConstraint)) {
- atLeastOneOverride = true;
- break;
- }
- if(subConstraint.equals(otherSubConstraint)) {
- equalsOrOverride = true;
- }
- }
-
- if(!equalsOrOverride) {
- return false;
- }
- }
-
- if(atLeastOneOverride) {
- return true;
- }
- } else { //At least one of our constraints must override or be equal to the other constraint
- for(Constraint c : constraints) {
- if(c.overrides(constraint) || c.equals(constraint)) {
- //TODO : The equals() method is not defined for most constraint implementations.
- //We may actually need an "isEquivalent" method, defined in the Constraint Interface
- return true;
- }
- }
- }
-
- return false;
- }
-
- @Override
- public String toString() {
- return constraints.toString();
- }
-
- private List<Constraint> constraints = new LinkedList<Constraint>();
-
- @Override
- protected boolean equivalent(Constraint constraint) {
- return false;
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/Constraint.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/Constraint.java
deleted file mode 100644
index 84c06e7762e..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/Constraint.java
+++ /dev/null
@@ -1,86 +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.views.properties.constraints;
-
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
-import org.eclipse.papyrus.views.properties.contexts.View;
-
-/**
- * An interface representing a Constraint. A Constraint is used to test if a selection
- * is matching a pre-configured property view.
- *
- * @author Camille Letavernier
- *
- */
-//TODO : To be refactored
-//The constraint framework should be accessible by other plug-ins which don't
-//necessarily depend on oep.properties
-public interface Constraint {
-
- /**
- * Sets the Constraint Descriptor for this constraint.
- * The constraint descriptor may contain some parameters to configure this
- * constraint
- *
- * @param descriptor
- * The constraint descriptor to be associated to this constraint
- */
- public void setConstraintDescriptor(ConstraintDescriptor descriptor);
-
- /**
- * Tests if this constraint matches the given object
- *
- * @param selection
- * The object to be tested against this constraint
- * @return
- * True if this constraint matches the given object
- */
- public boolean match(Object selection);
-
- /**
- * Tests if this constraint matches the given selection
- *
- * @param selection
- * The selection to be tested against this constraint
- * @return
- * True if this constraint matches the given selection
- */
- public boolean match(IStructuredSelection selection);
-
- /**
- * Returns the view associated to this constraint, or null if the constraint is associated to another
- * kind of display unit (e.g. a section)
- *
- * @return
- * The view associated to this constraint
- */
- public View getView();
-
- /**
- * Tests if this constraint should override the given constraint. If true,
- * the other constraint's display unit won't be displayed. A constraint should
- * never override itself, and you should ensure that there are no loops in the
- * constraint overriding graph. If such a loops occurs, nothing will be displayed
- *
- * @param constraint
- * The tested constraint
- * @return
- * True if this constraint overrides the given constraint
- */
- public boolean overrides(Constraint constraint);
-
- /**
- * @return the constraint descriptor associated to this constraint
- */
- public ConstraintDescriptor getDescriptor();
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/EMFInstanceOfConstraint.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/EMFInstanceOfConstraint.java
deleted file mode 100644
index 9b77b2d987b..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/EMFInstanceOfConstraint.java
+++ /dev/null
@@ -1,107 +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.views.properties.constraints;
-
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EPackage;
-import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-import org.eclipse.papyrus.infra.services.edit.Activator;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
-
-/**
- * A constraint testing if a Selection is an EObject, instance of the given
- * EClass. The EClass is identified by its nsURI and name.
- *
- * @author Camille Letavernier
- *
- */
-public class EMFInstanceOfConstraint extends AbstractConstraint {
-
- private String className;
-
- private String nsUri;
-
- private EPackage metamodel;
-
- @Override
- protected void setDescriptor(SimpleConstraint descriptor) {
- className = getValue("className"); //$NON-NLS-1$
- nsUri = getValue("nsUri"); //$NON-NLS-1$
- metamodel = EPackage.Registry.INSTANCE.getEPackage(nsUri);
- if(metamodel == null) {
- Activator.log.warn("Metamodel with nsUri " + nsUri + " not found"); //$NON-NLS-1$ //$NON-NLS-2$
- }
- }
-
- /**
- * A class constraint overrides its superclass constraints
- * e.g. : instanceOf(Class) overrides instanceOf(Classifier)
- */
- @Override
- public boolean overrides(Constraint otherConstraint) {
- if(!(otherConstraint instanceof EMFInstanceOfConstraint)) {
- return false;
- }
-
- EMFInstanceOfConstraint constraint = (EMFInstanceOfConstraint)otherConstraint;
- EClass thisClass = EMFHelper.getEClass(nsUri, className);
- EClass otherClass = EMFHelper.getEClass(constraint.nsUri, constraint.className);
- boolean result = (!equals(constraint)) && EMFHelper.isSubclass(thisClass, otherClass) && thisClass != otherClass;
-
- return result || super.overrides(constraint);
- }
-
- public boolean match(Object selection) {
- EObject selectedItem = EMFHelper.getEObject(selection);
-
- if(selectedItem != null) {
- return EMFHelper.isInstance(selectedItem, className, metamodel);
- }
- return false;
- }
-
- @Override
- public String toString() {
- return "EMFInstanceOfConstraint (" + nsUri + "/" + className + ")"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- }
-
- @Override
- protected boolean equivalent(Constraint constraint) {
- if(this == constraint) {
- return true;
- }
- if(constraint == null) {
- return false;
- }
- if(!(constraint instanceof EMFInstanceOfConstraint)) {
- return false;
- }
- EMFInstanceOfConstraint other = (EMFInstanceOfConstraint)constraint;
- if(className == null) {
- if(other.className != null) {
- return false;
- }
- } else if(!className.equals(other.className)) {
- return false;
- }
- if(nsUri == null) {
- if(other.nsUri != null) {
- return false;
- }
- } else if(!nsUri.equals(other.nsUri)) {
- return false;
- }
- return true;
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/EMFQueryConstraint.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/EMFQueryConstraint.java
deleted file mode 100644
index 4cc2ecb5563..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/EMFQueryConstraint.java
+++ /dev/null
@@ -1,84 +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.views.properties.constraints;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.facet.infra.query.OCLModelQuery;
-import org.eclipse.emf.facet.infra.query.QueryFactory;
-import org.eclipse.emf.facet.infra.query.core.AbstractModelQuery;
-import org.eclipse.emf.facet.infra.query.core.ModelQuerySetCatalog;
-import org.eclipse.emf.facet.infra.query.runtime.ModelQueryResult;
-import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-import org.eclipse.papyrus.views.properties.Activator;
-import org.eclipse.papyrus.views.properties.contexts.ConfigProperty;
-import org.eclipse.papyrus.views.properties.contexts.ReferenceProperty;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
-import org.eclipse.papyrus.views.properties.contexts.ValueProperty;
-
-/**
- * A constraint applying an EMF Query on a selection. The Query should return
- * a Boolean.
- *
- * @author Camille Letavernier
- */
-public class EMFQueryConstraint extends AbstractConstraint {
-
- private OCLModelQuery query;
-
- @Override
- protected void setDescriptor(SimpleConstraint descriptor) {
- ConfigProperty property = getProperty("query"); //$NON-NLS-1$
- if(property instanceof ReferenceProperty) {
- query = (OCLModelQuery)getReferenceValue("query"); //$NON-NLS-1$
- } else {
- String queryExpression = ((ValueProperty)property).getValue();
- query = QueryFactory.eINSTANCE.createOCLModelQuery();
- query.setQuery(queryExpression);
- query.setReturnType(EcorePackage.eINSTANCE.getEBoolean());
- query.getScope().add(EcorePackage.eINSTANCE.getEObject());
- throw new UnsupportedOperationException();
- }
- }
-
- public boolean match(Object selection) {
- if(query == null) {
- return false;
- }
-
- EObject selectedItem = EMFHelper.getEObject(selection);
-
- if(selectedItem != null) {
- try {
- ModelQuerySetCatalog catalog = ModelQuerySetCatalog.getSingleton();
- AbstractModelQuery abstractQuery = catalog.getModelQueryImpl(query);
- ModelQueryResult result = abstractQuery.evaluate(selectedItem);
- Object value = result.getValue();
- return value == null ? false : (Boolean)value;
- } catch (Exception ex) {
- Activator.log.error(ex);
- }
-
- }
- return false;
- }
-
- @Override
- protected boolean equivalent(Constraint constraint) {
- if(constraint != null && constraint instanceof EMFQueryConstraint) {
- EMFQueryConstraint other = (EMFQueryConstraint)constraint;
- return other.query.equals(query);
- }
- return false;
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaInstanceOf.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaInstanceOf.java
deleted file mode 100644
index d66b541053a..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaInstanceOf.java
+++ /dev/null
@@ -1,46 +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.views.properties.constraints;
-
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
-import org.eclipse.papyrus.views.properties.util.ClassLoader;
-
-/**
- * A Constraint to test if an object is an instance of a given
- * Java class
- *
- * @author Camille Letavernier
- */
-public class JavaInstanceOf extends AbstractConstraint {
-
- private Class<?> clazz;
-
- @Override
- public void setDescriptor(SimpleConstraint descriptor) {
- ClassLoader loader = new ClassLoader();
- clazz = loader.loadClass(getValue("class")); //$NON-NLS-1$
- }
-
- public boolean match(Object selection) {
- if(clazz == null) {
- return false;
- }
-
- return clazz.isInstance(selection);
- }
-
- @Override
- protected boolean equivalent(Constraint constraint) {
- return false; //TODO
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaQuery.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaQuery.java
deleted file mode 100644
index 939ddbcb78f..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaQuery.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package org.eclipse.papyrus.views.properties.constraints;
-
-
-public interface JavaQuery {
-
- public boolean match(Object selection);
-
- public class FalseQuery implements JavaQuery {
-
- public FalseQuery() {
- }
-
- public boolean match(Object selection) {
- return false;
- }
- }
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaQueryConstraint.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaQueryConstraint.java
deleted file mode 100644
index d117b7c24ac..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/JavaQueryConstraint.java
+++ /dev/null
@@ -1,53 +0,0 @@
-package org.eclipse.papyrus.views.properties.constraints;
-
-import org.eclipse.papyrus.views.properties.Activator;
-import org.eclipse.papyrus.views.properties.constraints.JavaQuery.FalseQuery;
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
-
-/**
- * This constraint allows to define a Java Query (without parameters) without
- * defining it in an environment file.
- *
- * The constraint takes one parameter ("className"), which defines the
- * qualified name of the Java class used to implement the constraint.
- *
- * The Java class must implement the {@link JavaQuery} interface
- *
- * @author Camille Letavernier
- */
-public class JavaQueryConstraint extends AbstractConstraint {
-
- public final static String QUERY_CLASS_NAME_PROPERTY = "className"; //$NON-NLS-1$
-
- private JavaQuery query = new FalseQuery();
-
- protected void setDescriptor(ConstraintDescriptor descriptor) {
- String queryClassName = getValue(QUERY_CLASS_NAME_PROPERTY);
- if(queryClassName != null) {
- try {
- Class<? extends JavaQuery> queryClass = Class.forName(queryClassName).asSubclass(JavaQuery.class);
- query = queryClass.newInstance();
- } catch (ClassNotFoundException ex) {
- Activator.log.error(ex);
- } catch (InstantiationException ex) {
- Activator.log.error(ex);
- } catch (IllegalAccessException ex) {
- Activator.log.error(ex);
- }
- }
- }
-
- public boolean match(Object selection) {
- return query.match(selection);
- }
-
- @Override
- protected boolean equivalent(Constraint constraint) {
- if(constraint instanceof JavaQueryConstraint) {
- return ((JavaQueryConstraint)constraint).query.getClass().equals(query.getClass());
- }
- return false;
- }
-
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/TrueConstraint.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/TrueConstraint.java
deleted file mode 100644
index 3b6c9713bd5..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/constraints/TrueConstraint.java
+++ /dev/null
@@ -1,31 +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.views.properties.constraints;
-
-/**
- * A Constraint always returning true.
- *
- * @author Camille Letavernier
- */
-public class TrueConstraint extends AbstractConstraint {
-
- public boolean match(Object selection) {
- return true;
- }
-
- @Override
- protected boolean equivalent(Constraint constraint) {
- //return constraint != null && constraint instanceof TrueConstraint;
- return false; //TrueConstraint is always true ; it shouldn't override another "always true" constraint
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/creation/EcorePropertyEditorFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/creation/EcorePropertyEditorFactory.java
index 0237e0fbcd0..66c608152e6 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/creation/EcorePropertyEditorFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/creation/EcorePropertyEditorFactory.java
@@ -23,12 +23,12 @@ import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.window.Window;
+import org.eclipse.papyrus.infra.emf.utils.EClassNameComparator;
import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
import org.eclipse.papyrus.views.properties.Activator;
import org.eclipse.papyrus.views.properties.messages.Messages;
import org.eclipse.papyrus.views.properties.providers.CreateInFeatureContentProvider;
-import org.eclipse.papyrus.views.properties.util.EClassNameComparator;
import org.eclipse.swt.SWT;
import org.eclipse.swt.events.SelectionEvent;
import org.eclipse.swt.events.SelectionListener;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/creation/PropertyEditorFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/creation/PropertyEditorFactory.java
index 3c18dcf1988..eec3f3598fe 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/creation/PropertyEditorFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/creation/PropertyEditorFactory.java
@@ -21,7 +21,7 @@ import org.eclipse.papyrus.infra.widgets.creation.ReferenceValueFactory;
import org.eclipse.papyrus.views.properties.contexts.View;
import org.eclipse.papyrus.views.properties.messages.Messages;
import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
-import org.eclipse.papyrus.views.properties.runtime.ConstraintEngine;
+import org.eclipse.papyrus.views.properties.runtime.ViewConstraintEngine;
import org.eclipse.swt.widgets.Control;
/**
@@ -84,7 +84,7 @@ public class PropertyEditorFactory implements ReferenceValueFactory {
IStructuredSelection selection = new StructuredSelection(source);
- ConstraintEngine constraintEngine = ConfigurationManager.instance.constraintEngine;
+ ViewConstraintEngine constraintEngine = ConfigurationManager.instance.constraintEngine;
Set<View> views = constraintEngine.getViews(selection);
if(!views.isEmpty()) {
EditionDialog dialog = new EditionDialog(widget.getShell());
@@ -130,7 +130,7 @@ public class PropertyEditorFactory implements ReferenceValueFactory {
public Object edit(Control widget, Object source) {
IStructuredSelection selection = new StructuredSelection(source);
- ConstraintEngine constraintEngine = ConfigurationManager.instance.constraintEngine;
+ ViewConstraintEngine constraintEngine = ConfigurationManager.instance.constraintEngine;
Set<View> views = constraintEngine.getViews(selection);
if(!views.isEmpty()) {
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/AnnotationObservableValue.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/AnnotationObservableValue.java
deleted file mode 100644
index 1d16c3c656d..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/AnnotationObservableValue.java
+++ /dev/null
@@ -1,133 +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.views.properties.databinding;
-
-import java.util.Map.Entry;
-
-import org.eclipse.core.databinding.observable.value.AbstractObservableValue;
-import org.eclipse.emf.common.command.CompoundCommand;
-import org.eclipse.emf.common.util.BasicEMap;
-import org.eclipse.emf.common.util.EMap;
-import org.eclipse.emf.ecore.EAnnotation;
-import org.eclipse.emf.ecore.EModelElement;
-import org.eclipse.emf.ecore.EcoreFactory;
-import org.eclipse.emf.ecore.EcorePackage;
-import org.eclipse.emf.edit.command.SetCommand;
-import org.eclipse.emf.edit.domain.EditingDomain;
-
-/**
- * An IObservableValue for editing EMF EAnnotations
- *
- * @author Camille Letavernier
- */
-public class AnnotationObservableValue extends AbstractObservableValue {
-
- /**
- * The EModelElement to edit.
- */
- protected EModelElement source;
-
- /**
- * The editing domain on which the commands will be executed
- */
- protected EditingDomain domain;
-
- /**
- * The name of the annotation to use
- */
- protected String annotationName;
-
- /**
- * The annotation key to edit
- */
- protected String key;
-
- /**
- * The EAnnotation being edited
- * May be null
- */
- protected EAnnotation annotation;
-
- /**
- * Constructor.
- *
- * Creates an IObservableValue for the annotation. The annotation doesn't
- * need to be created beforehand
- *
- * @param source
- * The EObject owning the annotation
- * @param domain
- * The editing domain on which the commands will be executed
- * @param annotationName
- * The name of the annotation
- * @param key
- * The name of annotation's property to edit
- */
- public AnnotationObservableValue(EModelElement source, EditingDomain domain, String annotationName, String key) {
- this.source = source;
- this.domain = domain;
- this.annotationName = annotationName;
- this.key = key;
- annotation = source.getEAnnotation(annotationName);
- }
-
- /**
- * {@inheritDoc}
- */
- public Object getValueType() {
- return String.class;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected Object doGetValue() {
- if(annotation == null) {
- return null;
- }
-
- return annotation.getDetails().get(key);
- }
-
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected void doSetValue(Object value) {
- if(!(value instanceof String)) {
- return;
- }
-
- CompoundCommand emfCommand = new CompoundCommand("Set " + key);
-
- if(annotation == null) {
- annotation = EcoreFactory.eINSTANCE.createEAnnotation();
- SetCommand command = new SetCommand(domain, annotation, EcorePackage.eINSTANCE.getEAnnotation_Source(), source);
- emfCommand.append(command);
- }
-
- EMap<String, String> details = new BasicEMap<String, String>();
- for(Entry<String, String> entry : annotation.getDetails().entrySet()) {
- details.put(entry.getKey(), entry.getValue());
- }
-
- details.put(key, (String)value);
-
- SetCommand command = new SetCommand(domain, annotation, EcorePackage.eINSTANCE.getEAnnotation_Details(), details);
- emfCommand.append(command);
-
- domain.getCommandStack().execute(emfCommand);
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/EMFObservableList.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/EMFObservableList.java
deleted file mode 100644
index affdb3d6158..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/EMFObservableList.java
+++ /dev/null
@@ -1,313 +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.views.properties.databinding;
-
-import java.util.Collection;
-import java.util.LinkedList;
-import java.util.List;
-
-import org.eclipse.core.databinding.observable.list.ObservableList;
-import org.eclipse.emf.common.command.Command;
-import org.eclipse.emf.common.command.CompoundCommand;
-import org.eclipse.emf.common.command.StrictCompoundCommand;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.edit.command.AddCommand;
-import org.eclipse.emf.edit.command.RemoveCommand;
-import org.eclipse.emf.edit.command.SetCommand;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.infra.widgets.editors.AbstractEditor;
-import org.eclipse.papyrus.infra.widgets.editors.ICommitListener;
-
-/**
- * An ObservableList using EMF Commands to edit the underlying list.
- * The commands are executed when the {@link #commit(AbstractEditor)} method is called.
- * However, the read operations (such as get, size, ...) return up-to-date
- * results, even when {@link #commit(AbstractEditor)} hasn't been called.
- *
- * @author Camille Letavernier
- */
-@SuppressWarnings({ "unchecked", "rawtypes" })
-public class EMFObservableList extends ObservableList implements ICommitListener {
-
- /**
- * The list of commands that haven't been executed yet
- */
- protected List<Command> commands = new LinkedList<Command>();
-
- /**
- * The editing domain on which the commands will be executed
- */
- protected EditingDomain editingDomain;
-
- /**
- * The edited EObject
- */
- protected EObject source;
-
- /**
- * The feature being edited
- */
- protected EStructuralFeature feature;
-
- /**
- * The list to be updated only on #commit() calls
- */
- protected List<?> concreteList;
-
- /**
- *
- * Constructor.
- *
- * @param wrappedList
- * The list to be edited when #commit() is called
- * @param domain
- * The editing domain on which the commands will be executed
- * @param source
- * The EObject from which the list will be retrieved
- * @param feature
- * The feature from which the list will be retrieved
- */
- public EMFObservableList(List<?> wrappedList, EditingDomain domain, EObject source, EStructuralFeature feature) {
- super(new LinkedList<Object>(wrappedList), Object.class);
- this.concreteList = wrappedList;
- this.editingDomain = domain;
- this.source = source;
- this.feature = feature;
- }
-
- /**
- * Forces this list to commit all the pending commands. Only one composite command will
- * be executed, and can be undone in a single operation.
- *
- * @see org.eclipse.papyrus.infra.widgets.editors.ICommitListener#commit(AbstractEditor)
- *
- */
- public void commit(AbstractEditor editor) {
-
- if(commands.isEmpty()) {
- return;
- }
-
- CompoundCommand compoundCommand = new StrictCompoundCommand() {
-
- @Override
- public void execute() {
- super.execute();
- refreshCacheList();
- }
-
- @Override
- public void undo() {
- super.undo();
- refreshCacheList();
- }
-
- @Override
- public void redo() {
- super.redo();
- refreshCacheList();
- }
- };
-
- for(Command cmd : commands) {
- compoundCommand.append(cmd);
- }
-
- editingDomain.getCommandStack().execute(compoundCommand);
- commands.clear();
- }
-
- /**
- * Refresh the cached list by copying the real list
- */
- protected void refreshCacheList() {
- wrappedList.clear();
- wrappedList.addAll(concreteList);
- fireListChange(null);
- }
-
- @Override
- public void add(int index, Object value) {
- Command command = getAddCommand(index, value);
- commands.add(command);
-
- wrappedList.add(index, value);
- fireListChange(null);
- }
-
- @Override
- public void clear() {
- Command command = getClearCommand();
- commands.add(command);
-
- wrappedList.clear();
- fireListChange(null);
- }
-
- @Override
- public boolean add(Object o) {
- Command command = getAddCommand(o);
- commands.add(command);
-
- boolean result = wrappedList.add(o);
- fireListChange(null);
- return result;
- }
-
- @Override
- public boolean remove(Object o) {
- Command command = getRemoveCommand(o);
-
- commands.add(command);
-
- boolean result = wrappedList.remove(o);
- fireListChange(null);
- return result;
- }
-
- @Override
- public boolean addAll(Collection c) {
- Command command = getAddAllCommand(c);
- commands.add(command);
-
- boolean result = wrappedList.addAll(c);
- fireListChange(null);
- return result;
- }
-
- @Override
- public boolean addAll(int index, Collection c) {
- Command command = getAddAllCommand(index, c);
- commands.add(command);
-
- boolean result = wrappedList.addAll(index, c);
- fireListChange(null);
- return result;
- }
-
- @Override
- public boolean removeAll(Collection c) {
- Command command = getRemoveCommand(c);
- commands.add(command);
-
- boolean result = wrappedList.removeAll(c);
- fireListChange(null);
- return result;
- }
-
- @Override
- public boolean retainAll(Collection c) {
- Command command = getRetainAllCommand(c);
- commands.add(command);
-
- boolean result = wrappedList.retainAll(c);
- fireListChange(null);
- return result;
- }
-
- @Override
- public Object set(int index, Object element) {
- Command command = getSetCommand(index, element);
- commands.add(command);
-
- Object result = wrappedList.set(index, element);
- fireListChange(null);
- return result;
- }
-
- @Override
- public Object move(int oldIndex, int newIndex) {
- commands.addAll(getMoveCommands(oldIndex, newIndex));
-
- Object value = get(oldIndex);
- wrappedList.remove(oldIndex);
- wrappedList.add(newIndex, value);
-
- fireListChange(null);
-
- return value;
- }
-
- @Override
- public Object remove(int index) {
- Object value = get(index);
- if(value != null) {
- Command command = getRemoveCommand(index);
- commands.add(command);
- }
-
- Object result = wrappedList.remove(index);
- fireListChange(null);
- return result;
- }
-
- protected Command getAddCommand(int index, Object value) {
- return AddCommand.create(editingDomain, source, feature, value, index);
- }
-
- protected Command getAddCommand(Object value) {
- return AddCommand.create(editingDomain, source, feature, value);
- }
-
- protected Command getAddAllCommand(Collection<?> values) {
- return AddCommand.create(editingDomain, source, feature, values);
- }
-
- protected Command getAddAllCommand(int index, Collection<?> values) {
- return AddCommand.create(editingDomain, source, feature, values, index);
- }
-
- protected Command getClearCommand() {
- return getRemoveAllCommand(new LinkedList<Object>(wrappedList));
- }
-
- protected Command getRemoveCommand(int index) {
- Object value = get(index);
- return getRemoveCommand(value);
- }
-
- protected Command getRemoveCommand(Object value) {
- return RemoveCommand.create(editingDomain, source, feature, value);
- }
-
- protected Command getRemoveAllCommand(Collection<?> values) {
- return RemoveCommand.create(editingDomain, source, feature, values);
- }
-
- protected List<Command> getMoveCommands(int oldIndex, int newIndex) {
- Object value = get(oldIndex);
- List<Command> commands = new LinkedList<Command>();
- commands.add(getRemoveCommand(value));
- commands.add(getAddCommand(newIndex, value));
- return commands;
- }
-
- protected Command getRetainAllCommand(Collection<?> values) {
- List<Object> objectsToRemove = new LinkedList<Object>();
- for(Object object : values) {
- if(!contains(object)) {
- objectsToRemove.add(object);
- }
- }
- if(!objectsToRemove.isEmpty()) {
- return getRemoveAllCommand(objectsToRemove);
- } else {
- return null;
- }
- }
-
- protected Command getSetCommand(int index, Object value) {
- return SetCommand.create(editingDomain, source, feature, value, index);
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/EMFObservableValue.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/EMFObservableValue.java
deleted file mode 100644
index b7b5c3df50e..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/EMFObservableValue.java
+++ /dev/null
@@ -1,88 +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.views.properties.databinding;
-
-import org.eclipse.core.databinding.observable.Realm;
-import org.eclipse.emf.databinding.EObjectObservableValue;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.edit.command.SetCommand;
-import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-
-/**
- * An Observable value to edit EMF values through EMF commands.
- *
- * @author Camille Letavernier
- */
-public class EMFObservableValue extends EObjectObservableValue {
-
- /**
- * The editing domain on which the commands will be executed
- */
- protected EditingDomain domain;
-
- /**
- *
- * Constructor.
- *
- * @param eObject
- * The eObject being edited
- * @param eStructuralFeature
- * The structuralFeature being edited
- * @param domain
- * The Editing domain on which the commands will be executed
- */
- public EMFObservableValue(EObject eObject, EStructuralFeature eStructuralFeature, EditingDomain domain) {
- this(Realm.getDefault(), eObject, eStructuralFeature, domain);
- }
-
- /**
- *
- * Constructor.
- *
- * @param realm
- * @param eObject
- * The eObject being edited
- * @param eStructuralFeature
- * The structuralFeature being edited
- * @param domain
- * The Editing domain on which the commands will be executed
- */
- public EMFObservableValue(Realm realm, EObject eObject, EStructuralFeature eStructuralFeature, EditingDomain domain) {
- super(realm, eObject, eStructuralFeature);
- this.domain = domain;
- }
-
- @Override
- protected void doSetValue(Object value) {
- EObject eObject = EMFHelper.getEObject(value);
- if(eObject != null) {
- value = eObject;
- }
-
- SetCommand command = getSetCommand(value);
- domain.getCommandStack().execute(command);
- }
-
- /**
- * Returns the command used to edit the value
- *
- * @param value
- * The new value
- * @return
- * The Set command used to edit the value
- */
- protected SetCommand getSetCommand(Object value) {
- return new SetCommand(domain, eObject, eStructuralFeature, value);
- }
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/MultipleObservable.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/MultipleObservable.java
deleted file mode 100644
index 42470775b39..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/databinding/MultipleObservable.java
+++ /dev/null
@@ -1,34 +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.views.properties.databinding;
-
-import org.eclipse.core.databinding.observable.IObservable;
-
-/**
- * An interface for Composite IObservables
- *
- * @author Camille Letavernier
- * @deprecated Replaced by AggregatedObservable
- */
-@Deprecated
-public interface MultipleObservable extends IObservable {
-
- /**
- * Adds an IObservable to this composite Observable
- *
- * @param observable
- * The IObservable to add
- * @return
- * true if the observable has been successfully added, false otherwise
- */
- public boolean add(IObservable observable);
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/AnnotationModelElement.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/AnnotationModelElement.java
index 4be4611f72d..9aa30330743 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/AnnotationModelElement.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/AnnotationModelElement.java
@@ -14,7 +14,7 @@ package org.eclipse.papyrus.views.properties.modelelement;
import org.eclipse.core.databinding.observable.IObservable;
import org.eclipse.emf.ecore.EModelElement;
import org.eclipse.emf.edit.domain.EditingDomain;
-import org.eclipse.papyrus.views.properties.databinding.AnnotationObservableValue;
+import org.eclipse.papyrus.infra.emf.databinding.AnnotationObservableValue;
/**
* A ModelElement for handling EAnnotations
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/CompositeModelElement.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/CompositeModelElement.java
index f67f19d4348..664fbc7a174 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/CompositeModelElement.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/CompositeModelElement.java
@@ -17,10 +17,10 @@ import java.util.List;
import org.eclipse.core.databinding.observable.IObservable;
import org.eclipse.core.databinding.observable.value.IObservableValue;
import org.eclipse.jface.viewers.ILabelProvider;
+import org.eclipse.papyrus.infra.tools.databinding.MultipleObservableValue;
import org.eclipse.papyrus.infra.widgets.databinding.AggregatedObservable;
import org.eclipse.papyrus.infra.widgets.providers.EmptyContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
-import org.eclipse.papyrus.views.properties.databinding.MultipleObservableValue;
/**
* A ModelElement to handle MultiSelection property views.
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/DataSourceFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/DataSourceFactory.java
index 94be3513ade..2ba5dcabb45 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/DataSourceFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/DataSourceFactory.java
@@ -16,14 +16,14 @@ import java.util.Iterator;
import java.util.Map;
import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
import org.eclipse.papyrus.infra.widgets.Activator;
import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.contexts.DataContextElement;
import org.eclipse.papyrus.views.properties.contexts.DataContextRoot;
import org.eclipse.papyrus.views.properties.contexts.View;
import org.eclipse.papyrus.views.properties.environment.ModelElementFactoryDescriptor;
-import org.eclipse.papyrus.views.properties.util.ClassLoader;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
import org.eclipse.papyrus.views.properties.xwt.XWTSection;
/**
@@ -42,17 +42,16 @@ public class DataSourceFactory {
* Creates a new DataSource from a selection and a view.
*
* @param selection
- * The selection of Objects
+ * The selection of Objects
* @param view
- * The view to display
+ * The view to display
* @return The DataSource that can be passed to the DisplayEngine to display
* the view
*/
- public DataSource createDataSourceFromSelection(
- IStructuredSelection selection, View view) {
+ public DataSource createDataSourceFromSelection(IStructuredSelection selection, View view) {
SelectionEntry selectionEntry = new SelectionEntry(selection, view);
- if (!sources.containsKey(selectionEntry)) {
+ if(!sources.containsKey(selectionEntry)) {
DataSource source = new DataSource(view, selection);
sources.put(selectionEntry, source);
}
@@ -60,7 +59,7 @@ public class DataSourceFactory {
return sources.get(selectionEntry);
}
- public void removeFromCache(IStructuredSelection selection, View view){
+ public void removeFromCache(IStructuredSelection selection, View view) {
if(selection == null || view == null) {
return;
}
@@ -74,24 +73,20 @@ public class DataSourceFactory {
* DataSource
*
* @param source
- * The DataSource used to retrieved informations such as the View
- * and the Selection
+ * The DataSource used to retrieved informations such as the View
+ * and the Selection
* @param propertyPath
- * The path describing the property for which we want a
- * ModelElement
+ * The path describing the property for which we want a
+ * ModelElement
* @return The matching modelElement
*/
- public ModelElement getModelElementFromPropertyPath(DataSource source,
- String propertyPath) {
+ public ModelElement getModelElementFromPropertyPath(DataSource source, String propertyPath) {
String key = propertyPath.substring(0, propertyPath.lastIndexOf(":")); //$NON-NLS-1$
- for (Context context : Util.getDependencies(source.getView()
- .getContext())) {
- DataContextElement element = Util.getContextElementByQualifiedName(
- key, context.getDataContexts());
- if (element != null) {
- ModelElement modelElement = DataSourceFactory.instance
- .createModelElement(element, source.getSelection());
- if (modelElement != null) {
+ for(Context context : PropertiesUtil.getDependencies(source.getView().getContext())) {
+ DataContextElement element = PropertiesUtil.getContextElementByQualifiedName(key, context.getDataContexts());
+ if(element != null) {
+ ModelElement modelElement = DataSourceFactory.instance.createModelElement(element, source.getSelection());
+ if(modelElement != null) {
modelElement.setDataSource(source);
}
return modelElement;
@@ -104,26 +99,23 @@ public class DataSourceFactory {
* Creates a ModelElement from the given DataContextElement and Selection.
*
* @param contextElement
- * The contextElement for which we are creating a ModelElement
+ * The contextElement for which we are creating a ModelElement
* @param selection
- * The list of objects currently selected
+ * The list of objects currently selected
* @return The model element corresponding to the given contextElement and
* selection
*/
- private ModelElement createModelElement(DataContextElement contextElement,
- IStructuredSelection selection) {
- if (selection.size() == 1) { // Single Selection
- ModelElement modelElement = createFromSource(
- selection.getFirstElement(), contextElement);
+ private ModelElement createModelElement(DataContextElement contextElement, IStructuredSelection selection) {
+ if(selection.size() == 1) { // Single Selection
+ ModelElement modelElement = createFromSource(selection.getFirstElement(), contextElement);
return modelElement;
} else { // MultiSelection
CompositeModelElement composite = new CompositeModelElement();
Iterator<?> it = selection.iterator();
- while (it.hasNext()) {
- ModelElement element = createFromSource(it.next(),
- contextElement);
- if (element != null) {
+ while(it.hasNext()) {
+ ModelElement element = createFromSource(it.next(), contextElement);
+ if(element != null) {
composite.addModelElement(element);
}
}
@@ -138,35 +130,30 @@ public class DataSourceFactory {
* DataContextElement
*
* @param context
- * The DataContextElement for which we want to retrieve the
- * ModelElementFactory
+ * The DataContextElement for which we want to retrieve the
+ * ModelElementFactory
* @return The ModelElementFactory corresponding to the given
* DataContextElement
*/
private ModelElementFactory getFactory(DataContextElement context) {
- ClassLoader loader = new ClassLoader();
DataContextRoot rootPackage = getRootPackage(context);
- ModelElementFactoryDescriptor factoryDescriptor = rootPackage
- .getModelElementFactory();
+ ModelElementFactoryDescriptor factoryDescriptor = rootPackage.getModelElementFactory();
- if (factoryDescriptor == null) {
- Activator.log
- .warn("No ModelElementFactory is attached to DataContextElement " + getQualifiedName(context)); //$NON-NLS-1$
+ if(factoryDescriptor == null) {
+ Activator.log.warn("No ModelElementFactory is attached to DataContextElement " + getQualifiedName(context)); //$NON-NLS-1$
return null;
}
String factoryName = factoryDescriptor.getFactoryClass();
- ModelElementFactory factory = (ModelElementFactory) loader
- .newInstance(factoryName);
+ ModelElementFactory factory = ClassLoaderHelper.newInstance(factoryName, ModelElementFactory.class);
return factory;
}
- private ModelElement createFromSource(Object source,
- DataContextElement context) {
+ private ModelElement createFromSource(Object source, DataContextElement context) {
ModelElementFactory factory = getFactory(context);
- if (factory == null) {
+ if(factory == null) {
return null;
}
@@ -174,14 +161,14 @@ public class DataSourceFactory {
}
private DataContextRoot getRootPackage(DataContextElement context) {
- if (context.getPackage() == null) {
- return (DataContextRoot) context;
+ if(context.getPackage() == null) {
+ return (DataContextRoot)context;
}
return getRootPackage(context.getPackage());
}
private String getQualifiedName(DataContextElement context) {
- if (context.getPackage() == null) {
+ if(context.getPackage() == null) {
return context.getName();
}
return getQualifiedName(context.getPackage()) + ":" + context.getName(); //$NON-NLS-1$
@@ -213,11 +200,11 @@ public class DataSourceFactory {
@Override
public boolean equals(Object obj) {
- if (!(obj instanceof SelectionEntry)) {
+ if(!(obj instanceof SelectionEntry)) {
return false;
}
- SelectionEntry other = (SelectionEntry) obj;
+ SelectionEntry other = (SelectionEntry)obj;
return other.view.equals(view) && selection.equals(other.selection);
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/EMFModelElement.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/EMFModelElement.java
index 083bf384d44..e9be5b1ffeb 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/EMFModelElement.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/modelelement/EMFModelElement.java
@@ -25,17 +25,17 @@ import org.eclipse.emf.ecore.EReference;
import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.domain.EditingDomain;
import org.eclipse.jface.viewers.ILabelProvider;
+import org.eclipse.papyrus.infra.emf.databinding.EMFObservableList;
+import org.eclipse.papyrus.infra.emf.databinding.EMFObservableValue;
+import org.eclipse.papyrus.infra.emf.providers.EMFContentProvider;
+import org.eclipse.papyrus.infra.emf.providers.EMFLabelProvider;
import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
import org.eclipse.papyrus.infra.widgets.creation.ReferenceValueFactory;
import org.eclipse.papyrus.infra.widgets.providers.EmptyContentProvider;
import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
import org.eclipse.papyrus.views.properties.Activator;
import org.eclipse.papyrus.views.properties.creation.EcorePropertyEditorFactory;
-import org.eclipse.papyrus.views.properties.databinding.EMFObservableList;
-import org.eclipse.papyrus.views.properties.databinding.EMFObservableValue;
-import org.eclipse.papyrus.views.properties.providers.EMFObjectLabelProvider;
import org.eclipse.papyrus.views.properties.providers.EcoreEnumeratorContentProvider;
-import org.eclipse.papyrus.views.properties.providers.EcoreReferenceContentProvider;
/**
* A ModelElement to manipulate EMF objects.
@@ -197,7 +197,7 @@ public class EMFModelElement extends AbstractModelElement {
if(type instanceof EEnum) {
return new EcoreEnumeratorContentProvider(feature);
} else if(type instanceof EClass) {
- return new EcoreReferenceContentProvider(feature, getSource(featurePath));
+ return new EMFContentProvider(getSource(featurePath), feature);
}
return EmptyContentProvider.instance;
@@ -205,7 +205,7 @@ public class EMFModelElement extends AbstractModelElement {
@Override
public ILabelProvider getLabelProvider(String propertyPath) {
- return new EMFObjectLabelProvider();
+ return new EMFLabelProvider();
}
@Override
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/ContainerContentProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/ContainerContentProvider.java
index 047c7804dde..de03ebdb53e 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/ContainerContentProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/ContainerContentProvider.java
@@ -15,8 +15,8 @@ import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EReference;
import org.eclipse.jface.viewers.Viewer;
+import org.eclipse.papyrus.infra.emf.providers.GraphicalModelExplorerBasedContentProvider;
import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-import org.eclipse.papyrus.views.modelexplorer.widgets.GraphicalModelExplorerBasedContentProvider;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EMFObjectFilteredLabelProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EMFFilteredLabelProvider.java
index 56ae23779f5..76b7dab5b91 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EMFObjectFilteredLabelProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EMFFilteredLabelProvider.java
@@ -13,16 +13,21 @@ package org.eclipse.papyrus.views.properties.providers;
import java.util.Iterator;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.emf.ecore.EObject;
import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.papyrus.infra.emf.providers.EMFLabelProvider;
+import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-
-public class EMFObjectFilteredLabelProvider extends EMFObjectLabelProvider implements IFilteredLabelProvider {
+/**
+ * A LabelProvider which only accepts EMF Objects (EObject, or objects which can be adapted to EObjects)
+ *
+ * @author Camille Letavernier
+ *
+ */
+public class EMFFilteredLabelProvider extends EMFLabelProvider implements IFilteredLabelProvider {
public boolean accept(IStructuredSelection selection) {
- if(selection.size() == 1) {
- return accept(selection.getFirstElement());
+ if(selection.isEmpty()) {
+ return false;
}
Iterator<?> iterator = selection.iterator();
@@ -37,15 +42,8 @@ public class EMFObjectFilteredLabelProvider extends EMFObjectLabelProvider imple
}
protected boolean accept(Object element) {
- if(element instanceof EObject) {
- return true;
- }
-
- if(element instanceof IAdaptable) {
- return ((IAdaptable)element).getAdapter(EObject.class) instanceof EObject;
- }
-
- return false;
+ //The element is an EObject or can be adapted to an EObject
+ return EMFHelper.getEObject(element) != null;
}
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EMFObjectLabelProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EMFObjectLabelProvider.java
deleted file mode 100644
index 1bfa099be6d..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EMFObjectLabelProvider.java
+++ /dev/null
@@ -1,206 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2008 Obeo.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Obeo - initial API and implementation
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Added support for enum literals
- * Camille Letavernier (CEA LIST) camille.letavernier@cea.fr - Implementation of IDetailLabelProvider
- *******************************************************************************/
-package org.eclipse.papyrus.views.properties.providers;
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IConfigurationElement;
-import org.eclipse.core.runtime.Platform;
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.common.util.Enumerator;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.edit.provider.IItemLabelProvider;
-import org.eclipse.emf.edit.provider.ReflectiveItemProviderAdapterFactory;
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
-import org.eclipse.jface.viewers.StructuredSelection;
-import org.eclipse.papyrus.infra.emf.utils.EMFHelper;
-import org.eclipse.papyrus.infra.widgets.providers.IDetailLabelProvider;
-import org.eclipse.swt.graphics.Image;
-
-/**
- * This class handles title label for tabbed properties.
- *
- * @author Jerome Benois
- */
-public class EMFObjectLabelProvider extends AdapterFactoryLabelProvider implements IDetailLabelProvider {
-
- /** item provider class */
- private static final Class<?> IItemLabelProviderClass = IItemLabelProvider.class;
-
- /** list of adapter factories, identified by their Ids */
- private static Map<String, AdapterFactory> factories = new HashMap<String, AdapterFactory>();
-
- /** emf item provider facctories */
- private static final String EXT_FACTORIES = "org.eclipse.emf.edit.itemProviderAdapterFactories"; //$NON-NLS-1$
-
- /**
- * Creates a new EMFObjectLabelProvider.
- */
- public EMFObjectLabelProvider() {
- super(new ReflectiveItemProviderAdapterFactory());
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public String getText(Object element) {
- String title = ""; //$NON-NLS-1$
- if(element instanceof Enumerator) {
- return ((Enumerator)element).getName();
- }
- EObject eObject = getModel(element);
- IItemLabelProvider itemLabelProvider = getItemLabelProvider(eObject);
- if(itemLabelProvider != null) {
- title = itemLabelProvider.getText(eObject);
- }
-
- if("".equals(title)) { //$NON-NLS-1$
- title = super.getText(eObject);
- }
-
- return title;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public Image getImage(Object element) {
- Image result = null;
- EObject eObject = getModel(element);
- IItemLabelProvider itemLabelProvider = getItemLabelProvider(eObject);
- if(itemLabelProvider != null) {
- result = getImageFromObject(itemLabelProvider.getImage(eObject));
- }
-
- return result;
- }
-
- /**
- * Returns the EObject from the given element
- *
- * @param element
- * the element to adapt
- * @return the EObject from the given element
- */
- protected EObject getModel(Object element) {
- if(element instanceof EObject) {
- return (EObject)element;
- }
-
- EObject eObject = null;
- if(element != null && element instanceof StructuredSelection) {
- StructuredSelection selection = (StructuredSelection)element;
- Object o = selection.getFirstElement();
- if(o instanceof EObject) {
- eObject = (EObject)o;
- } else if(o instanceof IGraphicalEditPart) {
- IGraphicalEditPart editPart = (IGraphicalEditPart)o;
- eObject = editPart.resolveSemanticElement();
- } // try to adapt into EObject
- else if(o instanceof IAdaptable) {
- eObject = (EObject)((IAdaptable)o).getAdapter(EObject.class);
- }
-
- }
- return eObject;
- }
-
- /**
- * Returns the item provider for the given object
- *
- * @param eObject
- * the object to display
- * @return the item label provider for the given eobject
- */
- private IItemLabelProvider getItemLabelProvider(EObject eObject) {
- IItemLabelProvider itemLabelProvider = null;
- if(eObject != null) {
- AdapterFactory adapterFactory = getEditFactory(eObject);
- if(adapterFactory != null) {
- return (IItemLabelProvider)adapterFactory.adapt(eObject, IItemLabelProviderClass);
- }
- }
- return itemLabelProvider;
- }
-
- /**
- * Gets the edit factory.
- *
- * @param eobject
- * the eobject
- *
- * @return the edits the factory
- */
- public static AdapterFactory getEditFactory(EObject eobject) {
- String uri = eobject.eClass().getEPackage().getNsURI();
- return getFactory(uri);
- }
-
- /**
- * Gets the factory from uri.
- *
- * @param uri
- * the uri
- *
- * @return the factory
- */
- public static AdapterFactory getFactory(String uri) {
- AdapterFactory factory = factories.get(uri);
- if(factory == null) {
- IConfigurationElement[] extensions = Platform.getExtensionRegistry().getConfigurationElementsFor(EXT_FACTORIES);
- for(IConfigurationElement e : extensions) {
- if(uri.equals(e.getAttribute("uri"))) { //$NON-NLS-1$
- try {
- factory = (AdapterFactory)e.createExecutableExtension("class"); //$NON-NLS-1$
- if(factory != null) {
- factories.put(uri, factory);
- }
- } catch (CoreException e1) {
- // do nothing
- }
- }
- }
- }
- return factory;
- }
-
- public String getDetail(Object object) {
- object = getModel(object);
- return getText(object) + " - " + getQualifiedClassName(object); //$NON-NLS-1$
- }
-
- /**
- * Returns the qualified Class name of the given EObject, or an
- * empty String if the object is not an EObject
- *
- * @param object
- * @return The qualified name of this object's class, or an empty
- * String if the object is not an EObject
- */
- protected String getQualifiedClassName(Object object) {
- if(object instanceof EObject) {
- EObject eObject = (EObject)object;
- EClass eClass = eObject.eClass();
- return EMFHelper.getQualifiedName(eClass, "::"); //$NON-NLS-1$
- }
- return ""; //$NON-NLS-1$
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EcoreReferenceContentProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EcoreReferenceContentProvider.java
deleted file mode 100644
index e4b664cf9e9..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/EcoreReferenceContentProvider.java
+++ /dev/null
@@ -1,88 +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.views.properties.providers;
-
-import java.util.Collection;
-
-import org.eclipse.emf.common.notify.AdapterFactory;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.EStructuralFeature;
-import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
-import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
-import org.eclipse.emf.edit.provider.IItemPropertySource;
-import org.eclipse.papyrus.infra.widgets.providers.AbstractFilteredContentProvider;
-import org.eclipse.papyrus.infra.widgets.providers.IStaticContentProvider;
-import org.eclipse.papyrus.views.properties.Activator;
-
-/**
- * An IStaticContentProvider for EMF references.
- *
- * @author Camille Letavernier
- */
-public class EcoreReferenceContentProvider extends AbstractFilteredContentProvider implements IStaticContentProvider {
-
- private EObject eObject;
-
- private EStructuralFeature feature;
-
- private AdapterFactory factory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE);
-
- /**
- *
- * Constructor.
- *
- * @param feature
- * The feature representing the reference for which we want to retrieve possible values
- * @param eObject
- */
- public EcoreReferenceContentProvider(EStructuralFeature feature, EObject eObject) {
- this.feature = feature;
- this.eObject = eObject;
- }
-
- public Object[] getElements() {
- if(eObject == null || feature == null) {
- return new Object[0];
- }
-
- EClass eClass = eObject.eClass();
- if(eClass == null) {
- Activator.log.debug("problems during initialization, looking for availables values");//$NON-NLS-1$
- return new Object[0];
- }
-
- if(!(feature instanceof EReference)) {
- Activator.log.debug("feature is not a reference, looking for availables values: " + feature);//$NON-NLS-1$
- return new Object[0];
- }
-
- IItemPropertySource itemPropertySource = (IItemPropertySource)factory.adapt(eObject, IItemPropertySource.class);
- if(itemPropertySource == null) {
- Activator.log.debug("impossible to find item Property source for " + eObject);//$NON-NLS-1$
- return new Object[0];
- }
- IItemPropertyDescriptor itemPropertyDescriptor = itemPropertySource.getPropertyDescriptor(eObject, feature);
- if(itemPropertyDescriptor == null) {
- Activator.log.debug("impossible to find item Property descriptor for " + eObject + " and " + feature);//$NON-NLS-1$ //$NON-NLS-2$
- return new Object[0];
- }
-
- Collection<?> values = itemPropertyDescriptor.getChoiceOfValues(eObject);
-
- values.remove(null); //Removes null values from the collection
-
- return values.toArray();
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/IFilteredLabelProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/IFilteredLabelProvider.java
index d9004ef8583..028c92a2d28 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/IFilteredLabelProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/providers/IFilteredLabelProvider.java
@@ -14,7 +14,11 @@ package org.eclipse.papyrus.views.properties.providers;
import org.eclipse.jface.viewers.ILabelProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
-
+/**
+ * A LabelProvider which only accepts a specific set of objects
+ *
+ * @author Camille Letavernier
+ */
public interface IFilteredLabelProvider extends ILabelProvider {
public boolean accept(IStructuredSelection selection);
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConfigurationManager.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConfigurationManager.java
index 2ddae6488f7..c33ae894318 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConfigurationManager.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConfigurationManager.java
@@ -55,7 +55,7 @@ import org.eclipse.papyrus.views.properties.root.RootFactory;
import org.eclipse.papyrus.views.properties.runtime.preferences.ContextDescriptor;
import org.eclipse.papyrus.views.properties.runtime.preferences.Preferences;
import org.eclipse.papyrus.views.properties.runtime.preferences.PreferencesFactory;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
/**
* Central class of the Property View framework. It lists the available environments and contexts,
@@ -90,7 +90,7 @@ public class ConfigurationManager {
/**
* The global constraint engine
*/
- public ConstraintEngine constraintEngine;
+ public ViewConstraintEngine constraintEngine;
/**
* The singleton instance
@@ -98,7 +98,7 @@ public class ConfigurationManager {
public final static ConfigurationManager instance = new ConfigurationManager();
private ConfigurationManager() {
- constraintEngine = new DefaultConstraintEngine();
+ constraintEngine = new DefaultViewConstraintEngine();
enabledContexts = new HashSet<Context>();
root = RootFactory.eINSTANCE.createPropertiesRoot();
@@ -190,7 +190,7 @@ public class ConfigurationManager {
//Adds the new object corresponding to this context
try {
addContext(contextURI);
- constraintEngine.contextChanged();
+ constraintEngine.refresh();
} catch (IOException ex) {
Activator.log.error(ex);
}
@@ -464,7 +464,7 @@ public class ConfigurationManager {
private <T extends WidgetType> T findWidgetTypeByClassName(Collection<T> types, String className, String namespacePrefix) {
for(T widgetType : types) {
- if(widgetType.getWidgetClass().equals(className) && Util.namespaceEqualsByName(widgetType.getNamespace(), namespacePrefix)) {
+ if(widgetType.getWidgetClass().equals(className) && PropertiesUtil.namespaceEqualsByName(widgetType.getNamespace(), namespacePrefix)) {
return widgetType;
}
}
@@ -546,7 +546,7 @@ public class ConfigurationManager {
public Namespace getNamespaceByName(String name) {
for(Environment environment : root.getEnvironments()) {
for(Namespace namespace : environment.getNamespaces()) {
- if(Util.namespaceEqualsByName(namespace, name)) {
+ if(PropertiesUtil.namespaceEqualsByName(namespace, name)) {
return namespace;
}
}
@@ -603,14 +603,14 @@ public class ConfigurationManager {
if(context == null) {
allContexts = getContexts();
} else {
- allContexts = Util.getDependencies(context);
+ allContexts = PropertiesUtil.getDependencies(context);
}
for(Context ctx : allContexts) {
elements.addAll(ctx.getDataContexts());
}
- DataContextElement element = Util.getContextElementByQualifiedName(elementName, elements);
+ DataContextElement element = PropertiesUtil.getContextElementByQualifiedName(elementName, elements);
if(element != null) {
for(Property property : element.getProperties()) {
if(property.getName().equals(propertyName)) {
@@ -627,7 +627,7 @@ public class ConfigurationManager {
* activation
*/
public void update() {
- constraintEngine.contextChanged();
+ constraintEngine.refresh();
}
/**
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConstraintEngine.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConstraintEngine.java
deleted file mode 100644
index b564a205277..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConstraintEngine.java
+++ /dev/null
@@ -1,56 +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.views.properties.runtime;
-
-import java.util.Set;
-
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.papyrus.views.properties.contexts.Context;
-import org.eclipse.papyrus.views.properties.contexts.View;
-
-/**
- * An interface representing a Constraint Engine.
- * The Constraint Engine is responsible for retrieving the views
- * to display for a given ISelection.
- *
- * @author Camille Letavernier
- */
-public interface ConstraintEngine {
-
- /**
- * Return the views corresponding to the given ISelection, or an Empty set
- * if no matching view can be found.
- *
- * @param forSelection
- * The selection from which to retrieve the views
- * @return
- * The views corresponding to the given selection
- */
- public Set<View> getViews(ISelection forSelection);
-
- /**
- * Adds a {@link Context} to this ConstraintEngine. The context is used to
- * retrieve the set of views this ConstraintEngine can return when matching
- * a selection.
- *
- * @param context
- */
- public void addContext(Context context);
-
- /**
- * Informs this ConstraintEngine that the set of enabled contexts has changed.
- * If the method {@link #addContext(Context)} has been called, the {@link #contextChanged()} won't be called. However, if a context has been
- * removed or edited, the {@link #contextChanged()} method will be called.
- */
- public void contextChanged();
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConstraintFactory.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConstraintFactory.java
index 8af5b4f822f..b248d5733d3 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConstraintFactory.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ConstraintFactory.java
@@ -11,12 +11,13 @@
*****************************************************************************/
package org.eclipse.papyrus.views.properties.runtime;
+import org.eclipse.papyrus.infra.constraints.CompositeConstraint;
+import org.eclipse.papyrus.infra.constraints.ConstraintDescriptor;
+import org.eclipse.papyrus.infra.constraints.SimpleConstraint;
+import org.eclipse.papyrus.infra.constraints.constraints.CompoundConstraint;
+import org.eclipse.papyrus.infra.constraints.constraints.Constraint;
+import org.eclipse.papyrus.infra.tools.util.ClassLoaderHelper;
import org.eclipse.papyrus.views.properties.Activator;
-import org.eclipse.papyrus.views.properties.constraints.CompoundConstraint;
-import org.eclipse.papyrus.views.properties.constraints.Constraint;
-import org.eclipse.papyrus.views.properties.contexts.CompositeConstraint;
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
-import org.eclipse.papyrus.views.properties.contexts.SimpleConstraint;
/**
* A Singleton class for creating {@link Constraint}s from a {@link ConstraintDescriptor}
@@ -70,12 +71,12 @@ public class ConstraintFactory {
return null;
}
- try {
- constraint = (Constraint)Class.forName(className).newInstance();
- constraint.setConstraintDescriptor(model);
- } catch (Exception ex) {
- Activator.log.error("Cannot load constraint " + model.getName(), ex); //$NON-NLS-1$
+ constraint = ClassLoaderHelper.newInstance(className, Constraint.class);
+ if(constraint == null) {
+ Activator.log.warn("Cannot load constraint " + model.getName()); //$NON-NLS-1$
+ return null;
}
+ constraint.setConstraintDescriptor(model);
return constraint;
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/DefaultConstraintEngine.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/DefaultViewConstraintEngine.java
index cec78a8c7c9..004a0274ff9 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/DefaultConstraintEngine.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/DefaultViewConstraintEngine.java
@@ -18,8 +18,8 @@ import java.util.Set;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.papyrus.views.properties.constraints.Constraint;
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
+import org.eclipse.papyrus.infra.constraints.ConstraintDescriptor;
+import org.eclipse.papyrus.infra.constraints.constraints.Constraint;
import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.contexts.View;
@@ -28,11 +28,11 @@ import org.eclipse.papyrus.views.properties.contexts.View;
*
* @author Camille Letavernier
*/
-public class DefaultConstraintEngine implements ConstraintEngine {
+public class DefaultViewConstraintEngine implements ViewConstraintEngine {
private final Set<Constraint> constraints = new LinkedHashSet<Constraint>();
- public void contextChanged() {
+ public void refresh() {
constraints.clear();
Collection<Context> contexts = ConfigurationManager.instance.getEnabledContexts();
for(Context context : contexts) {
@@ -40,13 +40,22 @@ public class DefaultConstraintEngine implements ConstraintEngine {
}
}
+
+ public Set<View> getDisplayUnits(ISelection forSelection) {
+ return getViews(forSelection);
+ }
+
+ public void addConstraint(ConstraintDescriptor descriptor) {
+ Constraint constraint = ConstraintFactory.getInstance().createFromModel(descriptor);
+ if(constraint != null) {
+ constraints.add(constraint);
+ }
+ }
+
public void addContext(final Context context) {
for(View view : context.getViews()) {
for(ConstraintDescriptor descriptor : view.getConstraints()) {
- Constraint constraint = ConstraintFactory.getInstance().createFromModel(descriptor);
- if(constraint != null) {
- constraints.add(constraint);
- }
+ addConstraint(descriptor);
}
}
}
@@ -128,7 +137,7 @@ public class DefaultConstraintEngine implements ConstraintEngine {
private Set<View> getViews(final Set<Constraint> matchedConstraints) {
Set<View> views = new LinkedHashSet<View>();
for(Constraint c : matchedConstraints) {
- views.add(c.getView());
+ views.add((View)c.getDisplayUnit());
}
return views;
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ViewConstraintEngine.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ViewConstraintEngine.java
new file mode 100644
index 00000000000..73ee99cc12e
--- /dev/null
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/runtime/ViewConstraintEngine.java
@@ -0,0 +1,16 @@
+package org.eclipse.papyrus.views.properties.runtime;
+
+import java.util.Set;
+
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.papyrus.infra.constraints.runtime.ConstraintEngine;
+import org.eclipse.papyrus.views.properties.contexts.Context;
+import org.eclipse.papyrus.views.properties.contexts.View;
+
+
+public interface ViewConstraintEngine extends ConstraintEngine<View> {
+
+ public Set<View> getViews(final ISelection forSelection);
+
+ public void addContext(final Context context);
+}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/EClassNameComparator.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/EClassNameComparator.java
deleted file mode 100644
index e8858b354d2..00000000000
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/EClassNameComparator.java
+++ /dev/null
@@ -1,35 +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.views.properties.util;
-
-import java.text.Collator;
-import java.util.Comparator;
-
-import org.eclipse.emf.ecore.EClass;
-
-/**
- * A class for comparing EClasses by name
- *
- * @author Camille Letavernier
- *
- */
-public class EClassNameComparator implements Comparator<EClass> {
-
- public int compare(EClass class1, EClass class2) {
- if(class1 == null) {
- return class2 == null ? 0 : -1;
- }
-
- return Collator.getInstance().compare(class1.getName(), class2.getName());
- }
-
-}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/Util.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/PropertiesUtil.java
index 2b0467d4718..c3f9a2c46cd 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/Util.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/util/PropertiesUtil.java
@@ -30,7 +30,7 @@ import org.eclipse.papyrus.views.properties.environment.Namespace;
*
* @author Camille Letavernier
*/
-public class Util {
+public class PropertiesUtil {
/**
* @param source
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/widgets/AbstractPropertyEditor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/widgets/AbstractPropertyEditor.java
index a7755ba75d1..72b022c8b23 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/widgets/AbstractPropertyEditor.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/widgets/AbstractPropertyEditor.java
@@ -24,7 +24,7 @@ import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.contexts.Property;
import org.eclipse.papyrus.views.properties.modelelement.DataSource;
import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
-import org.eclipse.papyrus.views.properties.util.Util;
+import org.eclipse.papyrus.views.properties.util.PropertiesUtil;
import org.eclipse.swt.events.DisposeEvent;
import org.eclipse.swt.events.DisposeListener;
import org.eclipse.swt.widgets.Control;
@@ -286,7 +286,7 @@ public abstract class AbstractPropertyEditor implements IChangeListener, Customi
Property property = getModelProperty();
if(property == null || property.getLabel() == null || property.getLabel().trim().equals("")) { //$NON-NLS-1$
- return Util.getLabel(getLocalPropertyPath());
+ return PropertiesUtil.getLabel(getLocalPropertyPath());
}
return property.getLabel();
@@ -307,7 +307,7 @@ public abstract class AbstractPropertyEditor implements IChangeListener, Customi
if(description == null || description.trim().equals("")) { //$NON-NLS-1$
description = getLocalPropertyPath();
} else {
- description = Util.resizeString(description, descriptionMaxCharPerLine);
+ description = PropertiesUtil.resizeString(description, descriptionMaxCharPerLine);
description = getLocalPropertyPath() + ": " + description;
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/widgets/ViewEditor.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/widgets/ViewEditor.java
index 4ac6d29cde6..25ec219ebbf 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/widgets/ViewEditor.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/widgets/ViewEditor.java
@@ -21,12 +21,12 @@ import org.eclipse.core.databinding.observable.list.IObservableList;
import org.eclipse.core.databinding.observable.value.IObservableValue;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.StructuredSelection;
+import org.eclipse.papyrus.infra.tools.databinding.MultipleObservableValue;
import org.eclipse.papyrus.infra.widgets.editors.AbstractEditor;
import org.eclipse.papyrus.views.properties.Activator;
import org.eclipse.papyrus.views.properties.contexts.Context;
import org.eclipse.papyrus.views.properties.contexts.Section;
import org.eclipse.papyrus.views.properties.contexts.View;
-import org.eclipse.papyrus.views.properties.databinding.MultipleObservableValue;
import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
import org.eclipse.papyrus.views.properties.runtime.DefaultDisplayEngine;
import org.eclipse.papyrus.views.properties.runtime.DisplayEngine;
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/xwt/XWTSection.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/xwt/XWTSection.java
index 1215f9acf1f..150530e0168 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/xwt/XWTSection.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/xwt/XWTSection.java
@@ -18,9 +18,9 @@ import org.eclipse.core.databinding.observable.ChangeEvent;
import org.eclipse.core.databinding.observable.IChangeListener;
import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.papyrus.infra.constraints.ConstraintDescriptor;
+import org.eclipse.papyrus.infra.constraints.constraints.Constraint;
import org.eclipse.papyrus.views.properties.Activator;
-import org.eclipse.papyrus.views.properties.constraints.Constraint;
-import org.eclipse.papyrus.views.properties.contexts.ConstraintDescriptor;
import org.eclipse.papyrus.views.properties.contexts.Section;
import org.eclipse.papyrus.views.properties.contexts.View;
import org.eclipse.papyrus.views.properties.modelelement.DataSource;
@@ -219,7 +219,7 @@ public class XWTSection extends AbstractPropertySection implements IChangeListen
}
@Override
- public IStructuredSelection getSelection(){
+ public IStructuredSelection getSelection() {
return (IStructuredSelection)super.getSelection();
}
diff --git a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/xwt/XWTTabDescriptorProvider.java b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/xwt/XWTTabDescriptorProvider.java
index 4a85ca81a58..ed81e81996d 100644
--- a/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/xwt/XWTTabDescriptorProvider.java
+++ b/plugins/views/properties/org.eclipse.papyrus.views.properties/src/org/eclipse/papyrus/views/properties/xwt/XWTTabDescriptorProvider.java
@@ -26,9 +26,9 @@ import org.eclipse.jface.viewers.ISelection;
import org.eclipse.papyrus.views.properties.Activator;
import org.eclipse.papyrus.views.properties.contexts.View;
import org.eclipse.papyrus.views.properties.runtime.ConfigurationManager;
-import org.eclipse.papyrus.views.properties.runtime.ConstraintEngine;
import org.eclipse.papyrus.views.properties.runtime.DefaultDisplayEngine;
import org.eclipse.papyrus.views.properties.runtime.DisplayEngine;
+import org.eclipse.papyrus.views.properties.runtime.ViewConstraintEngine;
import org.eclipse.ui.IPartListener;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry;
@@ -94,7 +94,7 @@ public class XWTTabDescriptorProvider implements ITabDescriptorProvider {
this.previousSelection = selection;
this.previousPart = part;
- ConstraintEngine constraintEngine = ConfigurationManager.instance.constraintEngine;
+ ViewConstraintEngine constraintEngine = ConfigurationManager.instance.constraintEngine;
List<ITabDescriptor> descriptors = new LinkedList<ITabDescriptor>();

Back to the top