Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTO] Integrating of QVT Editor in my RCP Application
[QVTO] Integrating of QVT Editor in my RCP Application [message #108549] Wed, 22 July 2009 15:15 Go to next message
Youssef  is currently offline Youssef Friend
Messages: 16
Registered: July 2009
Junior Member
Hallo all,

i want to integrate a M2M QVTEditor in my RCP Application.
my question is: with whichever method you can call up the editor, also
store and save a QVT TextInput.

Thanks,
Regards

Youssef

[Updated on: Wed, 02 September 2009 10:46]

Report message to a moderator

Re: Integrating of QVT Editor in my RCP Application [message #108591 is a reply to message #108549] Thu, 23 July 2009 08:27 Go to previous messageGo to next message
Radomil Dvorak is currently offline Radomil DvorakFriend
Messages: 249
Registered: July 2009
Senior Member
Hi Youssef,

Can you be more specific about which QVT editor you refer to?
There are 2 QVT components in M2M project, Operational and Declarative.
I recommend to add [QVTo] or [QVTr] prefix to the subject of your post.

Regards,
/Radek


On Wed, 22 Jul 2009 17:15:09 +0200, Youssef <aitlaydi.youssef@gmail.com>
wrote:

> Hallo all,
>
> i want to integrate a M2M QVTEditor in my RCP Application.
> my question is: with whichever method you can call up the editor, also
> store and save a QVT TextInput.
>
> Thanks,
> Regards
>
> Youssef
>
>
Re: Integrating of QVT Editor in my RCP Application [message #483616 is a reply to message #108591] Wed, 02 September 2009 10:56 Go to previous messageGo to next message
Youssef  is currently offline Youssef Friend
Messages: 16
Registered: July 2009
Junior Member
Hallo,

I mean a QVTO Editor.
I habe open this editor in my RCP Application with FileStoreEditorInput
IDE.openEditor(fileStoreEditorInput, Editor_ID, true);

but I become one ClassCastException because QVT Editor uses a FileEditorInput:
java.lang.ClassCastException: org.eclipse.m2m.qvt.oml.horus.editor.QVTEditorProvider$QVTUR IEditorInput cannot be cast to org.eclipse.ui.part.FileEditorInput

when I use a FileEditorInput, I become another Exception that my IFile don't exist.
do you have an idea what could be the problem?
please help me.

Thanks
Re: Integrating of QVT Editor in my RCP Application [message #483758 is a reply to message #483616] Wed, 02 September 2009 20:19 Go to previous message
Eclipse UserFriend
Originally posted by: dvorak.radek.gmail.com

Hi Youssef,

The FileStoreEditorInput is not accepted by QVTEditor in 2.0.0, but is
fixed
in 3.0.0M1
http://www.eclipse.org/modeling/m2m/downloads/index.php?show All=1&hlbuild=S200908191249&project=qvtoml#S20090819 1249
and 2.0.1, check the RC2 build
http://www.eclipse.org/modeling/m2m/downloads/index.php?show All=1&hlbuild=S200909011247&project=qvtoml#S20090901 1247.

Regards,
/Radek

On Wed, 02 Sep 2009 12:56:32 +0200, Youssef <aitlaydi.youssef@gmail.com>
wrote:

> Hallo,
>
> I mean a QVTO Editor.
> I habe open this editor in my RCP Application with FileStoreEditorInput
> IDE.openEditor(fileStoreEditorInput, Editor_ID, true);
>
> but I become one ClassCastException because QVT Editor uses a
> FileEditorInput:
> java.lang.ClassCastException:
> org.eclipse.m2m.qvt.oml.horus.editor.QVTEditorProvider$QVTUR
> IEditorInput cannot be cast to org.eclipse.ui.part.FileEditorInput
>
> when I use a FileEditorInput, I become another Exception that my IFile
> don't exist.
> do you have an idea what could be the problem?
> please help me.
>
> Thanks
Previous Topic:[ATL] XML extraction with ATL 3.0
Next Topic:Syntax for Math.pow() funtion in ATL
Goto Forum:
  


Current Time: Thu Mar 28 09:38:43 GMT 2024

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

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

Back to the top