org.eclipse.xtext.ui.editor.hover.IEObjectHover Java Examples

The following examples show how to use org.eclipse.xtext.ui.editor.hover.IEObjectHover. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DotHtmlLabelAdaptingTextHover.java    From gef with Eclipse Public License 2.0 5 votes vote down vote up
public DotHtmlLabelAdaptingTextHover() {
	IEObjectHover hover = injector.getInstance(IEObjectHover.class);
	if (hover instanceof ISourceViewerAware) {
		((ISourceViewerAware) hover).setSourceViewer(sourceViewer);
	}
	this.hover = hover;
}
 
Example #2
Source File: N4JSUiModule.java    From n4js with Eclipse Public License 1.0 4 votes vote down vote up
/** Custom IEObjectHover. */
@Override
public Class<? extends IEObjectHover> bindIEObjectHover() {
	return N4JSHover.class;
}
 
Example #3
Source File: DefaultUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public Class<? extends IEObjectHover> bindIEObjectHover() {
	return DispatchingEObjectTextHover.class;
}
 
Example #4
Source File: AbstractJavaBasedContentProposalProvider.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public IEObjectHover getHover() {
	return hover;
}
 
Example #5
Source File: ConfigurableCompletionProposal.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
public void setHover (IEObjectHover hover) {
	this.hover = hover;
}
 
Example #6
Source File: DefaultXbaseUiModule.java    From xtext-eclipse with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends IEObjectHover> bindIEObjectHover() {
	return XbaseDispatchingEObjectTextHover.class;
}
 
Example #7
Source File: DotHtmlLabelUiModule.java    From gef with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends IEObjectHover> bindIEObjectHover() {
	return DotHtmlLabelSubgrammarEObjectHover.class;
}
 
Example #8
Source File: DotUiModule.java    From gef with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public Class<? extends IEObjectHover> bindIEObjectHover() {
	return DotEObjectHover.class;
}