openning visual editor programmatically [message #611982] |
Wed, 08 February 2006 12:33 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
Originally posted by: rashmi.h.ramachandra.sap.com
Hi All,
I am trying to open Visual Editor. I am using the following code.
JavaVisualEditorPart javaVisualEditor =
(JavaVisualEditorPart)activePage.openEditor(new
FileEditorInput(file)," org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itor ",true);
This code I have used in a plugin that can be invoked from the package
explorer's context menu on a particular file . When I invoke the menu item
on the file ,it says 'file not found' in the java editor window and has a
blank page in the visual editor window. The FileEditorInput is loading
properly. I have checked it.
can anybody please help,
-Rashmi . H. R
|
|
|
Powered by
FUDForum. Page generated in 0.04406 seconds