org.eclipse.xtext.ui.editor.hover.html
Class DefaultEObjectHoverProvider.HoverControlCreator

java.lang.Object
  extended by org.eclipse.jface.text.AbstractReusableInformationControlCreator
      extended by org.eclipse.xtext.ui.editor.hover.html.DefaultEObjectHoverProvider.HoverControlCreator
All Implemented Interfaces:
java.util.EventListener, org.eclipse.jface.text.IInformationControlCreator, org.eclipse.jface.text.IInformationControlCreatorExtension, org.eclipse.swt.events.DisposeListener, org.eclipse.swt.internal.SWTEventListener
Enclosing class:
DefaultEObjectHoverProvider

public final class DefaultEObjectHoverProvider.HoverControlCreator
extends org.eclipse.jface.text.AbstractReusableInformationControlCreator


Constructor Summary
DefaultEObjectHoverProvider.HoverControlCreator(org.eclipse.jface.text.IInformationControlCreator informationPresenterControlCreator)
           
 
Method Summary
 boolean canReuse(org.eclipse.jface.text.IInformationControl control)
          Tests if an existing information control can be reused.
 org.eclipse.jface.text.IInformationControl doCreateInformationControl(org.eclipse.swt.widgets.Shell parent)
          Creates the control.
 
Methods inherited from class org.eclipse.jface.text.AbstractReusableInformationControlCreator
canReplace, createInformationControl, widgetDisposed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultEObjectHoverProvider.HoverControlCreator

public DefaultEObjectHoverProvider.HoverControlCreator(org.eclipse.jface.text.IInformationControlCreator informationPresenterControlCreator)
Method Detail

doCreateInformationControl

public org.eclipse.jface.text.IInformationControl doCreateInformationControl(org.eclipse.swt.widgets.Shell parent)
Description copied from class: org.eclipse.jface.text.AbstractReusableInformationControlCreator
Creates the control.

Specified by:
doCreateInformationControl in class org.eclipse.jface.text.AbstractReusableInformationControlCreator
Parameters:
parent - the parent shell
Returns:
the created information control

canReuse

public boolean canReuse(org.eclipse.jface.text.IInformationControl control)
Description copied from interface: org.eclipse.jface.text.IInformationControlCreatorExtension
Tests if an existing information control can be reused.

Specified by:
canReuse in interface org.eclipse.jface.text.IInformationControlCreatorExtension
Overrides:
canReuse in class org.eclipse.jface.text.AbstractReusableInformationControlCreator
Parameters:
control - the information control to test
Returns:
true if the control can be reused