Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext 2.0 plugin product installed(validations,coloring, and code completion features which are working fine, However Hovering stuff is not)
Xtext 2.0 plugin product installed [message #714639] Thu, 11 August 2011 07:13 Go to next message
Caner Friend
Messages: 98
Registered: July 2011
Hi All

I have a Xtext plugin which has been implemented with Xtext 2.0 as well.
When I have installed the plugin on an Indigo, I have validations,coloring, and code completion features which are working fine, However Hovering stuff is not working (hovering is working fine when I run my code),
What might be reason? Do you have any idea?


After I installed my plugin on INDIGO, I am crating an somthng.mydsl file and than start codding, when i checked the hovering whether is it working ornot
I am getting this error as below;

java.lang.Error: Unresolved compilation problem:
The method getDocumentation(EObject) of type myDSLEObjectDocumentationProvider must override a superclass method

But I have already overriden this method :I

Is it wrong with something IEObjectDoc

[Updated on: Fri, 12 August 2011 08:25]

Report message to a moderator

Re: Xtext 2.0 plugin product installed [message #714794 is a reply to message #714639] Thu, 11 August 2011 14:05 Go to previous message
Caner Friend
Messages: 98
Registered: July 2011
at at com.example.mydsl.ui.DSlEObjectDocumentationProvider.getDocumentation(
at org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.getHoverInfoAsHtml(
at org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.getHoverInfo(
at org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider$2.getInfo(
at org.eclipse.xtext.ui.editor.hover.DispatchingEObjectTextHover.getHoverInfo(
at org.eclipse.xtext.ui.editor.hover.AbstractEObjectHover$2.exec(
at org.eclipse.xtext.ui.editor.hover.AbstractEObjectHover$2.exec(
at org.eclipse.xtext.util.concurrent.AbstractReadWriteAcces.readOnly(
at org.eclipse.xtext.ui.editor.model.XtextDocument.readOnly(
at org.eclipse.xtext.ui.editor.hover.AbstractEObjectHover.getHoverInfo2(
at org.eclipse.xtext.ui.editor.hover.AbstractCompositeHover.getHoverRegion(
at org.eclipse.jface.text.TextViewerHoverManager.computeInformation(
at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(
at org.eclipse.jface.text.AbstractHoverInformationControlManager$MouseTracker.mouseHover(
at org.eclipse.swt.widgets.TypedListener.handleEvent(
at org.eclipse.swt.widgets.EventTable.sendEvent(
at org.eclipse.swt.widgets.Widget.sendEvent(
at org.eclipse.swt.widgets.Display.runDeferredEvents(
at org.eclipse.swt.widgets.Display.readAndDispatch(
at org.eclipse.ui.internal.Workbench.runEventLoop(
at org.eclipse.ui.internal.Workbench.runUI(
at org.eclipse.ui.internal.Workbench.access$4(
at org.eclipse.ui.internal.Workbench$
at org.eclipse.core.databinding.observable.Realm.runWithDefault(
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
at org.eclipse.ui.internal.ide.application.IDEApplication.start(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(
at org.eclipse.equinox.launcher.Main.basicRun(

[Updated on: Fri, 12 August 2011 07:51]

Report message to a moderator

Previous Topic:how to validate over all files & customize new project wizard
Next Topic:JvmOperation and JvmField in dsl
Goto Forum:

Current Time: Fri Apr 23 07:58:25 GMT 2021

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

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

Back to the top