1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 07:05:24 +02:00

[188801] no need to explicitly handle delete key in team view since the retargetable action already handles it

This commit is contained in:
David McKnight 2007-05-24 20:37:43 +00:00
parent daf3260c40
commit 87f576d824

View file

@ -430,6 +430,9 @@ public class SystemTeamViewPart
{
//System.out.println("in handleKeyPressed. keyCode == SWT.F5? " + (event.keyCode==SWT.F5) + ", keyCode: "+event.keyCode);
IStructuredSelection selection = (IStructuredSelection)getSelection();
/*
* DKM - taking this out since the delete key should be handled by the retargetable action
*
if ((event.character == SWT.DEL) && (event.stateMask == 0) && (selection.size()>0) )
{
if (showDelete() && canDelete())
@ -441,7 +444,9 @@ public class SystemTeamViewPart
dltAction.run();
}
}
else if ((event.character == '-') && (event.stateMask == SWT.CTRL) )
else
*/
if ((event.character == '-') && (event.stateMask == SWT.CTRL) )
{
SystemCollapseAllAction collapseAllAction = getCollapseAllAction();
collapseAllAction.setShell(getShell());