Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 346929 - CCE on following hyperlink of overwritten Xbase rule
Summary: CCE on following hyperlink of overwritten Xbase rule
Status: CLOSED DUPLICATE of bug 346866
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: RC2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 01:22 EDT by Karsten Thoms CLA
Modified: 2011-05-24 01:37 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karsten Thoms CLA 2011-05-24 01:22:06 EDT
Steps to reproduce:
- Create a DSL derived from Xbase
- Overwrite an Xbase rule, e.g.
  XVariableDeclaration returns xbase::XExpression:
    {xbase::XVariableDeclaration}
    type=JvmTypeReference name=ID '=' right=XExpression
  ;
- Activate hyperlink on rule name "XVariableDeclaration"

=> Xtext.xtext is opened and navigated to XVariableDeclaration, but a popup message with a CCE occurs:
org.eclipse.ui.editors.text.StorageDocumentProvider$StorageInfo cannot be cast to org.eclipse.ui.editors.text.FileDocumentProvider$FileInfo

Sample project can be found at
https://svn.codespot.com/a/eclipselabs.org/lwc11-xtext/trunk
- /org.xtext.lwc.instances
- /org.xtext.lwc.instances.ui
Comment 1 Sebastian Zarnekow CLA 2011-05-24 01:37:45 EDT

*** This bug has been marked as a duplicate of bug 346866 ***