Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 71086 Details for
Bug 192278
[scratchpad] Delete Dialog appears twice when Deleting from Scratchpad
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Removes handleKeyPressed() from SystemScratchpadView
patch.txt (text/plain), 2.31 KB, created by
Kevin Doyle
on 2007-06-12 16:27:21 EDT
(
hide
)
Description:
Removes handleKeyPressed() from SystemScratchpadView
Filename:
MIME Type:
Creator:
Kevin Doyle
Created:
2007-06-12 16:27:21 EDT
Size:
2.31 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.ui >Index: UI/org/eclipse/rse/internal/ui/view/scratchpad/SystemScratchpadView.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/scratchpad/SystemScratchpadView.java,v >retrieving revision 1.11 >diff -u -r1.11 SystemScratchpadView.java >--- UI/org/eclipse/rse/internal/ui/view/scratchpad/SystemScratchpadView.java 23 May 2007 14:28:15 -0000 1.11 >+++ UI/org/eclipse/rse/internal/ui/view/scratchpad/SystemScratchpadView.java 12 Jun 2007 20:18:42 -0000 >@@ -13,6 +13,7 @@ > * Contributors: > * Martin Oberhuber (Wind River) - [168975] Move RSE Events API to Core > * Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry >+ * Kevin Doyle (IBM) - [192278] Removed handleKeyPressed > ********************************************************************************/ > > package org.eclipse.rse.internal.ui.view.scratchpad; >@@ -206,14 +207,6 @@ > initDragAndDrop(); > > tableTree.setVisible(false); >- // key listening for delete press >- getControl().addKeyListener(new KeyAdapter() >- { >- public void keyPressed(KeyEvent e) >- { >- handleKeyPressed(e); >- } >- }); > getControl().addMouseListener(new MouseAdapter() > { > public void mouseDown(MouseEvent e) >@@ -1393,27 +1386,6 @@ > > } > >- >- void handleKeyPressed(KeyEvent event) >- { >- //System.out.println("Key Pressed"); >- //System.out.println("...event character : " + event.character + ", "+(int)event.character); >- //System.out.println("...event state mask: " + event.stateMask); >- //System.out.println("...CTRL : " + SWT.CTRL); >- if ((event.character == SWT.DEL) && (event.stateMask == 0) && (((IStructuredSelection) getSelection()).size() > 0)) >- { >- scanSelections(); >- if (showDelete() && canDelete()) >- { >- SystemCommonDeleteAction dltAction = (SystemCommonDeleteAction) getDeleteAction(); >- dltAction.setShell(getShell()); >- dltAction.setSelection(getSelection()); >- dltAction.setViewer(this); >- dltAction.run(); >- } >- } >- } >- > /** > * Overridden so that we can pass a wrapper IContextObject into the provider to get children instead > * of the model object, itself
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
mober.at+eclipse
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 192278
: 71086