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 74357 Details for
Bug 197484
SystemView does not provide IContextObject for filter levels deeper than 1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
provide IContextObject for all children
patch_bugzilla#197484_IContextObject.txt (text/plain), 1.73 KB, created by
Tobias Schwarz
on 2007-07-23 10:15:29 EDT
(
hide
)
Description:
provide IContextObject for all children
Filename:
MIME Type:
Creator:
Tobias Schwarz
Created:
2007-07-23 10:15:29 EDT
Size:
1.73 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.ui >Index: UI/org/eclipse/rse/internal/ui/view/SystemView.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemView.java,v >retrieving revision 1.141 >diff -u -r1.141 SystemView.java >--- UI/org/eclipse/rse/internal/ui/view/SystemView.java 19 Jul 2007 18:27:31 -0000 1.141 >+++ UI/org/eclipse/rse/internal/ui/view/SystemView.java 23 Jul 2007 14:10:59 -0000 >@@ -3085,10 +3085,14 @@ > > protected void doOurInternalRefresh(Widget widget, Object element, boolean doStruct, boolean firstCall) { > if (widget instanceof Item) { >+ Object data = element; >+ if (data instanceof IContextObject) { >+ data = ((IContextObject)data).getModelObject(); >+ } > if (doStruct) { >- updatePlus((Item) widget, element); >+ updatePlus((Item) widget, data); > } >- updateItem(widget, element); >+ updateItem(widget, data); > } > > // recurse >@@ -3097,6 +3101,7 @@ > for (int i = 0; i < children.length; i++) { > Widget item = children[i]; > Object data = item.getData(); >+ if (data instanceof IAdaptable && item instanceof TreeItem) data = getContextObject((TreeItem)item); > if (data != null) doOurInternalRefresh(item, data, doStruct, false); > } > } >@@ -3136,6 +3141,7 @@ > for (int i = 0; i < children.length; i++) { > Widget item = children[i]; > Object data = item.getData(); >+ if (data instanceof IAdaptable && item instanceof TreeItem) data = getContextObject((TreeItem)item); > if (data != null) { > internalRSERefreshStruct(item, data, updateLabels); > }
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 197484
: 74357