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 73581 Details for
Bug 193155
[Scratchpad] Double Clicking on a String in the Scratchpad Errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Added a check to see if element is IAdaptable
patch.txt (text/plain), 1.50 KB, created by
Kevin Doyle
on 2007-07-11 14:42:21 EDT
(
hide
)
Description:
Added a check to see if element is IAdaptable
Filename:
MIME Type:
Creator:
Kevin Doyle
Created:
2007-07-11 14:42:21 EDT
Size:
1.50 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.ui >Index: UI/org/eclipse/rse/internal/ui/view/scratchpad/SystemScratchpadViewPart.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/scratchpad/SystemScratchpadViewPart.java,v >retrieving revision 1.9 >diff -u -r1.9 SystemScratchpadViewPart.java >--- UI/org/eclipse/rse/internal/ui/view/scratchpad/SystemScratchpadViewPart.java 9 Jul 2007 18:20:24 -0000 1.9 >+++ UI/org/eclipse/rse/internal/ui/view/scratchpad/SystemScratchpadViewPart.java 11 Jul 2007 18:38:34 -0000 >@@ -15,6 +15,7 @@ > * Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry > * Kevin Doyle (IBM) - [182403] Double Click on an object that can be expanded > * Kevin Doyle (IBM) - [195543] Double Clicking expands wrong folder when duplicate elements shown >+ * Kevin Doyle (IBM) - [193155] Double Clicking on a String in Scratchpad Errors > ********************************************************************************/ > > package org.eclipse.rse.internal.ui.view.scratchpad; >@@ -182,7 +183,7 @@ > ITreeSelection s = (ITreeSelection) event.getSelection(); > Object element = s.getFirstElement(); > >- if (element == null) >+ if (element == null || !(element instanceof IAdaptable)) > return; > > ISystemViewElementAdapter adapter = (ISystemViewElementAdapter) ((IAdaptable) element).getAdapter(ISystemViewElementAdapter.class);
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 193155
: 73581