Package org.eclipse.gef.util
Interface IToolTipHelperFactory
public interface IToolTipHelperFactory
OSGi service used within the
DomainEventDispatcher to inject a custom
ToolTipHelper.- Since:
- 3.25
-
Method Summary
Modifier and TypeMethodDescriptionorg.eclipse.draw2d.ToolTipHelpercreate(Control control, EditPartViewer viewer) Creates and returns a newToolTipHelperinstance.
-
Method Details
-
create
Creates and returns a newToolTipHelperinstance. This method may returnnull, if this factory can't create a helper for the given edit-part viewer.- If multiple services are registered, the first non-null
ToolTipHelperis used.- If no
ToolTipHelpercould be created,SWTEventDispatcher.createToolTipHelper()is used.- Parameters:
control- Thecontrolassociated with theDomainEventDispatcherviewer- Theviewerassociated with theDomainEventDispatcher.- Returns:
- as described.
-