Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » openning visual editor programmatically
openning visual editor programmatically [message #611982] Wed, 08 February 2006 12:33
Eclipse UserFriend
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
Previous Topic:dnd from plaette changing code generated
Next Topic:Not able to use ve...
Goto Forum:
  


Current Time: Sun Jun 16 16:47:23 GMT 2024

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

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

Back to the top