[QVTO] Methode to create and open the QVT Editor [message #479286] |
Mon, 10 August 2009 10:53  |
Eclipse User |
|
|
|
Hallo All,
I want to integrate the M2M QVTO Editor in my RCP Application. this is my
first TextEditor in my RCP Application. so i search one Methode to create
a Editor with Input and another Methode to open the Editor.
in which packages exist these Methodes.
I found a run() Mehtode in the package
"org.eclipse.m2m.internal.qvt.oml.editor.ui.actions". is this Methode
helpful?
Thanks,
Greetings
|
|
|
|
|
|
Re: [QVTO] Methode to create and open the QVT Editor [message #479996 is a reply to message #479973] |
Thu, 13 August 2009 07:54  |
Eclipse User |
|
|
|
Originally posted by: dvorak.radek.gmail.com
Hi Youssef,
You have to use a file input with the editor, that is the limitation (bug)
of 2.0.0 release.
It looks like you have used uri, which caused the problem.
The snippet bellow works for sure:
IDE.openEditor(activeWorkbenchWindow.getActivePage(),
ResourcesPlugin.getWorkspace().getRoot().getFile(new
Path("/x/src/Simpleuml_To_Rdb.qvto")),
"org.eclipse.m2m.qvt.oml.editor.ui.QvtEditor", true);
Sorry for the delay!
Regards,
/Radek
On Thu, 13 Aug 2009 12:17:29 +0200, Youssef <aitlaydi.youssef@gmail.com>
wrote:
> Hallo All,
>
> I still get the same Exception.
> I need a method to create the file in the workspace.
> Please, I need your help. :? Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.05696 seconds