Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » JavaEditor Example doesn't work properly,Any idea how to fix it
JavaEditor Example doesn't work properly,Any idea how to fix it [message #29872] Tue, 13 May 2003 01:35
Eclipse UserFriend
Hi all,

Actually I am trying to make the javaeditor example work like a normal
plugin.
I simply copied all the code and removed all the errors.When I open up a
file with .jav extension my editor does get invoked but I am not sure for
some reason I can't type anything on it.I am not sure which class takes
care of the input to editor side so that I can debug it.
I have searched the Eclipse site but couldn't find any information about
fixing this error.

I got same errors in JavaActionContributor,JavaEditor and
PresentationAction.There is no method by the name of getResourceBundle in
JavaEditorMessages,so I added the following method,that removed the error
I was getting but while invoking the JavaEditor(example) I got another
error stating that the Could not restore workbench layout.
Reason:Problems occured restoring workbench" If I press Details then I get
"unbale to restore perspective:Workspace Java Unable to create editor:
filename.jav.

After this if I delete the whole project and open up another project and
with that a file of extension .jav,frist I get error staitng that "unable
to create part filename.jav adn the view where the editor is suppose to be
I get the following error"An error has occured when creating this editor".

I have also updated all the files from the CVS about the editor from the
following URL:

http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.ui.exam ples.javaeditor/Eclipse%20Java%20Editor%20Example/org/eclips e/ui/examples/javaeditor/

But still there is no change.

Any pointers will appreciated.

Syed
Previous Topic:plugin editor renderer
Next Topic:Project Nature
Goto Forum:
  


Current Time: Mon Apr 28 01:29:28 EDT 2025

Powered by FUDForum. Page generated in 0.02551 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top