[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: Integrating of QVT Editor in my RCP Application

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?showAll=1&hlbuild=S200908191249&project=qvtoml#S200908191249
and 2.0.1, check the RC2 build http://www.eclipse.org/modeling/m2m/downloads/index.php?showAll=1&hlbuild=S200909011247&project=qvtoml#S200909011247.


Regards,
/Radek

On Wed, 02 Sep 2009 12:56:32 +0200, Youssef <aitlaydi.youssef@xxxxxxxxx> 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