Class HelpHoverProvider
- java.lang.Object
-
- org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
- org.yakindu.base.utils.jface.help.HelpHoverProvider
-
- All Implemented Interfaces:
org.eclipse.xtext.ui.editor.hover.IEObjectHoverProvider
public class HelpHoverProvider extends org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
Removes the first line, since the documentation already contains a header. It also removes the open declaration action
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
HelpHoverProvider.CustomHoverControlCreator
class
HelpHoverProvider.CustomPresenterControlCreator
static class
HelpHoverProvider.OpenInHelpAction
-
Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.BackAction, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.ForwardAction, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.HoverControlCreator, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.OpenDeclarationAction, org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.PresenterControlCreator
-
-
Field Summary
Fields Modifier and Type Field Description protected String
fontSymbolicName
protected HelpHoverProvider.CustomHoverControlCreator
hoverControlCreator
protected HelpHoverProvider.OpenInHelpAction
openExternalDocumentationAction
protected org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.PresenterControlCreator
presenterControlCreator
protected IStylesheetProvider
styleSheetProvider
-
Constructor Summary
Constructors Constructor Description HelpHoverProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IInformationControlCreator
getHoverControlCreator()
protected String
getHoverInfoAsHtml(EObject o)
IInformationControlCreator
getInformationPresenterControlCreator()
protected boolean
hasHover(EObject o)
protected String
loadStyleSheet()
-
-
-
Field Detail
-
fontSymbolicName
@Inject(optional=true) protected String fontSymbolicName
-
hoverControlCreator
protected HelpHoverProvider.CustomHoverControlCreator hoverControlCreator
-
presenterControlCreator
protected org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.PresenterControlCreator presenterControlCreator
-
openExternalDocumentationAction
@Inject protected HelpHoverProvider.OpenInHelpAction openExternalDocumentationAction
-
styleSheetProvider
@Inject(optional=true) protected IStylesheetProvider styleSheetProvider
-
-
Method Detail
-
loadStyleSheet
protected String loadStyleSheet()
- Overrides:
loadStyleSheet
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
hasHover
protected boolean hasHover(EObject o)
- Overrides:
hasHover
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
getHoverInfoAsHtml
protected String getHoverInfoAsHtml(EObject o)
- Overrides:
getHoverInfoAsHtml
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
getInformationPresenterControlCreator
public IInformationControlCreator getInformationPresenterControlCreator()
- Overrides:
getInformationPresenterControlCreator
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
getHoverControlCreator
public IInformationControlCreator getHoverControlCreator()
- Overrides:
getHoverControlCreator
in classorg.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider
-
-