Search in sources :

Example 1 with ProgressToolTipHelper

use of org.knime.workbench.editor2.figures.ProgressToolTipHelper in project knime-core by knime.

the class WorkflowRootEditPart method createToolTipHelper.

/**
 * @param underlyingShell underlying shell
 */
public void createToolTipHelper(final Shell underlyingShell) {
    // create a tooltip helper for all child figures
    ZoomManager zoomManager = (ZoomManager) (getRoot().getViewer().getProperty(ZoomManager.class.toString()));
    m_toolTipHelper = new ProgressToolTipHelper(getViewer().getControl(), zoomManager);
    getFigure().setProgressToolTipHelper(m_toolTipHelper);
}
Also used : ProgressToolTipHelper(org.knime.workbench.editor2.figures.ProgressToolTipHelper) ZoomManager(org.eclipse.gef.editparts.ZoomManager)

Aggregations

ZoomManager (org.eclipse.gef.editparts.ZoomManager)1 ProgressToolTipHelper (org.knime.workbench.editor2.figures.ProgressToolTipHelper)1