[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.technology.gmt] Re: oaw: Error in xtend-Editor

Dear Tobias,

Could you ask your question on the new GMT newsgroup: news://news.eclipse.org/eclipse.modeling.gmt ?

The newsgroup eclipse.technology.gmt will be closed and archived soon.

Regards,
Freddy.

Tobias Buhr a écrit :
Hi all,

I've got a problem with the eclipse xtend-editor, it says me there is an
error:

"Couldn't find operation 'createTypeDeclaration(uml::String,Boolean)'
for type 'jast::CompilationUnit'"

but when starting the worklflow it works. Problem is that the types
uml::String and the builtin String are not identical.

Here is the code-snippet:

---

create CompilationUnit this createCompilationUnit(uml::Class c):
this.types.add(createTypeDeclaration(c.name,false));
	
create TypeDeclaration this createTypeDeclaration(String name, Boolean
isInterface):
this.setTypeName(createSimpleName(name)) ->
this.setInterface(isInterface);

---

What to do?

Thanks, Tobias