Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 285994 - [Class Diagram] CustomEditPolicyProvider declared in plug-in extensions has side effect on other diagrams
Summary: [Class Diagram] CustomEditPolicyProvider declared in plug-in extensions has s...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 0.7.0   Edit
Assignee: Patrick Tessier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 281320
  Show dependency tree
 
Reported: 2009-08-07 09:16 EDT by Yann Tanguy CLA
Modified: 2009-09-21 09:26 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yann Tanguy CLA 2009-08-07 09:16:36 EDT
When creating a Connector between Port elements, the ConnectorEnd::partWithPort property is not correctly filled in. 
This is a side effect from the following EditPolicyProvider declared in ClassDiagram plug-in and remaining active even when the active diagram is not a ClassDiagram (this results in the custom GRAPH_NODE_ROLE edit policy being ignored on Port).

<extension
         point="org.eclipse.gmf.runtime.diagram.ui.editpolicyProviders">
      <editpolicyProvider
            class="org.eclipse.papyrus.diagram.clazz.custom.providers.CustomEditPolicyProvider">
         <Priority
               name="Highest">
         </Priority>
      </editpolicyProvider>
</extension>
Comment 1 Yann Tanguy CLA 2009-09-21 09:26:42 EDT
Seems to be corrected (tested in r519).