use of org.talend.commons.ui.swt.dnd.DNDKeyAnalyzer in project tdi-studio-se by Talend.
the class DefaultDropTargetListener method detectPressedKeys.
/**
* DOC amaumont Comment method "detectPressedKeys".
*
* @param event
*/
protected void detectPressedKeys(DropTargetEvent event) {
DNDKeyAnalyzer keyAnalyzer = new DNDKeyAnalyzer(event);
AbstractUIManager uiManager = mapperManager.getUiManager();
uiManager.setCtrlPressed(keyAnalyzer.isCtrlPressed());
uiManager.setShiftPressed(keyAnalyzer.isShiftPressed());
}
Aggregations