Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 290236

Summary: [All diagrams] Remove org.eclipse.uml2.diagram.clazz strings in the code
Product: [Modeling] Papyrus Reporter: Patrick Tessier <Patrick.Tessier>
Component: CoreAssignee: Patrick Tessier <Patrick.Tessier>
Status: RESOLVED FIXED QA Contact:
Severity: critical    
Priority: P3 Keywords: plan
Version: 0.7.0   
Target Milestone: 0.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard: UML 2.x Diagrams
Attachments:
Description Flags
mylyn/context/zip none

Description Patrick Tessier CLA 2009-09-23 06:36:41 EDT
When you find this research "org.eclipse.uml2.diagram.clazz" in all files you find 24 matches in several plugins.

It is important to remove in order to avoid border effects.
First, the backbones has to be cleaned and then adaptor and clazz diagram and common
Comment 1 Remi Schnekenburger CLA 2010-06-09 05:20:19 EDT
There are still some references to this String in the adaptor for GMF. Some of them are part of commented code, which could be removed. Some are in the preferences in the diagram.common plugin.
Comment 2 Patrick Tessier CLA 2010-06-18 03:35:22 EDT
Created attachment 172188 [details]
mylyn/context/zip

impacted elements
Comment 3 Patrick Tessier CLA 2010-06-18 03:38:14 EDT
It remains a constant in the gmf adaptor,

Cédric, can you ensure that if we change this ID there is no impact about running of Papyrus (GmfMultiDiagramDocumentProvider.java line 1108):

	public static String getEditingDomainID() {
		return "org.eclipse.uml2.diagram.clazz.EditingDomain"; //$NON-NLS-1$
	}
Comment 4 Cedric Dumoulin CLA 2010-06-29 10:54:38 EDT
The method seem to be not used. So, I propose to remove it.
Comment 5 Cedric Dumoulin CLA 2010-06-29 11:07:51 EDT
Patrick, you can close this bug if you think that all occurences have been removed.
Comment 6 Patrick Tessier CLA 2010-06-29 11:32:59 EDT
It is ok for me