Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Implementing createChildren
Implementing createChildren [message #1386721] Thu, 19 June 2014 16:00 Go to next message
Eclipse UserFriend
I'm getting the error below when I compile the Xtext generated ui plugin.

The AQLOutlineTreeProvider.xtend was automatically generated so does it have to be changed after that or is there a way to resolve the error without changing the .xtend file?

The class AQLOutlineTreeProvider must be defined abstract because it does not implement createChildren(IOutlineNode, EObject)
19-Jun-2014 11:39:42 	     [java]      [java] 5331 [main] ERROR org.eclipse.xtend.core.compiler.batch.XtendBatchCompiler  - 
Re: Implementing createChildren [message #1386723 is a reply to message #1386721] Thu, 19 June 2014 16:01 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

if there is a error this is a bug.
Re: Implementing createChildren [message #1386724 is a reply to message #1386723] Thu, 19 June 2014 16:17 Go to previous messageGo to next message
Eclipse UserFriend
Hi Christian,

It goes away if add the keyword abstract, is that required? Should the generator adds it by default, is that what you meant as a bug?


/*
* generated by Xtext
*/
package gov.nasa.arc.advocate.queries.xtext.ui.outline

/**
 * Customization of the default outline structure.
 *
 * see http://www.eclipse.org/Xtext/documentation.html#outline
 */
abstract class AQLOutlineTreeProvider extends org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider {
	
}

Re: Implementing createChildren [message #1386725 is a reply to message #1386724] Thu, 19 June 2014 16:24 Go to previous message
Eclipse UserFriend
no

the class should compile out of the box. it seems there is something wrong with your project setup.

DefaultOutlineTreeProvider is not abstract and thus every subclass should be fine.

Previous Topic:Replacing STRING terminal/skip inserting closing terminal
Next Topic:Generate xtext artifacts for an edited metamodel
Goto Forum:
  


Current Time: Sun Jul 06 11:50:27 EDT 2025

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

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

Back to the top