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

Bug 344244

Summary: illegal API use in org.eclipse.modisco.infra.discovery.ui.internal.celleditors.composite.TargetURIComposite
Product: [Modeling] MoDisco Reporter: Nicolas Bros <nicolas.bros>
Component: InfrastructureAssignee: Nicolas Bros <nicolas.bros>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: gdupe, hugo.bruneliere, Kenn.Hussey, modisco.web-inbox
Version: 0.9.0Flags: Kenn.Hussey: pmc_approved+
Target Milestone: 0.9.1 RC2   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
patch gdupe: review+

Description Nicolas Bros CLA 2011-04-29 04:51:26 EDT
org.eclipse.modisco.infra.discovery.ui.internal.celleditors.composite.TargetURIComposite contains an anonymous class that extends org.eclipse.ui.dialogs.SaveAsDialog, which is marked @noextend
Comment 1 Nicolas Bros CLA 2011-06-07 11:11:24 EDT
Created attachment 197507 [details]
patch

This patch replaces the use of the SaveAsDialog class by WorkspaceResourceDialog from EMF Common UI, so as to avoid having to subclass SaveAsDialog.
Comment 2 Gregoire Dupe CLA 2011-08-22 08:05:28 EDT
Hello Kenn,

Here is a patch fixing the illegal use of org.eclipse.ui.dialogs.SaveAsDialog by a MoDisco 0.9 component. 

Cf. http://download.eclipse.org/modeling/mdt/modisco/downloads/drops/0.9.0/R201106080421/api_report/html/org.eclipse.ui.ide%20%283.7.0%29/org.eclipse.ui.dialogs.SaveAsDialog.html

Do you agree to apply this patch in the service release?

Regards,
Gregoire
Comment 3 Nicolas Bros CLA 2011-08-22 10:37:20 EDT
Committed on trunk (revision 4533) and branch 0_9 (revision 4534).
Comment 4 Hugo Bruneliere CLA 2012-05-29 08:29:48 EDT
Already solved.