[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: Exception when generating diagram code from .gmfgen

Alex Shatalin a Ãcrit :
Hello Olivier,

unfortunatly, I got the same exception error with this modification
in my xpt file :(
I have to read it more carefully. :-) I thought exception was thrown by xpand editor.. Sorry.

ÂDEFINE throwIncorrectInputException FOR gmfgen::GenDiagram-Â
If you posted here whole content of aspects/xpt/editor/DocumentProvider.xpt (xutom template) I do not see the reason for this template at all - it is just copying original template contents..
I suggest you to remove "DEFINE uriEditorInputClassFQName", "DEFINE fileEditorInputClassFQName" and call it using fully-qualified names like:
ÂEXPAND xpt::editor::DocumentProvider::uriEditorInputClassFQName ....


-----------------
Alex Shatalin


Me again, I answer my self.

I delete the last parts of the xpt file (throwIncorrectInputException to end) and the code generation works fine.

Is it a good way to solve this issue?
What is this code used for?

Thanks again,