[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.ve] Re: Opening the jave class in ve programmatically
|
- From: Gili Mendel <gmendel@xxxxxxxxxx>
- Date: Wed, 17 Aug 2005 09:48:13 -0400
- Newsgroups: eclipse.tools.ve
- Organization: EclipseCorner
- User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
Rashmi Ramachandra wrote:
Hi all,
I want to open my java class programmatically in eclipse visual editor.
I was able to open the java editor by using the following code.
IEditorPart javaEditor = JavaUI.openInEditor(type);
( type is an instance of ICompilationUnit)
Is something similar possible for visual editor? If any information is
available on this front please forward it to me.
Thanks in advance.
-Rashmi
This method will eventually call
IEditorPart editorPart= IDE.openEditor(p, file, activate);
.. have not tried it, but I assume that if the file was set to use the VE, it will open the VE.