Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Any Help on "The type org.eclipse.ui.IStorageEditorInput cant be resolved. It is indirectly referenced from required .class files"




Hi , when I am trying to parse the source by taking code from OpenDefinationAction.java
I am get the error  "The type org.eclipse.ui.IStorageEditorInput cant be resolved. It is indirectly referenced from required .class files"
 
For the following code, it is giving this error. ( I found this error coming, by adding ExternalEditorInput )
 ......................
                if (fEditor.getEditorInput() instanceof ExternalEditorInput) {
                    ExternalEditorInput input = (ExternalEditorInput)fEditor.getEditorInput();
                    try {
                        // get the project for the external editor input's translation unit
                        project = input.getTranslationUnit();
                        while (!(project instanceof ICProject) && project != null) {
                            project = project.getParent();
                        }
        
         ..............................
 
Can any one help to resolve this error ?
Thanks in Advance.....


--
Thanks & Regards
Shiva
 

Back to the top