Search in sources :

Example 16 with DraggingInfosPopup

use of org.talend.designer.abstractmap.ui.dnd.DraggingInfosPopup in project tdi-studio-se by Talend.

the class CompleteDropTargetStyledTextListener method dragLeave.

public void dragLeave(DropTargetEvent event) {
    // System.out.println("\n>>dragLeave");
    // System.out.println(event);
    super.dragLeave(event);
    UIManager uiManager = getUiManager();
    DraggingInfosPopup draggingInfosPopup = uiManager.getDraggingInfosPopup();
    draggingInfosPopup.setExpressionContext(false);
    draggingInfosPopup.setInsertionEntryContext(false);
    uiManager.setDragging(false);
}
Also used : DraggingInfosPopup(org.talend.designer.abstractmap.ui.dnd.DraggingInfosPopup) UIManager(org.talend.designer.mapper.managers.UIManager)

Example 17 with DraggingInfosPopup

use of org.talend.designer.abstractmap.ui.dnd.DraggingInfosPopup in project tdi-studio-se by Talend.

the class DefaultDropTargetListener method setPopupVisible.

private void setPopupVisible(boolean visible) {
    AbstractUIManager uiManager = mapperManager.getUiManager();
    DraggingInfosPopup draggingInfosPopup = uiManager.getDraggingInfosPopup();
    draggingInfosPopup.setVisible(visible);
}
Also used : DraggingInfosPopup(org.talend.designer.abstractmap.ui.dnd.DraggingInfosPopup) AbstractUIManager(org.talend.designer.abstractmap.managers.AbstractUIManager)

Aggregations

DraggingInfosPopup (org.talend.designer.abstractmap.ui.dnd.DraggingInfosPopup)17 AbstractUIManager (org.talend.designer.abstractmap.managers.AbstractUIManager)13 DraggedData (org.talend.designer.abstractmap.ui.dnd.DraggedData)8 Point (org.eclipse.swt.graphics.Point)6 UIManager (org.talend.designer.mapper.managers.UIManager)6 UIManager (org.talend.designer.dbmap.managers.UIManager)4 Rectangle (org.eclipse.swt.graphics.Rectangle)2