Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-ui-dev] org.eclipse.ui.editors.text.TextEditor can be accesed just on runable time?

I find it (I solve it.)
 
One issue about this is really begginers issue : ADD DEPENDENCY to my plugin.
When I did that I got problem :

           "The project was not built since its build path is incomplete. Cannot find the class file for org.eclipse.ui.texteditor.StatusTextEditor".

 

If I use instead of  org.eclipse.ui.editors.text.TextEditor importing that class in the begining of my program and just TextEditor (if I don't use apsolute path to that class)then I don't get that compiling error.

 

Well, ... OK I solved all of my problems so far by myself.

Sorry and thanks for your time (if you lost it because of my beginers problem).

 


Mladen Adamovic <oldadamml@xxxxxxxxx> wrote:

org.eclipse.ui.editors.text.TextEditor is class that can be accesed just on runable time in 3.0.1. If I try to use it or any other class - Eclipse shows compile errors?
What should I do?
 
Why shouldn't I use
                org.eclipse.ui.editors.text.TextEditor te;
                org.eclipse.ui.texteditor.ITextEditor ite;
 
but following part of code print me
           iePart1=page.openEditor(fei_file1,DEFAULT_TEXT_EDITOR_ID);
           System.out.println(iePart1.getClass().toString());
regulary org.eclipse.ui.editors.text.TextEditor
 
what should I do?
 
[excuse me if this is not good mailing list for questions about developing Eclipse plugin and point me about right one, thanks ]
 


Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.

Back to the top