Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcdumoulin2011-05-04 12:50:59 +0000
committercdumoulin2011-05-04 12:50:59 +0000
commit46c905d04569d1ae3d40ffe4a8e6222f8ddf44ae (patch)
tree6c199e3194d09b3fb6d36be215a2abf698850413 /incoming
parent08695c24f5cbdab174685f9b356ff5babf7d9baf (diff)
downloadorg.eclipse.papyrus-46c905d04569d1ae3d40ffe4a8e6222f8ddf44ae.tar.gz
org.eclipse.papyrus-46c905d04569d1ae3d40ffe4a8e6222f8ddf44ae.tar.xz
org.eclipse.papyrus-46c905d04569d1ae3d40ffe4a8e6222f8ddf44ae.zip
Remove plugins that has been moved to trunk/plugins/uml.
Diffstat (limited to 'incoming')
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/.classpath8
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/.project28
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/META-INF/MANIFEST.MF58
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/about.html28
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/build.properties15
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/ComponentDiagramEditorFactory.java38
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/CreateComponentDiagramCommand.java63
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/UmlComponentDiagramForMultiEditor.java150
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ManageProvidedInterfacesHandler.java128
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ShowHideRelatedContentsAction.java95
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ShowHideRelatedContentsHandler.java35
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/command/CreateViewCommand.java32
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/helpers/ComponentLinkMappingHelper.java98
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/AbstractCustomLabelEditPolicy.java137
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/CustomDiagramDragDropEditPolicy.java614
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/ExternalLabelPrimaryDragRoleEditPolicy.java69
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/GraphicalNodeEditPolicy.java153
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PortItemSemanticEditPolicy.java51
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PortLayoutEditPolicy.java61
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PropertyLabelEditPolicy.java300
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/RemoveOrphanViewPolicy.java47
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/edges/UsageDecoration.java59
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/nodes/CompositeFigure.java74
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/nodes/PortFigure.java22
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/locators/PortPositionLocator.java220
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/log/Log.java44
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/messages/Messages.java82
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/messages/messages.properties26
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/preferences/IPapyrusPropertyPreferencesConstant.java34
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/preferences/PropertyPreferencePage.java252
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/providers/ActionStateSourceProvider.java91
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/providers/CustomEditPolicyProvider.java80
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/CreateUmlElementDialog.java438
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/InterfaceManagerDialog.java1053
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/NewElementRepresentation.java172
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/preferences/CommentAnnotatedElementPreferencePage.java59
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/preferences/ConstraintConstrainedElementPreferencePage.java59
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/incomingLinksNavigatorGroup.gifbin709 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/linkSourceNavigatorGroup.gifbin709 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/linkTargetNavigatorGroup.gifbin709 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/linksNavigatorGroup.gifbin709 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Abstraction.gifbin96 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ArtifactIcon.gifbin865 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Comment.gifbin324 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Component.gifbin123 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentDiagram.gifbin110 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentIcon.gifbin881 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentRealization.gifbin219 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Constraint.gifbin101 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Dependency.gifbin131 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Generalization.gifbin1022 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/InterfaceAsCercle.gifbin599 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/InterfaceRealization.gifbin121 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Link.gifbin944 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Manifestation.gifbin95 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Nodes.gifbin144 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Operation.gifbin573 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Package.gifbin396 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Port.gifbin368 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Realization.gifbin134 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Substitution.gifbin94 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/UMLDiagramFile.gifbin339 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Usage.gifbin166 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/outgoingLinksNavigatorGroup.gifbin709 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/icons/wizban/NewUMLWizard.gifbin2466 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/messages.properties244
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/model/ComponentDiagram.gmfgen2040
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/plugin.properties1110
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/plugin.xml1178
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/AbstractionCreateCommand.java157
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/AbstractionReorientCommand.java165
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/CommentAnnotatedElementCreateCommand.java96
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/CommentAnnotatedElementReorientCommand.java148
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/CommentCreateCommand.java128
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/CommentCreateCommandPCN.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/ComponentCreateCommand.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/ComponentCreateCommandCN.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/ComponentCreateCommandPCN.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/ComponentRealizationCreateCommand.java157
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/ComponentRealizationReorientCommand.java165
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/ConstraintConstrainedElementCreateCommand.java96
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/ConstraintConstrainedElementReorientCommand.java148
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/ConstraintCreateCommand.java128
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/ConstraintCreateCommandPCN.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/DependencyCreateCommand.java157
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/DependencyReorientCommand.java165
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/GeneralizationCreateCommand.java154
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/GeneralizationReorientCommand.java156
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/InterfaceCreateCommand.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/InterfaceCreateCommandPCN.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/InterfaceRealizationCreateCommand.java157
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/InterfaceRealizationReorientCommand.java165
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/ManifestationCreateCommand.java157
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/ManifestationReorientCommand.java165
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/PackageCreateCommand.java126
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/PortCreateCommand.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/SubstitutionCreateCommand.java157
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/SubstitutionReorientCommand.java165
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/UsageCreateCommand.java157
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/UsageReorientCommand.java165
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/AbstractionEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/CommentEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/ComponentEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/ComponentRealizationEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/ConstraintEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/DependencyEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/GeneralizationEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/InterfaceEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/InterfaceRealizationEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/ManifestationEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/ModelEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/PackageEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/PortEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/SubstitutionEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/UMLBaseEditHelper.java86
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/helpers/UsageEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/AbstractionAppliedStereotypeEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/AbstractionEditPart.java113
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/AbstractionNameEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/CommentAnnotatedElementEditPart.java87
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/CommentBodyEditPart.java768
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/CommentBodyEditPartPCN.java768
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/CommentEditPart.java417
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/CommentEditPartPCN.java419
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentCompositeCompartmentEditPart.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentCompositeCompartmentEditPartCN.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentCompositeCompartmentEditPartPCN.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentDiagramEditPart.java199
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentEditPart.java799
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentEditPartCN.java799
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentEditPartPCN.java799
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentNameEditPart.java786
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentNameEditPartCN.java786
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentNameEditPartPCN.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentRealizationAppliedStereotypeEditPart.java715
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentRealizationEditPart.java112
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ComponentRealizationNameEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ConstraintConstrainedElementEditPart.java87
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ConstraintEditPart.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ConstraintEditPartPCN.java769
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ConstraintNameEditPart.java786
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ConstraintNameEditPartPCN.java786
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ConstraintSpecificationEditPart.java787
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ConstraintSpecificationEditPartPCN.java787
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/DependencyAppliedStereotypeEditPart.java715
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/DependencyEditPart.java112
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/DependencyNameEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/GeneralizationAppliedStereotypeEditPart.java715
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/GeneralizationEditPart.java105
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/InterfaceEditPart.java739
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/InterfaceEditPartPCN.java741
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/InterfaceNameEditPart.java774
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/InterfaceNameEditPartPCN.java774
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/InterfaceRealizationEditPart.java87
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/LinkDescriptorEditPart.java90
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ManifestationAppliedStereotypeEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ManifestationEditPart.java113
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/ManifestationNameEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/PackageEditPart.java720
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/PackageNameEditPart.java786
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/PackagePackageableElementCompartmentEditPart.java122
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/PortAppliedStereotypeEditPart.java746
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/PortEditPart.java707
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/PortNameEditPart.java752
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/SubstitutionAppliedStereotypeEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/SubstitutionEditPart.java113
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/SubstitutionNameEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/UMLEditPartFactory.java353
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/parts/UsageEditPart.java61
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/AbstractionItemSemanticEditPolicy.java190
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/CommentAnnotatedElementItemSemanticEditPolicy.java27
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/CommentItemSemanticEditPolicy.java104
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/CommentItemSemanticEditPolicyPCN.java104
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentCanonicalEditPolicy.java146
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentCanonicalEditPolicyCN.java146
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentCanonicalEditPolicyPCN.java146
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentCompositeCompartmentCanonicalEditPolicy.java146
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentCompositeCompartmentCanonicalEditPolicyCN.java146
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentCompositeCompartmentCanonicalEditPolicyPCN.java146
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentCompositeCompartmentItemSemanticEditPolicy.java31
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentCompositeCompartmentItemSemanticEditPolicyCN.java31
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentCompositeCompartmentItemSemanticEditPolicyPCN.java31
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentDiagramItemSemanticEditPolicy.java83
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentItemSemanticEditPolicy.java211
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentItemSemanticEditPolicyCN.java211
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentItemSemanticEditPolicyPCN.java211
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ComponentRealizationItemSemanticEditPolicy.java190
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ConstraintConstrainedElementItemSemanticEditPolicy.java27
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ConstraintItemSemanticEditPolicy.java190
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ConstraintItemSemanticEditPolicyPCN.java190
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/DependencyItemSemanticEditPolicy.java192
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/GeneralizationItemSemanticEditPolicy.java104
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/InterfaceItemSemanticEditPolicy.java199
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/InterfaceItemSemanticEditPolicyPCN.java199
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/InterfaceRealizationItemSemanticEditPolicy.java190
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ManifestationItemSemanticEditPolicy.java190
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/ModelCanonicalEditPolicy.java504
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/PackageItemSemanticEditPolicy.java190
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/PackagePackageableElementCompartmentCanonicalEditPolicy.java170
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/PackagePackageableElementCompartmentItemSemanticEditPolicy.java43
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/PortItemSemanticEditPolicy.java190
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/SubstitutionItemSemanticEditPolicy.java192
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/UMLBaseItemSemanticEditPolicy.java564
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/UMLTextNonResizableEditPolicy.java224
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/UMLTextSelectionEditPolicy.java208
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/policies/UsageItemSemanticEditPolicy.java190
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/expressions/UMLAbstractExpression.java151
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/expressions/UMLOCLFactory.java158
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/parsers/AbstractParser.java418
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/parsers/MessageFormatParser.java192
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/DeleteElementAction.java2
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/DiagramEditorContextMenuProvider.java49
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/LoadResourceAction.java30
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/Messages.java473
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/ModelElementSelectionPage.java140
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLCreationWizard.java154
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLCreationWizardPage.java83
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLDiagramActionBarContributor.java38
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLDiagramEditor.java493
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLDiagramEditorPlugin.java319
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLDiagramEditorUtil.java376
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLDiagramUpdateCommand.java78
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLDiagramUpdater.java2323
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLDocumentProvider.java974
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLInitDiagramFileAction.java86
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLLinkDescriptor.java92
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLMatchingStrategy.java34
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLNewDiagramFileWizard.java161
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLNodeDescriptor.java42
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLPaletteFactory.java348
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/part/UMLVisualIDRegistry.java703
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/AbstractionPreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/CommentPreferencePage.java55
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/ComponentPreferencePage.java72
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/ComponentRealizationPreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/ConstraintPreferencePage.java55
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/DependencyPreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/DiagramAppearancePreferencePage.java18
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/DiagramConnectionsPreferencePage.java18
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/DiagramGeneralPreferencePage.java20
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/DiagramPreferenceInitializer.java77
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/DiagramPrintingPreferencePage.java18
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/DiagramRulersAndGridPreferencePage.java18
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/GeneralizationPreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/InterfacePreferencePage.java55
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/InterfaceRealizationPreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/ManifestationPreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/PackagePreferencePage.java72
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/PortPreferencePage.java55
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/SubstitutionPreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/preferences/UsagePreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/providers/ElementInitializers.java351
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/providers/UMLEditPartProvider.java141
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/providers/UMLElementTypes.java452
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/providers/UMLIconProvider.java31
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/providers/UMLModelingAssistantProvider.java372
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/providers/UMLParserProvider.java590
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/providers/UMLViewProvider.java1206
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/sheet/UMLPropertySection.java116
-rw-r--r--incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/sheet/UMLSheetLabelProvider.java79
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/.classpath8
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/.options7
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/.project28
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/META-INF/MANIFEST.MF56
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/about.html28
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/build.properties15
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/CreateDeploymentDiagramCommand.java72
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/DeploymentDiagramEditorFactory.java35
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/UmlDeploymentDiagramForMultiEditor.java151
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/actions/ShowHideRelatedContentsAction.java95
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/actions/ShowHideRelatedContentsHandler.java35
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/edit/command/CreateViewCommand.java32
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/edit/helpers/DeploymentLinkMappingHelper.java79
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/edit/policies/CustomDiagramDragDropEditPolicy.java425
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/edit/policies/RemoveOrphanViewPolicy.java47
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/figure/nodes/ArtifactFigure.java74
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/figure/nodes/DeviceFigure.java45
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/figure/nodes/ExecutionEnvironmentFigure.java44
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/figure/nodes/NodeFigure.java73
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/messages/Messages.java52
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/messages/messages.properties21
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/providers/ActionStateSourceProvider.java91
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/custom/providers/CustomEditPolicyProvider.java80
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/preferences/CommentAnnotatedElementPreferencePage.java60
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/custom-src/org/eclipse/papyrus/diagram/deployment/preferences/ConstraintConstrainedElementPreferencePage.java60
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/incomingLinksNavigatorGroup.gifbin709 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/linkSourceNavigatorGroup.gifbin709 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/linkTargetNavigatorGroup.gifbin709 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/linksNavigatorGroup.gifbin709 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/Artifact.gifbin371 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/ArtifactIcon.gifbin874 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/Comment.gifbin324 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/Constraint.gifbin101 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/Dependency.gifbin131 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/Deployment.gifbin330 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/DeploymentDiagram.gifbin603 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/Device.gifbin349 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/ExecutionEnvironment.gifbin351 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/Generalization.gifbin1022 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/Link.gifbin944 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/Manifestation.gifbin95 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/Node.gifbin144 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/obj16/UMLDiagramFile.gifbin339 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/outgoingLinksNavigatorGroup.gifbin709 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/icons/wizban/NewUMLWizard.gifbin2466 -> 0 bytes
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/messages.properties314
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/model/DeploymentDiagram.gmfgen1783
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/plugin.properties1140
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/plugin.xml949
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/ArtifactCreateCommand.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/ArtifactCreateCommandACN.java124
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/ArtifactCreateCommandCN.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/CommentAnnotatedElementCreateCommand.java96
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/CommentAnnotatedElementReorientCommand.java148
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/CommentCreateCommand.java128
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/ConstraintConstrainedElementCreateCommand.java96
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/ConstraintConstrainedElementReorientCommand.java148
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/ConstraintCreateCommand.java128
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/DependencyCreateCommand.java157
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/DependencyReorientCommand.java165
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/DeploymentCreateCommand.java157
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/DeploymentReorientCommand.java165
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/DeviceCreateCommand.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/DeviceCreateCommandCN.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/ExecutionEnvironmentCreateCommand.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/ExecutionEnvironmentCreateCommandCN.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/GeneralizationCreateCommand.java154
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/GeneralizationReorientCommand.java156
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/ManifestationCreateCommand.java157
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/ManifestationReorientCommand.java165
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/NodeCreateCommand.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/commands/NodeCreateCommandCN.java124
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/ArtifactEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/CommentEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/ConstraintEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/DependencyEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/DeploymentEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/DeviceEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/ExecutionEnvironmentEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/GeneralizationEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/ManifestationEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/ModelEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/NodeEditHelper.java9
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/helpers/UMLBaseEditHelper.java86
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ArtifactCompositeCompartmentEditPart.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ArtifactCompositeCompartmentEditPartACN.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ArtifactCompositeCompartmentEditPartCN.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ArtifactEditPart.java592
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ArtifactEditPartACN.java592
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ArtifactEditPartCN.java592
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ArtifactNameEditPart.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ArtifactNameEditPartACN.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ArtifactNameEditPartCN.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/CommentAnnotatedElementEditPart.java88
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/CommentBodyEditPart.java768
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/CommentEditPart.java413
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ConstraintConstrainedElementEditPart.java88
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ConstraintEditPart.java582
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ConstraintNameEditPart.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ConstraintSpecificationEditPart.java768
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DependencyAppliedStereotypeEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DependencyEditPart.java112
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DependencyNameEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DeploymentAppliedStereotypeEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DeploymentDiagramEditPart.java199
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DeploymentEditPart.java113
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DeploymentNameEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DeviceCompositeCompartmentEditPart.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DeviceCompositeCompartmentEditPartCN.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DeviceEditPart.java585
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DeviceEditPartCN.java589
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DeviceNameEditPart.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/DeviceNameEditPartCN.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ExecutionEnvironmentCompositeCompartmentEditPart.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ExecutionEnvironmentCompositeCompartmentEditPartCN.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ExecutionEnvironmentEditPart.java585
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ExecutionEnvironmentEditPartCN.java589
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ExecutionEnvironmentNameEditPart.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ExecutionEnvironmentNameEditPartCN.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/GeneralizationAppliedStereotypeEditPart.java715
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/GeneralizationEditPart.java105
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/LinkDescriptorEditPart.java90
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ManifestationAppliedStereotypeEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ManifestationEditPart.java113
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/ManifestationNameEditPart.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/NodeCompositeCompartmentEditPart.java125
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/NodeCompositeCompartmentEditPartCN.java127
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/NodeEditPart.java584
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/NodeEditPartCN.java588
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/NodeNameEditPart.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/NodeNameEditPartCN.java767
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/parts/UMLEditPartFactory.java334
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ArtifactCompositeCompartmentCanonicalEditPolicy.java146
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ArtifactCompositeCompartmentCanonicalEditPolicyACN.java146
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ArtifactCompositeCompartmentCanonicalEditPolicyCN.java146
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ArtifactCompositeCompartmentItemSemanticEditPolicy.java31
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ArtifactCompositeCompartmentItemSemanticEditPolicyACN.java31
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ArtifactCompositeCompartmentItemSemanticEditPolicyCN.java31
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ArtifactItemSemanticEditPolicy.java163
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ArtifactItemSemanticEditPolicyACN.java246
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ArtifactItemSemanticEditPolicyCN.java246
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/CommentAnnotatedElementItemSemanticEditPolicy.java27
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/CommentItemSemanticEditPolicy.java104
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ConstraintConstrainedElementItemSemanticEditPolicy.java27
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ConstraintItemSemanticEditPolicy.java154
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/DependencyItemSemanticEditPolicy.java156
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/DeploymentDiagramItemSemanticEditPolicy.java87
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/DeploymentItemSemanticEditPolicy.java156
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/DeviceCompositeCompartmentCanonicalEditPolicy.java146
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/DeviceCompositeCompartmentCanonicalEditPolicyCN.java146
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/DeviceCompositeCompartmentItemSemanticEditPolicy.java31
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/DeviceCompositeCompartmentItemSemanticEditPolicyCN.java31
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/DeviceItemSemanticEditPolicy.java163
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/DeviceItemSemanticEditPolicyCN.java246
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ExecutionEnvironmentCompositeCompartmentCanonicalEditPolicy.java160
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ExecutionEnvironmentCompositeCompartmentCanonicalEditPolicyCN.java160
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ExecutionEnvironmentCompositeCompartmentItemSemanticEditPolicy.java35
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ExecutionEnvironmentCompositeCompartmentItemSemanticEditPolicyCN.java35
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ExecutionEnvironmentItemSemanticEditPolicy.java163
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ExecutionEnvironmentItemSemanticEditPolicyCN.java287
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/GeneralizationItemSemanticEditPolicy.java102
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ManifestationItemSemanticEditPolicy.java156
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/ModelCanonicalEditPolicy.java461
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/NodeCompositeCompartmentCanonicalEditPolicy.java169
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/NodeCompositeCompartmentCanonicalEditPolicyCN.java169
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/NodeCompositeCompartmentItemSemanticEditPolicy.java43
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/NodeCompositeCompartmentItemSemanticEditPolicyCN.java43
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/NodeItemSemanticEditPolicy.java163
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/NodeItemSemanticEditPolicyCN.java369
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/UMLBaseItemSemanticEditPolicy.java451
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/UMLTextNonResizableEditPolicy.java224
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/edit/policies/UMLTextSelectionEditPolicy.java208
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/expressions/UMLAbstractExpression.java151
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/expressions/UMLOCLFactory.java150
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/parsers/AbstractParser.java418
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/parsers/MessageFormatParser.java192
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/DeleteElementAction.java2
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/DiagramEditorContextMenuProvider.java49
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/LoadResourceAction.java30
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/Messages.java458
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/ModelElementSelectionPage.java140
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLCreationWizard.java154
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLCreationWizardPage.java83
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLDiagramActionBarContributor.java38
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLDiagramEditor.java493
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLDiagramEditorPlugin.java319
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLDiagramEditorUtil.java376
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLDiagramUpdateCommand.java78
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLDiagramUpdater.java1642
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLDocumentProvider.java974
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLInitDiagramFileAction.java86
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLLinkDescriptor.java92
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLMatchingStrategy.java34
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLNewDiagramFileWizard.java161
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLNodeDescriptor.java42
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLPaletteFactory.java272
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/part/UMLVisualIDRegistry.java723
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/ArtifactPreferencePage.java72
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/CommentPreferencePage.java55
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/ConstraintPreferencePage.java55
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/DependencyPreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/DeploymentPreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/DevicePreferencePage.java72
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/DiagramAppearancePreferencePage.java18
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/DiagramConnectionsPreferencePage.java18
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/DiagramGeneralPreferencePage.java20
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/DiagramPreferenceInitializer.java65
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/DiagramPrintingPreferencePage.java18
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/DiagramRulersAndGridPreferencePage.java18
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/ExecutionEnvironmentPreferencePage.java72
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/GeneralizationPreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/ManifestationPreferencePage.java36
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/preferences/NodePreferencePage.java72
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/providers/ElementInitializers.java325
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/providers/UMLEditPartProvider.java141
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/providers/UMLElementTypes.java404
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/providers/UMLIconProvider.java31
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/providers/UMLModelingAssistantProvider.java393
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/providers/UMLParserProvider.java474
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/providers/UMLViewProvider.java991
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/sheet/UMLPropertySection.java116
-rw-r--r--incoming/org.eclipse.papyrus.diagram.deployment/src/org/eclipse/papyrus/diagram/deployment/sheet/UMLSheetLabelProvider.java79
482 files changed, 0 insertions, 110161 deletions
diff --git a/incoming/org.eclipse.papyrus.diagram.component/.classpath b/incoming/org.eclipse.papyrus.diagram.component/.classpath
deleted file mode 100644
index b2164fd1b7f..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/.classpath
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <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="src" path="custom-src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/incoming/org.eclipse.papyrus.diagram.component/.project b/incoming/org.eclipse.papyrus.diagram.component/.project
deleted file mode 100644
index d4e3b51bcd8..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.diagram.component</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/incoming/org.eclipse.papyrus.diagram.component/META-INF/MANIFEST.MF b/incoming/org.eclipse.papyrus.diagram.component/META-INF/MANIFEST.MF
deleted file mode 100644
index f5b1ea69cd3..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,58 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: %pluginName
-Bundle-SymbolicName: org.eclipse.papyrus.diagram.component; singleton:=true
-Bundle-Version: 0.8.0.qualifier
-Bundle-Vendor: %providerName
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.eclipse.core.expressions,
- org.eclipse.jface,
- org.eclipse.ui.ide,
- org.eclipse.ui.views,
- org.eclipse.ui.navigator,
- org.eclipse.ui.navigator.resources,
- org.eclipse.emf.ecore,
- org.eclipse.emf.ecore.xmi,
- org.eclipse.emf.edit.ui,
- org.eclipse.gmf.runtime.emf.core,
- org.eclipse.gmf.runtime.emf.commands.core,
- org.eclipse.gmf.runtime.emf.ui.properties,
- org.eclipse.gmf.runtime.diagram.ui,
- org.eclipse.gmf.runtime.diagram.ui.properties,
- org.eclipse.gmf.runtime.diagram.ui.providers,
- org.eclipse.gmf.runtime.diagram.ui.providers.ide,
- org.eclipse.gmf.runtime.diagram.ui.render,
- org.eclipse.gmf.runtime.diagram.ui.resources.editor,
- org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide,
- org.eclipse.draw2d;visibility:=reexport,
- org.eclipse.gmf.runtime.draw2d.ui;visibility:=reexport,
- org.eclipse.uml2.uml;visibility:=reexport,
- org.eclipse.uml2.uml.edit;visibility:=reexport,
- org.eclipse.emf.ecore;visibility:=reexport,
- org.eclipse.emf.ecore.edit;visibility:=reexport,
- org.eclipse.ocl.ecore;visibility:=reexport,
- org.eclipse.gef;visibility:=reexport,
- org.eclipse.papyrus.diagram.common,
- org.eclipse.papyrus.preferences,
- org.eclipse.papyrus.extensionpoints.editors,
- org.eclipse.papyrus.editor,
- org.eclipse.papyrus.service.edit,
- org.eclipse.papyrus.widgets
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-ActivationPolicy: lazy
-Bundle-ClassPath: .
-Bundle-Activator: org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorPlugin
-Bundle-Localization: plugin
-Export-Package: org.eclipse.papyrus.diagram.component.edit.parts,
- org.eclipse.papyrus.diagram.component.part,
- org.eclipse.papyrus.diagram.component.providers
-Import-Package: org.eclipse.papyrus.core.adaptor.gmf,
- org.eclipse.papyrus.diagram.common.figure.node,
- org.eclipse.papyrus.diagram.component.part,
- org.eclipse.papyrus.editor,
- org.eclipse.papyrus.service.edit.service,
- org.eclipse.papyrus.uml.service.types.element,
- org.eclipse.papyrus.widgets.editors
-Eclipse-LazyStart: true
diff --git a/incoming/org.eclipse.papyrus.diagram.component/about.html b/incoming/org.eclipse.papyrus.diagram.component/about.html
deleted file mode 100644
index 82d49bf5f81..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2007</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html>
diff --git a/incoming/org.eclipse.papyrus.diagram.component/build.properties b/incoming/org.eclipse.papyrus.diagram.component/build.properties
deleted file mode 100644
index cf473991117..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/build.properties
+++ /dev/null
@@ -1,15 +0,0 @@
-bin.includes = .,\
- icons/,\
- META-INF/,\
- plugin.xml,\
- plugin.properties,\
- messages.properties,\
- about.html
-jars.compile.order = .
-source.. = src/,\
- custom-src/
-output.. = bin/
-src.includes = about.html,\
- model/,\
- icons/,\
- messages.properties
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/ComponentDiagramEditorFactory.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/ComponentDiagramEditorFactory.java
deleted file mode 100644
index ce81095816b..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/ComponentDiagramEditorFactory.java
+++ /dev/null
@@ -1,38 +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:
- * Amine EL KOUHEN (CEA LIST/INRIA DaRT) amine.el_kouhen@inria.fr
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component;
-
-import org.eclipse.papyrus.core.adaptor.gmf.GmfEditorFactory;
-import org.eclipse.papyrus.diagram.component.edit.parts.ComponentDiagramEditPart;
-
-
-
-
-
-// TODO: Auto-generated Javadoc
-/**
- * A factory for creating ComponentDiagramEditor objects.
- */
-public class ComponentDiagramEditorFactory extends GmfEditorFactory {
-
-
- /**
- * Instantiates a new component diagram editor factory.
- */
- public ComponentDiagramEditorFactory() {
- super(UmlComponentDiagramForMultiEditor.class, ComponentDiagramEditPart.MODEL_ID);
-
- }
-
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/CreateComponentDiagramCommand.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/CreateComponentDiagramCommand.java
deleted file mode 100644
index c4de1da28a6..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/CreateComponentDiagramCommand.java
+++ /dev/null
@@ -1,63 +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:
- * Amine EL KOUHEN (CEA LIST/INRIA DaRT) amine.el_kouhen@inria.fr
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component;
-
-import org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint;
-import org.eclipse.papyrus.core.adaptor.gmf.AbstractPapyrusGmfCreateDiagramCommandHandler;
-import org.eclipse.papyrus.diagram.component.edit.parts.ComponentDiagramEditPart;
-
-
-// TODO: Auto-generated Javadoc
-/**
- * The Class CreateComponentDiagramCommand.
- */
-public class CreateComponentDiagramCommand extends AbstractPapyrusGmfCreateDiagramCommandHandler {
-
- /**
- * Gets the default diagram name.
- *
- * @return the default diagram name
- * @see org.eclipse.papyrus.core.adaptor.gmf.AbstractPapyrusGmfCreateDiagramCommandHandler#getDefaultDiagramName()
- */
-
- @Override
- protected String getDefaultDiagramName() {
- return "NewComponentDiagram";
- }
-
-
- /**
- * Gets the diagram notation id.
- *
- * @return the diagram notation id
- * @see org.eclipse.papyrus.core.adaptor.gmf.AbstractPapyrusGmfCreateDiagramCommandHandler#getDiagramNotationID()
- */
-
- @Override
- protected String getDiagramNotationID() {
- return ComponentDiagramEditPart.MODEL_ID;
- }
-
- /**
- * Gets the preference hint.
- *
- * @return the preference hint
- * @see org.eclipse.papyrus.core.adaptor.gmf.AbstractPapyrusGmfCreateDiagramCommandHandler#getPreferenceHint()
- */
-
- @Override
- protected PreferencesHint getPreferenceHint() {
- return org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorPlugin.DIAGRAM_PREFERENCES_HINT;
- }
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/UmlComponentDiagramForMultiEditor.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/UmlComponentDiagramForMultiEditor.java
deleted file mode 100644
index 196d388c594..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/UmlComponentDiagramForMultiEditor.java
+++ /dev/null
@@ -1,150 +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:
- * Amine EL KOUHEN (CEA LIST/INRIA DaRT) amine.el_kouhen@inria.fr
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component;
-
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.emf.common.ui.URIEditorInput;
-import org.eclipse.emf.ecore.util.EcoreUtil;
-import org.eclipse.gmf.runtime.notation.Diagram;
-import org.eclipse.jface.dialogs.ErrorDialog;
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.papyrus.core.editor.BackboneException;
-import org.eclipse.papyrus.core.services.ServiceException;
-import org.eclipse.papyrus.core.services.ServicesRegistry;
-import org.eclipse.papyrus.diagram.component.part.UMLDiagramEditor;
-import org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorPlugin;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IEditorInput;
-import org.eclipse.ui.IEditorSite;
-import org.eclipse.ui.PartInitException;
-
-
-
-// TODO: Auto-generated Javadoc
-/**
- * The Class UmlComponentDiagramForMultiEditor.
- */
-public class UmlComponentDiagramForMultiEditor extends UMLDiagramEditor {
-
- /** The location of diagram icon in the plug-in. */
- private static final String DIAG_IMG_PATH = "icons/obj16/ComponentDiagram.gif";
-
- /** The image descriptor of the diagram icon. */
- private static final ImageDescriptor DIAG_IMG_DESC = UMLDiagramEditorPlugin.getBundledImageDescriptor(UmlComponentDiagramForMultiEditor.DIAG_IMG_PATH);
-
- /** The editor splitter. */
- private Composite splitter;
-
- /**
- * Constructor for SashSystem v2. Context and required objects are retrieved from the
- * ServiceRegistry.
- *
- * @param servicesRegistry
- * the services registry
- * @param diagram
- * the diagram
- * @throws BackboneException
- * the backbone exception
- * @throws ServiceException
- * the service exception
- */
- public UmlComponentDiagramForMultiEditor(ServicesRegistry servicesRegistry, Diagram diagram) throws BackboneException, ServiceException {
- super(servicesRegistry, diagram);
- }
-
-
- /**
- * Inits the.
- *
- * @param site
- * the site
- * @param input
- * the input
- * @throws PartInitException
- * the part init exception
- * @see org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor#init(org.eclipse.ui.IEditorSite,
- * org.eclipse.ui.IEditorInput)
- */
-
- @Override
- public void init(IEditorSite site, IEditorInput input) throws PartInitException {
- super.init(site, input);
- setPartName(getDiagram().getName());
- setTitleImage(DIAG_IMG_DESC.createImage());
- }
-
-
- /**
- * Sets the input.
- *
- * @param input
- * the new input
- * @see org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor#setInput(org.eclipse.ui.IEditorInput)
- */
-
- @Override
- public void setInput(IEditorInput input) {
- try {
- // Provide an URI with fragment in order to reuse the same Resource
- // and set the diagram to the fragment.
- URIEditorInput uriInput = new URIEditorInput(EcoreUtil.getURI(getDiagram()));
- doSetInput(uriInput, true);
- } catch (CoreException x) {
- String title = "Problem opening";
- String msg = "Cannot open input element:";
- Shell shell = getSite().getShell();
- ErrorDialog.openError(shell, title, msg, x.getStatus());
- }
- }
-
-
- /**
- * Creates the graphical viewer.
- *
- * @param parent
- * the parent
- * @see org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor#createGraphicalViewer(org.eclipse.swt.widgets.Composite)
- */
-
- @Override
- protected void createGraphicalViewer(Composite parent) {
- splitter = parent;
- super.createGraphicalViewer(parent);
- }
-
-
- /**
- * Sets the focus.
- *
- * @see org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette#setFocus()
- */
-
- @Override
- public void setFocus() {
- splitter.setFocus();
- super.setFocus();
- }
-
- /**
- * Gets the editing domain id.
- *
- * @return the editing domain id
- * @see org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor#getEditingDomainID()
- */
-
- @Override
- public String getEditingDomainID() {
- return "org.eclipse.papyrus.diagram.component.EditingDomain";
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ManageProvidedInterfacesHandler.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ManageProvidedInterfacesHandler.java
deleted file mode 100644
index 4ce15784852..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ManageProvidedInterfacesHandler.java
+++ /dev/null
@@ -1,128 +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
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.actions;
-
-import java.util.List;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.UnexecutableCommand;
-import org.eclipse.gmf.runtime.common.ui.util.DisplayUtils;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.papyrus.diagram.common.handlers.GraphicalCommandHandler;
-import org.eclipse.papyrus.diagram.component.custom.messages.Messages;
-import org.eclipse.papyrus.diagram.component.custom.ui.InterfaceManagerDialog;
-import org.eclipse.papyrus.diagram.component.edit.parts.PortEditPart;
-import org.eclipse.uml2.uml.Classifier;
-import org.eclipse.uml2.uml.Interface;
-import org.eclipse.uml2.uml.Port;
-import org.eclipse.uml2.uml.Type;
-
-/**
- * This handler provides the action to manage the provided and required {@link Interface} for a {@link Port}
- *
- *
- *
- */
-public class ManageProvidedInterfacesHandler extends GraphicalCommandHandler {
-
- /**
- *
- * @see org.eclipse.papyrus.diagram.common.handlers.GraphicalCommandHandler#getCommand()
- *
- * @return
- * @throws ExecutionException
- */
- @Override
- protected Command getCommand() throws ExecutionException {
- List<IGraphicalEditPart> selection = getSelectedElements();
- if(selection.size() != 1) {
- return UnexecutableCommand.INSTANCE;
- }
- if(!(selection.get(0) instanceof PortEditPart)) {
- return UnexecutableCommand.INSTANCE;
- }
- ManageProvidedInterfaceAction action = new ManageProvidedInterfaceAction(selection.get(0));
- return action.getCommand();
- }
-
- /**
- *
- * This class provides the action to manage the provided and required interfaces
- *
- *
- */
- public class ManageProvidedInterfaceAction {
-
- /** the {@link Port} */
- private Port port;
-
- /** the {@link Type} of the port */
- private Type type;
-
- /**
- *
- * Constructor.
- *
- * @param editpart
- * the editpart of the port
- */
- public ManageProvidedInterfaceAction(IGraphicalEditPart editpart) {
- Object obj = ((View)editpart.getModel()).getElement();
- Assert.isTrue(obj instanceof Port);
- this.port = (Port)obj;
- this.type = port.getType();
- }
-
- /**
- * Returns the command to add/remove provided/required interfaces
- *
- * @return
- * the command to add/remove provided/required interfaces
- */
- public Command getCommand() {
- if(type != null && !(type instanceof Classifier)) {
- return UnexecutableCommand.INSTANCE;
- } else if(type == null) {
- MessageDialog dialog = new MessageDialog(DisplayUtils.getDefaultShell(), Messages.InterfaceManagerDialog_Title, null, Messages.ManageProvidedInterfacesHandler_TheTypeOfThePortIsNotDefined, MessageDialog.WARNING, new String[]{ Messages.ManageProvidedInterfacesHandler_OK }, 0);
- dialog.open();
- } else {
- InterfaceManagerDialog dialog = new InterfaceManagerDialog(DisplayUtils.getDefaultShell(), this.port);
- if(dialog.open() == Dialog.OK) {
- return dialog.getCommand();
- }
- }
- return UnexecutableCommand.INSTANCE;
- }
- }
-
- /**
- *
- * @see org.eclipse.papyrus.diagram.common.handlers.GraphicalCommandHandler#isEnabled()
- *
- * @return
- */
- @Override
- public boolean isEnabled() {
- if(getSelectedElements().size() == 1) {
- Object obj = ((View)getSelectedElements().get(0).getModel()).getElement();
- return obj instanceof Port;
- }
- return false;
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ShowHideRelatedContentsAction.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ShowHideRelatedContentsAction.java
deleted file mode 100644
index d07c6226b60..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ShowHideRelatedContentsAction.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2009-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
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.actions;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.papyrus.diagram.common.actions.AbstractShowHideAction;
-import org.eclipse.papyrus.diagram.common.actions.ShowHideContentsAction;
-import org.eclipse.papyrus.diagram.common.editpolicies.ShowHideRelatedContentsEditPolicy;
-import org.eclipse.papyrus.diagram.common.providers.EditorLabelProvider;
-import org.eclipse.papyrus.diagram.component.custom.messages.Messages;
-import org.eclipse.uml2.uml.Classifier;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.Type;
-
-public class ShowHideRelatedContentsAction extends ShowHideContentsAction {
-
- /**
- *
- * Constructor.
- *
- */
- public ShowHideRelatedContentsAction() {
- super(Messages.ShowHideRelatedContentsAction_Title, Messages.ShowHideRelatedContentsAction_Message, ShowHideRelatedContentsEditPolicy.SHOW_HIDE_RELATED_CONTENTS_POLICY);
- }
-
- /**
- *
- * @see org.eclipse.papyrus.diagram.common.actions.AbstractShowHideAction#initAction()
- *
- */
- @Override
- protected void initAction() {
- super.initAction();
- setEditorLabelProvider(new EditorLabelProvider());
- this.representations = new ArrayList<AbstractShowHideAction.EditPartRepresentation>();
-
- for(EditPart current : this.selectedElements) {
- //the selected elements which aren't Classifier are ignored
- EObject element = ((View)current.getModel()).getElement();
- if(element instanceof Property) {
- Type type = ((Property)element).getType();
- if(type instanceof Classifier) {
- this.representations.add(new CustomEditPartRepresentation(current, (Classifier)type));
- }
- }
- }
- this.setEditorLabelProvider(new CustomEditorLabelProvider());
- this.setContentProvider(new CustomContentProvider());
-
- }
-
- protected class CustomContentProvider extends ShowHideContentsAction.ContentProvider {
-
- /**
- *
- * @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
- *
- * @param element
- * @return
- */
- @Override
- public Object getParent(Object element) {
- if(!(element instanceof EditPartRepresentation)) {
- EditPartRepresentation rep = findEditPartRepresentation(element);
- if(rep != null) {
- //element can be owned by the class (rep), or by a superclass (ClassifierRepresentation)
- List<ClassifierRepresentation> classes = ((CustomEditPartRepresentation)rep).getSuperClasses();
- for(ClassifierRepresentation classifierRepresentation : classes) {
- if(classifierRepresentation.getRepresentedClassifier().getOwnedMembers().contains(element)) {
- return classifierRepresentation;
- }
- }
- }
- return rep;
- }
- return null;
- }
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ShowHideRelatedContentsHandler.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ShowHideRelatedContentsHandler.java
deleted file mode 100644
index dca7384b78f..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/actions/ShowHideRelatedContentsHandler.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2009-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
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.actions;
-
-import org.eclipse.papyrus.diagram.common.actions.handlers.AbstractShowHideHandler;
-import org.eclipse.papyrus.diagram.common.editpolicies.ShowHideRelatedContentsEditPolicy;
-
-
-/**
- *
- * Handler for the {@link ShowHideRelatedContentsAction}
- *
- */
-public class ShowHideRelatedContentsHandler extends AbstractShowHideHandler {
-
- /**
- *
- * Constructor.
- *
- */
- public ShowHideRelatedContentsHandler() {
- super(new ShowHideRelatedContentsAction(), ShowHideRelatedContentsEditPolicy.SHOW_HIDE_RELATED_CONTENTS_POLICY);
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/command/CreateViewCommand.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/command/CreateViewCommand.java
deleted file mode 100644
index 5ec5b620e49..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/command/CreateViewCommand.java
+++ /dev/null
@@ -1,32 +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:
- * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.diagram.component.custom.edit.command;
-
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.gmf.runtime.diagram.ui.commands.CreateCommand;
-import org.eclipse.gmf.runtime.diagram.ui.requests.CreateViewRequest.ViewDescriptor;
-import org.eclipse.gmf.runtime.notation.View;
-
-public class CreateViewCommand extends CreateCommand {
-
- @Override
- public boolean canExecute() {
- return true;
- }
-
- public CreateViewCommand(TransactionalEditingDomain editingDomain, ViewDescriptor viewDescriptor, View containerView) {
- super(editingDomain, viewDescriptor, containerView);
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/helpers/ComponentLinkMappingHelper.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/helpers/ComponentLinkMappingHelper.java
deleted file mode 100644
index 4dfc8d52d68..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/helpers/ComponentLinkMappingHelper.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:
- * Amine EL KOUHEN (CEA LIST/INRIA DaRT) amine.el_kouhen@inria.fr
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.edit.helpers;
-
-import java.util.Collection;
-
-import org.eclipse.papyrus.diagram.common.helper.ILinkMappingHelper;
-import org.eclipse.papyrus.diagram.common.helper.LinkMappingHelper;
-import org.eclipse.papyrus.diagram.common.helper.LinkMappingHelper.CommonSourceUMLSwitch;
-import org.eclipse.papyrus.diagram.common.helper.LinkMappingHelper.CommonTargetUMLSwitch;
-import org.eclipse.uml2.uml.Element;
-
-// TODO: Auto-generated Javadoc
-/**
- * This helper is used to retrieve Link ends for use in drag and drop behavior.
- */
-public class ComponentLinkMappingHelper implements ILinkMappingHelper {
-
- /**
- * Singleton management.
- */
- private static class SingletonHolder {
-
- /** Singleton instance. */
- private final static ComponentLinkMappingHelper instance = new ComponentLinkMappingHelper();
- }
-
- /**
- * Get singleton instance.
- *
- * @return the instance
- */
- public static ComponentLinkMappingHelper getInstance() {
- return SingletonHolder.instance;
- }
-
- /**
- * private constructor.
- */
- private ComponentLinkMappingHelper() {
- // do nothing
- }
-
- /**
- * Gets the source.
- *
- * @param link the link
- * @return the source
- * {@inheritDoc}
- */
- public Collection<?> getSource(Element link) {
- return LinkMappingHelper.getSource(link, new CommonSourceUMLSwitch() {
-
- @Override
- public java.util.Collection<?> caseDependency(org.eclipse.uml2.uml.Dependency object) {
- return object.getSources();
- };
-
- @Override
- public java.util.Collection<?> caseConnector(org.eclipse.uml2.uml.Connector object) {
- return object.getEnds();
- };
- });
- }
-
- /**
- * Gets the target.
- *
- * @param link the link
- * @return the target
- * {@inheritDoc}
- */
- public Collection<?> getTarget(Element link) {
- return LinkMappingHelper.getTarget(link, new CommonTargetUMLSwitch() {
-
- @Override
- public java.util.Collection<?> caseDependency(org.eclipse.uml2.uml.Dependency object) {
- return object.getTargets();
- };
-
- @Override
- public java.util.Collection<?> caseConnector(org.eclipse.uml2.uml.Connector object) {
- return object.getEnds();
- };
- });
- }
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/AbstractCustomLabelEditPolicy.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/AbstractCustomLabelEditPolicy.java
deleted file mode 100644
index 5daf1f130d2..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/AbstractCustomLabelEditPolicy.java
+++ /dev/null
@@ -1,137 +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:
- * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
- *****************************************************************************/
-
-package org.eclipse.papyrus.diagram.component.custom.edit.policies;
-
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.gef.editpolicies.GraphicalEditPolicy;
-import org.eclipse.gmf.runtime.diagram.core.listener.DiagramEventBroker;
-import org.eclipse.gmf.runtime.diagram.core.listener.NotificationListener;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.papyrus.core.listenerservice.IPapyrusListener;
-import org.eclipse.uml2.uml.Element;
-
-/**
- * Edit policy for specific Label
- */
-public abstract class AbstractCustomLabelEditPolicy extends GraphicalEditPolicy implements IPapyrusListener, NotificationListener {
-
- /** constant for this edit policy role */
- public final static String SPECIFIC_NAME_LABEL_POLICY = "SpecificNameLabelEditPolicy"; //$NON-NLS-1$
-
- /**
- * Creates a new Specific Name display edit policy
- */
- public AbstractCustomLabelEditPolicy() {
- super();
- }
-
- /**
- *
- * {@inheritDoc}
- */
- public void activate() {
- // retrieve the view and the element managed by the edit part
- View view = getView();
- if(view == null) {
- return;
- }
- Element element = getUMLElement();
- if(getUMLElement() != null) {
- // adds a listener on the view and the element controlled by the editpart
- getDiagramEventBroker().addNotificationListener(view, this);
- getDiagramEventBroker().addNotificationListener(element, this);
-
- addAdditionalListeners();
-
- refreshDisplay();
- }
- }
-
- /**
- * Adds more listeners upon activation
- */
- protected void addAdditionalListeners() {
- // default implementation does nothing
- }
-
- /**
- *
- * {@inheritDoc}
- */
- public void deactivate() {
- // retrieve the view and the element managed by the edit part
- View view = getView();
- if(view == null) {
- return;
- }
- Element element = (Element)getUMLElement();
-
- // remove notification on element and view
- getDiagramEventBroker().removeNotificationListener(view, this);
-
- if(element == null) {
- return;
- }
- getDiagramEventBroker().removeNotificationListener(element, this);
-
- removeAdditionalListeners();
-
- }
-
- /**
- * Remove the others listeners
- *
- */
- protected void removeAdditionalListeners() {
- // default implementation does nothing
- }
-
- /**
- * Gets the diagram event broker from the editing domain.
- *
- * @return the diagram event broker
- */
- protected DiagramEventBroker getDiagramEventBroker() {
- TransactionalEditingDomain theEditingDomain = ((IGraphicalEditPart)getHost()).getEditingDomain();
- if(theEditingDomain != null) {
- return DiagramEventBroker.getInstance(theEditingDomain);
- }
- return null;
- }
-
- /**
- * Returns the uml element controlled by the host edit part
- *
- * @return the uml element controlled by the host edit part
- */
- protected Element getUMLElement() {
- return (Element)getView().getElement();
- }
-
- /**
- * Returns the view controlled by the host edit part
- *
- * @return the view controlled by the host edit part
- */
- protected View getView() {
- return (View)getHost().getModel();
- }
-
- /**
- * Refreshes the display for the element controlled by the edit part with this edit policies
- */
- public abstract void refreshDisplay();
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/CustomDiagramDragDropEditPolicy.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/CustomDiagramDragDropEditPolicy.java
deleted file mode 100644
index ccd9d2cf6df..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/CustomDiagramDragDropEditPolicy.java
+++ /dev/null
@@ -1,614 +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:
- * Amine EL KOUHEN (CEA LIST/INRIA DaRT) amine.el_kouhen@inria.fr
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.edit.policies;
-
-import java.util.Collection;
-import java.util.HashSet;
-import java.util.Iterator;
-import java.util.Set;
-
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.draw2d.PositionConstants;
-import org.eclipse.draw2d.Viewport;
-import org.eclipse.draw2d.geometry.Dimension;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CompoundCommand;
-import org.eclipse.gef.commands.UnexecutableCommand;
-import org.eclipse.gef.requests.ChangeBoundsRequest;
-import org.eclipse.gmf.runtime.common.core.command.CompositeCommand;
-import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil;
-import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy;
-import org.eclipse.gmf.runtime.diagram.ui.commands.SetBoundsCommand;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeCompartmentEditPart;
-import org.eclipse.gmf.runtime.diagram.ui.figures.ShapeCompartmentFigure;
-import org.eclipse.gmf.runtime.diagram.ui.requests.CreateViewRequest.ViewDescriptor;
-import org.eclipse.gmf.runtime.diagram.ui.requests.DropObjectsRequest;
-import org.eclipse.gmf.runtime.emf.core.util.EObjectAdapter;
-import org.eclipse.gmf.runtime.emf.type.core.IElementType;
-import org.eclipse.gmf.runtime.emf.type.core.IHintedType;
-import org.eclipse.gmf.runtime.notation.Node;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.papyrus.diagram.common.editpolicies.OldCommonDiagramDragDropEditPolicy;
-import org.eclipse.papyrus.diagram.component.custom.edit.command.CreateViewCommand;
-import org.eclipse.papyrus.diagram.component.custom.edit.helpers.ComponentLinkMappingHelper;
-import org.eclipse.papyrus.diagram.component.custom.locators.PortPositionLocator;
-import org.eclipse.papyrus.diagram.component.custom.log.Log;
-import org.eclipse.papyrus.diagram.component.edit.parts.CommentEditPart;
-import org.eclipse.papyrus.diagram.component.edit.parts.CommentEditPartPCN;
-import org.eclipse.papyrus.diagram.component.edit.parts.ComponentEditPart;
-import org.eclipse.papyrus.diagram.component.edit.parts.ComponentEditPartCN;
-import org.eclipse.papyrus.diagram.component.edit.parts.ComponentEditPartPCN;
-import org.eclipse.papyrus.diagram.component.edit.parts.ConstraintEditPart;
-import org.eclipse.papyrus.diagram.component.edit.parts.ConstraintEditPartPCN;
-import org.eclipse.papyrus.diagram.component.edit.parts.DependencyEditPart;
-import org.eclipse.papyrus.diagram.component.edit.parts.InterfaceEditPart;
-import org.eclipse.papyrus.diagram.component.edit.parts.InterfaceEditPartPCN;
-import org.eclipse.papyrus.diagram.component.edit.parts.PackageEditPart;
-import org.eclipse.papyrus.diagram.component.edit.parts.PortEditPart;
-import org.eclipse.papyrus.diagram.component.part.UMLVisualIDRegistry;
-import org.eclipse.papyrus.diagram.component.providers.UMLElementTypes;
-import org.eclipse.uml2.uml.Behavior;
-import org.eclipse.uml2.uml.Class;
-import org.eclipse.uml2.uml.Classifier;
-import org.eclipse.uml2.uml.Collaboration;
-import org.eclipse.uml2.uml.CollaborationUse;
-import org.eclipse.uml2.uml.Comment;
-import org.eclipse.uml2.uml.ConnectableElement;
-import org.eclipse.uml2.uml.Constraint;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.EncapsulatedClassifier;
-import org.eclipse.uml2.uml.Parameter;
-import org.eclipse.uml2.uml.Port;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.StructuredClassifier;
-import org.eclipse.uml2.uml.Type;
-import org.eclipse.uml2.uml.TypedElement;
-
-// TODO: Auto-generated Javadoc
-/**
- * This class provides an implementation for specific behavior of Drag and Drop
- * in the Composite Diagram.
- */
-public class CustomDiagramDragDropEditPolicy extends OldCommonDiagramDragDropEditPolicy {
-
- /**
- * Default constructor.
- */
- public CustomDiagramDragDropEditPolicy() {
- super(ComponentLinkMappingHelper.getInstance());
- }
-
- /**
- * Gets the droppable element visual id.
- *
- * @return the droppable element visual id
- * {@inheritDoc}
- */
- @Override
- protected Set<Integer> getDroppableElementVisualId() {
- // TopLevelNodes
- Set<Integer> droppableElementsVisualId = new HashSet<Integer>();
- droppableElementsVisualId.add(PackageEditPart.VISUAL_ID);
- droppableElementsVisualId.add(ComponentEditPart.VISUAL_ID);
- droppableElementsVisualId.add(InterfaceEditPart.VISUAL_ID);
- droppableElementsVisualId.add(CommentEditPart.VISUAL_ID);
- droppableElementsVisualId.add(ConstraintEditPart.VISUAL_ID);
- droppableElementsVisualId.add(PortEditPart.VISUAL_ID);
-
- // Class CN
- droppableElementsVisualId.add(ComponentEditPartCN.VISUAL_ID);
- droppableElementsVisualId.add(ComponentEditPartPCN.VISUAL_ID);
- droppableElementsVisualId.add(InterfaceEditPartPCN.VISUAL_ID);
- droppableElementsVisualId.add(CommentEditPartPCN.VISUAL_ID);
- droppableElementsVisualId.add(ConstraintEditPartPCN.VISUAL_ID);
-
- return droppableElementsVisualId;
- }
-
- /**
- * Gets the uML element type.
- *
- * @param elementID the element id
- * @return the uML element type
- * {@inheritDoc}
- */
- @Override
- public IElementType getUMLElementType(int elementID) {
- return UMLElementTypes.getElementType(elementID);
- }
-
- /**
- * Gets the node visual id.
- *
- * @param containerView the container view
- * @param domainElement the domain element
- * @return the node visual id
- * {@inheritDoc}
- */
- @Override
- public int getNodeVisualID(View containerView, EObject domainElement) {
- return UMLVisualIDRegistry.getNodeVisualID(containerView, domainElement);
- }
-
- /**
- * Gets the link with class visual id.
- *
- * @param domainElement the domain element
- * @return the link with class visual id
- * {@inheritDoc}
- */
- @Override
- public int getLinkWithClassVisualID(EObject domainElement) {
- return UMLVisualIDRegistry.getLinkWithClassVisualID(domainElement);
- }
-
- /**
- * Gets the specific drop command.
- *
- * @param dropRequest the drop request
- * @param semanticElement the semantic element
- * @param nodeVISUALID the node visualid
- * @param linkVISUALID the link visualid
- * @return the specific drop command
- * {@inheritDoc}
- */
- @Override
- protected Command getSpecificDropCommand(DropObjectsRequest dropRequest, Element semanticElement, int nodeVISUALID, int linkVISUALID) {
-
- // Switch test over linkVisualID
- switch(linkVISUALID) {
- case DependencyEditPart.VISUAL_ID:
- return dropDependency(dropRequest, semanticElement, linkVISUALID);
- default:
- // Switch test over nodeVISUALID
- switch(nodeVISUALID) {
- // Test TopLevelNode... Start
- case PackageEditPart.VISUAL_ID:
- case ComponentEditPart.VISUAL_ID:
- case InterfaceEditPart.VISUAL_ID:
-
- return dropTopLevelNode(dropRequest, semanticElement, nodeVISUALID, linkVISUALID);
- // Test TopLevelNode... End
- case PortEditPart.VISUAL_ID:
- return dropAffixedNode(dropRequest, semanticElement, nodeVISUALID);
- case CommentEditPart.VISUAL_ID:
- case CommentEditPartPCN.VISUAL_ID:
- return dropComment(dropRequest, semanticElement, nodeVISUALID);
-
- case ConstraintEditPart.VISUAL_ID:
- case ConstraintEditPartPCN.VISUAL_ID:
- return dropConstraint(dropRequest, semanticElement, nodeVISUALID);
- default:
- return super.getSpecificDropCommand(dropRequest, semanticElement, nodeVISUALID, linkVISUALID);
- }
- }
- }
-
- /**
- * Returns the command to drop the Comment + the link to attach it to its annotated elements.
- *
- * @param dropRequest the drop request
- * @param semanticLink the semantic link
- * @param nodeVISUALID the node visual id
- * @return the command
- */
- protected Command dropComment(DropObjectsRequest dropRequest, Element semanticLink, int nodeVISUALID) {
- GraphicalEditPart graphicalParentEditPart = (GraphicalEditPart)getHost();
- EObject graphicalParentObject = graphicalParentEditPart.resolveSemanticElement();
- // if(!(graphicalParentObject instanceof Package) && !(graphicalParentObject instanceof Class) && !(graphicalParentObject instanceof Property) && !(graphicalParentObject instanceof Interaction) && !(graphicalParentObject instanceof StateMachine) && !(graphicalParentObject instanceof Collaboration) && !(graphicalParentObject instanceof FunctionBehavior) && !(graphicalParentObject instanceof ProtocolStateMachine) && !(graphicalParentObject instanceof ExecutionEnvironment) && !(graphicalParentObject instanceof Device)) {
- // return UnexecutableCommand.INSTANCE;
- // }
- if(nodeVISUALID == CommentEditPart.VISUAL_ID) {
- return getDropCommentCommand((Comment)semanticLink, getViewer(), getDiagramPreferencesHint(), dropRequest.getLocation(), ((GraphicalEditPart)getHost()).getNotationView(), (IHintedType)UMLElementTypes.Comment_3201, (IHintedType)UMLElementTypes.CommentAnnotatedElement_4015);
- } else if(nodeVISUALID == CommentEditPartPCN.VISUAL_ID) {
- return getDropCommentCommand((Comment)semanticLink, getViewer(), getDiagramPreferencesHint(), dropRequest.getLocation(), ((GraphicalEditPart)getHost()).getNotationView(), (IHintedType)UMLElementTypes.Comment_3074, (IHintedType)UMLElementTypes.CommentAnnotatedElement_4015);
- }
- return UnexecutableCommand.INSTANCE;
- }
-
- /**
- * Returns the command to drop the Constraint + the link to attach it to its contrainted elements.
- *
- * @param dropRequest the drop request
- * @param semanticLink the semantic link
- * @param nodeVISUALID the node visual id
- * @return the command
- */
- protected Command dropConstraint(DropObjectsRequest dropRequest, Element semanticLink, int nodeVISUALID) {
- GraphicalEditPart graphicalParentEditPart = (GraphicalEditPart)getHost();
- EObject graphicalParentObject = graphicalParentEditPart.resolveSemanticElement();
- // if(!(graphicalParentObject instanceof Package) && !(graphicalParentObject instanceof Class) && !(graphicalParentObject instanceof Interaction) && !(graphicalParentObject instanceof StateMachine) && !(graphicalParentObject instanceof Collaboration) && !(graphicalParentObject instanceof FunctionBehavior) && !(graphicalParentObject instanceof ProtocolStateMachine) && !(graphicalParentObject instanceof ExecutionEnvironment) && !(graphicalParentObject instanceof Device)) {
- // return UnexecutableCommand.INSTANCE;
- // }
-
- if(nodeVISUALID == ConstraintEditPart.VISUAL_ID) {
- return getDropConstraintCommand((Constraint)semanticLink, getViewer(), getDiagramPreferencesHint(), dropRequest.getLocation(), ((GraphicalEditPart)getHost()).getNotationView(), (IHintedType)UMLElementTypes.Constraint_3199, (IHintedType)UMLElementTypes.ConstraintConstrainedElement_4009);
- } else if(nodeVISUALID == ConstraintEditPartPCN.VISUAL_ID) {
- return getDropConstraintCommand((Constraint)semanticLink, getViewer(), getDiagramPreferencesHint(), dropRequest.getLocation(), ((GraphicalEditPart)getHost()).getNotationView(), (IHintedType)UMLElementTypes.Constraint_3075, (IHintedType)UMLElementTypes.ConstraintConstrainedElement_4009);
- }
- return UnexecutableCommand.INSTANCE;
- }
-
-
- /**
- * Returns the drop command for Dependency links.
- *
- * @param dropRequest
- * the drop request
- * @param semanticLink
- * the element to drop
- * @param linkVISUALID
- * the visual identifier of the EditPart of the dropped element
- * @return the drop command
- */
- protected Command dropDependency(DropObjectsRequest dropRequest, Element semanticLink, int linkVISUALID) {
- Collection<?> sourceEnds = ComponentLinkMappingHelper.getInstance().getSource(semanticLink);
- Collection<?> targetEnds = ComponentLinkMappingHelper.getInstance().getTarget(semanticLink);
-
- // Dependency with Unary ends
- if((sourceEnds != null) && (targetEnds != null) && (sourceEnds.size() == 1) && (targetEnds.size() == 1)) {
-
- Element source = (Element)sourceEnds.toArray()[0];
- Element target = (Element)targetEnds.toArray()[0];
- return new ICommandProxy(dropBinaryLink(new CompositeCommand("drop Dependency"), source, target, //$NON-NLS-1$
- linkVISUALID, dropRequest.getLocation(), semanticLink));
- } else {
- return UnexecutableCommand.INSTANCE;
- }
- }
-
- /**
- * Returns the drop command for RoleBinding links.
- *
- * @param dropRequest
- * the drop request
- * @param semanticLink
- * the element to drop
- * @param linkVISUALID
- * the visual identifier of the EditPart of the dropped element
- * @return the drop command
- */
- protected Command dropRoleBinding(DropObjectsRequest dropRequest, Element semanticLink, int linkVISUALID) {
- Collection<?> sourceEnds = ComponentLinkMappingHelper.getInstance().getSource(semanticLink);
- Collection<?> targetEnds = ComponentLinkMappingHelper.getInstance().getTarget(semanticLink);
-
- // Dependency with Unary ends
- if((sourceEnds != null) && (targetEnds != null) && (sourceEnds.size() == 1) && (targetEnds.size() == 1)) {
-
- Element source = semanticLink.getOwner();
- Element target = (Element)targetEnds.toArray()[0];
- return new ICommandProxy(dropBinaryLink(new CompositeCommand("drop RoleBinding"), source, target, //$NON-NLS-1$
- linkVISUALID, dropRequest.getLocation(), semanticLink));
- } else {
- return UnexecutableCommand.INSTANCE;
- }
- }
-
-
- /**
- * Returns the drop command for Property nodes.
- *
- * @param dropRequest the drop request
- * @param droppedElement the element to drop
- * @param nodeVISUALID the visual identifier of the EditPart of the dropped element
- * @return the drop command
- */
- protected Command dropProperty(DropObjectsRequest dropRequest, Property droppedElement, int nodeVISUALID) {
-
- GraphicalEditPart graphicalParentEditPart = (GraphicalEditPart)getHost();
- EObject graphicalParentObject = graphicalParentEditPart.resolveSemanticElement();
-
- // Default drop location
- Point location = dropRequest.getLocation().getCopy();
-
- // Port inherits from Property this case should be excluded and treated
- // separately
- if(!(droppedElement instanceof Port)) {
-
- if((graphicalParentObject instanceof Classifier) && (((Classifier)graphicalParentObject).getAllAttributes().contains(droppedElement))) {
- // The graphical parent is the real owner of the dropped
- // property.
- // The dropped property may also be an inherited attribute of
- // the graphical parent.
- return new ICommandProxy(getDefaultDropNodeCommand(nodeVISUALID, location, droppedElement));
-
- } else if(graphicalParentObject instanceof ConnectableElement) {
- Type type = ((ConnectableElement)graphicalParentObject).getType();
- if((type != null) && (type instanceof Classifier) && (((Classifier)type).getAllAttributes().contains(droppedElement))) {
- // The graphical parent is a Property typed by a Classifier
- // that owns or inherits the
- // dropped property.
- return new ICommandProxy(getDefaultDropNodeCommand(nodeVISUALID, location, droppedElement));
- }
- }
- }
-
- return UnexecutableCommand.INSTANCE;
- }
-
- /**
- * <pre>
- * Returns the drop command for Affixed nodes (Parameter, Port).
- * This method uses PortPositionLocator used by both Port and Parameter.
- * If the dropped element is a Port, the graphical parent can be :
- * - a Class that owns or inherits the Port
- * - a Property which type owns or inherits the Port
- * </pre>
- *
- * @param dropRequest the drop request
- * @param droppedElement the element to drop
- * @param nodeVISUALID the visual identifier of the EditPart of the dropped element
- * @return the drop command
- */
- protected Command dropAffixedNode(DropObjectsRequest dropRequest, Element droppedElement, int nodeVISUALID) {
-
- // The dropped element must be a Port or Parameter
- if(!((droppedElement instanceof Port) || (droppedElement instanceof Parameter))) {
- Log.getInstance().error(new Exception("Incorrect parameter type (droppedElement should be a Port or Parameter)"));
- return UnexecutableCommand.INSTANCE;
- }
-
- // Manage Element drop in compartment
- Boolean isCompartmentTarget = false; // True if the target is a
- // ShapeCompartmentEditPart
- GraphicalEditPart graphicalParentEditPart = (GraphicalEditPart)getHost();
-
- // Default drop location
- Point dropLocation = dropRequest.getLocation().getCopy();
-
- // Detect if the drop target is a compartment
- if(graphicalParentEditPart instanceof ShapeCompartmentEditPart) {
- isCompartmentTarget = true;
-
- // Replace compartment edit part by its parent EditPart
- graphicalParentEditPart = (GraphicalEditPart)graphicalParentEditPart.getParent();
-
- // Translate Port expected location according to the compartment
- // location
- Point targetLocation = graphicalParentEditPart.getContentPane().getBounds().getLocation();
- ShapeCompartmentFigure compartmentFigure = (ShapeCompartmentFigure)getHostFigure();
-
- // Retrieve ViewPort location = the area where compartment children
- // are located
- // Retrieve ViewPort view location = the relative location of the
- // viewed compartment
- // depending on the current scroll bar state
- Viewport compartmentViewPort = compartmentFigure.getScrollPane().getViewport();
- Point compartmentViewPortLocation = compartmentViewPort.getLocation();
- Point compartmentViewPortViewLocation = compartmentViewPort.getViewLocation();
-
- // Calculate the delta between the targeted element position for
- // drop (the Composite figure)
- // and the View location with eventual scroll bar.
- Point delta = compartmentViewPortLocation.translate(targetLocation.negate());
- delta = delta.translate(compartmentViewPortViewLocation.negate());
-
- // Translate the requested drop location (relative to parent)
- dropLocation = dropRequest.getLocation().getTranslated(delta);
- }
- // Manage Element drop in compartment
-
- // Create proposed creation bounds and use the locator to find the
- // expected position
- Point parentLoc = graphicalParentEditPart.getFigure().getBounds().getLocation().getCopy();
- PortPositionLocator locator = new PortPositionLocator(graphicalParentEditPart.getFigure(), PositionConstants.NONE);
-
- Rectangle proposedBounds = new Rectangle(dropLocation, new Dimension(20, 20));
- proposedBounds = proposedBounds.getTranslated(parentLoc);
- Rectangle preferredBounds = locator.getPreferredLocation(proposedBounds);
-
- // Convert the calculated preferred bounds as relative to parent
- // location
- Rectangle creationBounds = preferredBounds.getTranslated(parentLoc.getNegated());
- dropLocation = creationBounds.getLocation();
-
- EObject graphicalParentObject = graphicalParentEditPart.resolveSemanticElement();
-
- if((graphicalParentObject instanceof EncapsulatedClassifier) && (((EncapsulatedClassifier)graphicalParentObject).getAllAttributes().contains(droppedElement))) {
- // Drop Port on StructuredClassifier
- if(isCompartmentTarget) {
- return getDropAffixedNodeInCompartmentCommand(nodeVISUALID, dropLocation, droppedElement);
- }
- return new ICommandProxy(getDefaultDropNodeCommand(nodeVISUALID, dropLocation, droppedElement));
-
- } else if(graphicalParentObject instanceof ConnectableElement) {
- // Drop Port on Part
- Type type = ((ConnectableElement)graphicalParentObject).getType();
-
- if((type != null) && (type instanceof EncapsulatedClassifier) && (((EncapsulatedClassifier)type).getAllAttributes().contains(droppedElement))) {
- if(isCompartmentTarget) {
- return getDropAffixedNodeInCompartmentCommand(nodeVISUALID, dropLocation, droppedElement);
- }
- return new ICommandProxy(getDefaultDropNodeCommand(nodeVISUALID, dropLocation, droppedElement));
- }
-
- } else if((graphicalParentObject instanceof Behavior) && (((Behavior)graphicalParentObject).getOwnedParameters().contains(droppedElement))) {
- // Drop Parameter on Behavior
- if(isCompartmentTarget) {
- return getDropAffixedNodeInCompartmentCommand(nodeVISUALID, dropLocation, droppedElement);
- }
- return new ICommandProxy(getDefaultDropNodeCommand(nodeVISUALID, dropLocation, droppedElement));
- }
-
- return UnexecutableCommand.INSTANCE;
- }
-
-
- /**
- * <pre>
- * This method return a drop command for TopLevelNode.
- * It returns an {@link org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand} in
- * case the element is dropped on a canvas referencing a domain element that is not a Package.
- * </pre>
- *
- * @param dropRequest
- * the drop request
- * @param semanticElement
- * the semantic element
- * @param nodeVISUALID
- * the visual identifier of the EditPart of the dropped element
- * @param linkVISUALID
- * the visual identifier of the EditPart of the dropped element
- * @return the drop command
- */
- protected Command dropTopLevelNode(DropObjectsRequest dropRequest, Element semanticElement, int nodeVISUALID, int linkVISUALID) {
-
- GraphicalEditPart graphicalParentEditPart = (GraphicalEditPart)getHost();
- EObject graphicalParentObject = graphicalParentEditPart.resolveSemanticElement();
- if(graphicalParentObject instanceof org.eclipse.uml2.uml.Package) {
- return new ICommandProxy(getDefaultDropNodeCommand(nodeVISUALID, dropRequest.getLocation(), semanticElement));
- }
-
- return UnexecutableCommand.INSTANCE;
- }
-
- /**
- * <pre>
- * This method returns the drop command for AffixedNode (Port, Parameter)
- * in case the node is dropped on a ShapeCompartmentEditPart.
- * </pre>
- *
- * @param nodeVISUALID
- * the node visual identifier
- * @param location
- * the drop location
- * @param droppedObject
- * the object to drop
- * @return a CompositeCommand for Drop
- */
- protected CompoundCommand getDropAffixedNodeInCompartmentCommand(int nodeVISUALID, Point location, EObject droppedObject) {
- CompoundCommand cc = new CompoundCommand("Drop");
- IAdaptable elementAdapter = new EObjectAdapter(droppedObject);
-
- ViewDescriptor descriptor = new ViewDescriptor(elementAdapter, Node.class, ((IHintedType)getUMLElementType(nodeVISUALID)).getSemanticHint(), ViewUtil.APPEND, false, getDiagramPreferencesHint());
- // Create the command targeting host parent (owner of the
- // ShapeCompartmentEditPart)
- CreateViewCommand createCommand = new CreateViewCommand(getEditingDomain(), descriptor, ((View)(getHost().getParent().getModel())));
- cc.add(new ICommandProxy(createCommand));
-
- SetBoundsCommand setBoundsCommand = new SetBoundsCommand(getEditingDomain(), "move", (IAdaptable)createCommand.getCommandResult().getReturnValue(), location);
- cc.add(new ICommandProxy(setBoundsCommand));
-
- return cc;
- }
-
-
- /**
- * Avoid dropped element to get orphaned for DND action resulting in a
- * specific action (not a move).
- *
- * @param request the request
- * @return the drag command
- */
- @Override
- protected Command getDragCommand(ChangeBoundsRequest request) {
-
- Boolean isSpecificDrag = false;
-
- Iterator<?> iter = request.getEditParts().iterator();
- EObject graphicalParentObject = ((GraphicalEditPart)getHost()).resolveSemanticElement();
- while((graphicalParentObject != null) && (iter.hasNext())) {
-
- EObject droppedObject = null;
- EditPart droppedEditPart = (EditPart)iter.next();
- if(droppedEditPart instanceof GraphicalEditPart) {
- droppedObject = ((GraphicalEditPart)droppedEditPart).resolveSemanticElement();
- }
-
- isSpecificDrag = isSpecificDropActionExpected((GraphicalEditPart)getHost(), droppedObject);
- }
-
- if(isSpecificDrag) {
- return null;
- }
-
- return super.getDragCommand(request);
- }
-
- /**
- * @see org.eclipse.gmf.runtime.diagram.ui.editpolicies.DiagramDragDropEditPolicy#getDropCommand(org.eclipse.gef.requests.ChangeBoundsRequest)
- *
- * @param request
- * @return
- */
-
- @Override
- protected Command getDropCommand(ChangeBoundsRequest request) {
- Boolean isSpecificDrop = false;
-
- Iterator<?> iter = request.getEditParts().iterator();
- EObject graphicalParentObject = ((GraphicalEditPart)getHost()).resolveSemanticElement();
- while((graphicalParentObject != null) && (iter.hasNext())) {
- EObject droppedObject = null;
- EditPart droppedEditPart = (EditPart)iter.next();
- if(droppedEditPart instanceof GraphicalEditPart) {
- droppedObject = ((GraphicalEditPart)droppedEditPart).resolveSemanticElement();
- }
-
- isSpecificDrop = isSpecificDropActionExpected((GraphicalEditPart)getHost(), droppedObject);
- }
-
- if(isSpecificDrop) {
- return getDropObjectsCommand(castToDropObjectsRequest(request));
- }
-
- return super.getDropCommand(request);
- }
-
- /**
- * Test if a specific drop action shall is expected.
- *
- * @param graphicalParent the graphical parent
- * @param droppedObject the dropped object
- * @return true, if is specific drop action expected
- */
- protected boolean isSpecificDropActionExpected(GraphicalEditPart graphicalParent, EObject droppedObject) {
- boolean isSpecificDropActionExpected = false;
-
- EObject graphicalParentObject = graphicalParent.resolveSemanticElement();
- if(graphicalParentObject != null) {
-
- if(graphicalParentObject instanceof Collaboration) {
-
- if((droppedObject instanceof Collaboration) || (droppedObject instanceof Class)) {
- isSpecificDropActionExpected = true;
- }
-
- } else if(graphicalParentObject instanceof StructuredClassifier) {
-
- if((droppedObject instanceof Collaboration) || (droppedObject instanceof Class)) {
- isSpecificDropActionExpected = true;
- }
-
- } else if(graphicalParentObject instanceof TypedElement) {
-
- if(droppedObject instanceof Type) {
- isSpecificDropActionExpected = true;
- }
-
- } else if(graphicalParentObject instanceof CollaborationUse) {
-
- if(droppedObject instanceof Collaboration) {
- isSpecificDropActionExpected = true;
- }
- }
- }
-
- return isSpecificDropActionExpected;
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/ExternalLabelPrimaryDragRoleEditPolicy.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/ExternalLabelPrimaryDragRoleEditPolicy.java
deleted file mode 100644
index 60a2979a92b..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/ExternalLabelPrimaryDragRoleEditPolicy.java
+++ /dev/null
@@ -1,69 +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:
- * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.edit.policies;
-
-import java.util.Collections;
-import java.util.List;
-
-import org.eclipse.draw2d.geometry.PrecisionRectangle;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.handles.MoveHandle;
-import org.eclipse.gef.requests.ChangeBoundsRequest;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy;
-import org.eclipse.gmf.runtime.diagram.ui.commands.SetBoundsCommand;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.LabelEditPart;
-import org.eclipse.gmf.runtime.diagram.ui.editpolicies.NonResizableLabelEditPolicy;
-import org.eclipse.gmf.runtime.diagram.ui.l10n.DiagramUIMessages;
-import org.eclipse.gmf.runtime.emf.core.util.EObjectAdapter;
-import org.eclipse.gmf.runtime.notation.View;
-
-/**
- * This policy provides the selection handles, feedback and move command for
- * external node label.
- * The expected behavior is to provide an external label that can freely move and with a link feedback
- * towards its parent figure during the move.
- */
-public class ExternalLabelPrimaryDragRoleEditPolicy extends NonResizableLabelEditPolicy {
-
- @Override
- protected List<?> createSelectionHandles() {
- MoveHandle mh = new MoveHandle((GraphicalEditPart)getHost());
- mh.setBorder(null);
- return Collections.singletonList(mh);
- }
-
- @Override
- protected Command getMoveCommand(ChangeBoundsRequest request) {
- LabelEditPart editPart = (LabelEditPart)getHost();
-
- // FeedBack - Port + Delta
- Rectangle updatedRect = new Rectangle();
- PrecisionRectangle initialRect = new PrecisionRectangle(getInitialFeedbackBounds().getCopy());
- updatedRect = initialRect.getTranslated(getHostFigure().getParent().getBounds().getLocation().getNegated());
- updatedRect = updatedRect.getTranslated(request.getMoveDelta());
-
- // translate the feedback figure
- PrecisionRectangle rect = new PrecisionRectangle(getInitialFeedbackBounds().getCopy());
- getHostFigure().translateToAbsolute(rect);
- rect.translate(request.getMoveDelta());
- rect.resize(request.getSizeDelta());
- getHostFigure().translateToRelative(rect);
-
- ICommand moveCommand = new SetBoundsCommand(editPart.getEditingDomain(), DiagramUIMessages.MoveLabelCommand_Label_Location, new EObjectAdapter((View)editPart.getModel()), updatedRect);
- return new ICommandProxy(moveCommand);
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/GraphicalNodeEditPolicy.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/GraphicalNodeEditPolicy.java
deleted file mode 100644
index 31e1274b54f..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/GraphicalNodeEditPolicy.java
+++ /dev/null
@@ -1,153 +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:
- * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation
- * Vincent Lorenzo(CEA LIST) vincent.lorenzo@cea.fr
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.edit.policies;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gmf.runtime.common.core.command.CompositeCommand;
-import org.eclipse.gmf.runtime.diagram.core.edithelpers.CreateElementRequestAdapter;
-import org.eclipse.gmf.runtime.diagram.core.util.ViewUtil;
-import org.eclipse.gmf.runtime.diagram.ui.commands.CommandProxy;
-import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy;
-import org.eclipse.gmf.runtime.diagram.ui.commands.SemanticCreateCommand;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.INodeEditPart;
-import org.eclipse.gmf.runtime.diagram.ui.requests.CreateConnectionViewAndElementRequest;
-import org.eclipse.gmf.runtime.diagram.ui.requests.EditCommandRequestWrapper;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest;
-import org.eclipse.gmf.runtime.notation.View;
-
-
-/**
- * <pre>
- * This class provides a custom edit policy used to replace the GRAPHICAL_NODE_ROLE
- * for the Port and Property elements (when used in CompositeStructure Diagram).
- *
- * The reason for this is that the creation of Connector requires not only to know
- * the ConnectableElement(s) on both end (given in CreateRelationshipRequest
- * Source and Target), but also the Property graphically owning the Port used at
- * ConnectorEnd.
- * </pre>
- */
-public class GraphicalNodeEditPolicy extends org.eclipse.gmf.runtime.diagram.ui.editpolicies.GraphicalNodeEditPolicy {
-
- /**
- * The ID for the additional parameter SOURCE_PARENT used in creation request
- */
- public static final String CONNECTOR_CREATE_REQUEST_SOURCE_PARENT = "SOURCE_PARENT"; //$NON-NLS-1$
-
- /**
- * The ID for the additional parameter TARGET_PARENT used in creation request
- */
- public static final String CONNECTOR_CREATE_REQUEST_TARGET_PARENT = "TARGET_PARENT"; //$NON-NLS-1$
-
- /**
- * The ID for the additional parameter SOURCE_GRAPHICAL used in creation request
- */
- public static final String CONNECTOR_CREATE_REQUEST_SOURCE_GRAPHICAL = "SOURCE_GRAPHICAL"; //$NON-NLS-1$
-
- /**
- * The ID for the additional parameter TARGET_GRAPHICAL used in creation request
- */
- public static final String CONNECTOR_CREATE_REQUEST_TARGET_GRAPHICAL = "TARGET_GRAPHICAL"; //$NON-NLS-1$
-
- /**
- * <pre>
- * This method is overridden in order to add information (graphical parent of Port)
- * in the CreationRelationshipRequest.
- *
- * These information is stored in the request as Parameters under the following keys:
- * - &quot;SOURCE_PARENT&quot; : UML Element used as Graphical parent of the source Port (end of Connector)
- * - &quot;TARGET_PARENT&quot; : UML Element used as Graphical parent of the target Port (end of Connector)
- * - &quot;SOURCE_GRAPHICAL&quot; : GraphicalEditPart of the source
- * - &quot;TARGET_GRAPHICAL&quot; : GraphicalEditPart of the target
- *
- * This method is used too to call the custom command for InformationFlow creation.
- *
- * {@inheritDoc}
- * </pre>
- */
- @Override
- protected Command getConnectionAndRelationshipCompleteCommand(CreateConnectionViewAndElementRequest request) {
- // return super.getConnectionAndRelationshipCompleteCommand(request);
-
- // get the element descriptor
- CreateElementRequestAdapter requestAdapter = request.getConnectionViewAndElementDescriptor().getCreateElementRequestAdapter();
- // get the semantic request
- CreateRelationshipRequest createElementRequest = (CreateRelationshipRequest)requestAdapter.getAdapter(CreateRelationshipRequest.class);
-
- createElementRequest.setPrompt(!request.isUISupressed());
-
- // complete the semantic request by filling in the source and
- // destination
- INodeEditPart targetEP = getConnectionCompleteEditPart(request);
- View sourceView = (View)request.getSourceEditPart().getModel();
- View targetView = (View)targetEP.getModel();
-
- // resolve the source
- EObject source = ViewUtil.resolveSemanticElement(sourceView);
- if(source == null) {
- source = sourceView;
- }
-
- // resolve the source parent (meaning graphical parent here)
- View sourceParentView = (View)request.getSourceEditPart().getParent().getModel();
- EObject sourceParent = ViewUtil.resolveSemanticElement(sourceParentView);
- if(sourceParent == null) {
- sourceParent = sourceParentView;
- }
-
- createElementRequest.setParameter(CONNECTOR_CREATE_REQUEST_SOURCE_PARENT, sourceParent);
- createElementRequest.setParameter(CONNECTOR_CREATE_REQUEST_SOURCE_GRAPHICAL, request.getSourceEditPart());
- createElementRequest.setSource(source);
-
- // resolve the target
- EObject target = ViewUtil.resolveSemanticElement(targetView);
- if(target == null) {
- target = targetView;
- }
-
- // resolve the source parent (meaning graphical parent here)
- View targetParentView = (View)request.getTargetEditPart().getParent().getModel();
- EObject targetParent = ViewUtil.resolveSemanticElement(targetParentView);
- if(targetParent == null) {
- targetParent = targetParentView;
- }
-
- createElementRequest.setParameter(CONNECTOR_CREATE_REQUEST_TARGET_PARENT, targetParent);
- createElementRequest.setParameter(CONNECTOR_CREATE_REQUEST_TARGET_GRAPHICAL, request.getTargetEditPart());
- createElementRequest.setTarget(target);
-
- Command createElementCommand = null;
-
- // get the create element request based on the elementdescriptor's
- // request
- createElementCommand = targetEP.getCommand(new EditCommandRequestWrapper((CreateRelationshipRequest)requestAdapter.getAdapter(CreateRelationshipRequest.class), request.getExtendedData()));
-
- // create the create semantic element wrapper command
- if(null == createElementCommand)
- return null;
-
- SemanticCreateCommand semanticCommand = new SemanticCreateCommand(requestAdapter, createElementCommand);
- // get the view command
- Command viewCommand = getConnectionCompleteCommand(request);
- if(null == viewCommand)
- return null;
- // form the compound command and return
- CompositeCommand cc = new CompositeCommand(semanticCommand.getLabel());
- cc.compose(semanticCommand);
- cc.compose(new CommandProxy(viewCommand));
- return new ICommandProxy(cc);
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PortItemSemanticEditPolicy.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PortItemSemanticEditPolicy.java
deleted file mode 100644
index 6a4436cd3c6..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PortItemSemanticEditPolicy.java
+++ /dev/null
@@ -1,51 +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:
- * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.edit.policies;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.UnexecutableCommand;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-
-/**
- * <pre>
- * This class provides a custom edit policy used to replace the SEMANTIC_ROLE
- * generated for the Port element (when used in CompositeStructure Diagram)
- * </pre>
- */
-public class PortItemSemanticEditPolicy extends org.eclipse.papyrus.diagram.component.edit.policies.PortItemSemanticEditPolicy {
-
- /**
- * <pre>
- * Forbid direct destruction of Port in case the graphical parent is not
- * the semantic parent.
- *
- * {@inheritDoc}
- * </pre>
- */
- @Override
- protected Command getDestroyElementCommand(DestroyElementRequest req) {
-
- EObject graphicalParent = ((GraphicalEditPart)getHost().getParent()).resolveSemanticElement();
- EObject semanticParent = req.getElementToDestroy().eContainer();
-
- if(graphicalParent != semanticParent) {
- return UnexecutableCommand.INSTANCE;
- }
-
- return super.getDestroyElementCommand(req);
- }
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PortLayoutEditPolicy.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PortLayoutEditPolicy.java
deleted file mode 100644
index d1d23717842..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PortLayoutEditPolicy.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2010 CEA LIST.
- *
- *
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.edit.policies;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.gef.EditPolicy;
-import org.eclipse.gef.Request;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.editpolicies.LayoutEditPolicy;
-import org.eclipse.gef.editpolicies.NonResizableEditPolicy;
-import org.eclipse.gef.requests.CreateRequest;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.papyrus.diagram.component.edit.parts.PortAppliedStereotypeEditPart;
-import org.eclipse.papyrus.diagram.component.edit.parts.PortEditPart;
-import org.eclipse.papyrus.diagram.component.edit.parts.PortNameEditPart;
-import org.eclipse.papyrus.diagram.component.part.UMLVisualIDRegistry;
-
-/**
- * This edit policy replaces the GMF generated edit policy for Port.
- * In particular it installs {@link ExternalLabelPrimaryDragRoleEditPolicy} on
- * children that are external label.
- * The code generated by GMF can be found in {@link PortEditPart#createLayoutEditPolicy()}.
- */
-public class PortLayoutEditPolicy extends LayoutEditPolicy {
-
- @Override
- protected EditPolicy createChildEditPolicy(EditPart child) {
- View childView = (View)child.getModel();
- switch(UMLVisualIDRegistry.getVisualID(childView)) {
- case PortNameEditPart.VISUAL_ID:
- case PortAppliedStereotypeEditPart.VISUAL_ID:
- return new ExternalLabelPrimaryDragRoleEditPolicy();
- }
- EditPolicy result = child.getEditPolicy(EditPolicy.PRIMARY_DRAG_ROLE);
- if(result == null) {
- result = new NonResizableEditPolicy();
- }
- return result;
- }
-
- @Override
- protected Command getMoveChildrenCommand(Request request) {
- return null;
- }
-
- @Override
- protected Command getCreateCommand(CreateRequest request) {
- return null;
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PropertyLabelEditPolicy.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PropertyLabelEditPolicy.java
deleted file mode 100644
index 9a56de7a1a0..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/PropertyLabelEditPolicy.java
+++ /dev/null
@@ -1,300 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2009 - 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:
- * Remi Schnekenburger (CEA LIST) remi.schnekenburger@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.edit.policies;
-
-import java.util.Collection;
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.ecore.EAnnotation;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.gef.GraphicalEditPart;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.papyrus.diagram.common.editpolicies.AbstractMaskManagedEditPolicy;
-import org.eclipse.papyrus.diagram.common.helper.PropertyLabelHelper;
-import org.eclipse.papyrus.diagram.component.custom.preferences.IPapyrusPropertyPreferencesConstant;
-import org.eclipse.papyrus.diagram.component.custom.preferences.PropertyPreferencePage;
-import org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorPlugin;
-import org.eclipse.papyrus.umlutils.ICustomAppearence;
-import org.eclipse.papyrus.umlutils.ui.VisualInformationPapyrusConstant;
-import org.eclipse.uml2.uml.Property;
-import org.eclipse.uml2.uml.Type;
-import org.eclipse.uml2.uml.UMLPackage;
-
-/**
- * Specific edit policy for label displaying stereotypes and their properties for edges representing
- * UML elements.
- */
-public class PropertyLabelEditPolicy extends AbstractMaskManagedEditPolicy {
-
- /**
- * {@inheritDoc}
- */
- @Override
- public void addAdditionalListeners() {
- super.addAdditionalListeners();
- Property property = getUMLElement();
- // check host semantic element is not null
- if(property == null) {
- return;
- }
-
- // adds a listener to the element itself, and to linked elements, like Type
- if(property.getType() != null) {
- getDiagramEventBroker().addNotificationListener(property.getType(), this);
-
- }
- getDiagramEventBroker().addNotificationListener(property.getUpperValue(), this);
- getDiagramEventBroker().addNotificationListener(property.getLowerValue(), this);
- }
-
- /**
- * {@inheritDoc}
- */
- public int getCurrentDisplayValue() {
- EAnnotation propertyDisplay = ((View)getHost().getModel()).getEAnnotation(VisualInformationPapyrusConstant.CUSTOM_APPEARENCE_ANNOTATION);
- int displayValue = getDefaultDisplayValue();
- if(propertyDisplay != null) {
- displayValue = Integer.parseInt(propertyDisplay.getDetails().get(VisualInformationPapyrusConstant.CUSTOM_APPEARANCE_MASK_VALUE));
- } else {
- // no specific information => look in preferences
- IPreferenceStore store = UMLDiagramEditorPlugin.getInstance().getPreferenceStore();
- int displayValueTemp = store.getInt(IPapyrusPropertyPreferencesConstant.LABEL_DISPLAY_PREFERENCE);
- if(displayValueTemp != 0) {
- displayValue = displayValueTemp;
- }
- }
- return displayValue;
- }
-
- /**
- * {@inheritDoc}
- */
- public int getDefaultDisplayValue() {
- return ICustomAppearence.DEFAULT_UML_PROPERTY;
- }
-
- /**
- * {@inheritDoc}
- */
- public String getMaskLabel(int value) {
- return PropertyLabelHelper.getInstance().getMaskLabel(value);
- }
-
- /**
- * {@inheritDoc}
- */
- public Collection<String> getMaskLabels() {
- return PropertyLabelHelper.getInstance().getMaskLabels();
- }
-
- /**
- * {@inheritDoc}
- */
- public Map<Integer, String> getMasks() {
- return PropertyLabelHelper.getInstance().getMasks();
- }
-
- /**
- * {@inheritDoc}
- */
- public Collection<Integer> getMaskValues() {
- return PropertyLabelHelper.getInstance().getMaskValues();
- }
-
- public String getPreferencePageID() {
- return PropertyPreferencePage.ID;
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public Property getUMLElement() {
- return (Property)super.getUMLElement();
- }
-
- /**
- * {@inheritedDoc}
- */
- @Override
- public void notifyChanged(Notification notification) {
- super.notifyChanged(notification);
- // change the label of the figure managed by the host edit part (managed by the parent edit
- // part in general...)
- // it must be changed only if:
- // - the annotation corresponding to the display of the stereotype changes
- // - the stereotype application list has changed
- Object object = notification.getNotifier();
- Property property = (Property)hostSemanticElement;
-
- if((object == null) || (hostSemanticElement == null)) {
- return;
- }
-
- if(notification.getFeature().equals(UMLPackage.eINSTANCE.getLiteralInteger_Value())) {
- refreshDisplay();
- } else if(notification.getFeature().equals(UMLPackage.eINSTANCE.getLiteralUnlimitedNatural_Value())) {
- refreshDisplay();
- }
-
- if(object.equals(property)) {
- notifyPropertyChanged(property, notification);
- } else if(object.equals(property.getType())) {
- notifyPropertyTypeChanged(property.getType(), notification);
- }
-
- if(isMaskManagedAnnotation(object)) {
- refreshDisplay();
- }
-
- if(isRemovedMaskManagedLabelAnnotation(object, notification)) {
- refreshDisplay();
- }
-
- }
-
- /**
- * notifies that the the property has changed.
- *
- * @param property
- * the property that has changed
- * @param notification
- * the notification send when the element has been changed
- */
- protected void notifyPropertyChanged(Property property, Notification notification) {
- switch(notification.getFeatureID(Property.class)) {
- case UMLPackage.PROPERTY__NAME:
- case UMLPackage.PROPERTY__VISIBILITY:
- case UMLPackage.PROPERTY__IS_DERIVED:
- case UMLPackage.PROPERTY__DEFAULT_VALUE:
- case UMLPackage.PROPERTY__SUBSETTED_PROPERTY:
- case UMLPackage.PROPERTY__REDEFINED_PROPERTY:
- case UMLPackage.PROPERTY__IS_ORDERED:
- case UMLPackage.PROPERTY__IS_UNIQUE:
- case UMLPackage.PROPERTY__IS_READ_ONLY:
- refreshDisplay();
- break;
- case UMLPackage.PROPERTY__TYPE:
- case UMLPackage.PROPERTY__LOWER:
- case UMLPackage.PROPERTY__LOWER_VALUE:
- case UMLPackage.PROPERTY__UPPER:
- case UMLPackage.PROPERTY__UPPER_VALUE:
-
- switch(notification.getEventType()) {
- // if it is added => adds listener to the type element
- case Notification.ADD:
- getDiagramEventBroker().addNotificationListener((EObject)notification.getNewValue(), this);
- refreshDisplay();
- // if it is removed => removes listener from the type element
- break;
- case Notification.ADD_MANY: // should never happen
- if(notification.getNewValue() instanceof List<?>) {
- List<?> addedElements = (List<?>)notification.getNewValue();
- for(Object addedElement : addedElements) {
- if(addedElement instanceof EObject) {
- getDiagramEventBroker().addNotificationListener((EObject)addedElement, this);
- }
- }
- }
- refreshDisplay();
- break;
- case Notification.REMOVE:
- getDiagramEventBroker().removeNotificationListener((EObject)notification.getOldValue(), this);
- refreshDisplay();
- break;
- case Notification.REMOVE_MANY: // should never happen
- if(notification.getOldValue() instanceof List<?>) {
- List<?> removedElements = (List<?>)notification.getOldValue();
- for(Object removedElement : removedElements) {
- if(removedElement instanceof EObject) {
- getDiagramEventBroker().removeNotificationListener((EObject)removedElement, this);
- }
- }
- }
- refreshDisplay();
- break;
- // if it is set, remove the old one and adds the new one. this is the method use when
- // the type is set or removed...
- case Notification.SET:
- if(notification.getOldValue() != null) {
- getDiagramEventBroker().removeNotificationListener((EObject)notification.getOldValue(), this);
- }
- if(notification.getNewValue() != null) {
- getDiagramEventBroker().addNotificationListener((EObject)notification.getNewValue(), this);
- }
- refreshDisplay();
-
- default:
- break;
-
- }
-
- break;
- default:
- // does nothing in other cases
- break;
- }
- }
-
- /**
- * notifies that the type of the property has changed.
- *
- * @param type
- * the type of the property that has changed
- * @param notification
- * the notification send when the element has been changed
- */
- protected void notifyPropertyTypeChanged(Type type, Notification notification) {
- switch(notification.getFeatureID(Property.class)) {
- case UMLPackage.TYPE__NAME:
- refreshDisplay(); // type name has changed => refresh the property display
- break;
- default:
- // does nothing by default
- break;
- }
- }
-
- /**
- * Refreshes the display of the edit part
- */
- @Override
- public void refreshDisplay() {
- // calls the helper for this edit Part
- PropertyLabelHelper.getInstance().refreshEditPartDisplay((GraphicalEditPart)getHost());
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected void removeAdditionalListeners() {
- super.removeAdditionalListeners();
- Property property = getUMLElement();
- if(property == null) {
- // check semantic element is not null and this is really an instance of Property
- return;
- }
-
- if(property.getType() != null) {
- getDiagramEventBroker().removeNotificationListener(property.getType(), this);
- }
-
- getDiagramEventBroker().removeNotificationListener(property.getUpperValue(), this);
- getDiagramEventBroker().removeNotificationListener(property.getLowerValue(), this);
- }
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/RemoveOrphanViewPolicy.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/RemoveOrphanViewPolicy.java
deleted file mode 100644
index 2805ccc2a2d..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/edit/policies/RemoveOrphanViewPolicy.java
+++ /dev/null
@@ -1,47 +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:
- * Patrick Tessier (CEA LIST) Patrick.Tessier@cea.fr - Initial API and implementation
- * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Adaptation for Composite Diagram
-
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.edit.policies;
-
-import org.eclipse.gmf.runtime.notation.BasicCompartment;
-import org.eclipse.gmf.runtime.notation.DecorationNode;
-import org.eclipse.gmf.runtime.notation.View;
-import org.eclipse.papyrus.diagram.common.editpolicies.OrphanViewPolicy;
-
-/**
- * <pre>
- * This policy is used to suppress orphan node view in GMF view.
- * The policy to remove orphan connection is more complex.
- *
- * See RemoveOrphanViewPolicy in Class Diagram
- * </pre>
- */
-public class RemoveOrphanViewPolicy extends OrphanViewPolicy {
-
- /**
- *
- * @see org.eclipse.papyrus.diagram.common.editpolicies.OrphanViewPolicy#isOrphaned(org.eclipse.gmf.runtime.notation.View)
- *
- * @param view
- * @return true is the view is Orphaned
- */
- protected boolean isOrphaned(View view) {
- // Always treat Compartment and Decoration as not orphaned nodes
- if((view instanceof BasicCompartment) || (view instanceof DecorationNode)) {
- return false;
- }
- return !view.isSetElement();
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/edges/UsageDecoration.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/edges/UsageDecoration.java
deleted file mode 100644
index a2bbd86836e..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/edges/UsageDecoration.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:
- * Amine EL KOUHEN (CEA LIST/INRIA DaRT) amine.el_kouhen@inria.fr
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.figure.edges;
-
-
-// TODO: Auto-generated Javadoc
-/**
- * The Class UsageDecoration.
- */
-public class UsageDecoration extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {
-
-
- /**
- * Instantiates a new usage decoration.
- */
- public UsageDecoration() {
- this.setForegroundColor(org.eclipse.draw2d.ColorConstants.black);
- setTargetDecoration(createTargetDecoration());
- }
-
-
- /**
- * Creates the target decoration.
- *
- * @return the org.eclipse.draw2d. rotatable decoration
- */
- private org.eclipse.draw2d.RotatableDecoration createTargetDecoration() {
-
- org.eclipse.draw2d.PolylineDecoration df = new org.eclipse.draw2d.PolylineDecoration();
- df.setFill(false);
- org.eclipse.draw2d.geometry.PointList pl = new org.eclipse.draw2d.geometry.PointList();
-
- pl.addPoint(2, 3);
- pl.addPoint(1, 3);
- pl.addPoint(0, 1);
- pl.addPoint(0, 0);
- pl.addPoint(0, -1);
- pl.addPoint(1, -3);
- pl.addPoint(2, -3);
- df.setTemplate(pl);
- df.setScale(7, 3);
-
- return df;
- }
-
-
-
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/nodes/CompositeFigure.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/nodes/CompositeFigure.java
deleted file mode 100644
index 5aad7280399..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/nodes/CompositeFigure.java
+++ /dev/null
@@ -1,74 +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:
- * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation
- * Amine EL KOUHEN (CEA LIST/INRIA DaRT) amine.el_kouhen@inria.fr - Customization & Adaptation
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.figure.nodes;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.PositionConstants;
-import org.eclipse.papyrus.diagram.common.Activator;
-import org.eclipse.papyrus.diagram.common.figure.node.CompartmentFigure;
-import org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorPlugin;
-import org.eclipse.swt.graphics.Image;
-
-// TODO: Auto-generated Javadoc
-/**
- * Figure for Composite representation of Class.
- */
-public class CompositeFigure extends CompartmentFigure {
-
- /** The Internal Structure Compartment. */
- private final static String COMPOSITE_COMPARTMENT = "compositeCompartment";
-
- /** The List of Compartment. */
- private final static List<String> COMPARTMENT = new ArrayList<String>() {
-
- private static final long serialVersionUID = 1L;
- {
- add(COMPOSITE_COMPARTMENT);
- }
- };
-
- /**
- * Default Constructor.
- */
- public CompositeFigure() {
- super(COMPARTMENT, "component");
- Image img = Activator.getPluginIconImage(UMLDiagramEditorPlugin.ID, "icons/obj16/ComponentIcon.gif");
- setAppliedStereotypeIcon(img, PositionConstants.RIGHT);
- }
-
- /**
- * Create a new Classifier figure with the given tag.
- *
- * @param tagLabel
- * a String that will be displayed at the top of the figure
- */
- public CompositeFigure(String tagLabel) {
- super(COMPARTMENT, tagLabel);
- }
-
- /**
- * Get the attribute's compartment figure.
- *
- * @return the composite compartment figure
- */
- public IFigure getCompositeCompartmentFigure() {
- return getCompartment(COMPOSITE_COMPARTMENT);
- }
-
-
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/nodes/PortFigure.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/nodes/PortFigure.java
deleted file mode 100644
index b71c192542b..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/figure/nodes/PortFigure.java
+++ /dev/null
@@ -1,22 +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:
- * Amine EL KOUHEN (CEA LIST/INRIA DaRT) amine.el_kouhen@inria.fr
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.figure.nodes;
-
-import org.eclipse.papyrus.diagram.common.figure.node.AffixedNamedElementFigure;
-
-/**
- * The Class PortFigure.
- */
-public class PortFigure extends AffixedNamedElementFigure {
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/locators/PortPositionLocator.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/locators/PortPositionLocator.java
deleted file mode 100644
index e5f67c309a9..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/locators/PortPositionLocator.java
+++ /dev/null
@@ -1,220 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2009-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:
- * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation
- * Vincent Lorenzo(CEA-List) vincent.lorenzo@cea.fr - getCurrentSideOfParent()
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.locators;
-
-import org.eclipse.draw2d.IFigure;
-import org.eclipse.draw2d.PositionConstants;
-import org.eclipse.draw2d.geometry.Point;
-import org.eclipse.draw2d.geometry.Rectangle;
-import org.eclipse.gmf.runtime.diagram.ui.figures.IBorderItemLocator;
-
-/**
- * This class is used to constrain the position of Port when they are added on a Property or a
- * StructuredClassifier
- *
- * <pre>
- * +-------------------+
- * | [Class] |
- * +-------------------+
- * | |
- * | |
- * | +-+ - Expected position of Port
- * | +-+
- * | |
- * +-------------------+
- *
- * </pre>
- *
- * <pre>
- * TODO : The port is not re-sizable
- * </pre>
- */
-public class PortPositionLocator implements IBorderItemLocator {
-
- /** the figure around which this border item appears */
- protected IFigure parentFigure = null;
-
- /** the width of the area surrounding the parent figure where border item can be put */
- protected int borderItemOffset = 10;
-
- /**
- * get the parent figure
- *
- * @return the parent figure
- */
- public IFigure getParentFigure() {
- return parentFigure;
- }
-
- /** the position constraint */
- protected Rectangle constraint = new Rectangle(0, 0, 0, 0);
-
- /** Constructor **/
- public PortPositionLocator(IFigure parentFigure, int preferredSide) {
- // The preferredSide parameter is not used, just kept here to ensure compatibility
- // with GMF generated code.
- this.parentFigure = parentFigure;
- }
-
- /**
- *
- * @see org.eclipse.gmf.runtime.draw2d.ui.figures.IBorderItemLocator#getValidLocation(org.eclipse.draw2d.geometry.Rectangle,
- * org.eclipse.draw2d.IFigure)
- *
- * @param proposedLocation
- * @param borderItem
- * @return a valid location
- */
- public Rectangle getValidLocation(Rectangle proposedLocation, IFigure borderItem) {
- return getPreferredLocation(proposedLocation);
- }
-
- /**
- *
- * @param proposedLocation
- * the proposed location
- * @return a possible location on parent figure border
- */
- public Rectangle getPreferredLocation(Rectangle proposedLocation) {
-
- // Initialize port location with proposed location
- // and resolve the bounds of it graphical parent
- Rectangle realLocation = new Rectangle(proposedLocation);
-
- Rectangle parentRec = getParentFigure().getBounds().getCopy();
-
- // Calculate Max position around the graphical parent (1/2 size or the port around
- // the graphical parent bounds.
- int xMin = parentRec.x - borderItemOffset;
- int xMax = parentRec.x - borderItemOffset + parentRec.width;
- int yMin = parentRec.y - borderItemOffset;
- int yMax = parentRec.y - borderItemOffset + parentRec.height;
-
- // Modify Port location if MAX X or Y are exceeded
- if(realLocation.x < xMin) {
- realLocation.x = xMin;
- }
-
- if(realLocation.x > xMax) {
- realLocation.x = xMax;
- }
-
- if(realLocation.y < yMin) {
- realLocation.y = yMin;
- }
-
- if(realLocation.y > yMax) {
- realLocation.y = yMax;
- }
-
- // Ensure the port is positioned on its parent borders and not in the middle.
- // Modify position if needed.
- if((realLocation.y != yMin) && (realLocation.y != yMax)) {
- if((realLocation.x != xMin) && (realLocation.x != xMax)) {
-
- if(realLocation.x <= (xMin + (parentRec.width / 2))) {
- realLocation.x = xMin;
- } else {
- realLocation.x = xMax;
- }
- }
- }
-
- // Return constrained location
- return realLocation;
- }
-
- /**
- *
- * @see org.eclipse.gmf.runtime.draw2d.ui.figures.IBorderItemLocator#getCurrentSideOfParent()
- *
- * @return
- * the position of the port around its parent. This position can be
- * <ul>
- * <li>{@linkplain PositionConstants#NORTH}</li>
- * <li> {@linkplain PositionConstants#SOUTH}</li>
- * <li> {@linkplain PositionConstants#EAST}</li>
- * <li> {@linkplain PositionConstants#WEST}</li>
- * <li> {@linkplain PositionConstants#NORTH_EAST}</li>
- * <li> {@linkplain PositionConstants#NORTH_WEST}</li>
- * <li> {@linkplain PositionConstants#SOUTH_EAST}</li>
- * <li> {@linkplain PositionConstants#SOUTH_WEST}</li>
- * </ul>
- */
- public int getCurrentSideOfParent() {
- int position = PositionConstants.NONE;
-
- //we are not on EAST, not on WEST, but we are on the NORTH
- if((constraint.x != parentFigure.getBounds().width - borderItemOffset) && (constraint.x != -this.borderItemOffset) && (constraint.y == -this.borderItemOffset)) {
- position = PositionConstants.NORTH;
-
- //we are not on the EAST and not on the WEST, but we are on the SOUTH
- } else if((constraint.x != parentFigure.getBounds().width - borderItemOffset) && (constraint.x != -this.borderItemOffset) && (constraint.y == parentFigure.getBounds().height - borderItemOffset)) {
- position = PositionConstants.SOUTH;
-
- //we are on the EAST, but we are not on the NORTH and not on the SOUTH
- } else if((constraint.x == parentFigure.getBounds().width - borderItemOffset) && (constraint.y != -this.borderItemOffset) && (constraint.y != parentFigure.getBounds().height - borderItemOffset)) {
- position = PositionConstants.EAST;
-
- //we are on the WEST, but we are not on the on the NORTH and not on the SOUTH
- } else if((constraint.x == -this.borderItemOffset) && (constraint.y != -this.borderItemOffset) && (constraint.y != parentFigure.getBounds().height - borderItemOffset)) {
- position = PositionConstants.WEST;
-
- //we are on the NORTH and on the EAST
- } else if((constraint.x == parentFigure.getBounds().width - borderItemOffset) && (constraint.y == -this.borderItemOffset)) {
- position = PositionConstants.NORTH_EAST;
-
- //we are on the NORTH and on the WEST
- } else if((constraint.x == -this.borderItemOffset) && (constraint.y == -this.borderItemOffset)) {
- position = PositionConstants.NORTH_WEST;
-
- //we are on the EAST and on the SOUTH
- } else if((constraint.x == parentFigure.getBounds().width - borderItemOffset) && (constraint.y == parentFigure.getBounds().height - borderItemOffset)) {
- position = PositionConstants.SOUTH_EAST;
-
- //we are on the WEST and on the SOUTH
- } else if((constraint.x == -this.borderItemOffset) && (constraint.y == parentFigure.getBounds().height - borderItemOffset)) {
- position = PositionConstants.SOUTH_WEST;
- }
-
- return position;
- }
-
- /**
- *
- * @see org.eclipse.gmf.runtime.draw2d.ui.figures.IBorderItemLocator#setConstraint(org.eclipse.draw2d.geometry.Rectangle)
- *
- * @param constraint
- */
- public void setConstraint(Rectangle constraint) {
- this.constraint = constraint;
-
- }
-
- /**
- *
- * @see org.eclipse.draw2d.Locator#relocate(org.eclipse.draw2d.IFigure)
- *
- * @param target
- */
- public void relocate(IFigure target) {
-
- Rectangle proposedLocation = constraint.getCopy();
- proposedLocation.setLocation(constraint.getLocation().translate(parentFigure.getBounds().getTopLeft()));
-
- Point validLocation = getValidLocation(proposedLocation, target).getLocation();
-
- target.setBounds(new Rectangle(validLocation, target.getPreferredSize()));
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/log/Log.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/log/Log.java
deleted file mode 100644
index 4045cc0b0c1..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/log/Log.java
+++ /dev/null
@@ -1,44 +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:
- * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.log;
-
-import org.eclipse.core.runtime.Plugin;
-import org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorPlugin;
-import org.eclipse.papyrus.log.LogHelper;
-
-/** Log singleton class for CSD */
-public class Log extends LogHelper {
-
- /** Singleton instance */
- private static Log instance;
-
- /** Access restriction on constructors */
- private Log(Plugin activator) {
- super(activator);
- }
-
- /** Access restriction on constructors */
- private Log() {
- super(UMLDiagramEditorPlugin.getInstance());
- }
-
- /** Singleton access */
- public static synchronized Log getInstance() {
-
- if(instance == null) {
- instance = new Log();
- }
- return instance;
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/messages/Messages.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/messages/Messages.java
deleted file mode 100644
index 0cb5aa45518..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/messages/Messages.java
+++ /dev/null
@@ -1,82 +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:
- * Amine EL KOUHEN (CEA LIST/INRIA DaRT) amine.el_kouhen@inria.fr
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.messages;
-
-import org.eclipse.osgi.util.NLS;
-
-// TODO: Auto-generated Javadoc
-/**
- * The Class Messages.
- */
-public class Messages extends NLS {
-
- /** The Constant BUNDLE_NAME. */
- private static final String BUNDLE_NAME = "org.eclipse.papyrus.diagram.component.custom.messages.messages"; //$NON-NLS-1$
-
-
- /** The Create uml element dialog_ new_ element_ name. */
- public static String CreateUmlElementDialog_New_Element_Name;
-
- /** The Selection validated. */
- public static String SelectionValidated;
-
- /** The Show hide related contents action_ message. */
- public static String ShowHideRelatedContentsAction_Message;
-
- /** The Show hide related contents action_ title. */
- public static String ShowHideRelatedContentsAction_Title;
-
- /** The Interface manager dialog_ create a new interface. */
- public static String InterfaceManagerDialog_CreateANewInterface;
-
- /** The Interface manager dialog_ create new interface. */
- public static String InterfaceManagerDialog_CreateNewInterface;
-
- /** The Interface manager dialog_ selected the provided interfaces. */
- public static String InterfaceManagerDialog_SelectedTheProvidedInterfaces;
-
- /** The Interface manager dialog_ selection has to be a package or a classifier. */
- public static String InterfaceManagerDialog_SelectionHasToBeAPackageOrAClassifier;
-
- /** The Interface manager dialog_ select the parent of this new interface. */
- public static String InterfaceManagerDialog_SelectTheParentOfThisNewInterface;
-
- /** The Interface manager dialog_ select the required interfaces. */
- public static String InterfaceManagerDialog_SelectTheRequiredInterfaces;
-
- /** The Interface manager dialog_ the port is typed with an interface warning message. */
- public static String InterfaceManagerDialog_ThePortIsTypedWithAnInterfaceWarningMessage;
-
- /** The Interface manager dialog_ title. */
- public static String InterfaceManagerDialog_Title;
-
- /** The Manage provided interfaces handler_ ok. */
- public static String ManageProvidedInterfacesHandler_OK;
-
- /** The Manage provided interfaces handler_ the type of the port is not defined. */
- public static String ManageProvidedInterfacesHandler_TheTypeOfThePortIsNotDefined;
-
- /** The No selection found. */
- public static String NoSelectionFound;
-
- static {
- // initialize resource bundle
- NLS.initializeMessages(BUNDLE_NAME, Messages.class);
- }
-
- /**
- * Instantiates a new messages.
- */
- private Messages() {
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/messages/messages.properties b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/messages/messages.properties
deleted file mode 100644
index 9f50199d04c..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/messages/messages.properties
+++ /dev/null
@@ -1,26 +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:
-# Amine EL KOUHEN (CEA LIST/INRIA DaRT) amine.el_kouhen@inria.fr
-###############################################################################
-CreateUmlElementDialog_New_Element_Name=New Element Name
-SelectionValidated=Selection validated.
-ShowHideRelatedContentsAction_Message=Choose the elements to show
-ShowHideRelatedContentsAction_Title=Show/Hide Related Contents
-InterfaceManagerDialog_CreateANewInterface=Create a new Interface
-InterfaceManagerDialog_CreateNewInterface=Create new Interface
-InterfaceManagerDialog_SelectedTheProvidedInterfaces=Select the provided Interfaces
-InterfaceManagerDialog_SelectionHasToBeAPackageOrAClassifier=Selection has to be a Package or a Classifier
-InterfaceManagerDialog_SelectTheParentOfThisNewInterface=Select the parent of this new Interface
-InterfaceManagerDialog_SelectTheRequiredInterfaces=Select the required Interfaces
-InterfaceManagerDialog_ThePortIsTypedWithAnInterfaceWarningMessage=\nThe managed port is typed with an Interface, so this interface is not available as a provided Interface.\n
-InterfaceManagerDialog_Title=Select the provided and the required Interfaces
-ManageProvidedInterfacesHandler_OK=OK
-ManageProvidedInterfacesHandler_TheTypeOfThePortIsNotDefined=The type of the Port is not defined. You need to define it before managing its Interfaces.
-NoSelectionFound=No selection found. \ No newline at end of file
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/preferences/IPapyrusPropertyPreferencesConstant.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/preferences/IPapyrusPropertyPreferencesConstant.java
deleted file mode 100644
index b00bf258668..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/preferences/IPapyrusPropertyPreferencesConstant.java
+++ /dev/null
@@ -1,34 +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.diagram.component.custom.preferences;
-
-import org.eclipse.uml2.uml.Property;
-
-/**
- * Constants for {@link Property} preferences.
- */
-public interface IPapyrusPropertyPreferencesConstant {
-
- /** Preference id for {@link Property} display label */
- public String LABEL_DISPLAY_PREFERENCE = "Property.label.display"; //$NON-NLS-1$
-
- /** Preference id for {@link Property} display label */
- public String PREF_FONT = "Property.font"; //$NON-NLS-1$
-
- /** Preference id for {@link Property} display label */
- public String PREF_FONT_COLOR = "Property.font.color"; //$NON-NLS-1$
-
- /** Preference id for {@link Property} display label */
- public String PREF_LINE_COLOR = "Property.line.color"; //$NON-NLS-1$
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/preferences/PropertyPreferencePage.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/preferences/PropertyPreferencePage.java
deleted file mode 100644
index a6b2c3c2640..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/preferences/PropertyPreferencePage.java
+++ /dev/null
@@ -1,252 +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.diagram.component.custom.preferences;
-
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.jface.preference.PreferenceConverter;
-import org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorPlugin;
-import org.eclipse.papyrus.preferences.pages.AbstractPapyrusElementPreferencePage;
-import org.eclipse.papyrus.preferences.utils.GradientPreferenceConverter;
-import org.eclipse.papyrus.preferences.utils.PreferenceConstantHelper;
-import org.eclipse.papyrus.umlutils.ICustomAppearence;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.layout.FormAttachment;
-import org.eclipse.swt.layout.FormData;
-import org.eclipse.swt.layout.FormLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Group;
-import org.eclipse.ui.views.properties.tabbed.ITabbedPropertyConstants;
-import org.eclipse.uml2.uml.Property;
-
-/**
- * Specific {@link Property} preference page
- */
-public class PropertyPreferencePage extends AbstractPapyrusElementPreferencePage {
-
- /** Preference page identifier */
- public static final String ID = "org.eclipse.papyrus.diagram.composite.custom.preferences.PropertyPreferencePage"; //$NON-NLS-1$
-
- /**
- * Listeners for the check buttons that select the display of the {@link Property}
- */
- private class AppearenceSelectionListener implements SelectionListener {
-
- /** the constant which refers the element to display or not */
- final private int style;
-
- /**
- * Default Constructor.
- *
- * @param style
- */
- public AppearenceSelectionListener(int style) {
- this.style = style;
- }
-
- /**
- * {@inheritDoc}
- */
- public void widgetDefaultSelected(SelectionEvent e) {
-
- }
-
- /**
- * {@inheritDoc}
- */
- public void widgetSelected(SelectionEvent e) {
- // add or remove the flag to the display property value (invert the current value)
- propertyValue = propertyValue ^ style;
-
- // refresh buttons at the end
- refreshButtons();
- }
- }
-
- /**
- * Initialize preferences.
- */
- public static void initDefaults(IPreferenceStore store) {
-
- String elementName = "Property";
- PreferenceConverter.setDefault(store, PreferenceConstantHelper.getElementConstant(elementName, PreferenceConstantHelper.COLOR_FILL), new org.eclipse.swt.graphics.RGB(255, 255, 255));
- PreferenceConverter.setDefault(store, PreferenceConstantHelper.getElementConstant(elementName, PreferenceConstantHelper.COLOR_LINE), new org.eclipse.swt.graphics.RGB(177, 207, 229));
-
- // Set the default for the gradient
- store.setDefault(PreferenceConstantHelper.getElementConstant(elementName, PreferenceConstantHelper.GRADIENT_POLICY), false);
- GradientPreferenceConverter gradientPreferenceConverter = new GradientPreferenceConverter(new org.eclipse.swt.graphics.RGB(255, 255, 255), new org.eclipse.swt.graphics.RGB(177, 207, 229), 0, 0);
- store.setDefault(PreferenceConstantHelper.getElementConstant(elementName, PreferenceConstantHelper.COLOR_GRADIENT), gradientPreferenceConverter.getPreferenceValue());
-
- // custom code
- store.setDefault(IPapyrusPropertyPreferencesConstant.LABEL_DISPLAY_PREFERENCE, ICustomAppearence.DEFAULT_UML_PROPERTY);
-
- }
-
- /** buttons to select the display kind for the label of the {@link Property} */
- protected Button displVisibility, displDerive, displName, displType, displMutliplicity, displDfltValue, displModifiers;
-
- /** current property display style */
- private int propertyValue = getPreferenceStore().getInt(IPapyrusPropertyPreferencesConstant.LABEL_DISPLAY_PREFERENCE);
-
- /**
- * Creates a button with the {@link SWT#CHECK} style.
- *
- * @param parent
- * the parent of the button
- * @param label
- * the label of the button
- * @param mask
- * the value controlled by the button
- * @return the button created
- */
- protected Button createCheckButton(Composite parent, String label, int mask) {
- Button button = new Button(parent, SWT.CHECK);
- button.setText(label);
- button.addSelectionListener(new AppearenceSelectionListener(mask));
- return button;
- }
-
- /**
- * Creates the group and check boxes to choose the kind of display
- *
- * @param parent
- * the parent composite that holds the group
- */
- protected void createLabelPreferencesButtons(Composite parent) {
- // create group that host the buttons
- Group group = new Group(parent, SWT.SHADOW_NONE);
- group.setText("Label Display");
- group.setLayout(new FormLayout());
-
- FormData data;
-
- displVisibility = createCheckButton(group, "Visibility", ICustomAppearence.DISP_VISIBILITY);
- data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.top = new FormAttachment(0, 0);
- displVisibility.setLayoutData(data);
-
- displDerive = createCheckButton(group, "Derived", ICustomAppearence.DISP_DERIVE);
- data = new FormData();
- data.left = new FormAttachment(displVisibility, 85);
- data.top = new FormAttachment(0, 0);
- displDerive.setLayoutData(data);
-
- displName = createCheckButton(group, "Name", ICustomAppearence.DISP_NAME);
- data = new FormData();
- data.left = new FormAttachment(displDerive, 85);
- data.top = new FormAttachment(0, 0);
- displName.setLayoutData(data);
-
- displType = createCheckButton(group, "Type", ICustomAppearence.DISP_TYPE);
- data = new FormData();
- data.left = new FormAttachment(displName, 85);
- data.top = new FormAttachment(0, 0);
- displType.setLayoutData(data);
-
- displMutliplicity = createCheckButton(group, "Multiplicity", ICustomAppearence.DISP_MULTIPLICITY);
- data = new FormData();
- data.left = new FormAttachment(0, 0);
- data.top = new FormAttachment(displVisibility, ITabbedPropertyConstants.HSPACE);
- displMutliplicity.setLayoutData(data);
-
- displDfltValue = createCheckButton(group, "Default Value", ICustomAppearence.DISP_DFLT_VALUE);
- data = new FormData();
- data.left = new FormAttachment(displVisibility, 85);
- data.top = new FormAttachment(displVisibility, ITabbedPropertyConstants.HSPACE);
- displDfltValue.setLayoutData(data);
-
- displModifiers = createCheckButton(group, "Modifiers", ICustomAppearence.DISP_MOFIFIERS);
- data = new FormData();
- data.left = new FormAttachment(displDerive, 85);
- data.top = new FormAttachment(displVisibility, ITabbedPropertyConstants.HSPACE);
- displModifiers.setLayoutData(data);
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected void createPageContents(Composite parent) {
- super.createPageContents(parent);
-
- // adds the label preferences checkboxes
- createLabelPreferencesButtons(parent);
-
- refreshButtons();
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected String getBundleId() {
- return UMLDiagramEditorPlugin.ID;
- }
-
- /**
- * Load the default preferences of the fields contained in this page
- */
- protected void loadDefaultPreferences() {
- propertyValue = getPreferenceStore().getInt(IPapyrusPropertyPreferencesConstant.LABEL_DISPLAY_PREFERENCE);
- refreshButtons();
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- protected void performDefaults() {
- loadDefaultPreferences();
- super.performDefaults();
- }
-
- /**
- * {@inheritDoc}
- */
- @Override
- public boolean performOk() {
- storePreferences();
- return super.performOk();
- }
-
- /**
- * Refresh the buttons that manages the display.
- */
- protected void refreshButtons() {
-
- displVisibility.setSelection((propertyValue & ICustomAppearence.DISP_VISIBILITY) == ICustomAppearence.DISP_VISIBILITY);
- displDerive.setSelection((propertyValue & ICustomAppearence.DISP_DERIVE) == ICustomAppearence.DISP_DERIVE);
- displName.setSelection((propertyValue & ICustomAppearence.DISP_NAME) == ICustomAppearence.DISP_NAME);
- displType.setSelection((propertyValue & ICustomAppearence.DISP_TYPE) == ICustomAppearence.DISP_TYPE);
- displMutliplicity.setSelection((propertyValue & ICustomAppearence.DISP_MULTIPLICITY) == ICustomAppearence.DISP_MULTIPLICITY);
- displDfltValue.setSelection((propertyValue & ICustomAppearence.DISP_DFLT_VALUE) == ICustomAppearence.DISP_DFLT_VALUE);
- displModifiers.setSelection((propertyValue & ICustomAppearence.DISP_MOFIFIERS) == ICustomAppearence.DISP_MOFIFIERS);
- }
-
- /**
- * Stores the values of the fields contained in this page into the preference store.
- */
- @Override
- protected void storePreferences() {
- IPreferenceStore store = getPreferenceStore();
- // checks the stored value and the actual one, so does not refresh diagram if it is not
- // needed
- if(propertyValue != store.getInt(IPapyrusPropertyPreferencesConstant.LABEL_DISPLAY_PREFERENCE)) {
- store.setValue(IPapyrusPropertyPreferencesConstant.LABEL_DISPLAY_PREFERENCE, propertyValue);
- }
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/providers/ActionStateSourceProvider.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/providers/ActionStateSourceProvider.java
deleted file mode 100644
index 4e2e45485b7..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/providers/ActionStateSourceProvider.java
+++ /dev/null
@@ -1,91 +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
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.providers;
-
-import org.eclipse.papyrus.diagram.common.providers.AbstractActionStateSourceProvider;
-import org.eclipse.papyrus.diagram.component.custom.actions.ShowHideRelatedContentsHandler;
-import org.eclipse.ui.ISources;
-
-/**
- * This class provides the state of the actions. It's used to refresh
- * the status of these actions in the menu. (in toolbar and popup, it's not needed)
- *
- * To get the status, we listen the selection service AND the part service!
- * The part service is used to know if the selection is in the Model Explorer or not!
- * When the selection is not in the model explorer, the handlers listening the variable need to be disabled
- */
-public class ActionStateSourceProvider extends AbstractActionStateSourceProvider {
-
- /**
- * The name of the variable to check.
- */
- public static final String SHOW_HIDE_RELATED_CONTENTS = "showHideRelatedContents"; //$NON-NLS-1$
-
- /**
- *
- * Constructor.
- *
- */
- public ActionStateSourceProvider() {
- super();
- currentState.put(SHOW_HIDE_RELATED_CONTENTS, DISABLED);
- }
-
-
- /**
- *
- * @see org.eclipse.ui.ISourceProvider#getProvidedSourceNames()
- *
- * @return
- */
- @Override
- public String[] getProvidedSourceNames() {
- return new String[]{ SHOW_HIDE_RELATED_CONTENTS };
- }
-
-
- /**
- * Refresh the state of the Delete Action
- */
- protected void refreshShowHideRelatedContentsAction() {
- String oldState = currentState.get(SHOW_HIDE_RELATED_CONTENTS);
- String newState = (testShowHideRelatedContents() ? ENABLED : DISABLED);
-
- if(oldState != newState) {
- currentState.put(SHOW_HIDE_RELATED_CONTENTS, newState);
- fireSourceChanged(ISources.WORKBENCH, currentState);
- }
- }
-
- /**
- * Tests if the action DeleteFromDiagram (now called Delete Selected Element can be executed
- *
- * @return
- * <code>true</code> if the action DeleteFromDiagram (now called Delete Selected Element can be executed <code>false</code> if not
- */
- protected boolean testShowHideRelatedContents() {
- ShowHideRelatedContentsHandler handler = new ShowHideRelatedContentsHandler();
- return isSelectionInDiagram() && handler.isEnabled();
- }
-
- /**
- *
- * @see org.eclipse.papyrus.diagram.common.providers.AbstractActionStateSourceProvider#refreshActions()
- *
- */
- @Override
- protected void refreshActions() {
- refreshShowHideRelatedContentsAction();
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/providers/CustomEditPolicyProvider.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/providers/CustomEditPolicyProvider.java
deleted file mode 100644
index 74c268303fc..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/providers/CustomEditPolicyProvider.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:
- * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.providers;
-
-import org.eclipse.gef.EditPart;
-import org.eclipse.gmf.runtime.common.core.service.IOperation;
-import org.eclipse.gmf.runtime.common.core.service.IProviderChangeListener;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart;
-import org.eclipse.gmf.runtime.diagram.ui.editparts.IPrimaryEditPart;
-import org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles;
-import org.eclipse.gmf.runtime.diagram.ui.services.editpolicy.CreateEditPoliciesOperation;
-import org.eclipse.gmf.runtime.diagram.ui.services.editpolicy.IEditPolicyProvider;
-import org.eclipse.papyrus.diagram.common.editpolicies.HyperLinkPopupBarEditPolicy;
-import org.eclipse.papyrus.diagram.common.editpolicies.NavigationEditPolicy;
-import org.eclipse.papyrus.diagram.component.edit.parts.ComponentDiagramEditPart;
-
-/**
- * this is an editpolicy provider in charge to install a policy to navigate between diagrams and elements
- *
- */
-public class CustomEditPolicyProvider implements IEditPolicyProvider {
-
- /**
- *
- * {@inheritDoc}
- */
- public void addProviderChangeListener(IProviderChangeListener listener) {
-
- }
-
- /**
- *
- * {@inheritDoc}
- */
- public void createEditPolicies(EditPart editPart) {
- editPart.installEditPolicy(NavigationEditPolicy.NAVIGATION_POLICY, new NavigationEditPolicy());
- if( editPart instanceof IPrimaryEditPart){
- editPart.installEditPolicy(EditPolicyRoles.POPUPBAR_ROLE, new HyperLinkPopupBarEditPolicy());
- }
- }
-
- /**
- *
- * {@inheritDoc}
- */
- public boolean provides(IOperation operation) {
- CreateEditPoliciesOperation epOperation = (CreateEditPoliciesOperation)operation;
- if(!(epOperation.getEditPart() instanceof GraphicalEditPart)) {
- return false;
- }
- GraphicalEditPart gep = (GraphicalEditPart)epOperation.getEditPart();
- String diagramType = gep.getNotationView().getDiagram().getType();
- if(ComponentDiagramEditPart.MODEL_ID.equals(diagramType)) {
- return true;
- }
-
-
- return false;
- }
-
- /**
- *
- * {@inheritDoc}
- */
- public void removeProviderChangeListener(IProviderChangeListener listener) {
-
- }
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/CreateUmlElementDialog.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/CreateUmlElementDialog.java
deleted file mode 100644
index 0682cad6f5e..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/CreateUmlElementDialog.java
+++ /dev/null
@@ -1,438 +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
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.ui;
-
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.NullProgressMonitor;
-import org.eclipse.emf.ecore.EClass;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gmf.runtime.common.core.command.CommandResult;
-import org.eclipse.gmf.runtime.common.core.command.CompositeCommand;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand;
-import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy;
-import org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand;
-import org.eclipse.gmf.runtime.emf.type.core.IHintedType;
-import org.eclipse.gmf.runtime.emf.type.core.commands.CreateRelationshipCommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.IEditCommandRequest;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.papyrus.diagram.common.util.Util;
-import org.eclipse.papyrus.diagram.component.custom.messages.Messages;
-import org.eclipse.papyrus.service.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.service.edit.service.IElementEditService;
-import org.eclipse.papyrus.umlutils.NamedElementUtil;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Control;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.swt.widgets.Text;
-import org.eclipse.ui.dialogs.ElementTreeSelectionDialog;
-import org.eclipse.uml2.uml.Interface;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.UMLPackage;
-
-
-/**
- * This dialog allows to create easily a new element in a UML Model.
- */
-public class CreateUmlElementDialog extends ElementTreeSelectionDialog {
-
- /** the hinted type of the element to create. */
- private IHintedType hintedType;
-
- /** the parent container of the element to create. */
- private Object parentContainer;
-
- /** the type of the element to create. */
- private String type;
-
- /** the root of the model. */
- private Package pack;
-
- /** the text field used to display the choose the name of the future element. */
- private Text text;
-
- /** creation request. */
- private CreateElementRequest request;
-
- /** the editing domain. */
- private TransactionalEditingDomain domain;
-
- /** The element to create is represented by this field. */
- private NewElementRepresentation elementToCreate;
-
- /** this Set contains names to exclude from the proposed name. */
- private List<String> forbiddenNames;
-
-
-
-
- /**
- * Constructor.
- *
- * @param parent
- * the parent
- * @param domain
- * the domain
- * @param labelProvider
- * the label provider
- * @param contentProvider
- * the content provider
- * @param pack
- * the pack
- * @param hintedType
- * the hinted type
- */
- public CreateUmlElementDialog(Shell parent, TransactionalEditingDomain domain, ILabelProvider labelProvider, ITreeContentProvider contentProvider, Package pack, IHintedType hintedType) {
- super(parent, labelProvider, contentProvider);
- Assert.isNotNull(pack);
- Assert.isNotNull(hintedType);
- this.pack = pack;
- this.hintedType = hintedType;
- this.domain = domain;
- init();
- }
-
- /**
- * Initializes the field {@link #type};.
- */
- protected void init() {
- EClass eClass = hintedType.getEClass();
- this.type = eClass.getName();
- this.parentContainer = null;
- this.forbiddenNames = null;
- }
-
- /**
- * Sets the forbidden names.
- *
- * @param forbiddenNames
- * the new forbidden names
- */
- public void setForbiddenNames(List<String> forbiddenNames) {
- this.forbiddenNames = forbiddenNames;
- }
-
- /**
- * Creates the dialog area.
- *
- * @param parent
- * the parent
- * @return the control
- * @see org.eclipse.ui.dialogs.ElementTreeSelectionDialog#createDialogArea(org.eclipse.swt.widgets.Composite)
- */
- @Override
- protected Control createDialogArea(Composite parent) {
-
- GridData data = (GridData)parent.getLayoutData();
- data.grabExcessHorizontalSpace = true;
- data.horizontalSpan = 1;
- data.horizontalAlignment = SWT.FILL;
- data.verticalAlignment = SWT.FILL;
- Composite composite = (Composite)super.createDialogArea(parent);
- composite.setLayout(new GridLayout());
- GridData dat = new GridData(GridData.FILL_BOTH);
- composite.setLayoutData(dat);
- createNameSection(parent);
-
- return composite;
- }
-
- /**
- * Creates the name section and put it at the top of the composite.
- *
- * @param parent
- * the composite parent
- */
- protected void createNameSection(Composite parent) {
-
- Composite nameSection = new Composite(parent, SWT.NONE);
-
- //the label
- Label label = new Label(nameSection, SWT.NONE);
- label.setText(Messages.CreateUmlElementDialog_New_Element_Name);
-
- //the text field
- text = new Text(nameSection, SWT.BORDER);
- text.setText(getDefaultName());
- GridData textData = new GridData(GridData.FILL_HORIZONTAL);
- text.setLayoutData(textData);
-
- //layout for the nameSection
- GridLayout layout = new GridLayout(2, false);
- GridData data = new GridData(GridData.FILL_BOTH);
- nameSection.setLayout(layout);
- nameSection.setLayoutData(data);
-
- //we set the name section in first!
- nameSection.moveAbove(null);
- }
-
- /**
- * Returns the default name for the new Element.
- *
- * @return the default name
- * the default name for the new Element
- */
- protected String getDefaultName() {
-
- boolean existsInterface = false;
- String defaultName;
- int max = 0;
- do {
-
- ArrayList<?> allInterface = Util.getInstancesFilteredByType(pack, Interface.class, null);
- for(Object object : allInterface) {
- String name = NamedElementUtil.getName((NamedElement)object);
- if(name != null && name.startsWith(type)) {
- name = name.substring(type.length());
- Integer val = null;
- try {
- val = Integer.parseInt(name);
- } catch (NumberFormatException e) {
- //Nothing to do
- }
- if(val != null) {
- max = Math.max(Integer.valueOf(val), max);
- existsInterface = true;
- }
- }
- }
- if(existsInterface) {
- defaultName = type + new Integer(max + 1).toString();
- } else {
- defaultName = type + new Integer(max).toString();
- }
- max++;
- } while(!isCorrectName(defaultName));
- return defaultName;
- }
-
- /**
- * Tests if the proposed name is not forbidden
- *
- * @param name
- * a name
- * @return
- * <code>true</code> if the proposed name is not forbidden
- */
- protected boolean isCorrectName(String name) {
- if(forbiddenNames == null) {
- return true;
- }
- return !forbiddenNames.contains(name);
- }
-
- /**
- * Returns the command to create the new element which the chosen name.
- *
- * @return the command
- * the command to create the new element which the chosen name
- */
- public Command getCommand() {
-
- CompositeCommand cmd = new CompositeCommand("Create new element command"); //$NON-NLS-1$
- //request to create the new Interface
- if(elementToCreate.getCreateElementRequest() != null) {
- ICommand command = getCommand(elementToCreate.getCreateElementRequest());
- if(command.canExecute()) {
- cmd.add(command);
- SetNameCommand nameCommand = new SetNameCommand(domain, "Set Name Command", null, request, elementToCreate); //$NON-NLS-1$
- if(nameCommand.canExecute()) {
- cmd.add(nameCommand);
- }
- }
- return new ICommandProxy(cmd);
- } else {
- return new ICommandProxy(new CustomCreateElementCommand(domain, "CustomCreateElementCommand", null, elementToCreate)); //$NON-NLS-1$
- }
- }
-
- /**
- * Compute result.
- *
- * @see org.eclipse.ui.dialogs.ElementTreeSelectionDialog#computeResult()
- */
- @Override
- protected void computeResult() {
- java.util.List<Object> result = new ArrayList<Object>();
- result.add(elementToCreate);
- setResult(result);
- }
-
- /**
- * Set the value to {@link #name} and {@link #parentContainer}.
- *
- * @see org.eclipse.ui.dialogs.SelectionStatusDialog#okPressed()
- */
- @Override
- protected void okPressed() {
- ISelection selection = getTreeViewer().getSelection();
- parentContainer = ((IStructuredSelection)selection).getFirstElement();
- CreateElementRequest request = null;
- if(parentContainer instanceof EObject) {
- request = new CreateElementRequest(domain, (EObject)parentContainer, this.hintedType);
- }
- elementToCreate = new NewElementRepresentation(this.text.getText(), parentContainer, hintedType, request);
- super.okPressed();
- }
-
- /**
- * Returns a command corresponding to this request.
- *
- * @param request
- * a request
- * @return the command
- * The command corresponding to this request or an {@link UnexecutableCommand} when the command can not be build
- */
- private ICommand getCommand(IEditCommandRequest request) {
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(UMLPackage.eINSTANCE.getNamedElement());
- {
- if(provider != null) {
- ICommand cmd = provider.getEditCommand(request);
- if(cmd != null && cmd.canExecute()) {
- return cmd;
- }
- }
- }
- return org.eclipse.gmf.runtime.common.core.command.UnexecutableCommand.INSTANCE;
- }
-
- /**
- * This command is used to set the chosen name to the new element.
- */
- public class SetNameCommand extends AbstractTransactionalCommand {
-
- /** the representation that will own the new element when it will be created. */
- private NewElementRepresentation representation;
-
- /**
- * Constructor.
- *
- * @param domain
- * the domain
- * @param label
- * the label
- * @param affectedFiles
- * the affected files
- * @param previousRequest
- * the previous request
- * @param representation
- * the representation
- */
- public SetNameCommand(TransactionalEditingDomain domain, String label, List<?> affectedFiles, CreateElementRequest previousRequest, NewElementRepresentation representation) {
- super(domain, label, affectedFiles);
- this.representation = representation;
- }
-
- /**
- * Do execute with result.
- *
- * @param monitor
- * the monitor
- * @param info
- * the info
- * @return the command result
- * @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)
- */
- @Override
- protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- if(representation.getEObject() instanceof NamedElement) {
- NamedElement el = (NamedElement)representation.getEObject();
- el.setName(representation.getName());
- }
-
- return CommandResult.newOKCommandResult(representation);
- }
-
- }
-
- /**
- * This command allows to create a new element when its parent is not yet created when the command is build
- *
- * We need a such command, because {@link CreateRelationshipCommand#getCommandResult()} return <code>null</code> when the command has not been
- * executed.
- */
- public class CustomCreateElementCommand extends AbstractTransactionalCommand {
-
- /** the representation of the element to create. */
- private NewElementRepresentation elementToCreate;
-
- /**
- * Constructor.
- *
- * @param domain
- * the domain
- * @param label
- * the label
- * @param affectedFiles
- * the affected files
- * @param elementToCreate
- * the element to create
- */
- public CustomCreateElementCommand(TransactionalEditingDomain domain, String label, List<?> affectedFiles, NewElementRepresentation elementToCreate) {
- super(domain, label, affectedFiles);
- this.elementToCreate = elementToCreate;
- }
-
- /**
- * Do execute with result.
- *
- * @param monitor
- * the monitor
- * @param info
- * the info
- * @return the command result
- * @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)
- */
- @Override
- protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- EObject container = elementToCreate.getEObjectParent();
- CreateElementRequest request = new CreateElementRequest(domain, container, hintedType);
- ICommand command = getCommand(request);
- command.execute(new NullProgressMonitor(), null);
- EObject newEl = request.getNewElement();
-
- if(newEl instanceof NamedElement) {
- ((NamedElement)newEl).setName(elementToCreate.getName());
- }
-
- elementToCreate.setCreateElement(request.getNewElement());
- return CommandResult.newOKCommandResult(elementToCreate);
- }
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/InterfaceManagerDialog.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/InterfaceManagerDialog.java
deleted file mode 100644
index fab3b10a89f..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/InterfaceManagerDialog.java
+++ /dev/null
@@ -1,1053 +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
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.ui;
-
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Set;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.emf.common.util.EList;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.emf.transaction.TransactionalEditingDomain;
-import org.eclipse.gef.commands.Command;
-import org.eclipse.gef.commands.CompoundCommand;
-import org.eclipse.gef.commands.UnexecutableCommand;
-import org.eclipse.gmf.runtime.common.core.command.CommandResult;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.diagram.ui.commands.ICommandProxy;
-import org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.AbstractEditCommandRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyReferenceRequest;
-import org.eclipse.jface.viewers.ILabelProvider;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.papyrus.core.editor.IMultiDiagramEditor;
-import org.eclipse.papyrus.core.services.ServiceException;
-import org.eclipse.papyrus.core.utils.ServiceUtils;
-import org.eclipse.papyrus.diagram.common.Activator;
-import org.eclipse.papyrus.diagram.common.providers.EditorLabelProvider;
-import org.eclipse.papyrus.diagram.common.util.Util;
-import org.eclipse.papyrus.diagram.common.util.Visitor;
-import org.eclipse.papyrus.diagram.component.custom.messages.Messages;
-import org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorPlugin;
-import org.eclipse.papyrus.service.edit.service.ElementEditServiceUtils;
-import org.eclipse.papyrus.service.edit.service.IElementEditService;
-import org.eclipse.papyrus.uml.service.types.element.UMLElementTypes;
-import org.eclipse.papyrus.widgets.editors.IElementSelector;
-import org.eclipse.papyrus.widgets.editors.SelectionEditor;
-import org.eclipse.papyrus.widgets.providers.IStaticContentProvider;
-import org.eclipse.papyrus.widgets.selectors.ReferenceSelector;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CLabel;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.events.SelectionListener;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Shell;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.dialogs.ISelectionStatusValidator;
-import org.eclipse.ui.dialogs.SelectionDialog;
-import org.eclipse.uml2.uml.Classifier;
-import org.eclipse.uml2.uml.Dependency;
-import org.eclipse.uml2.uml.Element;
-import org.eclipse.uml2.uml.Interface;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Namespace;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.Port;
-import org.eclipse.uml2.uml.Realization;
-import org.eclipse.uml2.uml.UMLPackage;
-import org.eclipse.uml2.uml.Usage;
-
-
-/**
- *
- * This class provides a Dialog to manage easily the provided and the required Interfaces for a {@link Port}
- *
- *
- */
-public class InterfaceManagerDialog extends SelectionDialog {
-
- /** the selected port */
- private Port port;
-
- /** the list of the provided interfaces */
- private List<Object> providedInterfaces;
-
- /** the list of the required interfaces */
- private List<Object> requiredInterfaces;
-
- /** the {@link ReferenceSelector} for the provided interfaces */
- private ReferenceSelector providedSelector;
-
- /** the {@link ReferenceSelector} for the required interfaces */
- private ReferenceSelector requiredSelector;
-
- /** the Editor for the provided interfaces */
- private SelectionEditor providedEditor;
-
- /** the Editor for the required interfaces */
- private SelectionEditor requiredEditor;
-
- /**
- * 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
- */
- private Map<Interface, List<Realization>> providedInterfacesMappedWithRealization = new HashMap<Interface, List<Realization>>();
-
- /** the label provider for selector */
- private final ILabelProvider selectorLabelProvider = new SelectorLabelProvider();
-
- /** the label provider for the create new element dialog */
- private final ILabelProvider newElementLabelProvider = new CreateElementLabelProvider();
-
- /** the domain used for the commands */
- private TransactionalEditingDomain domain;
-
- /** the model */
- private Package model = null;
-
- /** this command contains the list of the command to create the new Interfaces */
- private CompoundCommand interfaceCreationCommand = new CompoundCommand("Create Interfaces Commands"); //$NON-NLS-1$
-
- /** This list contains representation of the Interface before their creation */
- private List<NewElementRepresentation> interfaceRepresentations;
-
- /** boolean used to know if the {@link Port} is typed with an {@link Interface} */
- private boolean typedWithInterface;
-
- /** path for the warning icons */
- private static final String ICON_WARNING = "/icons/warning.gif"; //$NON-NLS-1$
-
- /**
- * This list contains the names used for the new elements.
- * We need to remember these names are used in order don't suggest them when we create other new elements
- */
- private List<String> forbiddenNames;
-
- /**
- *
- * Constructor.
- *
- * @param parentShell
- * the parent {@link Shell}
- * @param port
- * the {@link Port} for which we want manage the Interfaces
- */
- public InterfaceManagerDialog(Shell parentShell, Port port) {
- super(parentShell);
- this.setTitle(Messages.InterfaceManagerDialog_Title);
- this.port = port;
- Assert.isTrue(this.port.getType() instanceof Classifier);
- this.typedWithInterface = (this.port.getType() instanceof Interface);
- }
-
- /**
- *
- * @see org.eclipse.jface.dialogs.Dialog#create()
- *
- */
- @Override
- public void create() {
- super.create();
- init();
- }
-
- /**
- * This method initialize some fields of the class
- */
- protected void init() {
-
- this.forbiddenNames = new ArrayList<String>();
- this.interfaceRepresentations = new ArrayList<NewElementRepresentation>();
- EList<Namespace> namespaces = port.allNamespaces();
- Element el = namespaces.get(namespaces.size() - 1);
- if(el instanceof Package) {
- model = (Package)el;
- } else {
- model = el.getNearestPackage();
- }
-
- //fill the hashmap to link Interfaces with Usage and InterfaceRealization
- buildProvidedInterfaces();
- buildRequiredInterfaces();
-
- //we build the list of the provided interfaces
- this.providedInterfaces = new ArrayList<Object>();
- for(Interface current : this.port.getProvideds()) {
- this.providedInterfaces.add(current);
- }
- //when the port is typed by an Interface, we don't propose this interface in the possible Provided Interfaces list.
- if(typedWithInterface) {
- this.providedInterfaces.remove(this.port.getType());
- }
-
- //we build the list of the required interfaces
- this.requiredInterfaces = new ArrayList<Object>();
- for(Interface current : this.port.getRequireds()) {
- this.requiredInterfaces.add(current);
- }
-
- //initialize the transactional editing domain
- IWorkbenchPage activePage = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- IEditorPart editor = activePage.getActiveEditor();
- if(editor instanceof IMultiDiagramEditor) {
- try {
- this.domain = ServiceUtils.getInstance().getTransactionalEditingDomain(((IMultiDiagramEditor)editor).getServicesRegistry());
- } catch (ServiceException e) {
- e.printStackTrace();
- }
- }
-
- //selectors creation
- createSelectors();
- //editors creation
- createEditors();
-
- }
-
-
- /**
- * This method fills the map {@link #requiredInterfacesMappedWithUsage}
- */
- protected void buildRequiredInterfaces() {
- List<?> allUsage = Util.getInstancesFilteredByType(this.model, Usage.class, null);
- List<Classifier> classifiers = new ArrayList<Classifier>();
- classifiers.add((Classifier)this.port.getType());
-
- classifiers.addAll(Util.getAllSuperClasses(null, (Classifier)this.port.getType()));
-
-
- for(Object current : allUsage) {
- Usage usage = (Usage)current;
- for(Classifier classifier : classifiers) {//we test if the current Usage is linked with the type of the Port
- if(usage.getClients().contains(classifier)) {//this Usage concerns the current port
- for(EObject target : usage.getSuppliers()) {
- if(this.port.getRequireds().contains(target)) {
- List<Usage> usages = requiredInterfacesMappedWithUsage.get(target);
- if(usages != null) {
- usages.add(usage);
- } else {
- usages = new ArrayList<Usage>();
- usages.add(usage);
- this.requiredInterfacesMappedWithUsage.put((Interface)target, usages);
- }
- }
- }
- break;
- }
- }
- }
- }
-
- /**
- * This method fills the map {@link #providedInterfacesMappedWithRealization}
- */
- protected void buildProvidedInterfaces() {
- List<?> allRealization = Util.getInstancesFilteredByType(this.model, Realization.class, null);
- List<Classifier> classifiers = new ArrayList<Classifier>();
- classifiers.add((Classifier)this.port.getType());
-
- classifiers.addAll(Util.getAllSuperClasses(null, (Classifier)this.port.getType()));
-
-
- for(Object current : allRealization) {
- Realization realization = (Realization)current;
- for(Classifier classifier : classifiers) {//we test if the current Realization is linked with the type of the Port
- if(realization.getClients().contains(classifier)) {//this Realization concerns the current port
- for(EObject target : realization.getSuppliers()) {
- if(this.port.getProvideds().contains(target)) {
- List<Realization> realizations = providedInterfacesMappedWithRealization.get(target);
- if(realizations != null) {
- realizations.add(realization);
- } else {
- realizations = new ArrayList<Realization>();
- realizations.add(realization);
- this.providedInterfacesMappedWithRealization.put((Interface)target, realizations);
- }
- }
- }
- break;
- }
- }
- }
- }
-
- /**
- * This method creates the selectors {@link #providedSelector} and {@link #requiredSelector}
- */
- protected void createSelectors() {
- //the provided selector
- this.providedSelector = new ReferenceSelector(true);
- this.providedSelector.setLabelProvider(selectorLabelProvider);
- this.providedSelector.setContentProvider(new IStaticContentProvider() {
-
- /**
- *
- * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
- *
- * @param viewer
- * @param oldInput
- * @param newInput
- */
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
-
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.IContentProvider#dispose()
- *
- */
- public void dispose() {
-
- }
-
- /**
- *
- * @see org.eclipse.papyrus.editors.providers.IStaticContentProvider#getElements()
- *
- * @return
- */
- public Object[] getElements() {
- List<Object> tmp = new ArrayList<Object>();
- tmp.addAll(getAllAvailableInterfaces(model));
- if(typedWithInterface) {
- tmp.remove(port.getType());
- }
- //we add the new interfaces which are not yet created
- tmp.addAll(interfaceRepresentations);
- return tmp.toArray();
- }
- });
- //the required selector
- this.requiredSelector = new ReferenceSelector(true);
- this.requiredSelector.setLabelProvider(selectorLabelProvider);
- this.requiredSelector.setContentProvider(new IStaticContentProvider() {
-
- /**
- *
- * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
- *
- * @param viewer
- * @param oldInput
- * @param newInput
- */
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
-
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.IContentProvider#dispose()
- *
- */
- public void dispose() {
-
- }
-
- /**
- *
- * @see org.eclipse.papyrus.editors.providers.IStaticContentProvider#getElements()
- *
- * @return
- */
- public Object[] getElements() {
- List<Object> tmp = new ArrayList<Object>();
- tmp.addAll(getAllAvailableInterfaces(model));
-
- //we add the new interfaces which are not yet created
- tmp.addAll(interfaceRepresentations);
- return tmp.toArray();
- }
- });
- }
-
-
- /**
- * This method create the 2 Editors {@link #providedEditor} and {@link #requiredEditor} and provides the listener for the button of these editors
- */
- protected void createEditors() {
- Composite parent = (Composite)getDialogArea();
- CreateButtonListener listener = new CreateButtonListener();
- //we set a specific message if the port is typed with an Interface
- if(typedWithInterface) {
- Composite messageSection = new Composite(parent, SWT.BORDER);
- CLabel label = new CLabel(messageSection, SWT.NONE);
-
- label.setText(Messages.InterfaceManagerDialog_ThePortIsTypedWithAnInterfaceWarningMessage);
- Image errorImage = Activator.getPluginIconImage(Activator.ID, ICON_WARNING);
- label.setImage(errorImage);
- GridLayout layout = new GridLayout(1, true);
- GridData data = new GridData(SWT.FILL, SWT.FILL, true, false);
- messageSection.setLayout(layout);
- messageSection.setLayoutData(data);
- messageSection.setEnabled(false);
- }
- this.providedEditor = createEditor(parent, providedSelector, Messages.InterfaceManagerDialog_SelectedTheProvidedInterfaces, false, listener, this.providedInterfaces);
- this.requiredEditor = createEditor(parent, requiredSelector, Messages.InterfaceManagerDialog_SelectTheRequiredInterfaces, true, listener, this.requiredInterfaces);
-
- this.providedEditor.create();
- this.requiredEditor.create();
-
- GridLayout layout = (GridLayout)parent.getLayout();
- layout.numColumns = 1;
- layout.makeColumnsEqualWidth = true;
- GridData data = new GridData(SWT.FILL, SWT.FILL, true, true);
- this.providedEditor.setLayoutData(data);
- this.requiredEditor.setLayoutData(data);
- getShell().setSize(950, 700);
- getShell().layout();
- }
-
- /**
- * 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
- * @return
- * 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);
- editor.setMessage(message);
- editor.setAdditionalButton(withCreateButton, Messages.InterfaceManagerDialog_CreateNewInterface, listener);
- return editor;
- }
-
- /**
- * Returns all the available Interfaces
- *
- * @return
- * all the available Interfaces
- * //TODO add the interfaces of the package import!
- */
- @SuppressWarnings("unchecked")
- protected List<Interface> getAllAvailableInterfaces(Package pack) {
- List<Interface> otherInterfaces = new ArrayList<Interface>();
- List<Element> interfaces = Visitor.getOwnedAndImportedElement(pack, Interface.class);
- for(Namespace namespace : Visitor.getOwnedAndImportedNamespaces(pack)) {
- interfaces.addAll(Visitor.getOwnedAndImportedElement(namespace, Interface.class));
-
- }
-
- for(Element element : interfaces) {
- otherInterfaces.add((Interface)element);
- }
-
- return otherInterfaces;
- }
-
- /**
- * Returns the commands to apply the changes
- *
- * @return
- * the commands to apply the changes
- */
- public Command getCommand() {
- CompoundCommand command = new CompoundCommand("Command to manage interfaces on Port"); //$NON-NLS-1$
- if(!interfaceCreationCommand.isEmpty()) {
- command.add(interfaceCreationCommand);
- }
- Command cmd = getCommandsToCreateElements();
- if(cmd.canExecute()) {
- command.add(cmd);
- }
- cmd = getCommandToRemoveReferencedInterfaces();
- if(cmd.canExecute()) {
- command.add(cmd);
- }
- return command;
- }
-
- /**
- * Returns the command to remove referenced Interfaces in Usage and InterfaceRealization
- *
- * @return
- * 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$
-
- Set<Dependency> relationshipToDestroy = new HashSet<Dependency>();
- //commands to destroy Usage
- for(Object current : this.requiredEditor.getElementToRemove()) {
- //we get all usage associated with this interface
- List<Usage> usages = requiredInterfacesMappedWithUsage.get(current);
- for(Usage currentUsage : usages) {
- //we remove the reference to the Interface in the Usage
- DestroyReferenceRequest request = new DestroyReferenceRequest(domain, currentUsage, UMLPackage.eINSTANCE.getDependency_Supplier(), (EObject)current, false);
- Command cmd = getCommand(request);
- if(cmd.canExecute()) {
- command.add(cmd);
- relationshipToDestroy.add(currentUsage);
- }
- }
- }
-
- //commands to destroy InterfaceRealization
- for(Object current : this.providedEditor.getElementToRemove()) {
- //we get all usage associated with this interface
- List<Realization> realizations = providedInterfacesMappedWithRealization.get(current);
- for(Realization currentRealization : realizations) {
- //we remove the reference to the Interface in the Usage
- DestroyReferenceRequest request = new DestroyReferenceRequest(domain, currentRealization, UMLPackage.eINSTANCE.getDependency_Supplier(), (EObject)current, false);
- Command cmd = getCommand(request);
- if(cmd.canExecute()) {
- command.add(cmd);
- relationshipToDestroy.add(currentRealization);
- }
- }
- }
- if(!relationshipToDestroy.isEmpty()) {
- command.add(new ICommandProxy(new DestroyDependencyWithoutSupplierCommand(this.domain, null, relationshipToDestroy)));
- return command;
- }
-
- //nothing to do
- return UnexecutableCommand.INSTANCE;
- }
-
- /**
- * Returns the command to create new Usage and new InterfaceRealization
- *
- * @return
- * 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$
- //commands for Usage Creation
- for(Object current : this.requiredEditor.getElementToAdd()) {
- if(current instanceof EObject) {
- CreateRelationshipRequest request = new CreateRelationshipRequest(this.port.getType().eContainer(), this.port.getType(), (EObject)current, org.eclipse.papyrus.uml.service.types.element.UMLElementTypes.USAGE);
- Command cmd = getCommand(request);
- if(cmd.canExecute()) {
- command.add(cmd);
- }
- } else {//its an NewElementRepresentation
-
- CreateUsageCommand cmd = new CreateUsageCommand(this.domain, this.port.getType().eContainer(), this.port.getType(), (NewElementRepresentation)current, null);
- if(cmd.canExecute()) {
- command.add(new ICommandProxy(cmd));
- }
- }
- }
-
- //commands for InterfaceRealization Creation
- for(Object current : providedEditor.getElementToAdd()) {
- if(current instanceof EObject) {
- CreateRelationshipRequest request = new CreateRelationshipRequest(this.port.getType(), this.port.getType(), (EObject)current, org.eclipse.papyrus.uml.service.types.element.UMLElementTypes.INTERFACE_REALIZATION);
- Command cmd = getCommand(request);
- if(cmd.canExecute()) {
- command.add(cmd);
- }
- } else {//its an NewElementRepresentation
- CreateInterfaceRealizationCommand cmd = new CreateInterfaceRealizationCommand(this.domain, this.port.getType(), this.port.getType(), (NewElementRepresentation)current, null);
- if(cmd.canExecute()) {
- command.add(new ICommandProxy(cmd));
- }
- }
- }
- if(!command.isEmpty()) {
- return command;
- }
- return UnexecutableCommand.INSTANCE;
- }
-
-
- /**
- * Return the command corresponding to the request
- *
- * @param req
- * a request
- * @return
- * the command corresponding to the request
- */
- protected Command getCommand(AbstractEditCommandRequest req) {
- IElementEditService provider = ElementEditServiceUtils.getCommandProvider(model);
- if(provider != null) {
- ICommand setCommand = provider.getEditCommand(req);
- if(setCommand != null) {
- return new ICommandProxy(setCommand.reduce());
- }
- }
- return UnexecutableCommand.INSTANCE;
- }
-
- /**
- * This listener is used to know when the user clicks on the Button to create a new {@link Interface}
- *
- *
- *
- */
- public class CreateButtonListener implements SelectionListener {
-
- /**
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
- *
- * @param e
- */
- public void widgetSelected(SelectionEvent e) {
- CreateUmlElementDialog dialog = new CreateUmlElementDialog(getShell(), domain, newElementLabelProvider, new CustomContentProvider(), model, UMLElementTypes.INTERFACE);
- dialog.setTitle(Messages.InterfaceManagerDialog_CreateANewInterface);
- dialog.setMessage(Messages.InterfaceManagerDialog_SelectTheParentOfThisNewInterface);
- dialog.setHelpAvailable(false);
- dialog.setForbiddenNames(forbiddenNames);
- List<Object> input = new ArrayList<Object>();
- input.add(model);
- dialog.setInput(input);
- dialog.setValidator(new ParentInterfaceValidator());
- if(dialog.open() == org.eclipse.jface.dialogs.Dialog.OK) {
- interfaceCreationCommand.add(dialog.getCommand());
- Object[] res = dialog.getResult();
- for(Object current : res) {
- if(current instanceof NewElementRepresentation) {
- interfaceRepresentations.add((NewElementRepresentation)current);
- forbiddenNames.add(((NewElementRepresentation)current).getName());
- }
- }
- providedSelector.refresh();
- requiredSelector.refresh();
- }
- }
-
- /**
- *
- * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
- *
- * @param e
- */
- public void widgetDefaultSelected(SelectionEvent e) {
-
- }
-
- }
-
-
- /**
- *
- * This class provides a validator for the selection of the parent of the new Interface
- *
- *
- */
- public class ParentInterfaceValidator implements ISelectionStatusValidator {
-
- /**
- * Selection has to be a Classifier or an Interface to allow creation
- *
- * @see org.eclipse.ui.dialogs.ISelectionStatusValidator#validate(java.lang.Object[])
- *
- * @param selection
- * @return
- */
- public IStatus validate(Object[] selection) {
-
- IStatus status = new Status(IStatus.ERROR, UMLDiagramEditorPlugin.ID, Messages.NoSelectionFound);
- if(selection.length >= 1) {
- for(int i = 0; i < selection.length; i++) {
- if(selection[i] instanceof Package || selection[i] instanceof Classifier || selection[i] instanceof NewElementRepresentation)
- status = new Status(IStatus.OK, UMLDiagramEditorPlugin.ID, Messages.SelectionValidated);
- else {
- status = new Status(IStatus.ERROR, UMLDiagramEditorPlugin.ID, Messages.InterfaceManagerDialog_SelectionHasToBeAPackageOrAClassifier);
- break;
- }
- }
- }
- return status;
- }
- }
-
- /**
- *
- * This class provides a CustomLabelProvider for this dialog.
- * This class manages the {@link NewElementRepresentation} and consider them like Interfaces
- *
- *
- */
- public class SelectorLabelProvider extends CreateElementLabelProvider {
-
-
- /**
- *
- * @see org.eclipse.papyrus.diagram.common.providers.EditorLabelProvider#getText(java.lang.Object)
- *
- * @param element
- * @return
- */
- @Override
- public String getText(Object element) {
- if(element instanceof NewElementRepresentation) {
- return ((NewElementRepresentation)element).getQualifiedName();
- } else if(element instanceof NamedElement) {
- return ((NamedElement)element).getQualifiedName();
- }
- return super.getText(element);
- }
-
- }
-
- public class CreateElementLabelProvider extends EditorLabelProvider {
-
- /**
- *
- * @see org.eclipse.papyrus.diagram.common.providers.EditorLabelProvider#getImage(java.lang.Object)
- *
- * @param element
- * @return
- */
- @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 super.getImage(element);
- }
-
- /**
- *
- * @see org.eclipse.papyrus.diagram.common.providers.EditorLabelProvider#getText(java.lang.Object)
- *
- * @param element
- * @return
- */
- @Override
- public String getText(Object element) {
- if(element instanceof NewElementRepresentation) {
- return ((NewElementRepresentation)element).getName();
- }
- return super.getText(element);
- }
-
- }
-
- /**
- *
- * This content provider is used in this dialog. It returns the available element in the model + the future element which are
- * {@link NewElementRepresentation}
- *
- *
- */
- public class CustomContentProvider implements ITreeContentProvider {
-
- /**
- *
- * @see org.eclipse.jface.viewers.IContentProvider#dispose()
- *
- */
- public void dispose() {
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
- *
- * @param viewer
- * @param oldInput
- * @param newInput
- */
- public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
-
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.ITreeContentProvider#getElements(java.lang.Object)
- *
- * @param inputElement
- * @return
- */
- public Object[] getElements(Object inputElement) {
- if(inputElement instanceof List<?>) {
- return ((List<?>)inputElement).toArray();
- }
- return new Object[0];
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.ITreeContentProvider#getChildren(java.lang.Object)
- *
- * @param parentElement
- * @return
- */
- public Object[] getChildren(Object parentElement) {
- List<Object> children = new ArrayList<Object>();
- List<?> tmp = null;
- if(parentElement instanceof Package) {
- tmp = ((Package)parentElement).getOwnedMembers();
- } else if(parentElement instanceof Classifier) {
- tmp = ((Classifier)parentElement).getOwnedMembers();
- }
- if(tmp != null) {
- for(Object current : tmp) {
- if(current instanceof Classifier || current instanceof Package) {
- children.add(current);
- }
- }
- }
- //we add the future Interfaces to this selection
- for(NewElementRepresentation current : interfaceRepresentations) {
- if(current.getParent() == parentElement) {
- children.add(current);
- }
- }
- return children.toArray();
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
- *
- * @param element
- * @return
- */
- public Object getParent(Object element) {
- if(element == model) {
- return model;
- } else if(element instanceof NamedElement) {
- return ((NamedElement)element).eContainer();
- }
- return null;
- }
-
- /**
- *
- * @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.lang.Object)
- *
- * @param element
- * @return
- */
- public boolean hasChildren(Object element) {
- return getChildren(element).length != 0;
- }
-
- }
-
- /**
- *
- * This command is used to create a New Usage, when its target (an Interface) doesn't exist when the command is created
- * (but this Interface will exist when the command will be executed)
- *
- *
- */
- public class CreateUsageCommand extends AbstractTransactionalCommand {
-
- /** The container for the new Usage */
- private EObject container;
-
- /** the source of this Usage */
- private EObject source;
-
- /** the target : the representation of the new interface */
- private NewElementRepresentation target;
-
- /**
- *
- * Constructor.
- *
- * @param domain
- * the domain
- * @param container
- * the container for the Usage
- * @param source
- * the source for the Usage
- * @param target
- * the target for the Usage
- * @param affectedFiles
- * the affected files
- */
- public CreateUsageCommand(TransactionalEditingDomain domain, EObject container, EObject source, NewElementRepresentation target, List<?> affectedFiles) {
- super(domain, "Create Usage Command", affectedFiles); //$NON-NLS-1$
- this.container = container;
- this.source = source;
- this.target = target;
- }
-
- /**
- *
- * @see org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor,
- * org.eclipse.core.runtime.IAdaptable)
- *
- * @param monitor
- * @param info
- * @return
- * @throws ExecutionException
- */
- @Override
- protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- CreateRelationshipRequest request = new CreateRelationshipRequest(domain, container, source, target.getEObject(), org.eclipse.papyrus.uml.service.types.element.UMLElementTypes.USAGE);
- Command command = getCommand(request);
- if(command.canExecute()) {
- command.execute();
- }
- return CommandResult.newOKCommandResult(request.getNewElement());
- }
-
- }
-
- /**
- *
- * This command is used to create a New InterfaceRealition, when its target (an Interface) doesn't exist when the command is created
- * (but this Interface will exist when the command will be executed)
- *
- *
- */
- public class CreateInterfaceRealizationCommand extends AbstractTransactionalCommand {
-
- /** The container for the new InterfaceRealization */
- private EObject container;
-
- /** The source for the new InterfaceRealization */
- private EObject source;
-
- /** the target : the representation of the new interface */
- private NewElementRepresentation target;
-
- /**
- *
- * Constructor.
- *
- * @param domain
- * the domain
- * @param container
- * the container for the InterfaceRealization
- * @param source
- * the source for the InterfaceRealization
- * @param target
- * the target for the InterfaceRealization
- * @param affectedFiles
- * the affected files
- */
- public CreateInterfaceRealizationCommand(TransactionalEditingDomain domain, EObject container, EObject source, NewElementRepresentation target, List<?> affectedFiles) {
- super(domain, "Create InterfaceRealization Command", affectedFiles); //$NON-NLS-1$
- this.container = container;
- this.source = source;
- this.target = target;
- }
-
- /**
- *
- * @see org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor,
- * org.eclipse.core.runtime.IAdaptable)
- *
- * @param monitor
- * @param info
- * @return
- * @throws ExecutionException
- */
- @Override
- protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
-
- CreateRelationshipRequest request = new CreateRelationshipRequest(domain, container, source, target.getEObject(), org.eclipse.papyrus.uml.service.types.element.UMLElementTypes.INTERFACE_REALIZATION);
- Command command = getCommand(request);
- if(command.canExecute()) {
- command.execute();
- }
- return CommandResult.newOKCommandResult(request.getNewElement());
- }
-
- }
-
- /**
- *
- * This command is used to destroy Dependencies which have any supplier before the deletion of the Interface
- *
- *
- */
- public class DestroyDependencyWithoutSupplierCommand extends AbstractTransactionalCommand {
-
- /**
- * the dependencies to test
- */
- private Set<Dependency> dependencies;
-
- /**
- *
- * Constructor.
- *
- * @param domain
- * the domain
- * @param affectedFiles
- * the affected files
- * @param dependencies
- * the dependencies to test
- */
- public DestroyDependencyWithoutSupplierCommand(TransactionalEditingDomain domain, List<?> affectedFiles, Set<Dependency> dependencies) {
- super(domain, "Destroy the empty elements", affectedFiles); //$NON-NLS-1$
- this.dependencies = dependencies;
- }
-
- /**
- *
- * @see org.eclipse.gmf.runtime.emf.commands.core.command.AbstractTransactionalCommand#doExecuteWithResult(org.eclipse.core.runtime.IProgressMonitor,
- * org.eclipse.core.runtime.IAdaptable)
- *
- * @param monitor
- * @param info
- * @return
- * @throws ExecutionException
- */
- @Override
- protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- CompoundCommand command = new CompoundCommand("Destroy relationship without suppliers"); //$NON-NLS-1$
- for(Dependency current : dependencies) {
- if(current.getSuppliers().isEmpty()) {
- DestroyElementRequest request = new DestroyElementRequest(domain, current, false);
- Command cmd = getCommand(request);
- if(cmd.canExecute()) {
- command.add(cmd);
- }
- }
- }
-
- if(!command.isEmpty() && command.canExecute()) {
- command.execute();
- }
- return CommandResult.newOKCommandResult();
- }
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/NewElementRepresentation.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/NewElementRepresentation.java
deleted file mode 100644
index d3214c75234..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/custom/ui/NewElementRepresentation.java
+++ /dev/null
@@ -1,172 +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
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.custom.ui;
-
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.gmf.runtime.emf.type.core.IHintedType;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
-import org.eclipse.uml2.uml.NamedElement;
-
-/**
- * This class provides facilities to represent a New Element before its real creation.
- * We can store in this class :
- * <ul>
- * <li>the name of the new element</li>
- * <li>the parent of the new element</li>
- * <li>the {@link IHintedType} of the new element</li>
- * <li>the request to build the new element (optional)</li>
- * <li>the element itself when it has been created</li>
- * </ul>
- *
- *
- *
- */
-public class NewElementRepresentation {
-
- /** the name of the new element */
- private String name;
-
- /** the parent of the new element */
- private Object parent;
-
- /** the created element itself */
- private EObject createdElement;
-
- /** the {@link IHintedType} of the new element */
- private IHintedType hintedType;
-
- /** this field is used only when the element have an existing parent */
- private CreateElementRequest request;
-
- /**
- *
- * Constructor.
- *
- * @param name
- * the name of the new element
- * @param parent
- * the parent of the new element
- * @param hintedType
- * the hinted type of the new element
- * @param request
- * the request to build the new element (can be <code>null</code>)
- */
- public NewElementRepresentation(String name, Object parent, IHintedType hintedType, CreateElementRequest request) {
- this.name = name;
- this.parent = parent;
- this.createdElement = null;
- this.hintedType = hintedType;
- this.request = request;
- }
-
- /**
- * Getter for {@link #hintedType}
- *
- * @return
- * {@link #hintedType}
- */
- public IHintedType getHintedType() {
- return this.hintedType;
- }
-
- /**
- * Getter for {@link #name}
- *
- * @return
- * {@link #name}
- */
- public String getName() {
- return this.name;
- }
-
- /**
- * Getter for {@link #parent}
- *
- * @return
- * {@link #parent}
- */
- public Object getParent() {
- return this.parent;
- }
-
- /**
- * Returns the parent of this element
- *
- * @return
- * the parent of this element or <code>null</code> if the parent is a {@link NewElementRepresentation} itself and if it has not been
- * created
- */
- public EObject getEObjectParent() {
- if(parent instanceof EObject) {
- return (EObject)this.parent;
- } else if(parent instanceof NewElementRepresentation) {
- return ((NewElementRepresentation)parent).getEObject();
- }
- return null;
- }
-
- /**
- * Returns the created object
- *
- * @return
- * the created Object or <code>null</code> if the object has not been created
- */
- public EObject getEObject() {
- if(this.request != null) {
- return this.request.getNewElement();
- }
- return this.createdElement;
- }
-
- /**
- * Setter for {@link #createdElement}
- *
- * @param newElement
- *
- */
- public void setCreateElement(EObject newElement) {
- this.createdElement = newElement;
- }
-
- /**
- * Setter for {@link #request}
- *
- * @return
- * {@link #request}
- */
- public CreateElementRequest getCreateElementRequest() {
- return this.request;
- }
-
- /**
- *
- * @see java.lang.Object#toString()
- *
- * @return
- */
- @Override
- public String toString() {
- return "Name : " + this.name + ", parent : " + this.parent;
- }
-
- public String getQualifiedName() {
- String qualifiedName = "";
- if(parent instanceof NewElementRepresentation) {
- qualifiedName = ((NewElementRepresentation)parent).getQualifiedName();
- } else if(parent instanceof NamedElement) {
- qualifiedName = ((NamedElement)parent).getQualifiedName() + "::" + this.name;
- }
- return qualifiedName;
- }
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/preferences/CommentAnnotatedElementPreferencePage.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/preferences/CommentAnnotatedElementPreferencePage.java
deleted file mode 100644
index 230dd1637e2..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/preferences/CommentAnnotatedElementPreferencePage.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2009-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:
- * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.preferences;
-
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.papyrus.diagram.component.edit.parts.ComponentDiagramEditPart;
-import org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorPlugin;
-import org.eclipse.papyrus.preferences.pages.AbstractPapyrusLinkPreferencePage;
-
-// TODO: Auto-generated Javadoc
-/**
- * Preference page for CommentAnnotatedElement notation element.
- * Currently not generated.
- */
-public class CommentAnnotatedElementPreferencePage extends AbstractPapyrusLinkPreferencePage {
-
- /**
- * Instantiates a new comment annotated element preference page.
- *
- * @generated
- */
- public CommentAnnotatedElementPreferencePage() {
- super();
- setPreferenceKey(ComponentDiagramEditPart.MODEL_ID + "_CommentAnnotatedElement");
- }
-
- /**
- * Gets the bundle id.
- *
- * @return the bundle id
- * @generated
- */
- @Override
- protected String getBundleId() {
- return UMLDiagramEditorPlugin.ID;
- }
-
- /**
- * Inits the defaults.
- *
- * @param store the store
- * @generated
- */
- public static void initDefaults(IPreferenceStore store) {
-
- }
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/preferences/ConstraintConstrainedElementPreferencePage.java b/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/preferences/ConstraintConstrainedElementPreferencePage.java
deleted file mode 100644
index 7f8fadccf34..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/custom-src/org/eclipse/papyrus/diagram/component/preferences/ConstraintConstrainedElementPreferencePage.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2009-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:
- * Yann Tanguy (CEA LIST) yann.tanguy@cea.fr - Initial API and implementation
- *
- *****************************************************************************/
-package org.eclipse.papyrus.diagram.component.preferences;
-
-import org.eclipse.jface.preference.IPreferenceStore;
-import org.eclipse.papyrus.diagram.component.edit.parts.ComponentDiagramEditPart;
-import org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorPlugin;
-import org.eclipse.papyrus.preferences.pages.AbstractPapyrusLinkPreferencePage;
-
-// TODO: Auto-generated Javadoc
-/**
- * Preference page for ConstraintConstrainedElement notation element.
- * Currently not generated.
- */
-public class ConstraintConstrainedElementPreferencePage extends AbstractPapyrusLinkPreferencePage {
-
- /**
- * Instantiates a new constraint constrained element preference page.
- *
- * @generated
- */
- public ConstraintConstrainedElementPreferencePage() {
- super();
- setPreferenceKey(ComponentDiagramEditPart.MODEL_ID + "_ConstraintConstrainedElement");
- }
-
- /**
- * Gets the bundle id.
- *
- * @return the bundle id
- * @generated
- */
- @Override
- protected String getBundleId() {
- return UMLDiagramEditorPlugin.ID;
- }
-
- /**
- * Inits the defaults.
- *
- * @param store the store
- * @generated
- */
- public static void initDefaults(IPreferenceStore store) {
-
- }
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/incomingLinksNavigatorGroup.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/incomingLinksNavigatorGroup.gif
deleted file mode 100644
index fca9c53e629..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/incomingLinksNavigatorGroup.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/linkSourceNavigatorGroup.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/linkSourceNavigatorGroup.gif
deleted file mode 100644
index fca9c53e629..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/linkSourceNavigatorGroup.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/linkTargetNavigatorGroup.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/linkTargetNavigatorGroup.gif
deleted file mode 100644
index fca9c53e629..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/linkTargetNavigatorGroup.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/linksNavigatorGroup.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/linksNavigatorGroup.gif
deleted file mode 100644
index fca9c53e629..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/linksNavigatorGroup.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Abstraction.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Abstraction.gif
deleted file mode 100644
index 38df3e62097..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Abstraction.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ArtifactIcon.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ArtifactIcon.gif
deleted file mode 100644
index f0c7d31c50a..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ArtifactIcon.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Comment.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Comment.gif
deleted file mode 100644
index c495731c682..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Comment.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Component.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Component.gif
deleted file mode 100644
index 56b94fc30b6..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Component.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentDiagram.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentDiagram.gif
deleted file mode 100644
index 75f02269636..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentDiagram.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentIcon.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentIcon.gif
deleted file mode 100644
index 72575f10ff5..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentIcon.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentRealization.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentRealization.gif
deleted file mode 100644
index 14cdfbbe2f1..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/ComponentRealization.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Constraint.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Constraint.gif
deleted file mode 100644
index eed6acec1ee..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Constraint.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Dependency.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Dependency.gif
deleted file mode 100644
index add6dec9b61..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Dependency.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Generalization.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Generalization.gif
deleted file mode 100644
index 6f3189ac5aa..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Generalization.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/InterfaceAsCercle.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/InterfaceAsCercle.gif
deleted file mode 100644
index 517996a6530..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/InterfaceAsCercle.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/InterfaceRealization.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/InterfaceRealization.gif
deleted file mode 100644
index e73f5788ced..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/InterfaceRealization.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Link.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Link.gif
deleted file mode 100644
index 13fb22e4bfe..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Link.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Manifestation.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Manifestation.gif
deleted file mode 100644
index 0aff25b401d..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Manifestation.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Nodes.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Nodes.gif
deleted file mode 100644
index 047a553f7f0..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Nodes.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Operation.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Operation.gif
deleted file mode 100644
index 482a4d51abb..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Operation.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Package.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Package.gif
deleted file mode 100644
index e79ecca80f4..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Package.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Port.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Port.gif
deleted file mode 100644
index 43d235b47e9..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Port.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Realization.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Realization.gif
deleted file mode 100644
index 81880dda556..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Realization.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Substitution.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Substitution.gif
deleted file mode 100644
index e86854e07cf..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Substitution.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/UMLDiagramFile.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/UMLDiagramFile.gif
deleted file mode 100644
index de938070dea..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/UMLDiagramFile.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Usage.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Usage.gif
deleted file mode 100644
index 6f8d212ebc4..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/obj16/Usage.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/outgoingLinksNavigatorGroup.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/outgoingLinksNavigatorGroup.gif
deleted file mode 100644
index fca9c53e629..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/outgoingLinksNavigatorGroup.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/icons/wizban/NewUMLWizard.gif b/incoming/org.eclipse.papyrus.diagram.component/icons/wizban/NewUMLWizard.gif
deleted file mode 100644
index 83e03bf39bf..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/icons/wizban/NewUMLWizard.gif
+++ /dev/null
Binary files differ
diff --git a/incoming/org.eclipse.papyrus.diagram.component/messages.properties b/incoming/org.eclipse.papyrus.diagram.component/messages.properties
deleted file mode 100644
index 8eacb0b5c9a..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/messages.properties
+++ /dev/null
@@ -1,244 +0,0 @@
-
-# TODO: manually put keys and values
-UMLCreationWizardTitle=New PapyrusUMLComponentDiagram Diagram
-UMLCreationWizard_DiagramModelFilePageTitle=Create PapyrusUMLComponentDiagram Diagram
-UMLCreationWizard_DiagramModelFilePageDescription=Select file that will contain diagram model.
-UMLCreationWizard_DomainModelFilePageTitle=Create PapyrusUMLComponentDiagram Domain Model
-UMLCreationWizard_DomainModelFilePageDescription=Select file that will contain domain model.
-UMLCreationWizardOpenEditorError=Error opening diagram editor
-UMLCreationWizardCreationError=Creation Problems
-UMLCreationWizardPageExtensionError=File name should have {0} extension.
-UMLDiagramEditorUtil_OpenModelResourceErrorDialogTitle=Error
-UMLDiagramEditorUtil_OpenModelResourceErrorDialogMessage=Failed to load model file {0}
-UMLDiagramEditorUtil_CreateDiagramProgressTask=Creating diagram and model files
-UMLDiagramEditorUtil_CreateDiagramCommandLabel=Creating diagram and model
-UMLDocumentProvider_isModifiable=Updating cache failed
-UMLDocumentProvider_handleElementContentChanged=Failed to refresh hierarchy for changed resource
-UMLDocumentProvider_IncorrectInputError={1}
-UMLDocumentProvider_NoDiagramInResourceError=Diagram is not present in resource
-UMLDocumentProvider_DiagramLoadingError=Error loading diagram
-UMLDocumentProvider_UnsynchronizedFileSaveError=The file has been changed on the file system
-UMLDocumentProvider_SaveDiagramTask=Saving diagram
-UMLDocumentProvider_SaveNextResourceTask=Saving {0}
-UMLDocumentProvider_SaveAsOperation=Saving {0} diagram as
-InitDiagramFile_ResourceErrorDialogTitle=Error
-InitDiagramFile_ResourceErrorDialogMessage=Model file loading failed
-InitDiagramFile_WizardTitle=Initialize new {0} diagram file
-InitDiagramFile_OpenModelFileDialogTitle=Select domain model
-UMLNewDiagramFileWizard_CreationPageName=Initialize new diagram file
-UMLNewDiagramFileWizard_CreationPageTitle=Diagram file
-UMLNewDiagramFileWizard_CreationPageDescription=Create new diagram based on {0} model content
-UMLNewDiagramFileWizard_RootSelectionPageName=Select diagram root element
-UMLNewDiagramFileWizard_RootSelectionPageTitle=Diagram root element
-UMLNewDiagramFileWizard_RootSelectionPageDescription=Select semantic model element to be depicted on diagram
-UMLNewDiagramFileWizard_RootSelectionPageSelectionTitle=Select diagram root element:
-UMLNewDiagramFileWizard_RootSelectionPageNoSelectionMessage=Diagram root element is not selected
-UMLNewDiagramFileWizard_RootSelectionPageInvalidSelectionMessage=Invalid diagram root element is selected
-UMLNewDiagramFileWizard_InitDiagramCommand=Initializing diagram contents
-UMLNewDiagramFileWizard_IncorrectRootError=Incorrect model object stored as a root resource object
-UMLDiagramEditor_SavingDeletedFile=The original file "{0}" has been deleted.
-UMLDiagramEditor_SaveAsErrorTitle=Problem During Save As...
-UMLDiagramEditor_SaveAsErrorMessage=Save could not be completed. Target file is already open in another editor.
-UMLDiagramEditor_SaveErrorTitle=Save Problems
-UMLDiagramEditor_SaveErrorMessage=Could not save file.
-UMLElementChooserDialog_SelectModelElementTitle=Select model element
-ModelElementSelectionPageMessage=Select model element:
-ValidateActionMessage=Validate
-Nodes1Group_title=Nodes
-Nodes1Group_desc=Diagram Nodes
-Links2Group_title=Links
-Links2Group_desc=Diagram Links
-Package1CreationTool_title=Package
-Package1CreationTool_desc=Create a Package
-Component2CreationTool_title=Component
-Component2CreationTool_desc=Create a Component
-InterfaceasCercle3CreationTool_title=Interface as Cercle
-InterfaceasCercle3CreationTool_desc=Create an Interface as a cercle
-Interface4CreationTool_title=Interface
-Interface4CreationTool_desc=Create an Interface
-Property5CreationTool_title=Property
-Property5CreationTool_desc=Create a Property
-Operation6CreationTool_title=Operation
-Operation6CreationTool_desc=Create an Operation
-NestedClassifier7CreationTool_title=Nested Classifier
-NestedClassifier7CreationTool_desc=Create a Nested Classifier
-Requirementlink1CreationTool_title=Requirement link
-Requirementlink1CreationTool_desc=Create a Requirement link
-Providinglink2CreationTool_title=Providing link
-Providinglink2CreationTool_desc=Create a Providing link
-Generalization3CreationTool_title=Generalization
-Generalization3CreationTool_desc=Create a Generalization link
-InterfaceAttributeCompartmentEditPart_title=AttributeCompartment
-InterfaceOperationCompartmentEditPart_title=OperationCompartment
-InterfaceNestedClassifierCompartementEditPart_title=NestedClassifierCompartement
-PackagePackageContentsCompartmentEditPart_title=PackageContentsCompartment
-InterfaceAttributeCompartment2EditPart_title=AttributeCompartment
-InterfaceOperationCompartment2EditPart_title=OperationCompartment
-InterfaceNestedClassifierCompartement2EditPart_title=NestedClassifierCompartement
-
-CommandName_OpenDiagram=Open Diagram
-NavigatorGroupName_Usage_4001_target=target
-NavigatorGroupName_Usage_4001_incominglinks=incoming links
-NavigatorGroupName_Usage_4001_source=source
-NavigatorGroupName_Usage_4001_outgoinglinks=outgoing links
-NavigatorGroupName_Interface_2002_incominglinks=incoming links
-NavigatorGroupName_Interface_2002_outgoinglinks=outgoing links
-NavigatorGroupName_Component_2001_incominglinks=incoming links
-NavigatorGroupName_Component_2001_outgoinglinks=outgoing links
-NavigatorGroupName_Generalization_4003_target=target
-NavigatorGroupName_Generalization_4003_source=source
-NavigatorGroupName_Realization_4002_target=target
-NavigatorGroupName_Realization_4002_incominglinks=incoming links
-NavigatorGroupName_Realization_4002_source=source
-NavigatorGroupName_Realization_4002_outgoinglinks=outgoing links
-NavigatorGroupName_Component_3004_incominglinks=incoming links
-NavigatorGroupName_Component_3004_outgoinglinks=outgoing links
-NavigatorGroupName_Model_1000_links=links
-NavigatorGroupName_Interface_3005_incominglinks=incoming links
-NavigatorGroupName_Interface_3005_outgoinglinks=outgoing links
-NavigatorGroupName_Package_2003_incominglinks=incoming links
-NavigatorGroupName_Package_2003_outgoinglinks=outgoing links
-NavigatorActionProvider_OpenDiagramActionName=Open Diagram
-AbstractParser_UnexpectedValueType=Value of type {0} is expected
-AbstractParser_WrongStringConversion=String value does not convert to {0} value
-AbstractParser_UnknownLiteral=Unknown literal: {0}
-
-MessageFormatParser_InvalidInputError=Invalid input at {0}
-UMLModelingAssistantProviderTitle=Select domain model element
-UMLModelingAssistantProviderMessage=Available domain model elements:
-NavigatorGroupName_Interface_2004_incominglinks=incoming links
-NavigatorGroupName_Interface_2004_outgoinglinks=outgoing links
-createNodes1Group_title=Nodes
-createNodes1Group_desc=Diagram Nodes
-createLinks2Group_title=Links
-createLinks2Group_desc=Diagram Links
-createPackage1CreationTool_title=Package
-createPackage1CreationTool_desc=Create a Package
-createComponent2CreationTool_title=Component
-createComponent2CreationTool_desc=Create a Component
-createInterfaceasCercle3CreationTool_title=Interface as Cercle
-createInterfaceasCercle3CreationTool_desc=Create an Interface as a cercle
-createRequirementlink1CreationTool_title=Requirement link
-createRequirementlink1CreationTool_desc=Create a Requirement link
-createProvidinglink2CreationTool_title=Providing link
-createProvidinglink2CreationTool_desc=Create a Providing link
-createGeneralization3CreationTool_title=Generalization
-createGeneralization3CreationTool_desc=Create a Generalization link
-NavigatorGroupName_Interface_3002_incominglinks=incoming links
-NavigatorGroupName_Interface_3002_outgoinglinks=outgoing links
-NavigatorGroupName_Component_3001_incominglinks=incoming links
-NavigatorGroupName_Component_3001_outgoinglinks=outgoing links
-NavigatorGroupName_Interface_2003_incominglinks=incoming links
-NavigatorGroupName_Interface_2003_outgoinglinks=outgoing links
-NavigatorGroupName_Package_2001_incominglinks=incoming links
-NavigatorGroupName_Package_2001_outgoinglinks=outgoing links
-NavigatorGroupName_Component_2002_incominglinks=incoming links
-NavigatorGroupName_Component_2002_outgoinglinks=outgoing links
-createInterface3CreationTool_title=Interface
-createInterface3CreationTool_desc=Create an Interface
-createProperty4CreationTool_title=Property
-createProperty4CreationTool_desc=Create a Property
-createOperation5CreationTool_title=Operation
-createOperation5CreationTool_desc=Create an Operation
-createNestedClassifier6CreationTool_title=Nested Classifier
-createNestedClassifier6CreationTool_desc=Create a Nested Classifier
-createUsage1CreationTool_title=Usage
-createUsage1CreationTool_desc=Create an Usage link
-createRealization2CreationTool_title=Realization
-createRealization2CreationTool_desc=Create a Realization link
-NavigatorGroupName_Realization_4003_target=target
-NavigatorGroupName_Realization_4003_incominglinks=incoming links
-NavigatorGroupName_Realization_4003_source=source
-NavigatorGroupName_Realization_4003_outgoinglinks=outgoing links
-NavigatorGroupName_Generalization_4004_target=target
-NavigatorGroupName_Generalization_4004_source=source
-ModelPackageContentsCompartmentEditPart_title=PackageContentsCompartment
-NavigatorGroupName_Model_2004_incominglinks=incoming links
-NavigatorGroupName_Model_2004_outgoinglinks=outgoing links
-Component1CreationTool_title=Component
-Component1CreationTool_desc=Create a Component
-InterfaceasCercle2CreationTool_title=Interface as Cercle
-InterfaceasCercle2CreationTool_desc=Create an Interface as a cercle
-Interface2CreationTool_title=Interface
-Interface2CreationTool_desc=Create an Interface
-NavigatorGroupName_InterfaceRealization_4004_target=target
-NavigatorGroupName_InterfaceRealization_4004_incominglinks=incoming links
-NavigatorGroupName_InterfaceRealization_4004_source=source
-NavigatorGroupName_InterfaceRealization_4004_outgoinglinks=outgoing links
-Interface23CreationTool_title=Interface 2
-Property4CreationTool_title=Property
-Property4CreationTool_desc=Create a Property
-Operation5CreationTool_title=Operation
-Operation5CreationTool_desc=Create an Operation
-NestedClassifier6CreationTool_title=Nested Classifier
-NestedClassifier6CreationTool_desc=Create a Nested Classifier
-createComponent1CreationTool_title=Component
-createComponent1CreationTool_desc=Create a Component
-createInterface2CreationTool_title=Interface
-createInterface2CreationTool_desc=Create an Interface
-createInterface23CreationTool_title=Interface 2
-NavigatorGroupName_Package_2005_incominglinks=incoming links
-NavigatorGroupName_Package_2005_outgoinglinks=outgoing links
-NavigatorGroupName_Realization_4005_target=target
-NavigatorGroupName_Realization_4005_incominglinks=incoming links
-NavigatorGroupName_Realization_4005_source=source
-NavigatorGroupName_Realization_4005_outgoinglinks=outgoing links
-NavigatorGroupName_InterfaceRealization_4006_target=target
-NavigatorGroupName_InterfaceRealization_4006_source=source
-NavigatorGroupName_InterfaceRealization_4006_outgoinglinks=outgoing links
-createPortCreationTool_title=Port
-createPortCreationTool_desc=Create new Port
-PackagePackageableElementCompartmentEditPart_title=PackageableElementCompartment
-PackagePackageableElementCompartment2EditPart_title=PackageableElementCompartment
-createPackage3CreationTool_title=Package
-NavigatorGroupName_Package_2004_incominglinks=incoming links
-NavigatorGroupName_Package_2004_outgoinglinks=outgoing links
-NavigatorGroupName_File_incominglinks=incoming links
-NavigatorGroupName_File_outgoinglinks=outgoing links
-createPort3CreationTool_title=Port
-createPort3CreationTool_desc=Create a Port
-ComponentCompositeCompartmentEditPart_title=CompositeCompartment
-ComponentCompositeCompartmentEditPartCN_title=CompositeCompartment
-createNodesGroup_title=Nodes
-createNodesGroup_desc=Diagram Nodes
-createLinksGroup_title=Links
-createLinksGroup_desc=Diagram Links
-createPackageCreationTool_title=Package
-createPackageCreationTool_desc=Create a Package
-createComponentCreationTool_title=Component
-createComponentCreationTool_desc=Create a Component
-createInterfaceCreationTool_title=Interface
-createInterfaceCreationTool_desc=Create an Interface
-createCommentCreationTool_title=Comment
-createCommentCreationTool_desc=Create a Comment
-createConstraintCreationTool_title=Constraint
-createConstraintCreationTool_desc=Create a Constraint
-createLinkCreationTool_title=Link
-createLinkCreationTool_desc=Create new Link (Comment / Constraint)
-createDependencyCreationTool_title=Dependency
-createDependencyCreationTool_desc=Create a Dependency
-createRequirementlinkCreationTool_title=Requirement link
-createRequirementlinkCreationTool_desc=Create a Requirement link
-createProvidinglinkCreationTool_title=Providing link
-createProvidinglinkCreationTool_desc=Create a Providing link
-createGeneralizationCreationTool_title=Generalization
-createGeneralizationCreationTool_desc=Create a Generalization link
-createComponentRealizationCreationTool_title=Component Realization
-createComponentRealizationCreationTool_desc=Create a Component Realization
-ComponentCompositeCompartmentEditPartPCN_title=CompositeCompartmentPCN
-createAbstractionCreationTool_title=Abstraction
-createAbstractionCreationTool_desc=Create an Abstraction
-createManifestationCreationTool_title=Manifestation
-createManifestationCreationTool_desc=Create a Manifestation
-createSubstitutionCreationTool_title=Substitution
-createSubstitutionCreationTool_desc=Create a Substitution
-createAssociationCreationTool_title=Association
-createManifestCreationTool_title=Manifest
-createManifestCreationTool_desc=Create a Substitution
-createAssociationCreationTool_desc=Create an Association
-createUsageCreationTool_title=Usage
-createUsageCreationTool_desc=Create an Usage
-createInterfaceRealizationCreationTool_title=Interface Realization
-createInterfaceRealizationCreationTool_desc=Create an Interface Realization
-createArtifactCreationTool_title=Artifact
-createArtifactCreationTool_desc=Create an Artefact
diff --git a/incoming/org.eclipse.papyrus.diagram.component/model/ComponentDiagram.gmfgen b/incoming/org.eclipse.papyrus.diagram.component/model/ComponentDiagram.gmfgen
deleted file mode 100644
index 6be38e2bc70..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/model/ComponentDiagram.gmfgen
+++ /dev/null
@@ -1,2040 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="2.0"
- xmlns:xmi="http://www.omg.org/XMI"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns:gmfgen="http://www.eclipse.org/gmf/2009/GenModel"
- xmlns:papyrusgmfgenextension="http://www.eclipse.org/papyrus/2009/papyrusgmfgenextension">
- <gmfgen:GenEditorGenerator
- packageNamePrefix="org.eclipse.papyrus.diagram.component"
- modelID="PapyrusUMLComponentDiagram"
- domainFileExtension="PapyrusUMLComponent"
- dynamicTemplates="true"
- templateDirectory="/org.eclipse.papyrus.def/dynamic-templates3.5/codegen"
- pluginDirectory="/org.eclipse.papyrus.diagram.component/src">
- <diagram
- visualID="1000"
- editPartClassName="ComponentDiagramEditPart"
- itemSemanticEditPolicyClassName="ComponentDiagramItemSemanticEditPolicy"
- canonicalEditPolicyClassName="ModelCanonicalEditPolicy"
- iconProviderPriority="Low"
- creationWizardIconPath="icons/obj16/ComponentStructure.gif"
- editingDomainID="org.eclipse.papyrus.diagram.component.EditingDomain"
- validationProviderPriority="Low">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Diagram"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Model_1000"
- displayName="ComponentDiagram"
- editHelperClassName="ModelEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.draw2d.FreeformLayer"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="&quot;REMOVE_ORPHAN_VIEW&quot;"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.RemoveOrphanViewPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.DRAG_DROP_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.CustomDiagramDragDropEditPolicy"/>
- <domainDiagramElement
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Model"/>
- <childNodes
- xsi:type="gmfgen:GenChildSideAffixedNode"
- visualID="3069"
- editPartClassName="PortEditPart"
- itemSemanticEditPolicyClassName="PortItemSemanticEditPolicy"
- canonicalEditPolicyClassName="PortCanonicalEditPolicy"
- graphicalNodeEditPolicyClassName="PortGraphicalNodeEditPolicy"
- createCommandClassName="PortCreateCommand"
- containers="/0/@diagram/@topLevelNodes.0 /0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Port_3069"
- editHelperClassName="PortEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.figure.nodes.PortFigure">
- <attributes
- xsi:type="gmfgen:DefaultSizeAttributes"
- width="20"
- height="20"/>
- </viewmap>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.SEMANTIC_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.PortItemSemanticEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gef.EditPolicy.GRAPHICAL_NODE_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.GraphicalNodeEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.POPUPBAR_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.HyperLinkPopupBarEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeIconlDisplayEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gef.EditPolicy.LAYOUT_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.PortLayoutEditPolicy"/>
- <modelFacet>
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Port"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuredClassifier/ownedAttribute"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/StructuredClassifier/ownedAttribute"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.0/@expressions.1">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.2/@expressions.0">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Property/aggregation"/>
- </initializers>
- </modelElementInitializer>
- </modelFacet>
- <labels
- xsi:type="gmfgen:GenExternalNodeLabel"
- visualID="5006"
- editPartClassName="PortNameEditPart"
- itemSemanticEditPolicyClassName="PortNameItemSemanticEditPolicy">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.IMaskManagedLabelEditPolicy.MASK_MANAGED_LABEL_EDIT_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.PropertyLabelEditPolicy"/>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- <labels
- xsi:type="gmfgen:GenExternalNodeLabel"
- visualID="5007"
- editPartClassName="PortAppliedStereotypeEditPart"
- itemSemanticEditPolicyClassName="PortAppliedStereotypeItemSemanticEditPolicy"
- readOnly="true">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.node.AppliedStereotypeWrappingLabelFigure">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- x="25"
- y="-10"/>
- </viewmap>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeExternalNodeEditPolicy"/>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.2"
- viewPattern="&lt;&lt;{0}>>"
- editorPattern="&lt;&lt;{0}>>"
- editPattern="&lt;&lt;{0}>>">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </childNodes>
- <childNodes
- visualID="3070"
- editPartClassName="ComponentEditPartCN"
- itemSemanticEditPolicyClassName="ComponentItemSemanticEditPolicyCN"
- canonicalEditPolicyClassName="ComponentCanonicalEditPolicyCN"
- childNodes="/0/@diagram/@childNodes.0"
- compartments="/0/@diagram/@compartments.2"
- graphicalNodeEditPolicyClassName="ComponentGraphicalNodeEditPolicyCN"
- createCommandClassName="ComponentCreateCommandCN"
- containers="/0/@diagram/@compartments.2 /0/@diagram/@compartments.3 /0/@diagram/@compartments.0">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType
- xsi:type="gmfgen:SpecializationType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Component_3070"
- displayName="Component"
- metamodelType="/0/@diagram/@topLevelNodes.0/@elementType"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.figure.nodes.CompositeFigure">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedForeground="true"
- fixedBackground="true"/>
- <attributes
- xsi:type="gmfgen:DefaultSizeAttributes"
- width="100"
- height="50"/>
- </viewmap>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.QualifiedNameDisplayEditPolicy.QUALIFIED_NAME_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.QualifiedNameDisplayEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AffixedNodeAlignmentEditPolicy.AFFIXED_CHILD_ALIGNMENT_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AffixedNodeAlignmentEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.POPUPBAR_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.HyperLinkPopupBarEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy.SHOW_HIDE_COMPARTMENT_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="&quot;REMOVE_ORPHAN_VIEW&quot;"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.RemoveOrphanViewPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideClassifierContentsEditPolicy.SHOW_HIDE_CLASSIFIER_CONTENTS_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideClassifierContentsEditPolicy"/>
- <modelFacet>
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Component"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Class/nestedClassifier"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Class/nestedClassifier"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.0/@expressions.0">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- </modelFacet>
- <labels
- visualID="5256"
- editPartClassName="ComponentNameEditPartCN"
- itemSemanticEditPolicyClassName="ComponentNameItemSemanticEditPolicyCN"
- elementIcon="true">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getNameLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedFont="true"
- fixedForeground="true"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0"
- viewPattern="{0}"
- editorPattern="{0}"
- editPattern="{0}">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </childNodes>
- <childNodes
- visualID="3071"
- editPartClassName="ComponentEditPartPCN"
- itemSemanticEditPolicyClassName="ComponentItemSemanticEditPolicyPCN"
- canonicalEditPolicyClassName="ComponentCanonicalEditPolicyPCN"
- childNodes="/0/@diagram/@childNodes.0"
- compartments="/0/@diagram/@compartments.3"
- graphicalNodeEditPolicyClassName="ComponentGraphicalNodeEditPolicyPCN"
- createCommandClassName="ComponentCreateCommandPCN"
- containers="/0/@diagram/@compartments.1">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType
- xsi:type="gmfgen:SpecializationType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Component_3071"
- displayName="Component"
- metamodelType="/0/@diagram/@topLevelNodes.0/@elementType"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.figure.nodes.CompositeFigure">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedForeground="true"
- fixedBackground="true"/>
- <attributes
- xsi:type="gmfgen:DefaultSizeAttributes"
- width="100"
- height="50"/>
- </viewmap>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.QualifiedNameDisplayEditPolicy.QUALIFIED_NAME_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.QualifiedNameDisplayEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AffixedNodeAlignmentEditPolicy.AFFIXED_CHILD_ALIGNMENT_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AffixedNodeAlignmentEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.POPUPBAR_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.HyperLinkPopupBarEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy.SHOW_HIDE_COMPARTMENT_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="&quot;REMOVE_ORPHAN_VIEW&quot;"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.RemoveOrphanViewPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideClassifierContentsEditPolicy.SHOW_HIDE_CLASSIFIER_CONTENTS_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideClassifierContentsEditPolicy"/>
- <modelFacet>
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Component"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.0/@expressions.0">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- </modelFacet>
- <labels
- visualID="5257"
- editPartClassName="ComponentNameEditPartPCN"
- itemSemanticEditPolicyClassName="ComponentNameItemSemanticEditPolicyPCN">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getNameLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedFont="true"
- fixedForeground="true"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0"
- viewPattern="{0}"
- editorPattern="{0}"
- editPattern="{0}">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </childNodes>
- <childNodes
- visualID="3072"
- editPartClassName="InterfaceEditPartPCN"
- itemSemanticEditPolicyClassName="InterfaceItemSemanticEditPolicyPCN"
- canonicalEditPolicyClassName="InterfaceCanonicalEditPolicyPCN"
- graphicalNodeEditPolicyClassName="InterfaceGraphicalNodeEditPolicyPCN"
- createCommandClassName="InterfaceCreateCommandPCN"
- containers="/0/@diagram/@compartments.1">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType
- xsi:type="gmfgen:SpecializationType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Interface_3072"
- displayName="Interface"
- metamodelType="/0/@diagram/@topLevelNodes.1/@elementType"/>
- <viewmap
- xsi:type="gmfgen:InnerClassViewmap"
- className="InterfaceAsCercle"
- classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class InterfaceAsCercle extends org.eclipse.draw2d.Ellipse {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public InterfaceAsCercle() {&#xA;&#x9;&#x9;&#x9;&#x9;this.setFill(false);&#xA;&#x9;this.setForegroundColor(org.eclipse.draw2d.ColorConstants.black);&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedForeground="true"/>
- <attributes
- xsi:type="gmfgen:ResizeConstraints"/>
- <attributes
- xsi:type="gmfgen:DefaultSizeAttributes"
- width="20"
- height="20"/>
- </viewmap>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="&quot;REMOVE_ORPHAN_VIEW&quot;"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.RemoveOrphanViewPolicy"/>
- <modelFacet>
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Interface"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.0/@expressions.2">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- </modelFacet>
- <labels
- xsi:type="gmfgen:GenExternalNodeLabel"
- editPartClassName="InterfaceNameEditPartPCN"
- itemSemanticEditPolicyClassName="InterfaceNameItemSemanticEditPolicyPCN">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:InnerClassViewmap"
- className="InterfaceAsCercle_nameLabel"
- classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class InterfaceAsCercle_nameLabel extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public InterfaceAsCercle_nameLabel() {&#xA;&#x9;&#x9;&#x9;&#x9;this.setText(&quot;&quot;);&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;"/>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </childNodes>
- <childNodes
- visualID="3074"
- editPartClassName="CommentEditPartPCN"
- itemSemanticEditPolicyClassName="CommentItemSemanticEditPolicyPCN"
- canonicalEditPolicyClassName="CommentCanonicalEditPolicyPCN"
- graphicalNodeEditPolicyClassName="CommentGraphicalNodeEditPolicyPCN"
- createCommandClassName="CommentCreateCommandPCN"
- containers="/0/@diagram/@compartments.1">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType
- xsi:type="gmfgen:SpecializationType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Comment_3074"
- metamodelType="/0/@diagram/@topLevelNodes.3/@elementType"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="&quot;REMOVE_ORPHAN_VIEW&quot;"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.RemoveOrphanViewPolicy"/>
- <modelFacet>
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Comment"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Element/ownedComment"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Element/ownedComment"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.1/@expressions.2">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Comment/body"/>
- </initializers>
- </modelElementInitializer>
- </modelFacet>
- <labels
- visualID="5258"
- editPartClassName="CommentBodyEditPartPCN"
- itemSemanticEditPolicyClassName="CommentBodyItemSemanticEditPolicyPCN">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getCornerBentFigure"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedFont="true"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.1">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Comment/body"/>
- </modelFacet>
- </labels>
- </childNodes>
- <childNodes
- visualID="3075"
- editPartClassName="ConstraintEditPartPCN"
- itemSemanticEditPolicyClassName="ConstraintItemSemanticEditPolicyPCN"
- canonicalEditPolicyClassName="ConstraintCanonicalEditPolicyPCN"
- graphicalNodeEditPolicyClassName="ConstraintGraphicalNodeEditPolicyPCN"
- createCommandClassName="ConstraintCreateCommandPCN"
- containers="/0/@diagram/@compartments.1">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType
- xsi:type="gmfgen:SpecializationType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Constraint_3075"
- metamodelType="/0/@diagram/@topLevelNodes.4/@elementType"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.node.ConstraintFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="&quot;REMOVE_ORPHAN_VIEW&quot;"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.RemoveOrphanViewPolicy"/>
- <modelFacet>
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Namespace/ownedRule"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Namespace/ownedRule"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.1/@expressions.0">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.1/@expressions.1">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
- </initializers>
- </modelElementInitializer>
- </modelFacet>
- <labels
- visualID="5259"
- editPartClassName="ConstraintNameEditPartPCN"
- itemSemanticEditPolicyClassName="ConstraintNameItemSemanticEditPolicyPCN"
- elementIcon="true">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getNameLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedFont="true"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- <labels
- visualID="5260"
- editPartClassName="ConstraintSpecificationEditPartPCN"
- itemSemanticEditPolicyClassName="ConstraintSpecificationItemSemanticEditPolicyPCN"
- elementIcon="true">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getConstraintFigure"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.node.ConstraintFigure"/>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.3">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
- <editableMetaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
- </modelFacet>
- </labels>
- </childNodes>
- <topLevelNodes
- visualID="2002"
- editPartClassName="ComponentEditPart"
- itemSemanticEditPolicyClassName="ComponentItemSemanticEditPolicy"
- notationViewFactoryClassName="ComponentViewFactory"
- canonicalEditPolicyClassName="ComponentCanonicalEditPolicy"
- childNodes="/0/@diagram/@childNodes.0"
- compartments="/0/@diagram/@compartments.0"
- graphicalNodeEditPolicyClassName="ComponentGraphicalNodeEditPolicy"
- createCommandClassName="ComponentCreateCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Component_2002"
- editHelperClassName="ComponentEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.figure.nodes.CompositeFigure">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedForeground="true"
- fixedBackground="true"/>
- <attributes
- xsi:type="gmfgen:DefaultSizeAttributes"
- width="150"
- height="100"/>
- </viewmap>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.QualifiedNameDisplayEditPolicy.QUALIFIED_NAME_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.QualifiedNameDisplayEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AffixedNodeAlignmentEditPolicy.AFFIXED_CHILD_ALIGNMENT_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AffixedNodeAlignmentEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.POPUPBAR_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.HyperLinkPopupBarEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy.SHOW_HIDE_COMPARTMENT_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="&quot;REMOVE_ORPHAN_VIEW&quot;"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.edit.policies.RemoveOrphanViewPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideClassifierContentsEditPolicy.SHOW_HIDE_CLASSIFIER_CONTENTS_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideClassifierContentsEditPolicy"/>
- <modelFacet>
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Component"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/ownedType"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.0/@expressions.0">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- </modelFacet>
- <labels
- visualID="5004"
- editPartClassName="ComponentNameEditPart"
- itemSemanticEditPolicyClassName="ComponentNameItemSemanticEditPolicy"
- notationViewFactoryClassName="ComponentNameViewFactory"
- elementIcon="true">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getNameLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedFont="true"
- fixedForeground="true"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0"
- editPattern="">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </topLevelNodes>
- <topLevelNodes
- visualID="2003"
- editPartClassName="InterfaceEditPart"
- itemSemanticEditPolicyClassName="InterfaceItemSemanticEditPolicy"
- notationViewFactoryClassName="InterfaceViewFactory"
- canonicalEditPolicyClassName="InterfaceCanonicalEditPolicy"
- graphicalNodeEditPolicyClassName="InterfaceGraphicalNodeEditPolicy"
- createCommandClassName="InterfaceCreateCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Interface_2003"
- editHelperClassName="InterfaceEditHelper"/>
- <viewmap
- xsi:type="gmfgen:InnerClassViewmap"
- className="InterfaceAsCercle"
- classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class InterfaceAsCercle extends org.eclipse.draw2d.Ellipse {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public InterfaceAsCercle() {&#xA;&#x9;&#x9;&#x9;&#x9;this.setFill(false);&#xA;&#x9;this.setForegroundColor(org.eclipse.draw2d.ColorConstants.black);&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedForeground="true"/>
- <attributes
- xsi:type="gmfgen:ResizeConstraints"/>
- <attributes
- xsi:type="gmfgen:DefaultSizeAttributes"
- width="20"
- height="20"/>
- </viewmap>
- <modelFacet>
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Interface"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/ownedType"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.0/@expressions.2">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- </modelFacet>
- <labels
- xsi:type="gmfgen:GenExternalNodeLabel"
- visualID="5005"
- editPartClassName="InterfaceNameEditPart"
- itemSemanticEditPolicyClassName="InterfaceNameItemSemanticEditPolicy"
- notationViewFactoryClassName="InterfaceNameViewFactory">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:InnerClassViewmap"
- className="InterfaceAsCercle_nameLabel"
- classBody="&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class InterfaceAsCercle_nameLabel extends org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel {&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public InterfaceAsCercle_nameLabel() {&#xD;&#xA;&#x9;&#x9;&#x9;&#x9;this.setText(&quot;&quot;);&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#xD;&#xA;"/>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </topLevelNodes>
- <topLevelNodes
- visualID="3200"
- editPartClassName="PackageEditPart"
- itemSemanticEditPolicyClassName="PackageItemSemanticEditPolicy"
- canonicalEditPolicyClassName="PackageCanonicalEditPolicy"
- compartments="/0/@diagram/@compartments.1"
- graphicalNodeEditPolicyClassName="PackageGraphicalNodeEditPolicy"
- createCommandClassName="PackageCreateCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Package_3200"
- displayName="Package"
- editHelperClassName="PackageEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.node.PackageFigure">
- <attributes
- xsi:type="gmfgen:DefaultSizeAttributes"
- width="150"
- height="150"/>
- </viewmap>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gmf.runtime.diagram.ui.editpolicies.EditPolicyRoles.POPUPBAR_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.HyperLinkPopupBarEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy.SHOW_HIDE_COMPARTMENT_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.ShowHideCompartmentEditPolicy"/>
- <modelFacet>
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.0/@expressions.5">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- </modelFacet>
- <labels
- visualID="5254"
- editPartClassName="PackageNameEditPart"
- itemSemanticEditPolicyClassName="PackageNameItemSemanticEditPolicy"
- elementIcon="true">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getNameLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedFont="true"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </topLevelNodes>
- <topLevelNodes
- visualID="3201"
- editPartClassName="CommentEditPart"
- itemSemanticEditPolicyClassName="CommentItemSemanticEditPolicy"
- canonicalEditPolicyClassName="CommentCanonicalEditPolicy"
- graphicalNodeEditPolicyClassName="CommentGraphicalNodeEditPolicy"
- createCommandClassName="CommentCreateCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Comment_3201"
- displayName="Comment"
- editHelperClassName="CommentEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <modelFacet>
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Comment"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Element/ownedComment"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Element/ownedComment"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.1/@expressions.2">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Comment/body"/>
- </initializers>
- </modelElementInitializer>
- </modelFacet>
- <labels
- visualID="5255"
- editPartClassName="CommentBodyEditPart"
- itemSemanticEditPolicyClassName="CommentBodyItemSemanticEditPolicy">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getCornerBentFigure"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.node.HTMLCornerBentFigure">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedFont="true"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.1">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Comment/body"/>
- </modelFacet>
- </labels>
- </topLevelNodes>
- <topLevelNodes
- visualID="3199"
- editPartClassName="ConstraintEditPart"
- itemSemanticEditPolicyClassName="ConstraintItemSemanticEditPolicy"
- canonicalEditPolicyClassName="ConstraintCanonicalEditPolicy"
- graphicalNodeEditPolicyClassName="ConstraintGraphicalNodeEditPolicy"
- createCommandClassName="ConstraintCreateCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Comment_3199"
- displayName="Constraint"
- editHelperClassName="ConstraintEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.node.ConstraintFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeNodeLabelDisplayEditPolicy"/>
- <modelFacet>
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Namespace/ownedRule"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Namespace/ownedRule"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.1/@expressions.0">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.1/@expressions.1">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
- </initializers>
- </modelElementInitializer>
- </modelFacet>
- <labels
- visualID="5252"
- editPartClassName="ConstraintNameEditPart"
- itemSemanticEditPolicyClassName="ConstraintNameItemSemanticEditPolicy"
- elementIcon="true">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getNameLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedFont="true"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- <labels
- visualID="5253"
- editPartClassName="ConstraintSpecificationEditPart"
- itemSemanticEditPolicyClassName="ConstraintSpecificationItemSemanticEditPolicy"
- elementIcon="true">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getConstraintFigure"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.node.ConstraintFigure"/>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.3">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
- <editableMetaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/specification"/>
- </modelFacet>
- </labels>
- </topLevelNodes>
- <links
- visualID="4001"
- editPartClassName="UsageEditPart"
- itemSemanticEditPolicyClassName="UsageItemSemanticEditPolicy"
- notationViewFactoryClassName="UsageViewFactory"
- createCommandClassName="UsageCreateCommand"
- reorientCommandClassName="UsageReorientCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Usage_4001"
- editHelperClassName="UsageEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.component.custom.figure.edges.UsageDecoration"/>
- <modelFacet
- xsi:type="gmfgen:TypeLinkModelFacet">
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Usage"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.0/@expressions.3">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- <sourceMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/client"/>
- <targetMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/supplier"/>
- </modelFacet>
- <creationConstraints
- sourceEnd="/0/@expressionProviders/@providers.0/@expressions.7"
- targetEnd="/0/@expressionProviders/@providers.0/@expressions.6"/>
- </links>
- <links
- visualID="4006"
- editPartClassName="InterfaceRealizationEditPart"
- itemSemanticEditPolicyClassName="InterfaceRealizationItemSemanticEditPolicy"
- notationViewFactoryClassName="InterfaceRealizationViewFactory"
- createCommandClassName="InterfaceRealizationCreateCommand"
- reorientCommandClassName="InterfaceRealizationReorientCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.InterfaceRealization_4006"
- editHelperClassName="InterfaceRealizationEditHelper"/>
- <viewmap
- xsi:type="gmfgen:InnerClassViewmap"
- className="SimpleDependency"
- classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class SimpleDependency extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public SimpleDependency() {&#xA;&#x9;&#x9;&#x9;this.setForegroundColor(org.eclipse.draw2d.ColorConstants.black);&#xA;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;">
- <attributes
- xsi:type="gmfgen:StyleAttributes"
- fixedForeground="true"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:TypeLinkModelFacet">
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InterfaceRealization"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.0/@expressions.4">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- <sourceMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/client"/>
- <targetMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/InterfaceRealization/contract"/>
- </modelFacet>
- <creationConstraints
- sourceEnd="/0/@expressionProviders/@providers.0/@expressions.7"
- targetEnd="/0/@expressionProviders/@providers.0/@expressions.6"/>
- </links>
- <links
- visualID="4003"
- editPartClassName="GeneralizationEditPart"
- itemSemanticEditPolicyClassName="GeneralizationItemSemanticEditPolicy"
- notationViewFactoryClassName="GeneralizationViewFactory"
- createCommandClassName="GeneralizationCreateCommand"
- reorientCommandClassName="GeneralizationReorientCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Generalization_4003"
- editHelperClassName="GeneralizationEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.edge.GeneralizationFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLinkLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLinkLabelDisplayEditPolicy"/>
- <modelFacet
- xsi:type="gmfgen:TypeLinkModelFacet">
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Generalization"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Classifier/generalization"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Classifier/generalization"/>
- <sourceMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Generalization/specific"/>
- <targetMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Generalization/general"/>
- </modelFacet>
- <labels
- visualID="2"
- editPartClassName="GeneralizationAppliedStereotypeEditPart"
- itemSemanticEditPolicyClassName="GeneralizationAppliedStereotypeItemSemanticEditPolicy"
- readOnly="true">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getAppliedStereotypeLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- y="60"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.2"
- viewPattern="&lt;&lt;{0}>>"
- editorPattern="&lt;&lt;{0}>>"
- editPattern="&lt;&lt;{0}>>">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Generalization/isSubstitutable"/>
- </modelFacet>
- </labels>
- </links>
- <links
- visualID="4012"
- editPartClassName="SubstitutionEditPart"
- itemSemanticEditPolicyClassName="SubstitutionItemSemanticEditPolicy"
- createCommandClassName="SubstitutionCreateCommand"
- reorientCommandClassName="SubstitutionReorientCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Substitution_4012"
- displayName="Substitution"
- editHelperClassName="SubstitutionEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.edge.InterfaceRealizationFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLinkLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeSubstitutionLabelDisplayEditPolicy"/>
- <modelFacet
- xsi:type="gmfgen:TypeLinkModelFacet">
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Substitution"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.1/@expressions.0">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- <sourceMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/client"/>
- <targetMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/supplier"/>
- </modelFacet>
- <labels
- visualID="6006"
- editPartClassName="SubstitutionNameEditPart"
- itemSemanticEditPolicyClassName="SubstitutionNameItemSemanticEditPolicy">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getNameLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- y="60"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- <labels
- visualID="6020"
- editPartClassName="SubstitutionAppliedStereotypeEditPart"
- itemSemanticEditPolicyClassName="SubstitutionAppliedStereotypeItemSemanticEditPolicy">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getAppliedStereotypeLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- y="30"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.2"
- viewPattern="&lt;&lt;{0}>>"
- editorPattern="&lt;&lt;{0}>>"
- editPattern="&lt;&lt;{0}>>">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </links>
- <links
- visualID="4014"
- editPartClassName="ManifestationEditPart"
- itemSemanticEditPolicyClassName="ManifestationItemSemanticEditPolicy"
- createCommandClassName="ManifestationCreateCommand"
- reorientCommandClassName="ManifestationReorientCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Manifestation_4014"
- displayName="Manifestation"
- editHelperClassName="ManifestationEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.edge.DashedEdgeFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLinkLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeManifestationLabelDisplayEditPolicy"/>
- <modelFacet
- xsi:type="gmfgen:TypeLinkModelFacet">
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Manifestation"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.1/@expressions.0">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- <sourceMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/client"/>
- <targetMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/supplier"/>
- </modelFacet>
- <labels
- visualID="6008"
- editPartClassName="ManifestationNameEditPart"
- itemSemanticEditPolicyClassName="ManifestationNameItemSemanticEditPolicy">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getNameLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- y="60"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- <labels
- visualID="6022"
- editPartClassName="ManifestationAppliedStereotypeEditPart"
- itemSemanticEditPolicyClassName="ManifestationAppliedStereotypeItemSemanticEditPolicy">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getAppliedStereotypeLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- y="30"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.2"
- viewPattern="&lt;&lt;{0}>>"
- editorPattern="&lt;&lt;{0}>>"
- editPattern="&lt;&lt;{0}>>">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </links>
- <links
- visualID="4007"
- editPartClassName="ComponentRealizationEditPart"
- itemSemanticEditPolicyClassName="ComponentRealizationItemSemanticEditPolicy"
- createCommandClassName="ComponentRealizationCreateCommand"
- reorientCommandClassName="ComponentRealizationReorientCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- editHelperClassName="ComponentRealizationEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.edge.InterfaceRealizationFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLinkLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLinkLabelDisplayEditPolicy"/>
- <modelFacet
- xsi:type="gmfgen:TypeLinkModelFacet">
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/ComponentRealization"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.1/@expressions.0">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- <sourceMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/client"/>
- <targetMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/supplier"/>
- </modelFacet>
- <labels
- visualID="3"
- editPartClassName="ComponentRealizationNameEditPart"
- itemSemanticEditPolicyClassName="ComponentRealizationNameItemSemanticEditPolicy">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getNameLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- y="60"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- <labels
- visualID="4"
- editPartClassName="ComponentRealizationAppliedStereotypeEditPart"
- itemSemanticEditPolicyClassName="ComponentRealizationAppliedStereotypeItemSemanticEditPolicy"
- readOnly="true">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getAppliedStereotypeLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- y="30"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.2"
- viewPattern="&lt;&lt;{0}>>"
- editorPattern="&lt;&lt;{0}>>"
- editPattern="&lt;&lt;{0}>>">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </links>
- <links
- visualID="4013"
- editPartClassName="AbstractionEditPart"
- itemSemanticEditPolicyClassName="AbstractionItemSemanticEditPolicy"
- createCommandClassName="AbstractionCreateCommand"
- reorientCommandClassName="AbstractionReorientCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.Abstraction_4013"
- displayName="Abstraction"
- editHelperClassName="AbstractionEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.edge.DashedEdgeFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLinkLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeAbstractionLabelDisplayEditPolicy"/>
- <modelFacet
- xsi:type="gmfgen:TypeLinkModelFacet">
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Abstraction"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.1/@expressions.0">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- <sourceMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/client"/>
- <targetMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/supplier"/>
- </modelFacet>
- <labels
- visualID="6007"
- editPartClassName="AbstractionNameEditPart"
- itemSemanticEditPolicyClassName="AbstractionNameItemSemanticEditPolicy">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getNameLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- y="60"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- <labels
- visualID="6021"
- editPartClassName="AbstractionAppliedStereotypeEditPart"
- itemSemanticEditPolicyClassName="AbstractionAppliedStereotypeItemSemanticEditPolicy">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getAppliedStereotypeLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- y="30"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.2"
- viewPattern="&lt;&lt;{0}>>"
- editorPattern="&lt;&lt;{0}>>"
- editPattern="&lt;&lt;{0}>>">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </links>
- <links
- visualID="4016"
- editPartClassName="LinkDescriptorEditPart"
- itemSemanticEditPolicyClassName="LinkDescriptorItemSemanticEditPolicy"
- createCommandClassName="LinkDescriptorCreateCommand"
- reorientCommandClassName="LinkDescriptorReorientCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
- <elementType
- xsi:type="gmfgen:NotationType"/>
- <viewmap
- xsi:type="gmfgen:InnerClassViewmap"
- className="LinkDescriptor"
- classBody="&#xA;/**&#xA; * @generated&#xA; */&#xA;public class LinkDescriptor extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {&#xA;&#xA;&#xA;&#xA;&#xA;&#x9;/**&#xA;&#x9; * @generated&#xA;&#x9; */&#xA;&#x9;public LinkDescriptor() {&#xA;&#x9;&#x9;this.setLineWidth(1);&#xA;this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DASH);&#xA;&#xA;&#x9;}&#xA;&#xA;&#xA;&#xA;&#xA;}&#xA;&#xA;"/>
- </links>
- <links
- visualID="4015"
- editPartClassName="CommentAnnotatedElementEditPart"
- itemSemanticEditPolicyClassName="CommentAnnotatedElementItemSemanticEditPolicy"
- createCommandClassName="CommentAnnotatedElementCreateCommand"
- reorientCommandClassName="CommentAnnotatedElementReorientCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
- <elementType
- xsi:type="gmfgen:SpecializationType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.CommentAnnotatedElement_4008"
- displayName="CommentAnnotatedElement"/>
- <viewmap
- xsi:type="gmfgen:InnerClassViewmap"
- className="CommentLinkDescriptor"
- classBody="&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class CommentLinkDescriptor extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public CommentLinkDescriptor() {&#xD;&#xA;&#x9;&#x9;this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DASH);&#xD;&#xA;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#xD;&#xA;">
- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLinkModelFacet">
- <metaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Comment/annotatedElement"/>
- </modelFacet>
- </links>
- <links
- visualID="4009"
- editPartClassName="ConstraintConstrainedElementEditPart"
- itemSemanticEditPolicyClassName="ConstraintConstrainedElementItemSemanticEditPolicy"
- createCommandClassName="ConstraintConstrainedElementCreateCommand"
- reorientCommandClassName="ConstraintConstrainedElementReorientCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
- <elementType
- xsi:type="gmfgen:SpecializationType"
- uniqueIdentifier="org.eclipse.papyrus.diagram.component.ConstraintConstrainedElement_4009"
- displayName="ConstraintConstrainedElement"/>
- <viewmap
- xsi:type="gmfgen:InnerClassViewmap"
- className="CommentLinkDescriptor"
- classBody="&#xD;&#xA;/**&#xD;&#xA; * @generated&#xD;&#xA; */&#xD;&#xA;public class CommentLinkDescriptor extends org.eclipse.gmf.runtime.draw2d.ui.figures.PolylineConnectionEx {&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#x9;/**&#xD;&#xA;&#x9; * @generated&#xD;&#xA;&#x9; */&#xD;&#xA;&#x9;public CommentLinkDescriptor() {&#xD;&#xA;&#x9;&#x9;this.setLineStyle(org.eclipse.draw2d.Graphics.LINE_DASH);&#xD;&#xA;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;&#xD;&#xA;}&#xD;&#xA;&#xD;&#xA;">
- <requiredPluginIDs>org.eclipse.gmf.runtime.draw2d.ui</requiredPluginIDs>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLinkModelFacet">
- <metaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Constraint/constrainedElement"/>
- </modelFacet>
- </links>
- <links
- visualID="4010"
- editPartClassName="DependencyEditPart"
- itemSemanticEditPolicyClassName="DependencyItemSemanticEditPolicy"
- createCommandClassName="DependencyCreateCommand"
- reorientCommandClassName="DependencyReorientCommand">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Edge"/>
- <elementType
- xsi:type="gmfgen:MetamodelType"
- editHelperClassName="DependencyEditHelper"/>
- <viewmap
- xsi:type="gmfgen:FigureViewmap"
- figureQualifiedClassName="org.eclipse.papyrus.diagram.common.figure.edge.DashedEdgeFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLinkLabelDisplayEditPolicy.STEREOTYPE_LABEL_POLICY"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.AppliedStereotypeLinkLabelDisplayEditPolicy"/>
- <modelFacet
- xsi:type="gmfgen:TypeLinkModelFacet">
- <metaClass
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency"/>
- <containmentMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <childMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Package/packagedElement"/>
- <modelElementInitializer
- xsi:type="gmfgen:GenFeatureSeqInitializer">
- <initializers
- xsi:type="gmfgen:GenFeatureValueSpec"
- value="/0/@expressionProviders/@providers.1/@expressions.0">
- <feature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </initializers>
- </modelElementInitializer>
- <sourceMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/client"/>
- <targetMetaFeature
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/Dependency/supplier"/>
- </modelFacet>
- <labels
- visualID="6009"
- editPartClassName="DependencyNameEditPart"
- itemSemanticEditPolicyClassName="DependencyNameItemSemanticEditPolicy">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getNameLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- y="60"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.0">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- <labels
- visualID="6023"
- editPartClassName="DependencyAppliedStereotypeEditPart"
- itemSemanticEditPolicyClassName="DependencyAppliedStereotypeItemSemanticEditPolicy"
- readOnly="true">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getAppliedStereotypeLabel"
- figureQualifiedClassName="org.eclipse.gmf.runtime.draw2d.ui.figures.WrappingLabel">
- <attributes
- xsi:type="gmfgen:LabelOffsetAttributes"
- y="60"/>
- </viewmap>
- <modelFacet
- xsi:type="gmfgen:FeatureLabelModelFacet"
- parser="/0/@labelParsers/@implementations.2"
- viewPattern="&lt;&lt;{0}>>"
- editorPattern="&lt;&lt;{0}>>"
- editPattern="&lt;&lt;{0}>>">
- <metaFeatures
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#//uml/NamedElement/name"/>
- </modelFacet>
- </labels>
- </links>
- <compartments
- visualID="7001"
- editPartClassName="ComponentCompositeCompartmentEditPart"
- itemSemanticEditPolicyClassName="ComponentCompositeCompartmentItemSemanticEditPolicy"
- canonicalEditPolicyClassName="ComponentCompositeCompartmentCanonicalEditPolicy"
- childNodes="/0/@diagram/@childNodes.1"
- title="CompositeCompartment"
- needsTitle="false"
- node="/0/@diagram/@topLevelNodes.0"
- listLayout="false">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getCompositeCompartmentFigure"
- figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gef.EditPolicy.GRAPHICAL_NODE_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.CustomContainerEditPolicy"/>
- </compartments>
- <compartments
- visualID="7002"
- editPartClassName="PackagePackageableElementCompartmentEditPart"
- itemSemanticEditPolicyClassName="PackagePackageableElementCompartmentItemSemanticEditPolicy"
- canonicalEditPolicyClassName="PackagePackageableElementCompartmentCanonicalEditPolicy"
- childNodes="/0/@diagram/@childNodes.3 /0/@diagram/@childNodes.4 /0/@diagram/@childNodes.5 /0/@diagram/@childNodes.2"
- title="PackageableElementCompartment"
- canCollapse="false"
- needsTitle="false"
- node="/0/@diagram/@topLevelNodes.2"
- listLayout="false">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getPackageableElementFigure"
- figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"/>
- </compartments>
- <compartments
- visualID="7003"
- editPartClassName="ComponentCompositeCompartmentEditPartCN"
- itemSemanticEditPolicyClassName="ComponentCompositeCompartmentItemSemanticEditPolicyCN"
- canonicalEditPolicyClassName="ComponentCompositeCompartmentCanonicalEditPolicyCN"
- childNodes="/0/@diagram/@childNodes.1"
- title="CompositeCompartmentCN"
- needsTitle="false"
- node="/0/@diagram/@childNodes.1"
- listLayout="false">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getCompositeCompartmentFigure"
- figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gef.EditPolicy.GRAPHICAL_NODE_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.CustomContainerEditPolicy"/>
- </compartments>
- <compartments
- visualID="7004"
- editPartClassName="ComponentCompositeCompartmentEditPartPCN"
- itemSemanticEditPolicyClassName="ComponentCompositeCompartmentItemSemanticEditPolicyPCN"
- canonicalEditPolicyClassName="ComponentCompositeCompartmentCanonicalEditPolicyPCN"
- childNodes="/0/@diagram/@childNodes.1"
- title="CompositeCompartmentPCN"
- needsTitle="false"
- node="/0/@diagram/@childNodes.2"
- listLayout="false">
- <diagramRunTimeClass
- href="../../../plugin/org.eclipse.gmf.runtime.notation/model/notation.genmodel#//notation/Node"/>
- <viewmap
- xsi:type="gmfgen:ParentAssignedViewmap"
- getterName="getCompositeCompartmentFigure"
- figureQualifiedClassName="org.eclipse.draw2d.RectangleFigure"/>
- <behaviour
- xsi:type="gmfgen:CustomBehaviour"
- key="org.eclipse.gef.EditPolicy.GRAPHICAL_NODE_ROLE"
- editPolicyQualifiedClassName="org.eclipse.papyrus.diagram.common.editpolicies.CustomContainerEditPolicy"/>
- </compartments>
- <palette>
- <groups
- title="Nodes"
- description="Diagram Nodes"
- largeIconPath="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif"
- smallIconPath="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif"
- createMethodName="createNodesGroup"
- id="&quot;component.group.nodes&quot;"
- stack="true"
- collapse="true">
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Package"
- description="Create a Package"
- largeIconPath="icons/obj16/Package.gif"
- smallIconPath="icons/obj16/Package.gif"
- createMethodName="createPackageCreationTool"
- id="&quot;component.tool.package&quot;"
- genNodes="/0/@diagram/@topLevelNodes.2"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Component"
- description="Create a Component"
- largeIconPath="icons/obj16/Component.gif"
- smallIconPath="icons/obj16/Component.gif"
- createMethodName="createComponentCreationTool"
- id="&quot;component.tool.component&quot;"
- genNodes="/0/@diagram/@topLevelNodes.0 /0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Interface"
- description="Create an Interface"
- largeIconPath="icons/obj16/InterfaceAsCercle.gif"
- smallIconPath="icons/obj16/InterfaceAsCercle.gif"
- createMethodName="createInterfaceCreationTool"
- id="&quot;component.tool.interface&quot;"
- genNodes="/0/@diagram/@topLevelNodes.1 /0/@diagram/@childNodes.3"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Port"
- description="Create a Port"
- largeIconPath="icons/obj16/Port.gif"
- smallIconPath="icons/obj16/Port.gif"
- createMethodName="createPortCreationTool"
- id="&quot;component.tool.port&quot;"
- genNodes="/0/@diagram/@childNodes.0"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Comment"
- description="Create a Comment"
- largeIconPath="icons/obj16/Comment.gif"
- smallIconPath="icons/obj16/Comment.gif"
- createMethodName="createCommentCreationTool"
- id="&quot;component.tool.comment&quot;"
- qualifiedToolName=""
- genNodes="/0/@diagram/@topLevelNodes.3 /0/@diagram/@childNodes.4"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Constraint"
- description="Create a Constraint"
- largeIconPath="icons/obj16/Constraint.gif"
- smallIconPath="icons/obj16/Constraint.gif"
- createMethodName="createConstraintCreationTool"
- id="&quot;component.tool.constraint&quot;"
- genNodes="/0/@diagram/@topLevelNodes.4 /0/@diagram/@childNodes.5"/>
- </groups>
- <groups
- title="Links"
- description="Diagram Links"
- largeIconPath="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif"
- smallIconPath="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif"
- createMethodName="createLinksGroup"
- id="&quot;component.group.links&quot;"
- stack="true"
- collapse="true">
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Link"
- description="Create a Link (Comment / Constraint)"
- largeIconPath="icons/obj16/Link.gif"
- smallIconPath="icons/obj16/Link.gif"
- createMethodName="createLinkCreationTool"
- id="&quot;component.tool.link&quot;"
- genLinks="/0/@diagram/@links.8 /0/@diagram/@links.9"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Dependency"
- description="Create a Dependency"
- largeIconPath="icons/obj16/Dependency.gif"
- smallIconPath="icons/obj16/Dependency.gif"
- createMethodName="createDependencyCreationTool"
- id="&quot;component.tool.dependency&quot;"
- genLinks="/0/@diagram/@links.10"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Abstraction"
- description="Create an Abstraction"
- largeIconPath="icons/obj16/Abstraction.gif"
- smallIconPath="icons/obj16/Abstraction.gif"
- createMethodName="createAbstractionCreationTool"
- id="&quot;component.tool.abstraction&quot;"
- genLinks="/0/@diagram/@links.6"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Manifestation"
- description="Create a Manifestation"
- largeIconPath="icons/obj16/Manifestation.gif"
- smallIconPath="icons/obj16/Manifestation.gif"
- createMethodName="createManifestationCreationTool"
- id="&quot;component.tool.manifestation&quot;"
- genLinks="/0/@diagram/@links.4"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Generalization"
- description="Create a Generalization link"
- largeIconPath="icons/obj16/Generalization.gif"
- smallIconPath="icons/obj16/Generalization.gif"
- createMethodName="createGeneralizationCreationTool"
- id="&quot;component.tool.generalization&quot;"
- genLinks="/0/@diagram/@links.2"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Usage"
- description="Create an Usage"
- largeIconPath="icons/obj16/Usage.gif"
- smallIconPath="icons/obj16/Usage.gif"
- createMethodName="createUsageCreationTool"
- id="&quot;component.tool.usage&quot;"
- genLinks="/0/@diagram/@links.0"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Substitution"
- description="Create a Substitution"
- largeIconPath="icons/obj16/Substitution.gif"
- smallIconPath="icons/obj16/Substitution.gif"
- createMethodName="createSubstitutionCreationTool"
- id="&quot;component.tool.substitution&quot;"
- genLinks="/0/@diagram/@links.3"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Interface Realization"
- description="Create an Interface Realization"
- largeIconPath="icons/obj16/InterfaceRealization.gif"
- smallIconPath="icons/obj16/InterfaceRealization.gif"
- createMethodName="createInterfaceRealizationCreationTool"
- id="&quot;component.tool.interfaceRealization&quot;"
- genLinks="/0/@diagram/@links.1"/>
- <entries
- xsi:type="gmfgen:ToolEntry"
- title="Component Realization"
- description="Create a Component Realization"
- largeIconPath="icons/obj16/ComponentRealization.gif"
- smallIconPath="icons/obj16/ComponentRealization.gif"
- createMethodName="createComponentRealizationCreationTool"
- id="&quot;component.tool.componentRealization&quot;"
- genLinks="/0/@diagram/@links.5"/>
- </groups>
- </palette>
- <preferencePages
- xsi:type="gmfgen:GenStandardPreferencePage"
- iD="org.eclipse.uml2.uml.diagram.general"
- name="UML Diagram">
- <children
- xsi:type="gmfgen:GenStandardPreferencePage"
- iD="org.eclipse.uml2.uml.diagram.appearance"
- name="Appearance"
- kind="Appearance"/>
- <children
- xsi:type="gmfgen:GenStandardPreferencePage"
- iD="org.eclipse.uml2.uml.diagram.connections"
- name="Connections"
- kind="Connections"/>
- <children
- xsi:type="gmfgen:GenStandardPreferencePage"
- iD="org.eclipse.uml2.uml.diagram.printing"
- name="Printing"
- kind="Printing"/>
- <children
- xsi:type="gmfgen:GenStandardPreferencePage"
- iD="org.eclipse.uml2.uml.diagram.rulersAndGrid"
- name="Rulers And Grid"
- kind="RulersAndGrid"/>
- </preferencePages>
- </diagram>
- <plugin
- iD="org.eclipse.papyrus.diagram.component"
- name="Papyrus Component Diagram (Incubation)"
- provider="Eclipse Modeling Project"
- version="0.7.2.qualifier">
- <requiredPlugins>org.eclipse.draw2d</requiredPlugins>
- <requiredPlugins>org.eclipse.gmf.runtime.draw2d.ui</requiredPlugins>
- </plugin>
- <editor
- iconPath="icons/obj16/ComponentDiagram.gif"/>
- <diagramUpdater/>
- <propertySheet>
- <tabs
- xsi:type="gmfgen:GenStandardPropertyTab"
- iD="appearance"/>
- <tabs
- xsi:type="gmfgen:GenStandardPropertyTab"
- iD="diagram"/>
- <tabs
- xsi:type="gmfgen:GenCustomPropertyTab"
- iD="domain"
- label="Core">
- <filter
- xsi:type="gmfgen:TypeTabFilter">
- <types>org.eclipse.gmf.runtime.notation.View</types>
- <types>org.eclipse.gef.EditPart</types>
- <generatedTypes>abstractNavigatorItem</generatedTypes>
- </filter>
- </tabs>
- </propertySheet>
- <domainGenModel
- href="../../../plugin/org.eclipse.uml2.uml/model/UML.genmodel#/"/>
- <expressionProviders>
- <providers
- xsi:type="gmfgen:GenExpressionInterpreter">
- <expressions
- body="let base : String = 'Component' in&#xD;&#xA;let suffixes : Sequence(String) = Sequence {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in &#xD;&#xA;let space : Namespace = self.namespace in&#xD;&#xA;let allMissed : Sequence(String) = suffixes->&#xD;&#xA; select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s))&#xD;&#xA; ) in&#xD;&#xA;let firstMissed : String = allMissed->first() in &#xD;&#xA;let noMisses : Boolean = firstMissed.oclIsUndefined() in&#xD;&#xA;let allNames : Set(String) = &#xD;&#xA; if noMisses &#xD;&#xA; then &#xD;&#xA; space.member->collect(e : NamedElement | &#xD;&#xA; if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) &lt;> base&#xD;&#xA; then '' &#xD;&#xA; else e.name &#xD;&#xA; endif)->asSet()->excluding('') else Set{'not in use'} &#xD;&#xA; endif in &#xD;&#xA;let longestName : String = &#xD;&#xA; if noMisses&#xD;&#xA; then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first() &#xD;&#xA; else 'not in use' &#xD;&#xA; endif in &#xD;&#xA;if noMisses then &#xD;&#xA; if longestName.oclIsUndefined() &#xD;&#xA; then base &#xD;&#xA; else longestName.concat('1') &#xD;&#xA; endif &#xD;&#xA;else &#xD;&#xA; base.concat(firstMissed) &#xD;&#xA;endif "/>
- <expressions
- body="let base : String = 'Port' in&#xD;&#xA;let suffixes : Sequence(String) = Sequence {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in &#xD;&#xA;let space : Namespace = self.namespace in&#xD;&#xA;let allMissed : Sequence(String) = suffixes->&#xD;&#xA; select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s))&#xD;&#xA; ) in&#xD;&#xA;let firstMissed : String = allMissed->first() in &#xD;&#xA;let noMisses : Boolean = firstMissed.oclIsUndefined() in&#xD;&#xA;let allNames : Set(String) = &#xD;&#xA; if noMisses &#xD;&#xA; then &#xD;&#xA; space.member->collect(e : NamedElement | &#xD;&#xA; if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) &lt;> base&#xD;&#xA; then '' &#xD;&#xA; else e.name &#xD;&#xA; endif)->asSet()->excluding('') else Set{'not in use'} &#xD;&#xA; endif in &#xD;&#xA;let longestName : String = &#xD;&#xA; if noMisses&#xD;&#xA; then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first() &#xD;&#xA; else 'not in use' &#xD;&#xA; endif in &#xD;&#xA;if noMisses then &#xD;&#xA; if longestName.oclIsUndefined() &#xD;&#xA; then base &#xD;&#xA; else longestName.concat('1') &#xD;&#xA; endif &#xD;&#xA;else &#xD;&#xA; base.concat(firstMissed) &#xD;&#xA;endif "/>
- <expressions
- body="let base : String = 'Interface' in&#xD;&#xA;let suffixes : Sequence(String) = Sequence {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in &#xD;&#xA;let space : Namespace = self.namespace in&#xD;&#xA;let allMissed : Sequence(String) = suffixes->&#xD;&#xA; select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s))&#xD;&#xA; ) in&#xD;&#xA;let firstMissed : String = allMissed->first() in &#xD;&#xA;let noMisses : Boolean = firstMissed.oclIsUndefined() in&#xD;&#xA;let allNames : Set(String) = &#xD;&#xA; if noMisses &#xD;&#xA; then &#xD;&#xA; space.member->collect(e : NamedElement | &#xD;&#xA; if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) &lt;> base&#xD;&#xA; then '' &#xD;&#xA; else e.name &#xD;&#xA; endif)->asSet()->excluding('') else Set{'not in use'} &#xD;&#xA; endif in &#xD;&#xA;let longestName : String = &#xD;&#xA; if noMisses&#xD;&#xA; then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first() &#xD;&#xA; else 'not in use' &#xD;&#xA; endif in &#xD;&#xA;if noMisses then &#xD;&#xA; if longestName.oclIsUndefined() &#xD;&#xA; then base &#xD;&#xA; else longestName.concat('1') &#xD;&#xA; endif &#xD;&#xA;else &#xD;&#xA; base.concat(firstMissed) &#xD;&#xA;endif "/>
- <expressions
- body="let base : String = 'Usage' in&#xD;&#xA;let suffixes : Sequence(String) = Sequence {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in &#xD;&#xA;let space : Namespace = self.namespace in&#xD;&#xA;let allMissed : Sequence(String) = suffixes->&#xD;&#xA; select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s))&#xD;&#xA; ) in&#xD;&#xA;let firstMissed : String = allMissed->first() in &#xD;&#xA;let noMisses : Boolean = firstMissed.oclIsUndefined() in&#xD;&#xA;let allNames : Set(String) = &#xD;&#xA; if noMisses &#xD;&#xA; then &#xD;&#xA; space.member->collect(e : NamedElement | &#xD;&#xA; if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) &lt;> base&#xD;&#xA; then '' &#xD;&#xA; else e.name &#xD;&#xA; endif)->asSet()->excluding('') else Set{'not in use'} &#xD;&#xA; endif in &#xD;&#xA;let longestName : String = &#xD;&#xA; if noMisses&#xD;&#xA; then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first() &#xD;&#xA; else 'not in use' &#xD;&#xA; endif in &#xD;&#xA;if noMisses then &#xD;&#xA; if longestName.oclIsUndefined() &#xD;&#xA; then base &#xD;&#xA; else longestName.concat('1') &#xD;&#xA; endif &#xD;&#xA;else &#xD;&#xA; base.concat(firstMissed) &#xD;&#xA;endif "/>
- <expressions
- body="let base : String = 'Realization' in&#xD;&#xA;let suffixes : Sequence(String) = Sequence {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in &#xD;&#xA;let space : Namespace = self.namespace in&#xD;&#xA;let allMissed : Sequence(String) = suffixes->&#xD;&#xA; select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s))&#xD;&#xA; ) in&#xD;&#xA;let firstMissed : String = allMissed->first() in &#xD;&#xA;let noMisses : Boolean = firstMissed.oclIsUndefined() in&#xD;&#xA;let allNames : Set(String) = &#xD;&#xA; if noMisses &#xD;&#xA; then &#xD;&#xA; space.member->collect(e : NamedElement | &#xD;&#xA; if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) &lt;> base&#xD;&#xA; then '' &#xD;&#xA; else e.name &#xD;&#xA; endif)->asSet()->excluding('') else Set{'not in use'} &#xD;&#xA; endif in &#xD;&#xA;let longestName : String = &#xD;&#xA; if noMisses&#xD;&#xA; then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first() &#xD;&#xA; else 'not in use' &#xD;&#xA; endif in &#xD;&#xA;if noMisses then &#xD;&#xA; if longestName.oclIsUndefined() &#xD;&#xA; then base &#xD;&#xA; else longestName.concat('1') &#xD;&#xA; endif &#xD;&#xA;else &#xD;&#xA; base.concat(firstMissed) &#xD;&#xA;endif "/>
- <expressions
- body="let base : String = 'Package' in&#xD;&#xA;let suffixes : Sequence(String) = Sequence {'', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10'} in &#xD;&#xA;let space : Namespace = self.namespace in&#xD;&#xA;let allMissed : Sequence(String) = suffixes->&#xD;&#xA; select(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s))&#xD;&#xA; ) in&#xD;&#xA;let firstMissed : String = allMissed->first() in &#xD;&#xA;let noMisses : Boolean = firstMissed.oclIsUndefined() in&#xD;&#xA;let allNames : Set(String) = &#xD;&#xA; if noMisses &#xD;&#xA; then &#xD;&#xA; space.member->collect(e : NamedElement | &#xD;&#xA; if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) &lt;> base&#xD;&#xA; then '' &#xD;&#xA; else e.name &#xD;&#xA; endif)->asSet()->excluding('') else Set{'not in use'} &#xD;&#xA; endif in &#xD;&#xA;let longestName : String = &#xD;&#xA; if noMisses&#xD;&#xA; then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first() &#xD;&#xA; else 'not in use' &#xD;&#xA; endif in &#xD;&#xA;if noMisses then &#xD;&#xA; if longestName.oclIsUndefined() &#xD;&#xA; then base &#xD;&#xA; else longestName.concat('1') &#xD;&#xA; endif &#xD;&#xA;else &#xD;&#xA; base.concat(firstMissed) &#xD;&#xA;endif "/>
- <expressions
- xsi:type="gmfgen:GenConstraint"
- body="self.oclIsKindOf(uml::Interface)"/>
- <expressions
- xsi:type="gmfgen:GenConstraint"
- body="self.oclIsKindOf(uml::Component) or self.oclIsKindOf(uml::Port)"/>
- <expressions
- body="self.name.concat('.file') "/>
- </providers>
- <providers
- xsi:type="gmfgen:GenJavaExpressionProvider"
- injectExpressionBody="true">
- <expressions
- body="return org.eclipse.papyrus.diagram.common.helper.NamedElementHelper.EINSTANCE.getNewUMLElementName(self.getOwner(), self.eClass());"/>
- <expressions
- body="// Constraint specification init&#xD;&#xA;org.eclipse.uml2.uml.LiteralString value = org.eclipse.uml2.uml.UMLFactory.eINSTANCE.createLiteralString();&#xD;&#xA;value.setValue(&quot;&quot;);&#xD;&#xA;return value;"/>
- <expressions
- body="// Comment body init&#xD;&#xA;return &quot;&quot;;"/>
- <expressions
- xsi:type="gmfgen:GenConstraint"
- body="// Creation constraint for TopLevelNodes&#xD;&#xA;&#x9;if(! (getElementToEdit() instanceof org.eclipse.uml2.uml.Package)) {&#xD;&#xA;&#x9;&#x9;return false;&#xD;&#xA;&#x9;}&#xD;&#xA;&#xD;&#xA;&#x9;return true;"/>
- </providers>
- <providers
- xsi:type="gmfgen:GenLiteralExpressionProvider">
- <expressions
- body="org.eclipse.uml2.uml.AggregationKind.COMPOSITE_LITERAL"/>
- </providers>
- </expressionProviders>
- <labelParsers
- extensibleViaService="true">
- <implementations
- xsi:type="gmfgen:PredefinedParser"
- uses="/0/@diagram/@childNodes.0/@labels.0/@modelFacet /0/@diagram/@topLevelNodes.0/@labels.0/@modelFacet /0/@diagram/@topLevelNodes.1/@labels.0/@modelFacet /0/@diagram/@links.4/@labels.0/@modelFacet /0/@diagram/@topLevelNodes.2/@labels.0/@modelFacet /0/@diagram/@topLevelNodes.4/@labels.0/@modelFacet /0/@diagram/@childNodes.1/@labels.0/@modelFacet /0/@diagram/@childNodes.2/@labels.0/@modelFacet /0/@diagram/@childNodes.3/@labels.0/@modelFacet /0/@diagram/@childNodes.5/@labels.0/@modelFacet /0/@diagram/@links.6/@labels.0/@modelFacet /0/@diagram/@links.3/@labels.0/@modelFacet /0/@diagram/@links.5/@labels.0/@modelFacet /0/@diagram/@links.10/@labels.0/@modelFacet"/>
- <implementations
- xsi:type="gmfgen:CustomParser"
- uses="/0/@diagram/@topLevelNodes.3/@labels.0/@modelFacet /0/@diagram/@childNodes.4/@labels.0/@modelFacet"
- qualifiedName="org.eclipse.papyrus.diagram.common.parser.CommentParser"/>
- <implementations
- xsi:type="gmfgen:CustomParser"
- uses="/0/@diagram/@links.2/@labels.0/@modelFacet /0/@diagram/@links.4/@labels.1/@modelFacet /0/@diagram/@links.6/@labels.1/@modelFacet /0/@diagram/@links.3/@labels.1/@modelFacet /0/@diagram/@links.5/@labels.1/@modelFacet /0/@diagram/@links.10/@labels.1/@modelFacet /0/@diagram/@childNodes.0/@labels.1/@modelFacet"
- qualifiedName="org.eclipse.papyrus.diagram.common.parser.stereotype.AppliedStereotypeParser"/>
- <implementations
- xsi:type="gmfgen:CustomParser"
- uses="/0/@diagram/@topLevelNodes.4/@labels.1/@modelFacet /0/@diagram/@childNodes.5/@labels.1/@modelFacet"
- qualifiedName="org.eclipse.papyrus.diagram.common.parser.ConstraintParser"/>
- </labelParsers>
- <contextMenus
- context="/0/@diagram">
- <items
- xsi:type="gmfgen:LoadResourceAction"/>
- </contextMenus>
- </gmfgen:GenEditorGenerator>
- <papyrusgmfgenextension:PapyrusExtensionRootNode
- comment="Papyrus specific extension for GMFGen">
- <extensionNodes
- xsi:type="papyrusgmfgenextension:ExtendedGenView"
- comment="Manage named element figure relying on Affixed Node"
- genView="/0/@diagram/@childNodes.0"
- name="EP_NamedElement_AFF_NODE"
- superOwnedEditPart="org.eclipse.papyrus.diagram.common.editparts.AbstractBorderEditPart"/>
- <extensionNodes
- xsi:type="papyrusgmfgenextension:ExtendedGenView"
- comment="Manages stereotype shown with External Label"
- genView="/0/@diagram/@links.4/@labels.1"
- name="EP_Stereotypes_EXT_NODE"
- superOwnedEditPart="org.eclipse.papyrus.diagram.common.editparts.AbstractLabelEditPart"/>
- <extensionNodes
- xsi:type="papyrusgmfgenextension:ExtendedGenView"
- comment="Add super class to a Comment edit parts"
- genView="/0/@diagram/@childNodes.4 /0/@diagram/@topLevelNodes.3"
- name="EP_Comment_NODE"
- superOwnedEditPart="org.eclipse.papyrus.diagram.common.editparts.AbstractCommentEditPart"/>
- <extensionNodes
- xsi:type="papyrusgmfgenextension:ExtendedGenView"
- comment="Add super class to a Constraint edit parts"
- genView="/0/@diagram/@childNodes.5 /0/@diagram/@topLevelNodes.4"
- name="EP_Constraint_NODE"
- superOwnedEditPart="org.eclipse.papyrus.diagram.common.editparts.AbstractConstraintEditPart"/>
- <extensionNodes
- xsi:type="papyrusgmfgenextension:SpecificLocator"
- comment="Affixed Port locator"
- classpath="org.eclipse.papyrus.diagram.component.custom.locators.PortPositionLocator"
- genChildSideAffixedNode="/0/@diagram/@childNodes.0"/>
- <extensionNodes
- xsi:type="papyrusgmfgenextension:SpecificLocatorExternalLabel"
- comment="External node label locator"
- classpath="org.eclipse.papyrus.diagram.common.locator.ExternalLabelPositionLocator"
- genExternalNodeLabel="/0/@diagram/@topLevelNodes.1/@labels.0 /0/@diagram/@childNodes.3/@labels.0 /0/@diagram/@childNodes.0/@labels.0"/>
- <extensionNodes
- xsi:type="papyrusgmfgenextension:GenNodeConstraint"
- comment="Creation constraint for TopLevelNode in virtual canvas"
- genNode="/0/@diagram/@topLevelNodes.0 /0/@diagram/@topLevelNodes.1 /0/@diagram/@topLevelNodes.2 /0/@diagram/@topLevelNodes.3 /0/@diagram/@topLevelNodes.4"
- genConstraint="/0/@expressionProviders/@providers.1/@expressions.3"/>
- <extensionNodes
- xsi:type="papyrusgmfgenextension:AdditionalEditPartCandies"
- comment="Indicate specific BaseEditHelper in place of generated EditHelper"
- baseEditHelperPackage="org.eclipse.papyrus.diagram.common.helper"/>
- <extensionNodes
- xsi:type="papyrusgmfgenextension:EditPartUsingDeleteService"
- comment="The delete service is used on every TopNode Childnode and Link"
- name="Every TopNode ChildNode Link"
- genView="/0/@diagram/@childNodes.0 /0/@diagram/@childNodes.1 /0/@diagram/@childNodes.2 /0/@diagram/@childNodes.3 /0/@diagram/@childNodes.4 /0/@diagram/@childNodes.5 /0/@diagram/@topLevelNodes.0 /0/@diagram/@topLevelNodes.1 /0/@diagram/@topLevelNodes.2 /0/@diagram/@topLevelNodes.3 /0/@diagram/@topLevelNodes.4 /0/@diagram/@links.0 /0/@diagram/@links.1 /0/@diagram/@links.2 /0/@diagram/@links.4 /0/@diagram/@links.6 /0/@diagram/@links.5 /0/@diagram/@links.8"/>
- <extensionNodes
- xsi:type="papyrusgmfgenextension:EditPartUsingReorientService"
- comment="Use the edit service for reorient command (All DirectedRelationship)"
- name="DirectedRelationship"
- genView="/0/@diagram/@links.2 /0/@diagram/@links.0 /0/@diagram/@links.1 /0/@diagram/@links.3 /0/@diagram/@links.4 /0/@diagram/@links.5 /0/@diagram/@links.6 /0/@diagram/@links.10"/>
- </papyrusgmfgenextension:PapyrusExtensionRootNode>
-</xmi:XMI>
diff --git a/incoming/org.eclipse.papyrus.diagram.component/plugin.properties b/incoming/org.eclipse.papyrus.diagram.component/plugin.properties
deleted file mode 100644
index b04aa97b9a7..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/plugin.properties
+++ /dev/null
@@ -1,1110 +0,0 @@
-pluginName=Papyrus Component Diagram (Incubation)
-providerName=Eclipse Modeling Project
-_UI_CreateChild_text = {0}
-_UI_CreateChild_text2 = {1} {0}
-_UI_CreateChild_text3 = {1}
-_UI_CreateChild_tooltip = Create New {0} Under {1} Feature
-_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}.
-_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.
- _UI_PropertyDescriptor_description = The {0} of the {1}
- _UI_Connexion_type = Connexion
-_UI_Eclipse_type = Eclipse
-_UI_Rectangle_type = Rectangle
-_UI_Forme_type = Forme
-_UI_FormesDiagram_type = Formes Diagram
-_UI_Unknown_type = Object
- _UI_Unknown_datatype= Value
- _UI_Connexion_source_feature = Source
-_UI_Connexion_destination_feature = Destination
-_UI_Connexion_label_feature = Label
-_UI_Forme_sourceConnexions_feature = Source Connexions
-_UI_Forme_destConnexions_feature = Dest Connexions
-_UI_Forme_nom_feature = Nom
-_UI_FormesDiagram_formes_feature = Formes
-_UI_Unknown_feature = Unspecified
-
-_UI_MyDiagramEditor_menu = &MyDiagram Editor
- _UI_CreateChild_menu_item = &New Child
-_UI_CreateSibling_menu_item = N&ew Sibling
- _UI_ShowPropertiesView_menu_item = Show &Properties View
-_UI_RefreshViewer_menu_item = &Refresh
- _UI_SelectionPage_label = Selection
-_UI_ParentPage_label = Parent
-_UI_ListPage_label = List
-_UI_TreePage_label = Tree
-_UI_TablePage_label = Table
-_UI_TreeWithColumnsPage_label = Tree with Columns
-_UI_ObjectColumn_label = Object
-_UI_SelfColumn_label = Self
- _UI_NoObjectSelected = Selected Nothing
-_UI_SingleObjectSelected = Selected Object: {0}
-_UI_MultiObjectSelected = Selected {0} Objects
- _UI_OpenEditorError_label = Open Editor
- _UI_Wizard_category = Example EMF Model Creation Wizards
- _UI_CreateModelError_message = Problems encountered in file "{0}"
- _UI_MyDiagramModelWizard_label = MyDiagram Model
-_UI_MyDiagramModelWizard_description = Create a new MyDiagram model
- _UI_MyDiagramEditor_label = MyDiagram Model Editor
- _UI_MyDiagramEditorFilenameDefaultBase = My
-_UI_MyDiagramEditorFilenameExtensions = mydiagram
- _UI_Wizard_label = New
- _WARN_FilenameExtension = The file name must end in ''.{0}''
-_WARN_FilenameExtensions = The file name must have one of the following extensions: {0}
- _UI_ModelObject = &Model Object
-_UI_XMLEncoding = &XML Encoding
-_UI_XMLEncodingChoices = UTF-8 ASCII UTF-16 UTF-16BE UTF-16LE ISO-8859-1
-_UI_Wizard_initial_object_description = Select a model object to create
- _UI_FileConflict_label = File Conflict
-_WARN_FileConflict = There are unsaved changes that conflict with changes made outside the editor. Do you wish to discard this editor's changes?
-
-editorName=ComponentDiagram Diagram Editing
-context.description=ComponentDiagram Diagram Editing
-context.name=In ComponentDiagram Diagram Editor
-newWizardName=ComponentDiagram Diagram
-newWizardDesc=Creates ComponentDiagram diagram.
- initDiagramActionLabel=Initialize mydiagram_diagram diagram file
- navigatorContentName=*.mydiagram_diagram diagram contents
-domainNavigatorContentName=*.mydiagram model contents
-update.diagram.name=Update ComponentDiagram diagram
-update.diagram.description=Perform ComponentDiagram diagram update
- tab.appearance=Appearance
-tab.diagram=Rulers & Grid
-tab.domain=Core
- prefpage.org.eclipse.papyrus.diagram.component.diagram.general=ComponentDiagram Diagram
-prefpage.org.eclipse.papyrus.diagram.component.diagram.appearance=Appearance
-prefpage.org.eclipse.papyrus.diagram.component.diagram.connections=Connections
-prefpage.org.eclipse.papyrus.diagram.component.diagram.printing=Printing
-prefpage.org.eclipse.papyrus.diagram.component.diagram.rulersAndGrid=Rulers And Grid
- metatype.name.FormesDiagram_1000=Undefined
-metatype.name.Rectangle_2001=Rectangle
-metatype.name.Eclipse_2002=Eclipse
-metatype.name.Connexion_4001=Connexion
-metatype.name.FormeDestConnexions_4002=Undefined
- cmdcategory.name=ComponentDiagram Editor Commands
-cmdcategory.desc=ComponentDiagram Editor Commands
-
-_UI_org.eclipse.papyrus.diagram.componentEditor_menu = &org.eclipse.papyrus.diagram.component Editor
- _UI_org.eclipse.papyrus.diagram.componentModelWizard_label = org.eclipse.papyrus.diagram.component Model
-_UI_org.eclipse.papyrus.diagram.componentModelWizard_description = Create a new org.eclipse.papyrus.diagram.component model
- _UI_org.eclipse.papyrus.diagram.componentEditor_label = org.eclipse.papyrus.diagram.component Model Editor
- _UI_org.eclipse.papyrus.diagram.componentEditorFilenameDefaultBase = My
-_UI_org.eclipse.papyrus.diagram.componentEditorFilenameExtensions = org.eclipse.papyrus.diagram.component
-
-prefpage.org.eclipse.uml2.uml.diagram.general=UML Diagram
-prefpage.org.eclipse.uml2.uml.diagram.appearance=Appearance
-prefpage.org.eclipse.uml2.uml.diagram.connections=Connections
-prefpage.org.eclipse.uml2.uml.diagram.printing=Printing
-prefpage.org.eclipse.uml2.uml.diagram.rulersAndGrid=Rulers And Grid
- metatype.name.Package_1000=Undefined
-metatype.name.Component_2001=Component
-metatype.name.Usage_4001=Usage
-
-_UI_UML_content_type = UML File
-_UI_Comment_type = Comment
-_UI_Element_type = Element
-_UI_Package_type = Package
-_UI_PackageableElement_type = Packageable Element
-_UI_NamedElement_type = Named Element
-_UI_Dependency_type = Dependency
-_UI_DirectedRelationship_type = Directed Relationship
-_UI_Relationship_type = Relationship
-_UI_Namespace_type = Namespace
-_UI_ElementImport_type = Element Import
-_UI_PackageImport_type = Package Import
-_UI_Constraint_type = Constraint
-_UI_ValueSpecification_type = Value Specification
-_UI_TypedElement_type = Typed Element
-_UI_Type_type = Type
-_UI_Association_type = Association
-_UI_Classifier_type = Classifier
-_UI_RedefinableElement_type = Redefinable Element
-_UI_TemplateableElement_type = Templateable Element
-_UI_TemplateBinding_type = Template Binding
-_UI_TemplateSignature_type = Template Signature
-_UI_TemplateParameter_type = Template Parameter
-_UI_ParameterableElement_type = Parameterable Element
-_UI_TemplateParameterSubstitution_type = Template Parameter Substitution
-_UI_Generalization_type = Generalization
-_UI_GeneralizationSet_type = Generalization Set
-_UI_Feature_type = Feature
-_UI_Substitution_type = Substitution
-_UI_Realization_type = Realization
-_UI_Abstraction_type = Abstraction
-_UI_OpaqueExpression_type = Opaque Expression
-_UI_Parameter_type = Parameter
-_UI_MultiplicityElement_type = Multiplicity Element
-_UI_ConnectableElement_type = Connectable Element
-_UI_ConnectorEnd_type = Connector End
-_UI_Property_type = Property
-_UI_DeploymentTarget_type = Deployment Target
-_UI_Deployment_type = Deployment
-_UI_DeployedArtifact_type = Deployed Artifact
-_UI_DeploymentSpecification_type = Deployment Specification
-_UI_Artifact_type = Artifact
-_UI_Manifestation_type = Manifestation
-_UI_Operation_type = Operation
-_UI_BehavioralFeature_type = Behavioral Feature
-_UI_Behavior_type = Behavior
-_UI_Class_type = Class
-_UI_BehavioredClassifier_type = Behaviored Classifier
-_UI_InterfaceRealization_type = Interface Realization
-_UI_Interface_type = Interface
-_UI_Reception_type = Reception
-_UI_Signal_type = Signal
-_UI_ProtocolStateMachine_type = Protocol State Machine
-_UI_StateMachine_type = State Machine
-_UI_Region_type = Region
-_UI_Vertex_type = Vertex
-_UI_Transition_type = Transition
-_UI_Trigger_type = Trigger
-_UI_Event_type = Event
-_UI_Port_type = Port
-_UI_State_type = State
-_UI_ConnectionPointReference_type = Connection Point Reference
-_UI_Pseudostate_type = Pseudostate
-_UI_ProtocolConformance_type = Protocol Conformance
-_UI_EncapsulatedClassifier_type = Encapsulated Classifier
-_UI_StructuredClassifier_type = Structured Classifier
-_UI_Connector_type = Connector
-_UI_Extension_type = Extension
-_UI_ExtensionEnd_type = Extension End
-_UI_Stereotype_type = Stereotype
-_UI_Image_type = Image
-_UI_Profile_type = Profile
-_UI_Model_type = Model
-_UI_ParameterSet_type = Parameter Set
-_UI_DataType_type = Data Type
-_UI_OperationTemplateParameter_type = Operation Template Parameter
-_UI_StructuralFeature_type = Structural Feature
-_UI_ConnectableElementTemplateParameter_type = Connectable Element Template Parameter
-_UI_CollaborationUse_type = Collaboration Use
-_UI_Collaboration_type = Collaboration
-_UI_UseCase_type = Use Case
-_UI_Include_type = Include
-_UI_Extend_type = Extend
-_UI_ExtensionPoint_type = Extension Point
-_UI_RedefinableTemplateSignature_type = Redefinable Template Signature
-_UI_ClassifierTemplateParameter_type = Classifier Template Parameter
-_UI_StringExpression_type = String Expression
-_UI_Expression_type = Expression
-_UI_Usage_type = Usage
-_UI_PackageMerge_type = Package Merge
-_UI_ProfileApplication_type = Profile Application
-_UI_Enumeration_type = Enumeration
-_UI_EnumerationLiteral_type = Enumeration Literal
-_UI_InstanceSpecification_type = Instance Specification
-_UI_Slot_type = Slot
-_UI_PrimitiveType_type = Primitive Type
-_UI_LiteralSpecification_type = Literal Specification
-_UI_LiteralInteger_type = Literal Integer
-_UI_LiteralString_type = Literal String
-_UI_LiteralBoolean_type = Literal Boolean
-_UI_LiteralNull_type = Literal Null
-_UI_InstanceValue_type = Instance Value
-_UI_LiteralUnlimitedNatural_type = Literal Unlimited Natural
-_UI_OpaqueBehavior_type = Opaque Behavior
-_UI_FunctionBehavior_type = Function Behavior
-_UI_OpaqueAction_type = Opaque Action
-_UI_Action_type = Action
-_UI_ExecutableNode_type = Executable Node
-_UI_ActivityNode_type = Activity Node
-_UI_StructuredActivityNode_type = Structured Activity Node
-_UI_ActivityGroup_type = Activity Group
-_UI_Activity_type = Activity
-_UI_Variable_type = Variable
-_UI_ActivityEdge_type = Activity Edge
-_UI_ActivityPartition_type = Activity Partition
-_UI_InterruptibleActivityRegion_type = Interruptible Activity Region
-_UI_ExceptionHandler_type = Exception Handler
-_UI_ObjectNode_type = Object Node
-_UI_OutputPin_type = Output Pin
-_UI_Pin_type = Pin
-_UI_InputPin_type = Input Pin
-_UI_CallAction_type = Call Action
-_UI_InvocationAction_type = Invocation Action
-_UI_SendSignalAction_type = Send Signal Action
-_UI_CallOperationAction_type = Call Operation Action
-_UI_CallBehaviorAction_type = Call Behavior Action
-_UI_SequenceNode_type = Sequence Node
-_UI_ControlNode_type = Control Node
-_UI_ControlFlow_type = Control Flow
-_UI_InitialNode_type = Initial Node
-_UI_ActivityParameterNode_type = Activity Parameter Node
-_UI_ValuePin_type = Value Pin
-_UI_Message_type = Message
-_UI_MessageEnd_type = Message End
-_UI_Interaction_type = Interaction
-_UI_InteractionFragment_type = Interaction Fragment
-_UI_Lifeline_type = Lifeline
-_UI_PartDecomposition_type = Part Decomposition
-_UI_InteractionUse_type = Interaction Use
-_UI_Gate_type = Gate
-_UI_GeneralOrdering_type = General Ordering
-_UI_OccurrenceSpecification_type = Occurrence Specification
-_UI_InteractionOperand_type = Interaction Operand
-_UI_InteractionConstraint_type = Interaction Constraint
-_UI_ExecutionSpecification_type = Execution Specification
-_UI_StateInvariant_type = State Invariant
-_UI_ActionExecutionSpecification_type = Action Execution Specification
-_UI_BehaviorExecutionSpecification_type = Behavior Execution Specification
-_UI_ExecutionEvent_type = Execution Event
-_UI_CreationEvent_type = Creation Event
-_UI_DestructionEvent_type = Destruction Event
-_UI_SendOperationEvent_type = Send Operation Event
-_UI_MessageEvent_type = Message Event
-_UI_SendSignalEvent_type = Send Signal Event
-_UI_MessageOccurrenceSpecification_type = Message Occurrence Specification
-_UI_ExecutionOccurrenceSpecification_type = Execution Occurrence Specification
-_UI_ReceiveOperationEvent_type = Receive Operation Event
-_UI_ReceiveSignalEvent_type = Receive Signal Event
-_UI_Actor_type = Actor
-_UI_CallEvent_type = Call Event
-_UI_ChangeEvent_type = Change Event
-_UI_SignalEvent_type = Signal Event
-_UI_AnyReceiveEvent_type = Any Receive Event
-_UI_ForkNode_type = Fork Node
-_UI_FlowFinalNode_type = Flow Final Node
-_UI_FinalNode_type = Final Node
-_UI_CentralBufferNode_type = Central Buffer Node
-_UI_MergeNode_type = Merge Node
-_UI_DecisionNode_type = Decision Node
-_UI_ObjectFlow_type = Object Flow
-_UI_ActivityFinalNode_type = Activity Final Node
-_UI_ComponentRealization_type = Component Realization
-_UI_Component_type = Component
-_UI_Node_type = Node
-_UI_CommunicationPath_type = Communication Path
-_UI_Device_type = Device
-_UI_ExecutionEnvironment_type = Execution Environment
-_UI_CombinedFragment_type = Combined Fragment
-_UI_Continuation_type = Continuation
-_UI_ConsiderIgnoreFragment_type = Consider Ignore Fragment
-_UI_CreateObjectAction_type = Create Object Action
-_UI_DestroyObjectAction_type = Destroy Object Action
-_UI_TestIdentityAction_type = Test Identity Action
-_UI_ReadSelfAction_type = Read Self Action
-_UI_StructuralFeatureAction_type = Structural Feature Action
-_UI_ReadStructuralFeatureAction_type = Read Structural Feature Action
-_UI_WriteStructuralFeatureAction_type = Write Structural Feature Action
-_UI_ClearStructuralFeatureAction_type = Clear Structural Feature Action
-_UI_RemoveStructuralFeatureValueAction_type = Remove Structural Feature Value Action
-_UI_AddStructuralFeatureValueAction_type = Add Structural Feature Value Action
-_UI_LinkAction_type = Link Action
-_UI_LinkEndData_type = Link End Data
-_UI_QualifierValue_type = Qualifier Value
-_UI_ReadLinkAction_type = Read Link Action
-_UI_LinkEndCreationData_type = Link End Creation Data
-_UI_CreateLinkAction_type = Create Link Action
-_UI_WriteLinkAction_type = Write Link Action
-_UI_DestroyLinkAction_type = Destroy Link Action
-_UI_LinkEndDestructionData_type = Link End Destruction Data
-_UI_ClearAssociationAction_type = Clear Association Action
-_UI_BroadcastSignalAction_type = Broadcast Signal Action
-_UI_SendObjectAction_type = Send Object Action
-_UI_ValueSpecificationAction_type = Value Specification Action
-_UI_TimeExpression_type = Time Expression
-_UI_Observation_type = Observation
-_UI_Duration_type = Duration
-_UI_DurationInterval_type = Duration Interval
-_UI_Interval_type = Interval
-_UI_TimeConstraint_type = Time Constraint
-_UI_IntervalConstraint_type = Interval Constraint
-_UI_TimeInterval_type = Time Interval
-_UI_DurationConstraint_type = Duration Constraint
-_UI_TimeObservation_type = Time Observation
-_UI_DurationObservation_type = Duration Observation
-_UI_FinalState_type = Final State
-_UI_TimeEvent_type = Time Event
-_UI_VariableAction_type = Variable Action
-_UI_ReadVariableAction_type = Read Variable Action
-_UI_WriteVariableAction_type = Write Variable Action
-_UI_ClearVariableAction_type = Clear Variable Action
-_UI_AddVariableValueAction_type = Add Variable Value Action
-_UI_RemoveVariableValueAction_type = Remove Variable Value Action
-_UI_RaiseExceptionAction_type = Raise Exception Action
-_UI_ActionInputPin_type = Action Input Pin
-_UI_InformationItem_type = Information Item
-_UI_InformationFlow_type = Information Flow
-_UI_ReadExtentAction_type = Read Extent Action
-_UI_ReclassifyObjectAction_type = Reclassify Object Action
-_UI_ReadIsClassifiedObjectAction_type = Read Is Classified Object Action
-_UI_StartClassifierBehaviorAction_type = Start Classifier Behavior Action
-_UI_ReadLinkObjectEndAction_type = Read Link Object End Action
-_UI_ReadLinkObjectEndQualifierAction_type = Read Link Object End Qualifier Action
-_UI_CreateLinkObjectAction_type = Create Link Object Action
-_UI_AcceptEventAction_type = Accept Event Action
-_UI_AcceptCallAction_type = Accept Call Action
-_UI_ReplyAction_type = Reply Action
-_UI_UnmarshallAction_type = Unmarshall Action
-_UI_ReduceAction_type = Reduce Action
-_UI_StartObjectBehaviorAction_type = Start Object Behavior Action
-_UI_JoinNode_type = Join Node
-_UI_DataStoreNode_type = Data Store Node
-_UI_ConditionalNode_type = Conditional Node
-_UI_Clause_type = Clause
-_UI_LoopNode_type = Loop Node
-_UI_ExpansionNode_type = Expansion Node
-_UI_ExpansionRegion_type = Expansion Region
-_UI_ProtocolTransition_type = Protocol Transition
-_UI_AssociationClass_type = Association Class
-_UI_Comment_body_feature = Body
-_UI_Comment_annotatedElement_feature = Annotated Element
-_UI_Element_ownedElement_feature = Owned Element
-_UI_Element_owner_feature = Owner
-_UI_Element_ownedComment_feature = Owned Comment
-_UI_Package_ownedType_feature = Owned Type
-_UI_Package_packageMerge_feature = Package Merge
-_UI_Package_packagedElement_feature = Packaged Element
-_UI_Package_nestedPackage_feature = Nested Package
-_UI_Package_nestingPackage_feature = Nesting Package
-_UI_Package_profileApplication_feature = Profile Application
-_UI_NamedElement_name_feature = Name
-_UI_NamedElement_visibility_feature = Visibility
-_UI_NamedElement_qualifiedName_feature = Qualified Name
-_UI_NamedElement_clientDependency_feature = Client Dependency
-_UI_NamedElement_namespace_feature = Namespace
-_UI_NamedElement_nameExpression_feature = Name Expression
-_UI_Dependency_supplier_feature = Supplier
-_UI_Dependency_client_feature = Client
-_UI_DirectedRelationship_source_feature = Source
-_UI_DirectedRelationship_target_feature = Target
-_UI_Relationship_relatedElement_feature = Related Element
-_UI_Namespace_elementImport_feature = Element Import
-_UI_Namespace_packageImport_feature = Package Import
-_UI_Namespace_ownedRule_feature = Owned Rule
-_UI_Namespace_member_feature = Member
-_UI_Namespace_importedMember_feature = Imported Member
-_UI_Namespace_ownedMember_feature = Owned Member
-_UI_ElementImport_visibility_feature = Visibility
-_UI_ElementImport_alias_feature = Alias
-_UI_ElementImport_importedElement_feature = Imported Element
-_UI_ElementImport_importingNamespace_feature = Importing Namespace
-_UI_PackageImport_visibility_feature = Visibility
-_UI_PackageImport_importedPackage_feature = Imported Package
-_UI_PackageImport_importingNamespace_feature = Importing Namespace
-_UI_Constraint_constrainedElement_feature = Constrained Element
-_UI_Constraint_specification_feature = Specification
-_UI_Constraint_context_feature = Context
-_UI_TypedElement_type_feature = Type
-_UI_Type_package_feature = Package
-_UI_Association_ownedEnd_feature = Owned End
-_UI_Association_memberEnd_feature = Member End
-_UI_Association_isDerived_feature = Is Derived
-_UI_Association_endType_feature = End Type
-_UI_Association_navigableOwnedEnd_feature = Navigable Owned End
-_UI_Classifier_isAbstract_feature = Is Abstract
-_UI_Classifier_generalization_feature = Generalization
-_UI_Classifier_powertypeExtent_feature = Powertype Extent
-_UI_Classifier_feature_feature = Feature
-_UI_Classifier_inheritedMember_feature = Inherited Member
-_UI_Classifier_redefinedClassifier_feature = Redefined Classifier
-_UI_Classifier_general_feature = General
-_UI_Classifier_substitution_feature = Substitution
-_UI_Classifier_attribute_feature = Attribute
-_UI_Classifier_representation_feature = Representation
-_UI_Classifier_collaborationUse_feature = Collaboration Use
-_UI_Classifier_ownedUseCase_feature = Owned Use Case
-_UI_Classifier_useCase_feature = Use Case
-_UI_RedefinableElement_isLeaf_feature = Is Leaf
-_UI_RedefinableElement_redefinedElement_feature = Redefined Element
-_UI_RedefinableElement_redefinitionContext_feature = Redefinition Context
-_UI_TemplateableElement_templateBinding_feature = Template Binding
-_UI_TemplateableElement_ownedTemplateSignature_feature = Owned Template Signature
-_UI_TemplateBinding_signature_feature = Signature
-_UI_TemplateBinding_parameterSubstitution_feature = Parameter Substitution
-_UI_TemplateBinding_boundElement_feature = Bound Element
-_UI_TemplateSignature_parameter_feature = Parameter
-_UI_TemplateSignature_ownedParameter_feature = Owned Parameter
-_UI_TemplateSignature_template_feature = Template
-_UI_TemplateParameter_signature_feature = Signature
-_UI_TemplateParameter_parameteredElement_feature = Parametered Element
-_UI_TemplateParameter_ownedParameteredElement_feature = Owned Parametered Element
-_UI_TemplateParameter_default_feature = Default
-_UI_TemplateParameter_ownedDefault_feature = Owned Default
-_UI_ParameterableElement_owningTemplateParameter_feature = Owning Template Parameter
-_UI_ParameterableElement_templateParameter_feature = Template Parameter
-_UI_TemplateParameterSubstitution_formal_feature = Formal
-_UI_TemplateParameterSubstitution_actual_feature = Actual
-_UI_TemplateParameterSubstitution_ownedActual_feature = Owned Actual
-_UI_TemplateParameterSubstitution_templateBinding_feature = Template Binding
-_UI_Generalization_isSubstitutable_feature = Is Substitutable
-_UI_Generalization_general_feature = General
-_UI_Generalization_generalizationSet_feature = Generalization Set
-_UI_Generalization_specific_feature = Specific
-_UI_GeneralizationSet_isCovering_feature = Is Covering
-_UI_GeneralizationSet_isDisjoint_feature = Is Disjoint
-_UI_GeneralizationSet_powertype_feature = Powertype
-_UI_GeneralizationSet_generalization_feature = Generalization
-_UI_Feature_isStatic_feature = Is Static
-_UI_Feature_featuringClassifier_feature = Featuring Classifier
-_UI_Substitution_contract_feature = Contract
-_UI_Substitution_substitutingClassifier_feature = Substituting Classifier
-_UI_Abstraction_mapping_feature = Mapping
-_UI_OpaqueExpression_body_feature = Body
-_UI_OpaqueExpression_language_feature = Language
-_UI_OpaqueExpression_result_feature = Result
-_UI_OpaqueExpression_behavior_feature = Behavior
-_UI_Parameter_parameterSet_feature = Parameter Set
-_UI_Parameter_operation_feature = Operation
-_UI_Parameter_direction_feature = Direction
-_UI_Parameter_default_feature = Default
-_UI_Parameter_defaultValue_feature = Default Value
-_UI_Parameter_isException_feature = Is Exception
-_UI_Parameter_isStream_feature = Is Stream
-_UI_Parameter_effect_feature = Effect
-_UI_MultiplicityElement_isOrdered_feature = Is Ordered
-_UI_MultiplicityElement_isUnique_feature = Is Unique
-_UI_MultiplicityElement_upper_feature = Upper
-_UI_MultiplicityElement_lower_feature = Lower
-_UI_MultiplicityElement_upperValue_feature = Upper Value
-_UI_MultiplicityElement_lowerValue_feature = Lower Value
-_UI_ConnectableElement_end_feature = End
-_UI_ConnectorEnd_definingEnd_feature = Defining End
-_UI_ConnectorEnd_role_feature = Role
-_UI_ConnectorEnd_partWithPort_feature = Part With Port
-_UI_Property_class_feature = Class
-_UI_Property_datatype_feature = Datatype
-_UI_Property_isDerived_feature = Is Derived
-_UI_Property_isDerivedUnion_feature = Is Derived Union
-_UI_Property_default_feature = Default
-_UI_Property_aggregation_feature = Aggregation
-_UI_Property_isComposite_feature = Is Composite
-_UI_Property_redefinedProperty_feature = Redefined Property
-_UI_Property_owningAssociation_feature = Owning Association
-_UI_Property_defaultValue_feature = Default Value
-_UI_Property_opposite_feature = Opposite
-_UI_Property_subsettedProperty_feature = Subsetted Property
-_UI_Property_association_feature = Association
-_UI_Property_qualifier_feature = Qualifier
-_UI_Property_associationEnd_feature = Association End
-_UI_DeploymentTarget_deployment_feature = Deployment
-_UI_DeploymentTarget_deployedElement_feature = Deployed Element
-_UI_Deployment_deployedArtifact_feature = Deployed Artifact
-_UI_Deployment_configuration_feature = Configuration
-_UI_Deployment_location_feature = Location
-_UI_DeploymentSpecification_deploymentLocation_feature = Deployment Location
-_UI_DeploymentSpecification_executionLocation_feature = Execution Location
-_UI_DeploymentSpecification_deployment_feature = Deployment
-_UI_Artifact_fileName_feature = File Name
-_UI_Artifact_nestedArtifact_feature = Nested Artifact
-_UI_Artifact_manifestation_feature = Manifestation
-_UI_Artifact_ownedOperation_feature = Owned Operation
-_UI_Artifact_ownedAttribute_feature = Owned Attribute
-_UI_Manifestation_utilizedElement_feature = Utilized Element
-_UI_Operation_interface_feature = Interface
-_UI_Operation_class_feature = Class
-_UI_Operation_isQuery_feature = Is Query
-_UI_Operation_isOrdered_feature = Is Ordered
-_UI_Operation_isUnique_feature = Is Unique
-_UI_Operation_lower_feature = Lower
-_UI_Operation_upper_feature = Upper
-_UI_Operation_precondition_feature = Precondition
-_UI_Operation_postcondition_feature = Postcondition
-_UI_Operation_redefinedOperation_feature = Redefined Operation
-_UI_Operation_datatype_feature = Datatype
-_UI_Operation_bodyCondition_feature = Body Condition
-_UI_Operation_type_feature = Type
-_UI_BehavioralFeature_ownedParameter_feature = Owned Parameter
-_UI_BehavioralFeature_isAbstract_feature = Is Abstract
-_UI_BehavioralFeature_method_feature = Method
-_UI_BehavioralFeature_concurrency_feature = Concurrency
-_UI_BehavioralFeature_raisedException_feature = Raised Exception
-_UI_BehavioralFeature_ownedParameterSet_feature = Owned Parameter Set
-_UI_Behavior_isReentrant_feature = Is Reentrant
-_UI_Behavior_redefinedBehavior_feature = Redefined Behavior
-_UI_Behavior_ownedParameter_feature = Owned Parameter
-_UI_Behavior_context_feature = Context
-_UI_Behavior_precondition_feature = Precondition
-_UI_Behavior_postcondition_feature = Postcondition
-_UI_Behavior_ownedParameterSet_feature = Owned Parameter Set
-_UI_Behavior_specification_feature = Specification
-_UI_Class_nestedClassifier_feature = Nested Classifier
-_UI_Class_ownedOperation_feature = Owned Operation
-_UI_Class_superClass_feature = Super Class
-_UI_Class_isActive_feature = Is Active
-_UI_Class_ownedReception_feature = Owned Reception
-_UI_Class_extension_feature = Extension
-_UI_BehavioredClassifier_ownedBehavior_feature = Owned Behavior
-_UI_BehavioredClassifier_classifierBehavior_feature = Classifier Behavior
-_UI_BehavioredClassifier_interfaceRealization_feature = Interface Realization
-_UI_BehavioredClassifier_ownedTrigger_feature = Owned Trigger
-_UI_InterfaceRealization_contract_feature = Contract
-_UI_InterfaceRealization_implementingClassifier_feature = Implementing Classifier
-_UI_Interface_ownedAttribute_feature = Owned Attribute
-_UI_Interface_ownedOperation_feature = Owned Operation
-_UI_Interface_nestedClassifier_feature = Nested Classifier
-_UI_Interface_redefinedInterface_feature = Redefined Interface
-_UI_Interface_ownedReception_feature = Owned Reception
-_UI_Interface_protocol_feature = Protocol
-_UI_Reception_signal_feature = Signal
-_UI_Signal_ownedAttribute_feature = Owned Attribute
-_UI_ProtocolStateMachine_conformance_feature = Conformance
-_UI_StateMachine_region_feature = Region
-_UI_StateMachine_submachineState_feature = Submachine State
-_UI_StateMachine_connectionPoint_feature = Connection Point
-_UI_StateMachine_extendedStateMachine_feature = Extended State Machine
-_UI_Region_subvertex_feature = Subvertex
-_UI_Region_transition_feature = Transition
-_UI_Region_state_feature = State
-_UI_Region_extendedRegion_feature = Extended Region
-_UI_Region_stateMachine_feature = State Machine
-_UI_Vertex_outgoing_feature = Outgoing
-_UI_Vertex_incoming_feature = Incoming
-_UI_Vertex_container_feature = Container
-_UI_Transition_kind_feature = Kind
-_UI_Transition_container_feature = Container
-_UI_Transition_source_feature = Source
-_UI_Transition_target_feature = Target
-_UI_Transition_redefinedTransition_feature = Redefined Transition
-_UI_Transition_guard_feature = Guard
-_UI_Transition_effect_feature = Effect
-_UI_Transition_trigger_feature = Trigger
-_UI_Trigger_event_feature = Event
-_UI_Trigger_port_feature = Port
-_UI_Port_isBehavior_feature = Is Behavior
-_UI_Port_isService_feature = Is Service
-_UI_Port_required_feature = Required
-_UI_Port_redefinedPort_feature = Redefined Port
-_UI_Port_provided_feature = Provided
-_UI_Port_protocol_feature = Protocol
-_UI_State_isComposite_feature = Is Composite
-_UI_State_isOrthogonal_feature = Is Orthogonal
-_UI_State_isSimple_feature = Is Simple
-_UI_State_isSubmachineState_feature = Is Submachine State
-_UI_State_submachine_feature = Submachine
-_UI_State_connection_feature = Connection
-_UI_State_connectionPoint_feature = Connection Point
-_UI_State_redefinedState_feature = Redefined State
-_UI_State_stateInvariant_feature = State Invariant
-_UI_State_entry_feature = Entry
-_UI_State_exit_feature = Exit
-_UI_State_doActivity_feature = Do Activity
-_UI_State_deferrableTrigger_feature = Deferrable Trigger
-_UI_State_region_feature = Region
-_UI_ConnectionPointReference_entry_feature = Entry
-_UI_ConnectionPointReference_exit_feature = Exit
-_UI_ConnectionPointReference_state_feature = State
-_UI_Pseudostate_kind_feature = Kind
-_UI_Pseudostate_stateMachine_feature = State Machine
-_UI_Pseudostate_state_feature = State
-_UI_ProtocolConformance_generalMachine_feature = General Machine
-_UI_ProtocolConformance_specificMachine_feature = Specific Machine
-_UI_EncapsulatedClassifier_ownedPort_feature = Owned Port
-_UI_StructuredClassifier_ownedAttribute_feature = Owned Attribute
-_UI_StructuredClassifier_part_feature = Part
-_UI_StructuredClassifier_role_feature = Role
-_UI_StructuredClassifier_ownedConnector_feature = Owned Connector
-_UI_Connector_type_feature = Type
-_UI_Connector_redefinedConnector_feature = Redefined Connector
-_UI_Connector_end_feature = End
-_UI_Connector_kind_feature = Kind
-_UI_Connector_contract_feature = Contract
-_UI_Extension_isRequired_feature = Is Required
-_UI_Extension_metaclass_feature = Metaclass
-_UI_Stereotype_icon_feature = Icon
-_UI_Image_content_feature = Content
-_UI_Image_location_feature = Location
-_UI_Image_format_feature = Format
-_UI_Profile_ownedStereotype_feature = Owned Stereotype
-_UI_Profile_metaclassReference_feature = Metaclass Reference
-_UI_Profile_metamodelReference_feature = Metamodel Reference
-_UI_Model_viewpoint_feature = Viewpoint
-_UI_ParameterSet_parameter_feature = Parameter
-_UI_ParameterSet_condition_feature = Condition
-_UI_DataType_ownedAttribute_feature = Owned Attribute
-_UI_DataType_ownedOperation_feature = Owned Operation
-_UI_StructuralFeature_isReadOnly_feature = Is Read Only
-_UI_CollaborationUse_type_feature = Type
-_UI_CollaborationUse_roleBinding_feature = Role Binding
-_UI_Collaboration_collaborationRole_feature = Collaboration Role
-_UI_UseCase_include_feature = Include
-_UI_UseCase_extend_feature = Extend
-_UI_UseCase_extensionPoint_feature = Extension Point
-_UI_UseCase_subject_feature = Subject
-_UI_Include_addition_feature = Addition
-_UI_Include_includingCase_feature = Including Case
-_UI_Extend_extendedCase_feature = Extended Case
-_UI_Extend_condition_feature = Condition
-_UI_Extend_extensionLocation_feature = Extension Location
-_UI_Extend_extension_feature = Extension
-_UI_ExtensionPoint_useCase_feature = Use Case
-_UI_RedefinableTemplateSignature_extendedSignature_feature = Extended Signature
-_UI_RedefinableTemplateSignature_inheritedParameter_feature = Inherited Parameter
-_UI_RedefinableTemplateSignature_classifier_feature = Classifier
-_UI_ClassifierTemplateParameter_allowSubstitutable_feature = Allow Substitutable
-_UI_ClassifierTemplateParameter_constrainingClassifier_feature = Constraining Classifier
-_UI_StringExpression_subExpression_feature = Sub Expression
-_UI_StringExpression_owningExpression_feature = Owning Expression
-_UI_Expression_symbol_feature = Symbol
-_UI_Expression_operand_feature = Operand
-_UI_PackageMerge_mergedPackage_feature = Merged Package
-_UI_PackageMerge_receivingPackage_feature = Receiving Package
-_UI_ProfileApplication_appliedProfile_feature = Applied Profile
-_UI_ProfileApplication_isStrict_feature = Is Strict
-_UI_ProfileApplication_applyingPackage_feature = Applying Package
-_UI_Enumeration_ownedLiteral_feature = Owned Literal
-_UI_EnumerationLiteral_enumeration_feature = Enumeration
-_UI_InstanceSpecification_classifier_feature = Classifier
-_UI_InstanceSpecification_slot_feature = Slot
-_UI_InstanceSpecification_specification_feature = Specification
-_UI_Slot_definingFeature_feature = Defining Feature
-_UI_Slot_value_feature = Value
-_UI_Slot_owningInstance_feature = Owning Instance
-_UI_LiteralInteger_value_feature = Value
-_UI_LiteralString_value_feature = Value
-_UI_LiteralBoolean_value_feature = Value
-_UI_InstanceValue_instance_feature = Instance
-_UI_LiteralUnlimitedNatural_value_feature = Value
-_UI_OpaqueBehavior_body_feature = Body
-_UI_OpaqueBehavior_language_feature = Language
-_UI_OpaqueAction_body_feature = Body
-_UI_OpaqueAction_language_feature = Language
-_UI_OpaqueAction_inputValue_feature = Input Value
-_UI_OpaqueAction_outputValue_feature = Output Value
-_UI_Action_output_feature = Output
-_UI_Action_input_feature = Input
-_UI_Action_context_feature = Context
-_UI_Action_localPrecondition_feature = Local Precondition
-_UI_Action_localPostcondition_feature = Local Postcondition
-_UI_ExecutableNode_handler_feature = Handler
-_UI_ActivityNode_inStructuredNode_feature = In Structured Node
-_UI_ActivityNode_activity_feature = Activity
-_UI_ActivityNode_outgoing_feature = Outgoing
-_UI_ActivityNode_incoming_feature = Incoming
-_UI_ActivityNode_inPartition_feature = In Partition
-_UI_ActivityNode_inInterruptibleRegion_feature = In Interruptible Region
-_UI_ActivityNode_inGroup_feature = In Group
-_UI_ActivityNode_redefinedNode_feature = Redefined Node
-_UI_StructuredActivityNode_variable_feature = Variable
-_UI_StructuredActivityNode_edge_feature = Edge
-_UI_StructuredActivityNode_mustIsolate_feature = Must Isolate
-_UI_StructuredActivityNode_node_feature = Node
-_UI_ActivityGroup_subgroup_feature = Subgroup
-_UI_ActivityGroup_superGroup_feature = Super Group
-_UI_ActivityGroup_inActivity_feature = In Activity
-_UI_ActivityGroup_containedEdge_feature = Contained Edge
-_UI_ActivityGroup_containedNode_feature = Contained Node
-_UI_Activity_structuredNode_feature = Structured Node
-_UI_Activity_variable_feature = Variable
-_UI_Activity_node_feature = Node
-_UI_Activity_isReadOnly_feature = Is Read Only
-_UI_Activity_edge_feature = Edge
-_UI_Activity_partition_feature = Partition
-_UI_Activity_isSingleExecution_feature = Is Single Execution
-_UI_Activity_group_feature = Group
-_UI_Variable_scope_feature = Scope
-_UI_Variable_activityScope_feature = Activity Scope
-_UI_ActivityEdge_source_feature = Source
-_UI_ActivityEdge_target_feature = Target
-_UI_ActivityEdge_redefinedEdge_feature = Redefined Edge
-_UI_ActivityEdge_inPartition_feature = In Partition
-_UI_ActivityEdge_guard_feature = Guard
-_UI_ActivityEdge_weight_feature = Weight
-_UI_ActivityEdge_interrupts_feature = Interrupts
-_UI_ActivityEdge_inStructuredNode_feature = In Structured Node
-_UI_ActivityEdge_inGroup_feature = In Group
-_UI_ActivityEdge_activity_feature = Activity
-_UI_ActivityPartition_isDimension_feature = Is Dimension
-_UI_ActivityPartition_isExternal_feature = Is External
-_UI_ActivityPartition_node_feature = Node
-_UI_ActivityPartition_subpartition_feature = Subpartition
-_UI_ActivityPartition_superPartition_feature = Super Partition
-_UI_ActivityPartition_represents_feature = Represents
-_UI_ActivityPartition_edge_feature = Edge
-_UI_InterruptibleActivityRegion_node_feature = Node
-_UI_InterruptibleActivityRegion_interruptingEdge_feature = Interrupting Edge
-_UI_ExceptionHandler_handlerBody_feature = Handler Body
-_UI_ExceptionHandler_exceptionInput_feature = Exception Input
-_UI_ExceptionHandler_exceptionType_feature = Exception Type
-_UI_ExceptionHandler_protectedNode_feature = Protected Node
-_UI_ObjectNode_ordering_feature = Ordering
-_UI_ObjectNode_isControlType_feature = Is Control Type
-_UI_ObjectNode_upperBound_feature = Upper Bound
-_UI_ObjectNode_inState_feature = In State
-_UI_ObjectNode_selection_feature = Selection
-_UI_Pin_isControl_feature = Is Control
-_UI_CallAction_isSynchronous_feature = Is Synchronous
-_UI_CallAction_result_feature = Result
-_UI_InvocationAction_argument_feature = Argument
-_UI_InvocationAction_onPort_feature = On Port
-_UI_SendSignalAction_target_feature = Target
-_UI_SendSignalAction_signal_feature = Signal
-_UI_CallOperationAction_operation_feature = Operation
-_UI_CallOperationAction_target_feature = Target
-_UI_CallBehaviorAction_behavior_feature = Behavior
-_UI_SequenceNode_executableNode_feature = Executable Node
-_UI_ActivityParameterNode_parameter_feature = Parameter
-_UI_ValuePin_value_feature = Value
-_UI_Message_messageKind_feature = Message Kind
-_UI_Message_messageSort_feature = Message Sort
-_UI_Message_receiveEvent_feature = Receive Event
-_UI_Message_sendEvent_feature = Send Event
-_UI_Message_connector_feature = Connector
-_UI_Message_interaction_feature = Interaction
-_UI_Message_argument_feature = Argument
-_UI_Message_signature_feature = Signature
-_UI_MessageEnd_message_feature = Message
-_UI_Interaction_lifeline_feature = Lifeline
-_UI_Interaction_fragment_feature = Fragment
-_UI_Interaction_action_feature = Action
-_UI_Interaction_formalGate_feature = Formal Gate
-_UI_Interaction_message_feature = Message
-_UI_InteractionFragment_covered_feature = Covered
-_UI_InteractionFragment_generalOrdering_feature = General Ordering
-_UI_InteractionFragment_enclosingInteraction_feature = Enclosing Interaction
-_UI_InteractionFragment_enclosingOperand_feature = Enclosing Operand
-_UI_Lifeline_represents_feature = Represents
-_UI_Lifeline_interaction_feature = Interaction
-_UI_Lifeline_selector_feature = Selector
-_UI_Lifeline_decomposedAs_feature = Decomposed As
-_UI_Lifeline_coveredBy_feature = Covered By
-_UI_InteractionUse_refersTo_feature = Refers To
-_UI_InteractionUse_actualGate_feature = Actual Gate
-_UI_InteractionUse_argument_feature = Argument
-_UI_GeneralOrdering_before_feature = Before
-_UI_GeneralOrdering_after_feature = After
-_UI_OccurrenceSpecification_toBefore_feature = To Before
-_UI_OccurrenceSpecification_event_feature = Event
-_UI_OccurrenceSpecification_toAfter_feature = To After
-_UI_InteractionOperand_guard_feature = Guard
-_UI_InteractionOperand_fragment_feature = Fragment
-_UI_InteractionConstraint_minint_feature = Minint
-_UI_InteractionConstraint_maxint_feature = Maxint
-_UI_ExecutionSpecification_start_feature = Start
-_UI_ExecutionSpecification_finish_feature = Finish
-_UI_StateInvariant_invariant_feature = Invariant
-_UI_ActionExecutionSpecification_action_feature = Action
-_UI_BehaviorExecutionSpecification_behavior_feature = Behavior
-_UI_SendOperationEvent_operation_feature = Operation
-_UI_SendSignalEvent_signal_feature = Signal
-_UI_ExecutionOccurrenceSpecification_execution_feature = Execution
-_UI_ReceiveOperationEvent_operation_feature = Operation
-_UI_ReceiveSignalEvent_signal_feature = Signal
-_UI_CallEvent_operation_feature = Operation
-_UI_ChangeEvent_changeExpression_feature = Change Expression
-_UI_SignalEvent_signal_feature = Signal
-_UI_DecisionNode_decisionInput_feature = Decision Input
-_UI_DecisionNode_decisionInputFlow_feature = Decision Input Flow
-_UI_ObjectFlow_isMulticast_feature = Is Multicast
-_UI_ObjectFlow_isMultireceive_feature = Is Multireceive
-_UI_ObjectFlow_transformation_feature = Transformation
-_UI_ObjectFlow_selection_feature = Selection
-_UI_ComponentRealization_abstraction_feature = Abstraction
-_UI_ComponentRealization_realizingClassifier_feature = Realizing Classifier
-_UI_Component_isIndirectlyInstantiated_feature = Is Indirectly Instantiated
-_UI_Component_required_feature = Required
-_UI_Component_provided_feature = Provided
-_UI_Component_packagedElement_feature = Packaged Element
-_UI_Component_realization_feature = Realization
-_UI_Node_nestedNode_feature = Nested Node
-_UI_CombinedFragment_interactionOperator_feature = Interaction Operator
-_UI_CombinedFragment_operand_feature = Operand
-_UI_CombinedFragment_cfragmentGate_feature = Cfragment Gate
-_UI_Continuation_setting_feature = Setting
-_UI_ConsiderIgnoreFragment_message_feature = Message
-_UI_CreateObjectAction_classifier_feature = Classifier
-_UI_CreateObjectAction_result_feature = Result
-_UI_DestroyObjectAction_isDestroyLinks_feature = Is Destroy Links
-_UI_DestroyObjectAction_isDestroyOwnedObjects_feature = Is Destroy Owned Objects
-_UI_DestroyObjectAction_target_feature = Target
-_UI_TestIdentityAction_first_feature = First
-_UI_TestIdentityAction_second_feature = Second
-_UI_TestIdentityAction_result_feature = Result
-_UI_ReadSelfAction_result_feature = Result
-_UI_StructuralFeatureAction_structuralFeature_feature = Structural Feature
-_UI_StructuralFeatureAction_object_feature = Object
-_UI_ReadStructuralFeatureAction_result_feature = Result
-_UI_WriteStructuralFeatureAction_value_feature = Value
-_UI_WriteStructuralFeatureAction_result_feature = Result
-_UI_ClearStructuralFeatureAction_result_feature = Result
-_UI_RemoveStructuralFeatureValueAction_isRemoveDuplicates_feature = Is Remove Duplicates
-_UI_RemoveStructuralFeatureValueAction_removeAt_feature = Remove At
-_UI_AddStructuralFeatureValueAction_isReplaceAll_feature = Is Replace All
-_UI_AddStructuralFeatureValueAction_insertAt_feature = Insert At
-_UI_LinkAction_endData_feature = End Data
-_UI_LinkAction_inputValue_feature = Input Value
-_UI_LinkEndData_value_feature = Value
-_UI_LinkEndData_end_feature = End
-_UI_LinkEndData_qualifier_feature = Qualifier
-_UI_QualifierValue_qualifier_feature = Qualifier
-_UI_QualifierValue_value_feature = Value
-_UI_ReadLinkAction_result_feature = Result
-_UI_LinkEndCreationData_isReplaceAll_feature = Is Replace All
-_UI_LinkEndCreationData_insertAt_feature = Insert At
-_UI_LinkEndDestructionData_isDestroyDuplicates_feature = Is Destroy Duplicates
-_UI_LinkEndDestructionData_destroyAt_feature = Destroy At
-_UI_ClearAssociationAction_object_feature = Object
-_UI_ClearAssociationAction_association_feature = Association
-_UI_BroadcastSignalAction_signal_feature = Signal
-_UI_SendObjectAction_target_feature = Target
-_UI_SendObjectAction_request_feature = Request
-_UI_ValueSpecificationAction_value_feature = Value
-_UI_ValueSpecificationAction_result_feature = Result
-_UI_TimeExpression_expr_feature = Expr
-_UI_TimeExpression_observation_feature = Observation
-_UI_Duration_expr_feature = Expr
-_UI_Duration_observation_feature = Observation
-_UI_Interval_min_feature = Min
-_UI_Interval_max_feature = Max
-_UI_TimeConstraint_firstEvent_feature = First Event
-_UI_DurationConstraint_firstEvent_feature = First Event
-_UI_TimeObservation_event_feature = Event
-_UI_TimeObservation_firstEvent_feature = First Event
-_UI_DurationObservation_event_feature = Event
-_UI_DurationObservation_firstEvent_feature = First Event
-_UI_TimeEvent_isRelative_feature = Is Relative
-_UI_TimeEvent_when_feature = When
-_UI_VariableAction_variable_feature = Variable
-_UI_ReadVariableAction_result_feature = Result
-_UI_WriteVariableAction_value_feature = Value
-_UI_AddVariableValueAction_isReplaceAll_feature = Is Replace All
-_UI_AddVariableValueAction_insertAt_feature = Insert At
-_UI_RemoveVariableValueAction_isRemoveDuplicates_feature = Is Remove Duplicates
-_UI_RemoveVariableValueAction_removeAt_feature = Remove At
-_UI_RaiseExceptionAction_exception_feature = Exception
-_UI_ActionInputPin_fromAction_feature = From Action
-_UI_InformationItem_represented_feature = Represented
-_UI_InformationFlow_realization_feature = Realization
-_UI_InformationFlow_conveyed_feature = Conveyed
-_UI_InformationFlow_informationSource_feature = Information Source
-_UI_InformationFlow_informationTarget_feature = Information Target
-_UI_InformationFlow_realizingActivityEdge_feature = Realizing Activity Edge
-_UI_InformationFlow_realizingConnector_feature = Realizing Connector
-_UI_InformationFlow_realizingMessage_feature = Realizing Message
-_UI_ReadExtentAction_result_feature = Result
-_UI_ReadExtentAction_classifier_feature = Classifier
-_UI_ReclassifyObjectAction_isReplaceAll_feature = Is Replace All
-_UI_ReclassifyObjectAction_oldClassifier_feature = Old Classifier
-_UI_ReclassifyObjectAction_newClassifier_feature = New Classifier
-_UI_ReclassifyObjectAction_object_feature = Object
-_UI_ReadIsClassifiedObjectAction_isDirect_feature = Is Direct
-_UI_ReadIsClassifiedObjectAction_classifier_feature = Classifier
-_UI_ReadIsClassifiedObjectAction_result_feature = Result
-_UI_ReadIsClassifiedObjectAction_object_feature = Object
-_UI_StartClassifierBehaviorAction_object_feature = Object
-_UI_ReadLinkObjectEndAction_object_feature = Object
-_UI_ReadLinkObjectEndAction_end_feature = End
-_UI_ReadLinkObjectEndAction_result_feature = Result
-_UI_ReadLinkObjectEndQualifierAction_object_feature = Object
-_UI_ReadLinkObjectEndQualifierAction_result_feature = Result
-_UI_ReadLinkObjectEndQualifierAction_qualifier_feature = Qualifier
-_UI_CreateLinkObjectAction_result_feature = Result
-_UI_AcceptEventAction_isUnmarshall_feature = Is Unmarshall
-_UI_AcceptEventAction_result_feature = Result
-_UI_AcceptEventAction_trigger_feature = Trigger
-_UI_AcceptCallAction_returnInformation_feature = Return Information
-_UI_ReplyAction_replyToCall_feature = Reply To Call
-_UI_ReplyAction_returnInformation_feature = Return Information
-_UI_ReplyAction_replyValue_feature = Reply Value
-_UI_UnmarshallAction_result_feature = Result
-_UI_UnmarshallAction_unmarshallType_feature = Unmarshall Type
-_UI_UnmarshallAction_object_feature = Object
-_UI_ReduceAction_reducer_feature = Reducer
-_UI_ReduceAction_result_feature = Result
-_UI_ReduceAction_collection_feature = Collection
-_UI_ReduceAction_isOrdered_feature = Is Ordered
-_UI_StartObjectBehaviorAction_object_feature = Object
-_UI_JoinNode_isCombineDuplicate_feature = Is Combine Duplicate
-_UI_JoinNode_joinSpec_feature = Join Spec
-_UI_ConditionalNode_isDeterminate_feature = Is Determinate
-_UI_ConditionalNode_isAssured_feature = Is Assured
-_UI_ConditionalNode_clause_feature = Clause
-_UI_ConditionalNode_result_feature = Result
-_UI_Clause_test_feature = Test
-_UI_Clause_body_feature = Body
-_UI_Clause_predecessorClause_feature = Predecessor Clause
-_UI_Clause_successorClause_feature = Successor Clause
-_UI_Clause_decider_feature = Decider
-_UI_Clause_bodyOutput_feature = Body Output
-_UI_LoopNode_isTestedFirst_feature = Is Tested First
-_UI_LoopNode_bodyPart_feature = Body Part
-_UI_LoopNode_setupPart_feature = Setup Part
-_UI_LoopNode_decider_feature = Decider
-_UI_LoopNode_test_feature = Test
-_UI_LoopNode_result_feature = Result
-_UI_LoopNode_loopVariable_feature = Loop Variable
-_UI_LoopNode_bodyOutput_feature = Body Output
-_UI_LoopNode_loopVariableInput_feature = Loop Variable Input
-_UI_ExpansionNode_regionAsOutput_feature = Region As Output
-_UI_ExpansionNode_regionAsInput_feature = Region As Input
-_UI_ExpansionRegion_mode_feature = Mode
-_UI_ExpansionRegion_inputElement_feature = Input Element
-_UI_ExpansionRegion_outputElement_feature = Output Element
-_UI_ProtocolTransition_postCondition_feature = Post Condition
-_UI_ProtocolTransition_referred_feature = Referred
-_UI_ProtocolTransition_preCondition_feature = Pre Condition
-_UI_VisibilityKind_public_literal = public
-_UI_VisibilityKind_private_literal = private
-_UI_VisibilityKind_protected_literal = protected
-_UI_VisibilityKind_package_literal = package
-_UI_TransitionKind_internal_literal = internal
-_UI_TransitionKind_local_literal = local
-_UI_TransitionKind_external_literal = external
-_UI_PseudostateKind_initial_literal = initial
-_UI_PseudostateKind_deepHistory_literal = deepHistory
-_UI_PseudostateKind_shallowHistory_literal = shallowHistory
-_UI_PseudostateKind_join_literal = join
-_UI_PseudostateKind_fork_literal = fork
-_UI_PseudostateKind_junction_literal = junction
-_UI_PseudostateKind_choice_literal = choice
-_UI_PseudostateKind_entryPoint_literal = entryPoint
-_UI_PseudostateKind_exitPoint_literal = exitPoint
-_UI_PseudostateKind_terminate_literal = terminate
-_UI_ConnectorKind_assembly_literal = assembly
-_UI_ConnectorKind_delegation_literal = delegation
-_UI_CallConcurrencyKind_sequential_literal = sequential
-_UI_CallConcurrencyKind_guarded_literal = guarded
-_UI_CallConcurrencyKind_concurrent_literal = concurrent
-_UI_AggregationKind_none_literal = none
-_UI_AggregationKind_shared_literal = shared
-_UI_AggregationKind_composite_literal = composite
-_UI_ParameterDirectionKind_in_literal = in
-_UI_ParameterDirectionKind_inout_literal = inout
-_UI_ParameterDirectionKind_out_literal = out
-_UI_ParameterDirectionKind_return_literal = return
-_UI_ParameterEffectKind_create_literal = create
-_UI_ParameterEffectKind_read_literal = read
-_UI_ParameterEffectKind_update_literal = update
-_UI_ParameterEffectKind_delete_literal = delete
-_UI_ObjectNodeOrderingKind_unordered_literal = unordered
-_UI_ObjectNodeOrderingKind_ordered_literal = ordered
-_UI_ObjectNodeOrderingKind_LIFO_literal = LIFO
-_UI_ObjectNodeOrderingKind_FIFO_literal = FIFO
-_UI_MessageKind_complete_literal = complete
-_UI_MessageKind_lost_literal = lost
-_UI_MessageKind_found_literal = found
-_UI_MessageKind_unknown_literal = unknown
-_UI_MessageSort_synchCall_literal = synchCall
-_UI_MessageSort_asynchCall_literal = asynchCall
-_UI_MessageSort_asynchSignal_literal = asynchSignal
-_UI_MessageSort_createMessage_literal = createMessage
-_UI_MessageSort_deleteMessage_literal = deleteMessage
-_UI_MessageSort_reply_literal = reply
-_UI_InteractionOperatorKind_seq_literal = seq
-_UI_InteractionOperatorKind_alt_literal = alt
-_UI_InteractionOperatorKind_opt_literal = opt
-_UI_InteractionOperatorKind_break_literal = break
-_UI_InteractionOperatorKind_par_literal = par
-_UI_InteractionOperatorKind_strict_literal = strict
-_UI_InteractionOperatorKind_loop_literal = loop
-_UI_InteractionOperatorKind_critical_literal = critical
-_UI_InteractionOperatorKind_neg_literal = neg
-_UI_InteractionOperatorKind_assert_literal = assert
-_UI_InteractionOperatorKind_ignore_literal = ignore
-_UI_InteractionOperatorKind_consider_literal = consider
-_UI_ExpansionKind_parallel_literal = parallel
-_UI_ExpansionKind_iterative_literal = iterative
-_UI_ExpansionKind_stream_literal = stream
-_UI_UMLEditor_menu = &UML Editor
- _UI_UMLModelWizard_label = UML Model
-_UI_UMLModelWizard_description = Create a new UML model
- _UI_UMLEditor_label = UML Model Editor
- _UI_UMLEditorFilenameDefaultBase = My
-_UI_UMLEditorFilenameExtensions = uml
-
-metatype.name.Model_1000=Undefined
-metatype.name.Component_2002=Component
-
-metatype.name.Interface_2003=Interface
-metatype.name.Component_3001=Component
-metatype.name.Property_3002=Property
-metatype.name.Operation_3003=Operation
-metatype.name.Property_3004=Property
-metatype.name.Operation_3005=Operation
-metatype.name.Realization_4002=Realization
-metatype.name.Component_3006=Component
-metatype.name.InterfaceRealization_4002=InterfaceRealization
-
-metatype.name.Realization_4003=Realization
-
-metatype.name.InterfaceRealization_4004=InterfaceRealization
-
-metatype.name.Class_3004=Class
-metatype.name.Dependency_2014=Dependency
-metatype.name.Interface_2004=Interface
-metatype.name.Comment_2012=Comment
-metatype.name.Property_3006=Property
-metatype.name.Operation_3007=Operation
-metatype.name.Class_3008=Class
-metatype.name.Link_4016=Undefined
-metatype.name.Realization_4005=Realization
-metatype.name.Usage_4007=Usage
-
-metatype.name.Interface_2002=Interface
-metatype.name.Interface_3004=Interface
-metatype.name.Class_3005=Class
-metatype.name.Operation_3008=Operation
-metatype.name.Constraint_2003=Constraint
-metatype.name.Comment_2004=Comment
-metatype.name.Package_2005=Package
-metatype.name.Comment_3005=Comment
-metatype.name.Package_3006=Package
-metatype.name.Generalization_4004=Generalization
-
-metatype.name.Association_2004=Association
-metatype.name.Association_4005=Association
-metatype.name.Package_2003=Package
-metatype.name.Component_3005=Component
-metatype.name.Interface_3006=Interface
-metatype.name.Property_3007=Property
-metatype.name.Class_3009=Class
-metatype.name.Usage_4005=Usage
-metatype.name.Realization_4006=Realization
-metatype.name.Property_3001=Property
-metatype.name.Operation_3002=Operation
-metatype.name.Class_3003=Class
-metatype.name.Component_3004=Component
-metatype.name.Interface_3005=Interface
-metatype.name.Generalization_4003=Generalization
-
-metatype.name.Package_2001=Package
-metatype.name.Interface_3002=Interface
-metatype.name.Property_3003=Property
-metatype.name.Operation_3004=Operation
-metatype.name.Model_2004=Model
-metatype.name.InterfaceRealization_4006=InterfaceRealization
-metatype.name.Port_3069=Port
-metatype.name.Package_0=Package
-metatype.name.Package_2007=Package
-metatype.name.Component_3021=Component
-metatype.name.Package_2004=Package
-metatype.name.Component_3002=Component
-metatype.name.Component_3003=Component
-metatype.name.Component_2102=Component
-metatype.name.Package_3200=Package
-metatype.name.Comment_3201=Comment
-metatype.name.Constraint_3199=Constraint
-metatype.name.Component_3070=Component
-metatype.name.Component_3071=Component
-metatype.name.Interface_3072=Interface
-metatype.name.Comment_3074=Comment
-metatype.name.Constraint_3075=Constraint
-metatype.name.Dependency_4010=Dependency
-metatype.name.ComponentRealization_4007=ComponentRealization
-metatype.name.CommentAnnotatedElement_4008=Undefined
-metatype.name.ConstraintConstrainedElement_4009=Undefined
-
-metatype.name.Substitution_4011=Substitution
-metatype.name.Manifestation_4012=Manifestation
-metatype.name.Abstraction_4013=Abstraction
-
-metatype.name.Abstraction_4011=Abstraction
-
-metatype.name.Association_4011=Association
-
-metatype.name.Abstraction_4012=Abstraction
-metatype.name.Manifestation_4013=Manifestation
-metatype.name.Manifestation_4014=Manifestation
-metatype.name.Manifestation_4011=Manifestation
-
-metatype.name.Substitution_4013=Substitution
-metatype.name.Abstraction_4014=Abstraction
-metatype.name.Substitution_4012=Substitution
-metatype.name.Association_4012=Association
-metatype.name.Association_4015=Association
-metatype.name.Realization_4007=Realization
-metatype.name.Association_3202=Association
-metatype.name.Association_3203=Association
-metatype.name.Association_4016=Association
-metatype.name.Artifact_3203=Artifact
-metatype.name.CommentAnnotatedElement_4015=Undefined
diff --git a/incoming/org.eclipse.papyrus.diagram.component/plugin.xml b/incoming/org.eclipse.papyrus.diagram.component/plugin.xml
deleted file mode 100644
index 48d93033cf1..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/plugin.xml
+++ /dev/null
@@ -1,1178 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin>
-<extension
- point="org.eclipse.ui.commands">
- <command
- categoryId="org.eclipse.papyrus.editor.category"
- defaultHandler="org.eclipse.papyrus.diagram.component.custom.actions.ShowHideRelatedContentsHandler"
- description="Call the Show/Hide Related Contents Command"
- id="org.eclipse.papyrus.diagram.component.commands.ShowHideRelatedContentsCommand"
- name="Show/Hide Related Contents Command">
- </command>
-</extension>
-<extension
- point="org.eclipse.ui.services">
- <sourceProvider
- provider="org.eclipse.papyrus.diagram.component.custom.providers.ActionStateSourceProvider">
- <variable
- name="showHideRelatedContents"
- priorityLevel="workbench">
- </variable>
- </sourceProvider>
-</extension>
-<extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.papyrus.diagram.component.custom.actions.ShowHideRelatedContentsHandler"
- commandId="org.eclipse.papyrus.diagram.component.commands.ShowHideRelatedContentsCommand">
- <activeWhen>
- <and>
- <with
- variable="showHideRelatedContents">
- <equals
- value="enabled">
- </equals>
- </with>
- <with
- variable="selection">
- <iterate
- ifEmpty="false"
- operator="and">
- <instanceof
- value="org.eclipse.papyrus.diagram.component.edit.parts.ComponentEditPart">
- </instanceof>
- </iterate>
- </with>
- </and>
- </activeWhen>
- </handler>
-</extension>
-<!-- The Command to manages the Provided and Required Interfaces for a Port-->
-<extension
- point="org.eclipse.ui.commands">
- <command
- categoryId="org.eclipse.papyrus.editor.category"
- description="Allows to manage easily provided Interfaces for a Port"
- id="org.eclipse.papyrus.diagram.component.command.manage.interfaces"
- name="Manage Provided Interfaces">
- </command>
-</extension>
-<!-- The Handler to manages the Provided and Required Interfaces for a Port-->
-<extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.papyrus.diagram.component.custom.actions.ManageProvidedInterfacesHandler"
- commandId="org.eclipse.papyrus.diagram.component.command.manage.interfaces">
- <activeWhen>
- <with
- variable="selection">
- <iterate>
- <instanceof
- value="org.eclipse.papyrus.diagram.component.edit.parts.PortEditPart">
- </instanceof>
- </iterate>
- </with>
- </activeWhen>
- </handler>
-</extension>
-<!-- Add the Menu to manages the Provided and Required Interfaces for a Port-->
-<extension
- point="org.eclipse.ui.menus">
- <menuContribution
- allPopups="false"
- locationURI="popup:org.eclipse.gmf.runtime.diagram.ui.DiagramEditorContextMenu?endof=editMenu">
- <command
- commandId="org.eclipse.papyrus.diagram.component.command.manage.interfaces"
- icon="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Interface.gif"
- label="Manage Interfaces"
- mnemonic="&amp;I"
- style="push">
- <visibleWhen
- checkEnabled="true">
- </visibleWhen>
- </command>
- </menuContribution>
-</extension>
-<extension
- point="org.eclipse.ui.commands">
- <command
- defaultHandler="org.eclipse.papyrus.diagram.component.CreateComponentDiagramCommand"
- description="Create a new Component Diagram"
- id="org.eclipse.papyrus.diagram.component.CreateComponentDiagramCommand"
- name="Create a new Component Diagram">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.papyrus.diagram.component.CreateComponentDiagramCommand"
- commandId="org.eclipse.papyrus.diagram.component.CreateComponentDiagramCommand">
- <activeWhen>
- <or>
- <with
- variable="activeEditorId">
- <equals
- value="org.eclipse.papyrus.core.papyrusEditor">
- </equals>
- </with>
- </or>
- </activeWhen>
- </handler>
- </extension>
- <extension
- point="org.eclipse.ui.menus">
- <menuContribution
- locationURI="menu:org.eclipse.papyrus.ui.menu">
- <menu
- id="org.eclipse.papyrus.diagram.ui.menu.diagrams"
- label="Diagrams">
- <command
- commandId="org.eclipse.papyrus.diagram.component.CreateComponentDiagramCommand"
- icon="icons/obj16/ComponentDiagram.gif"
- label="Create a new Component Diagram"
- style="push"
- tooltip="Create a new Component Diagram">
- <visibleWhen>
- <reference
- definitionId="org.eclipse.papyrus.diagram.common.IsPapyrusActiveWithUMLModel">
- </reference>
- </visibleWhen>
- </command>
- </menu>
- </menuContribution>
- <menuContribution
- locationURI="toolbar:org.eclipse.ui.main.toolbar">
- <toolbar
- id="org.eclipse.papyrus.diagram.ui.toolbar">
- <command
- commandId="org.eclipse.papyrus.diagram.component.CreateComponentDiagramCommand"
- icon="icons/obj16/ComponentDiagram.gif"
- label="Create a new Component Diagram"
- style="push"
- tooltip="Create a new Component Diagram">
- <visibleWhen>
- <reference
- definitionId="org.eclipse.papyrus.diagram.common.IsPapyrusActiveWithUMLModel">
- </reference>
- </visibleWhen>
- </command>
- </toolbar>
- </menuContribution>
- </extension>
- <extension
- point="org.eclipse.papyrus.core.papyrusDiagram">
- <editorDiagram
- actionBarContributorId="org.eclipse.papyrus.diagram.common.part.UMLDiagramActionBarContributor"
- factoryClass="org.eclipse.papyrus.diagram.component.ComponentDiagramEditorFactory"
- icon="icons/obj16/ComponentDiagram.gif">
- </editorDiagram>
- <creationCommand
- creationCommandClass="org.eclipse.papyrus.diagram.component.CreateComponentDiagramCommand"
- icon="icons/obj16/ComponentDiagram.gif"
- id="org.eclipse.papyrus.diagram.component.CreateComponentDiagramCommand"
- label="UML Component Diagram"
- language="uml">
- </creationCommand>
- </extension>
-
-
- <extension point="org.eclipse.ui.contexts" id="ui-context">
- <?gmfgen generated="true"?>
- <context
- description="%context.description"
- id="org.eclipse.papyrus.diagram.component.ui.diagramContext"
- name="%context.name"
- parentId="org.eclipse.gmf.runtime.diagram.ui.diagramContext">
- </context>
- </extension>
-
-
- <extension point="org.eclipse.gmf.runtime.common.ui.services.action.globalActionHandlerProviders" id="global-actions">
- <?gmfgen generated="true"?>
- <GlobalActionHandlerProvider
- class="org.eclipse.papyrus.diagram.common.providers.PapyrusGlobalActionHandlerProvider"
- id="PapyrusUMLComponentDiagramPresentation">
- <Priority name="Highest"/>
- <ViewId id="org.eclipse.papyrus.core.papyrusEditor">
- <ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart">
- <GlobalActionId actionId="delete"/>
- </ElementType>
- <ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart">
- <GlobalActionId actionId="save"/>
- </ElementType>
- </ViewId>
- </GlobalActionHandlerProvider>
- <GlobalActionHandlerProvider
- class="org.eclipse.gmf.runtime.diagram.ui.providers.ide.providers.DiagramIDEGlobalActionHandlerProvider"
- id="PapyrusUMLComponentDiagramPresentationIDE">
- <Priority name="Low"/>
- <ViewId id="org.eclipse.papyrus.core.papyrusEditor">
- <ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart">
- <GlobalActionId actionId="bookmark"/>
- </ElementType>
- </ViewId>
- </GlobalActionHandlerProvider>
- <GlobalActionHandlerProvider
- class="org.eclipse.papyrus.diagram.common.providers.PapyrusGlobalActionHandlerProvider"
- id="PapyrusUMLComponentDiagramRender">
- <Priority name="Highest"/>
- <ViewId id="org.eclipse.papyrus.core.papyrusEditor">
- <ElementType class="org.eclipse.gmf.runtime.diagram.ui.editparts.IGraphicalEditPart">
- <GlobalActionId actionId="cut"/>
- <GlobalActionId actionId="copy"/>
- <GlobalActionId actionId="paste"/>
- </ElementType>
- </ViewId>
- </GlobalActionHandlerProvider>
- </extension>
-
-
-
- <?gmfgen generated="true"?>
-
- <?gmfgen generated="true"?>
-
- <extension point="org.eclipse.ui.preferencePages" id="prefpages">
- <?gmfgen generated="true"?>
- <page
- id="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- name="PapyrusUMLComponentDiagram Diagram"
- category="org.eclipse.papyrus.preferences.diagrams"
- class="org.eclipse.papyrus.diagram.component.preferences.DiagramGeneralPreferencePage">
- </page>
-
-
-
- <page
- id="org.eclipse.papyrus.diagram.component.preferences.DiagramPrintingPreferencePage"
- name="%prefpage.org.eclipse.uml2.uml.diagram.printing"
- category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.DiagramPrintingPreferencePage">
- </page>
-
- <page
- id="org.eclipse.papyrus.diagram.component.preferences.DiagramRulersAndGridPreferencePage"
- name="%prefpage.org.eclipse.uml2.uml.diagram.rulersAndGrid"
- category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.DiagramRulersAndGridPreferencePage">
- </page>
-
- </extension>
-
- <extension point="org.eclipse.ui.views.properties.tabbed.propertyContributor" id="prop-contrib">
- <?gmfgen generated="true"?>
- <propertyContributor
- contributorId="org.eclipse.papyrus.diagram.component"
- labelProvider="org.eclipse.papyrus.diagram.component.sheet.UMLSheetLabelProvider">
- <propertyCategory category="domain"/>
- <propertyCategory category="visual"/>
- <propertyCategory category="extra"/>
- </propertyContributor>
- </extension>
-
- <extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs" id="proptabs">
- <?gmfgen generated="true"?>
- <propertyTabs contributorId="org.eclipse.papyrus.diagram.component">
- <propertyTab
- category="visual"
- id="property.tab.AppearancePropertySection"
- label="%tab.appearance"/>
- <propertyTab
- category="visual"
- id="property.tab.DiagramPropertySection"
- label="%tab.diagram"/>
- <propertyTab
- category="domain"
- id="property.tab.domain"
- label="%tab.domain"/>
- </propertyTabs>
- </extension>
-
- <extension point="org.eclipse.ui.views.properties.tabbed.propertySections" id="propsections">
- <?gmfgen generated="true"?>
- <propertySections contributorId="org.eclipse.papyrus.diagram.component">
- <propertySection id="property.section.ConnectorAppearancePropertySection"
- filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.ConnectionEditPartPropertySectionFilter"
- class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.ConnectionAppearancePropertySection"
- tab="property.tab.AppearancePropertySection">
- </propertySection>
- <propertySection id="property.section.ShapeColorAndFontPropertySection"
- filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.ShapeEditPartPropertySectionFilter"
- class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.ShapeColorsAndFontsPropertySection"
- tab="property.tab.AppearancePropertySection">
- </propertySection>
- <propertySection id="property.section.DiagramColorsAndFontsPropertySection"
- filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.DiagramEditPartPropertySectionFilter"
- class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.appearance.DiagramColorsAndFontsPropertySection"
- tab="property.tab.AppearancePropertySection">
- </propertySection>
- <propertySection id="property.section.RulerGridPropertySection"
- filter="org.eclipse.gmf.runtime.diagram.ui.properties.filters.DiagramEditPartPropertySectionFilter"
- class="org.eclipse.gmf.runtime.diagram.ui.properties.sections.grid.RulerGridPropertySection"
- tab="property.tab.DiagramPropertySection">
- </propertySection>
- <propertySection
- id="property.section.domain"
- tab="property.tab.domain"
- class="org.eclipse.papyrus.diagram.component.sheet.UMLPropertySection">
- <input type="org.eclipse.gmf.runtime.notation.View"/>
- <input type="org.eclipse.gef.EditPart"/>
- </propertySection>
- </propertySections>
- </extension>
-
-
-<?gmfgen generated="true"?>
-
- <extension point="org.eclipse.core.runtime.preferences">
- <?gmfgen generated="true"?>
- <initializer class="org.eclipse.papyrus.diagram.component.preferences.DiagramPreferenceInitializer"/>
- </extension>
-
- <extension point="org.eclipse.gmf.runtime.diagram.core.viewProviders" id="view-provider">
- <?gmfgen generated="true"?>
- <viewProvider class="org.eclipse.papyrus.diagram.component.providers.UMLViewProvider">
- <Priority name="Lowest"/>
- <context viewClass="org.eclipse.gmf.runtime.notation.Diagram" semanticHints="PapyrusUMLComponentDiagram"/>
- <context viewClass="org.eclipse.gmf.runtime.notation.Node" semanticHints="2002,2003,3200,3201,3199,3069,3070,3071,3072,3074,3075"/>
- <context viewClass="org.eclipse.gmf.runtime.notation.Edge" semanticHints="4001,4006,4003,4012,4014,4007,4013,4016,4015,4009,4010"/>
- </viewProvider>
- </extension>
-
- <extension point="org.eclipse.gmf.runtime.diagram.ui.editpartProviders" id="ep-provider">
- <?gmfgen generated="true"?>
- <editpartProvider class="org.eclipse.papyrus.diagram.component.providers.UMLEditPartProvider">
- <Priority name="Lowest"/>
- <object class="org.eclipse.gmf.runtime.notation.Diagram" id="generated-diagram">
- <method name="getType()" value="PapyrusUMLComponentDiagram"/>
- </object>
- <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-nodes">
- <method name="getType()" value="2002,2003,3200,3201,3199,3069,3070,3071,3072,3074,3075"/>
- </object>
- <object class="org.eclipse.gmf.runtime.notation.Edge" id="generated-links">
- <method name="getType()" value="4001,4006,4003,4012,4014,4007,4013,4016,4015,4009,4010"/>
- </object>
- <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-labels">
- <method name="getType()" value="5004,5005,5254,5255,5252,5253,5006,5007,5256,5257,0,5258,5259,5260"/>
- </object>
- <object class="org.eclipse.gmf.runtime.notation.Node" id="generated-compartments">
- <method name="getType()" value="7001,7002,7003,7004"/>
- </object>
- <context views="generated-diagram,generated-nodes,generated-links,generated-labels,generated-compartments"/>
- </editpartProvider>
- </extension>
-
- <extension point="org.eclipse.gmf.runtime.emf.ui.modelingAssistantProviders" id="modelassist-provider">
- <?gmfgen generated="true"?>
- <modelingAssistantProvider class="org.eclipse.papyrus.diagram.component.providers.UMLModelingAssistantProvider">
- <Priority name="Lowest"/>
- <object class="org.eclipse.papyrus.diagram.component.edit.parts.ComponentDiagramEditPart" id="Model_1000"/>
- <object class="org.eclipse.papyrus.diagram.component.edit.parts.ComponentEditPart" id="Component_2002"/>
- <object class="org.eclipse.papyrus.diagram.component.edit.parts.InterfaceEditPart" id="Interface_2003"/>
- <object class="org.eclipse.papyrus.diagram.component.edit.parts.PackageEditPart" id="Package_3200"/>
- <object class="org.eclipse.papyrus.diagram.component.edit.parts.CommentEditPart" id="Comment_3201"/>
- <object class="org.eclipse.papyrus.diagram.component.edit.parts.ConstraintEditPart" id="Constraint_3199"/>
- <context elements="Model_1000,Component_2002,Interface_2003,Package_3200,Comment_3201,Constraint_3199"/>
- </modelingAssistantProvider>
- </extension>
-
- <extension point="org.eclipse.gmf.runtime.common.ui.services.iconProviders" id="icon-provider">
- <?gmfgen generated="true"?>
- <IconProvider class="org.eclipse.papyrus.diagram.component.providers.UMLIconProvider">
- <Priority name="Low"/>
- </IconProvider>
- </extension>
-
-
- <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypes" id="element-types">
- <?gmfgen generated="true"?>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Model_1000"
- name="%metatype.name.Model_1000"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Model"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.ModelEditHelper">
- <param name="semanticHint" value="1000"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Component_2002"
- name="%metatype.name.Component_2002"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Component"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.ComponentEditHelper">
- <param name="semanticHint" value="2002"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Interface_2003"
- name="%metatype.name.Interface_2003"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Interface"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.InterfaceEditHelper">
- <param name="semanticHint" value="2003"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Package_3200"
- name="%metatype.name.Package_3200"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Package"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.PackageEditHelper">
- <param name="semanticHint" value="3200"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Comment_3201"
- name="%metatype.name.Comment_3201"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Comment"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.CommentEditHelper">
- <param name="semanticHint" value="3201"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Comment_3199"
- name="%metatype.name.Constraint_3199"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Constraint"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.ConstraintEditHelper">
- <param name="semanticHint" value="3199"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Port_3069"
- name="%metatype.name.Port_3069"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Port"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.PortEditHelper">
- <param name="semanticHint" value="3069"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <specializationType
- id="org.eclipse.papyrus.diagram.component.Component_3070"
- name="%metatype.name.Component_3070"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
- <specializes id="org.eclipse.papyrus.diagram.component.Component_2002"/>
- <param name="semanticHint" value="3070"/>
- </specializationType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <specializationType
- id="org.eclipse.papyrus.diagram.component.Component_3071"
- name="%metatype.name.Component_3071"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
- <specializes id="org.eclipse.papyrus.diagram.component.Component_2002"/>
- <param name="semanticHint" value="3071"/>
- </specializationType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <specializationType
- id="org.eclipse.papyrus.diagram.component.Interface_3072"
- name="%metatype.name.Interface_3072"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
- <specializes id="org.eclipse.papyrus.diagram.component.Interface_2003"/>
- <param name="semanticHint" value="3072"/>
- </specializationType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <specializationType
- id="org.eclipse.papyrus.diagram.component.Comment_3074"
- name="%metatype.name.Comment_3074"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
- <specializes id="org.eclipse.papyrus.diagram.component.Comment_3201"/>
- <param name="semanticHint" value="3074"/>
- </specializationType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <specializationType
- id="org.eclipse.papyrus.diagram.component.Constraint_3075"
- name="%metatype.name.Constraint_3075"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
- <specializes id="org.eclipse.papyrus.diagram.component.Comment_3199"/>
- <param name="semanticHint" value="3075"/>
- </specializationType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Usage_4001"
- name="%metatype.name.Usage_4001"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Usage"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.UsageEditHelper">
- <param name="semanticHint" value="4001"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.InterfaceRealization_4006"
- name="%metatype.name.InterfaceRealization_4006"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="InterfaceRealization"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.InterfaceRealizationEditHelper">
- <param name="semanticHint" value="4006"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Generalization_4003"
- name="%metatype.name.Generalization_4003"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Generalization"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.GeneralizationEditHelper">
- <param name="semanticHint" value="4003"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Substitution_4012"
- name="%metatype.name.Substitution_4012"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Substitution"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.SubstitutionEditHelper">
- <param name="semanticHint" value="4012"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Manifestation_4014"
- name="%metatype.name.Manifestation_4014"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Manifestation"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.ManifestationEditHelper">
- <param name="semanticHint" value="4014"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.ComponentRealization_4007"
- name="%metatype.name.ComponentRealization_4007"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="ComponentRealization"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.ComponentRealizationEditHelper">
- <param name="semanticHint" value="4007"/>
- </metamodelType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Abstraction_4013"
- name="%metatype.name.Abstraction_4013"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Abstraction"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.AbstractionEditHelper">
- <param name="semanticHint" value="4013"/>
- </metamodelType>
- </metamodel>
- <specializationType
- id="org.eclipse.papyrus.diagram.component.Link_4016"
- name="%metatype.name.Link_4016"
- kind="org.eclipse.gmf.runtime.diagram.ui.util.INotationType">
- <specializes id="org.eclipse.gmf.runtime.emf.type.core.null"/>
- <param name="semanticHint" value="4016"/>
- </specializationType>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <specializationType
- id="org.eclipse.papyrus.diagram.component.CommentAnnotatedElement_4008"
- name="%metatype.name.CommentAnnotatedElement_4015"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
- <specializes id="org.eclipse.gmf.runtime.emf.type.core.null"/>
- <param name="semanticHint" value="4015"/>
- </specializationType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <specializationType
- id="org.eclipse.papyrus.diagram.component.ConstraintConstrainedElement_4009"
- name="%metatype.name.ConstraintConstrainedElement_4009"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType">
- <specializes id="org.eclipse.gmf.runtime.emf.type.core.null"/>
- <param name="semanticHint" value="4009"/>
- </specializationType>
- </metamodel>
- <metamodel nsURI="http://www.eclipse.org/uml2/3.0.0/UML">
- <metamodelType
- id="org.eclipse.papyrus.diagram.component.Dependency_4010"
- name="%metatype.name.Dependency_4010"
- kind="org.eclipse.gmf.runtime.emf.type.core.IHintedType"
- eclass="Dependency"
- edithelper="org.eclipse.papyrus.diagram.component.edit.helpers.DependencyEditHelper">
- <param name="semanticHint" value="4010"/>
- </metamodelType>
- </metamodel>
- </extension>
-
- <extension point="org.eclipse.gmf.runtime.emf.type.core.elementTypeBindings" id="element-types-bindings">
- <?gmfgen generated="true"?>
- <clientContext id="org.eclipse.papyrus.diagram.component.TypeContext">
- <enablement>
- <test
- property="org.eclipse.gmf.runtime.emf.core.editingDomain"
- value="org.eclipse.papyrus.diagram.component.EditingDomain"/>
- </enablement>
- </clientContext>
- <binding context="org.eclipse.papyrus.diagram.component.TypeContext">
- <elementType ref="org.eclipse.papyrus.diagram.component.Model_1000"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Component_2002"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Interface_2003"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Package_3200"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Comment_3201"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Comment_3199"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Port_3069"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Component_3070"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Component_3071"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Interface_3072"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Comment_3074"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Constraint_3075"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Usage_4001"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.InterfaceRealization_4006"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Generalization_4003"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Substitution_4012"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Manifestation_4014"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.ComponentRealization_4007"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Abstraction_4013"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Link_4016"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.CommentAnnotatedElement_4008"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.ConstraintConstrainedElement_4009"/>
- <elementType ref="org.eclipse.papyrus.diagram.component.Dependency_4010"/>
- <advice ref="org.eclipse.gmf.runtime.diagram.core.advice.notationDepdendents"/>
- </binding>
- </extension>
-
-
-
- <extension point="org.eclipse.ui.commands" id="update-cmd">
- <?gmfgen generated="true"?>
- <command
- categoryId="org.eclipse.ui.category.edit"
- defaultHandler="org.eclipse.papyrus.diagram.component.part.UMLDiagramUpdateCommand"
- description="%update.diagram.description"
- id="org.eclipse.papyrus.diagram.component.updateDiagram"
- name="%update.diagram.name"/>
- </extension>
-
- <extension point="org.eclipse.ui.bindings" id="update-cmd-binding">
- <?gmfgen generated="true"?>
- <key
- commandId="org.eclipse.papyrus.diagram.component.updateDiagram"
- contextId="org.eclipse.papyrus.diagram.component.ui.diagramContext"
- schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
- sequence="F5"/>
- </extension>
-
- <extension point="org.eclipse.ui.menus" id="context-menus">
- <?gmfgen generated="true"?>
- <!-- menuContribution locationURI="menu:org.eclipse.ui.main.menu?after=">
- </menuContribution>
- <menuContribution locationURI="toolbar:org.eclipse.ui.main.toolbar?after=">
- </menuContribution -->
- <menuContribution locationURI="popup:org.eclipse.gmf.runtime.diagram.ui.DiagramEditorContextMenu">
- <command commandId="org.eclipse.papyrus.diagram.component.LoadResourceAction">
- <visibleWhen>
- <and>
- <with variable="activePartId"><equals value="org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorID"/></with>
- <with variable="selection"><iterate ifEmpty="false">
- <instanceof value="org.eclipse.papyrus.diagram.component.edit.parts.ComponentDiagramEditPart"/>
- </iterate></with>
- </and>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension>
-
- <extension point="org.eclipse.ui.commands" id="menu-commands">
- <?gmfgen generated="true"?>
- <category id="org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorID" name="%cmdcategory.name" description="%cmdcategory.desc"/>
- <command id="org.eclipse.papyrus.diagram.component.LoadResourceAction"
- name="Load Resource"
- categoryId="org.eclipse.papyrus.diagram.component.part.UMLDiagramEditorID"
- defaultHandler="org.eclipse.papyrus.diagram.component.part.LoadResourceAction"/>
- </extension>
-
- <extension point="org.eclipse.ui.handlers" id="menu-handlers">
- <?gmfgen generated="true"?>
- </extension>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<extension
- id="Papyrus Component Diagram (Incubation).palettedefinition"
- name="Papyrus Component Diagram (Incubation) Predefined Entries"
- point="org.eclipse.gmf.runtime.diagram.ui.paletteProviders">
-
- <?gmfgen generated="true"?>
- <paletteProvider class="org.eclipse.gmf.runtime.diagram.ui.providers.DefaultPaletteProvider">
- <Priority name="Lowest"/>
- <contribution
- factoryClass="org.eclipse.papyrus.diagram.component.part.UMLPaletteFactory">
- <predefinedEntry id="standardGroup/noteStack/noteTool" remove="true"/>
- <predefinedEntry id="standardGroup/noteStack/textTool" remove="true"/>
- <predefinedEntry id="standardGroup/noteStack/noteattachmentTool" remove="true"/>
- <entry
- defineOnly="true"
- description="Create a Package"
- id="component.tool.package"
- kind="tool"
- label="Package"
- large_icon="icons/obj16/Package.gif"
- path=""
- small_icon="icons/obj16/Package.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create a Component"
- id="component.tool.component"
- kind="tool"
- label="Component"
- large_icon="icons/obj16/Component.gif"
- path=""
- small_icon="icons/obj16/Component.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create an Interface"
- id="component.tool.interface"
- kind="tool"
- label="Interface"
- large_icon="icons/obj16/InterfaceAsCercle.gif"
- path=""
- small_icon="icons/obj16/InterfaceAsCercle.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create a Port"
- id="component.tool.port"
- kind="tool"
- label="Port"
- large_icon="icons/obj16/Port.gif"
- path=""
- small_icon="icons/obj16/Port.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create a Comment"
- id="component.tool.comment"
- kind="tool"
- label="Comment"
- large_icon="icons/obj16/Comment.gif"
- path=""
- small_icon="icons/obj16/Comment.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create a Constraint"
- id="component.tool.constraint"
- kind="tool"
- label="Constraint"
- large_icon="icons/obj16/Constraint.gif"
- path=""
- small_icon="icons/obj16/Constraint.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create a Link (Comment / Constraint)"
- id="component.tool.link"
- kind="tool"
- label="Link"
- large_icon="icons/obj16/Link.gif"
- path=""
- small_icon="icons/obj16/Link.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create a Dependency"
- id="component.tool.dependency"
- kind="tool"
- label="Dependency"
- large_icon="icons/obj16/Dependency.gif"
- path=""
- small_icon="icons/obj16/Dependency.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create an Abstraction"
- id="component.tool.abstraction"
- kind="tool"
- label="Abstraction"
- large_icon="icons/obj16/Abstraction.gif"
- path=""
- small_icon="icons/obj16/Abstraction.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create a Manifestation"
- id="component.tool.manifestation"
- kind="tool"
- label="Manifestation"
- large_icon="icons/obj16/Manifestation.gif"
- path=""
- small_icon="icons/obj16/Manifestation.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create a Generalization link"
- id="component.tool.generalization"
- kind="tool"
- label="Generalization"
- large_icon="icons/obj16/Generalization.gif"
- path=""
- small_icon="icons/obj16/Generalization.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create an Usage"
- id="component.tool.usage"
- kind="tool"
- label="Usage"
- large_icon="icons/obj16/Usage.gif"
- path=""
- small_icon="icons/obj16/Usage.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create a Substitution"
- id="component.tool.substitution"
- kind="tool"
- label="Substitution"
- large_icon="icons/obj16/Substitution.gif"
- path=""
- small_icon="icons/obj16/Substitution.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create an Interface Realization"
- id="component.tool.interfaceRealization"
- kind="tool"
- label="Interface Realization"
- large_icon="icons/obj16/InterfaceRealization.gif"
- path=""
- small_icon="icons/obj16/InterfaceRealization.gif">
- </entry>
- <entry
- defineOnly="true"
- description="Create a Component Realization"
- id="component.tool.componentRealization"
- kind="tool"
- label="Component Realization"
- large_icon="icons/obj16/ComponentRealization.gif"
- path=""
- small_icon="icons/obj16/ComponentRealization.gif">
- </entry>
-
- </contribution>
- </paletteProvider>
-
- </extension>
-
-<extension
- id="Papyrus Component Diagram (Incubation).standard"
- name="Papyrus Component Diagram (Incubation) Standard Palette"
- point="org.eclipse.gmf.runtime.diagram.ui.paletteProviders">
-
- <?gmfgen generated="true"?>
- <paletteProvider class="org.eclipse.gmf.runtime.diagram.ui.providers.DefaultPaletteProvider">
- <Priority name="Low"/>
- <contribution
- factoryClass="org.eclipse.papyrus.diagram.component.part.UMLPaletteFactory">
- <predefinedEntry id="standardGroup/noteStack/noteTool" remove="true"/>
- <predefinedEntry id="standardGroup/noteStack/textTool" remove="true"/>
- <predefinedEntry id="standardGroup/noteStack/noteattachmentTool" remove="true"/>
- <entry
- description="Diagram Nodes"
- id="component.group.nodes"
- kind="drawer"
- label="Nodes"
- large_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif"
- path="/"
- small_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif">
- <expand
- force="true">
- </expand>
- </entry>
-
- <predefinedEntry
- id="component.tool.package"
- path="/component.group.nodes">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.component"
- path="/component.group.nodes">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.interface"
- path="/component.group.nodes">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.port"
- path="/component.group.nodes">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.comment"
- path="/component.group.nodes">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.constraint"
- path="/component.group.nodes">
- </predefinedEntry>
-
- <entry
- description="Diagram Links"
- id="component.group.links"
- kind="drawer"
- label="Links"
- large_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif"
- path="/"
- small_icon="platform:/plugin/org.eclipse.gmf.runtime.diagram.ui/icons/group.gif">
- <expand
- force="true">
- </expand>
- </entry>
-
- <predefinedEntry
- id="component.tool.link"
- path="/component.group.links">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.dependency"
- path="/component.group.links">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.abstraction"
- path="/component.group.links">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.manifestation"
- path="/component.group.links">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.generalization"
- path="/component.group.links">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.usage"
- path="/component.group.links">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.substitution"
- path="/component.group.links">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.interfaceRealization"
- path="/component.group.links">
- </predefinedEntry>
- <predefinedEntry
- id="component.tool.componentRealization"
- path="/component.group.links">
- </predefinedEntry>
-
-
- </contribution>
- <editor id="org.eclipse.papyrus.diagram.component"/>
- </paletteProvider>
-
- </extension>
-
-<extension point="org.eclipse.ui.preferencePages">
-
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.InterfacePreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.InterfacePreferencePage"
- name="Interface Node" />
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.PortPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.PortPreferencePage"
- name="Port Node" />
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.ConstraintPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.ConstraintPreferencePage"
- name="Constraint Node" />
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.CommentPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.CommentPreferencePage"
- name="Comment Node" />
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.PackagePreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.PackagePreferencePage"
- name="Package Node" />
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.ComponentPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.ComponentPreferencePage"
- name="Component Node" />
-
-
-
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.ConstraintConstrainedElementPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.ConstraintConstrainedElementPreferencePage"
- name="ConstraintConstrainedElement Link" />
-
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.AbstractionPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.AbstractionPreferencePage"
- name="Abstraction Link" />
-
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.CommentAnnotatedElementPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.CommentAnnotatedElementPreferencePage"
- name="CommentAnnotatedElement Link" />
-
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.SubstitutionPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.SubstitutionPreferencePage"
- name="Substitution Link" />
-
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.ManifestationPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.ManifestationPreferencePage"
- name="Manifestation Link" />
-
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.GeneralizationPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.GeneralizationPreferencePage"
- name="Generalization Link" />
-
-
-
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.DependencyPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.DependencyPreferencePage"
- name="Dependency Link" />
-
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.ComponentRealizationPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.ComponentRealizationPreferencePage"
- name="ComponentRealization Link" />
-
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.InterfaceRealizationPreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.InterfaceRealizationPreferencePage"
- name="InterfaceRealization Link" />
-
-
-
- <?gmfgen generated="true"?>
- <page category="org.eclipse.papyrus.preferences.diagrams.PapyrusUMLComponentDiagram"
- class="org.eclipse.papyrus.diagram.component.preferences.UsagePreferencePage"
- id="org.eclipse.papyrus.diagram.component.preferences.UsagePreferencePage"
- name="Usage Link" />
-
-
-</extension>
-<extension point="org.eclipse.gmf.runtime.common.ui.services.parserProviders" id="parser-provider">
- <?gmfgen generated="true"?>
- <ParserProvider class="org.eclipse.papyrus.diagram.component.providers.UMLParserProvider">
- <Priority name="Lowest"/>
- </ParserProvider>
- </extension>
-<extension
- point="org.eclipse.gmf.runtime.diagram.ui.editpolicyProviders">
- <editpolicyProvider
- class="org.eclipse.papyrus.diagram.component.custom.providers.CustomEditPolicyProvider">
- <Priority
- name="Lowest">
- </Priority>
- </editpolicyProvider>
-</extension>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <!-- optionally, specify keybindings -->
-</plugin>
diff --git a/incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/AbstractionCreateCommand.java b/incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/AbstractionCreateCommand.java
deleted file mode 100644
index b79b1990df5..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/AbstractionCreateCommand.java
+++ /dev/null
@@ -1,157 +0,0 @@
-package org.eclipse.papyrus.diagram.component.edit.commands;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.gmf.runtime.common.core.command.CommandResult;
-import org.eclipse.gmf.runtime.common.core.command.ICommand;
-import org.eclipse.gmf.runtime.emf.type.core.IElementType;
-import org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.ConfigureRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
-import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest;
-import org.eclipse.papyrus.diagram.component.edit.policies.UMLBaseItemSemanticEditPolicy;
-import org.eclipse.papyrus.diagram.component.providers.ElementInitializers;
-import org.eclipse.uml2.uml.Abstraction;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Package;
-import org.eclipse.uml2.uml.UMLFactory;
-
-/**
- * @generated
- */
-public class AbstractionCreateCommand extends EditElementCommand {
-
- /**
- * @generated
- */
- protected final EObject source;
-
- /**
- * @generated
- */
- protected final EObject target;
-
-
- /**
- * @generated
- */
- protected Package container;
-
- /**
- * @generated
- */
- public AbstractionCreateCommand(CreateRelationshipRequest request, EObject source, EObject target) {
- super(request.getLabel(), null, request);
- this.source = source;
- this.target = target;
- container = deduceContainer(source, target);
- }
-
- /**
- * @generated
- */
- public boolean canExecute() {
- if(source == null && target == null) {
- return false;
- }
- if(source != null && false == source instanceof NamedElement) {
- return false;
- }
- if(target != null && false == target instanceof NamedElement) {
- return false;
- }
- if(getSource() == null) {
- return true; // link creation is in progress; source is not defined yet
- }
- // target may be null here but it's possible to check constraint
- if(getContainer() == null) {
- return false;
- }
- return UMLBaseItemSemanticEditPolicy.getLinkConstraints().canCreateAbstraction_4013(getContainer(), getSource(), getTarget());
- }
-
-
- /**
- * @generated
- */
- protected CommandResult doExecuteWithResult(IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- if(!canExecute()) {
- throw new ExecutionException("Invalid arguments in create link command"); //$NON-NLS-1$
- }
-
- Abstraction newElement = UMLFactory.eINSTANCE.createAbstraction();
- getContainer().getPackagedElements().add(newElement);
- newElement.getClients().add(getSource());
- newElement.getSuppliers().add(getTarget());
- ElementInitializers.getInstance().init_Abstraction_4013(newElement);
- doConfigure(newElement, monitor, info);
- ((CreateElementRequest)getRequest()).setNewElement(newElement);
- return CommandResult.newOKCommandResult(newElement);
-
- }
-
-
- /**
- * @generated
- */
- protected void doConfigure(Abstraction newElement, IProgressMonitor monitor, IAdaptable info) throws ExecutionException {
- IElementType elementType = ((CreateElementRequest)getRequest()).getElementType();
- ConfigureRequest configureRequest = new ConfigureRequest(getEditingDomain(), newElement, elementType);
- configureRequest.setClientContext(((CreateElementRequest)getRequest()).getClientContext());
- configureRequest.addParameters(getRequest().getParameters());
- configureRequest.setParameter(CreateRelationshipRequest.SOURCE, getSource());
- configureRequest.setParameter(CreateRelationshipRequest.TARGET, getTarget());
- ICommand configureCommand = elementType.getEditCommand(configureRequest);
- if(configureCommand != null && configureCommand.canExecute()) {
- configureCommand.execute(monitor, info);
- }
- }
-
- /**
- * @generated
- */
- protected void setElementToEdit(EObject element) {
- throw new UnsupportedOperationException();
- }
-
- /**
- * @generated
- */
- protected NamedElement getSource() {
- return (NamedElement)source;
- }
-
- /**
- * @generated
- */
- protected NamedElement getTarget() {
- return (NamedElement)target;
- }
-
- /**
- * @generated
- */
- public Package getContainer() {
- return container;
- }
-
- /**
- * Default approach is to traverse ancestors of the source to find instance of container.
- * Modify with appropriate logic.
- * @generated
- */
- protected Package deduceContainer(EObject source, EObject target) {
- // Find container element for the new link.
- // Climb up by containment hierarchy starting from the source
- // and return the first element that is instance of the container class.
- for(EObject element = source; element != null; element = element.eContainer()) {
- if(element instanceof Package) {
- return (Package)element;
- }
- }
- return null;
- }
-
-}
diff --git a/incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/AbstractionReorientCommand.java b/incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/AbstractionReorientCommand.java
deleted file mode 100644
index 744c0e9c692..00000000000
--- a/incoming/org.eclipse.papyrus.diagram.component/src/org/eclipse/papyrus/diagram/component/edit/commands/AbstractionReorientCommand.java
+++ /dev/null
@@ -1,165 +0,0 @@
-package org.eclipse.papyrus.diagram.component.edit.commands;
-
-import org.eclipse.core.commands.ExecutionException;
-import org.eclipse.core.runtime.IAdaptable;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.emf.ecore.EObject;
-import org.eclipse.gmf.runtime.common.core.command.CommandResult;
-import org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand;
-import org.eclipse.gmf.runtime.emf.type.core.requests.ReorientRelationshipRequest;
-import org.eclipse.papyrus.diagram.component.edit.policies.UMLBaseItemSemanticEditPolicy;
-import org.eclipse.uml2.uml.Abstraction;
-import org.eclipse.uml2.uml.NamedElement;
-import org.eclipse.uml2.uml.Package;
-
-/**
- * @generated
- */
-public class AbstractionReorientCommand extends EditElementCommand {
-
- /**
- * @generated
- */
- private final int reorientDirection;
-
- /**
- * @generated
- */
- private final EObject oldEnd;
-
- /**
- * @generated
- */
- private final EObject newEnd;
-
- /**
- * @generated
- */
- public AbstractionReorientCommand(ReorientRelationshipRequest request) {
- super(request.getLabel(), request.getRelationship(), request);
- reorientDirection = request.getDirection();
- oldEnd = request.getOldRelationshipEnd();
- newEnd = request.getNewRelationshipEnd();
- }
-
- /**
- * @generated
- */
- public boolean canExecute() {
- if(false == getElementToEdit() instanceof Abstraction) {
- return false;
- }
- if(reorientDirec