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

Bug 318924

Summary: [UseCaseD] Invalid PropertyPages Path
Product: [Modeling] Papyrus Reporter: Tatiana Fesenko <tatiana.fesenko>
Component: CoreAssignee: Thibault Landré <thibault.landre>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 0.7.0   
Target Milestone: 0.7.0   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch sebastien.gerard: iplog+

Description Tatiana Fesenko CLA 2010-07-05 13:07:12 EDT
1.Select any kind of project. 
2.Invoke Properties in the context menu of the project
3. "Invalid preference page path: UseCase Diagram" in the console

When on choses UseCase diagram PropertysPages and selects "Appearance" page then there is another exception:

java.lang.ClassCastException: org.eclipse.papyrus.diagram.usecase.preferences.DiagramAppearancePreferencePage cannot be cast to org.eclipse.ui.IWorkbenchPropertyPage
at org.eclipse.ui.internal.dialogs.RegistryPageContributor.createPage(RegistryPageContributor.java:120)
...

No other Papyrus diagram has its own PropertyPage now but UseCase diagram. This functionality looks obsolete.
Comment 1 Tatiana Fesenko CLA 2010-07-05 13:08:51 EDT
This bug originally came from Bug 317961  [General] Invalid preference page path
Comment 2 Tatiana Fesenko CLA 2010-07-05 13:10:35 EDT
Created attachment 173460 [details]
Patch
Comment 3 Thibault Landré CLA 2010-07-05 13:25:56 EDT
Thank you Tatiana for the patch. I applied it.