Esempio n. 1
0
 /*
  * (non-Javadoc)
  *
  * @see
  * org.eclipse.draw2d.SWTEventDispatcher#setCursor(org.eclipse.swt.graphics
  * .Cursor)
  */
 @Override
 protected void setCursor(Cursor c) {
   if (overridingCursor != null) {
     c = overridingCursor;
   }
   super.setCursor(c);
 }
Esempio n. 2
0
 protected void updateFigureUnderCursor(MouseEvent me) {
   super.updateFigureUnderCursor(me);
   if (getCursorTarget() == blockFigure && (me.stateMask & SWT.BUTTON_MASK) != 0) {
     getToolTipHelper().updateToolTip(null, null, 0, 0);
     updateHoverSource(me);
   }
 }