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 71065 Details for
Bug 182403
Remote Scratchpad Issue's
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Double Clicking on an object will expand/collapse the object if it is expandable
patch.txt (text/plain), 1.37 KB, created by
Kevin Doyle
on 2007-06-12 14:32:07 EDT
(
hide
)
Description:
Double Clicking on an object will expand/collapse the object if it is expandable
Filename:
MIME Type:
Creator:
Kevin Doyle
Created:
2007-06-12 14:32:07 EDT
Size:
1.37 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.7 >diff -u -r1.7 SystemScratchpadViewPart.java >--- UI/org/eclipse/rse/internal/ui/view/scratchpad/SystemScratchpadViewPart.java 23 May 2007 14:28:15 -0000 1.7 >+++ UI/org/eclipse/rse/internal/ui/view/scratchpad/SystemScratchpadViewPart.java 12 Jun 2007 18:13:25 -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) - [182403] Double Click on an object that can be expanded > ********************************************************************************/ > > package org.eclipse.rse.internal.ui.view.scratchpad; >@@ -187,7 +188,14 @@ > { > if (adapter.hasChildren((IAdaptable)element)) > { >- setInput((IAdaptable) element); >+ if (_viewer.getExpandedState(element)) >+ { >+ _viewer.collapseToLevel(element, 1); >+ } >+ else >+ { >+ _viewer.expandToLevel(element, 1); >+ } > } > else > {
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 182403
: 71065