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 75192 Details for
Bug 197444
Draw2d FocuseTraverseManager Performances
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Diff between FocusTraverseManager and proposed FocusTraverseManager
patch (text/plain), 822 bytes, created by
Manuel Selva
on 2007-08-02 04:03:10 EDT
(
hide
)
Description:
Diff between FocusTraverseManager and proposed FocusTraverseManager
Filename:
MIME Type:
Creator:
Manuel Selva
Created:
2007-08-02 04:03:10 EDT
Size:
822 bytes
patch
obsolete
>12a13 >> import java.util.HashMap; >13a15 >> import java.util.Map; >24c26 >< public class FocusTraverseManager { >--- >> public class FocusTraverseManager2 { >31c33 >< public FocusTraverseManager() { } >--- >> public FocusTraverseManager2() { } >62a65,68 >> Map<Integer, Integer> levelToIndex = new HashMap<Integer, Integer>(); >> levelToIndex.put(0, 0); >> int currentLevel = 0; >> >66d71 >< >79a85,86 >> currentLevel++; >> levelToIndex.put(currentLevel, 0); >85a93 >> levelToIndex.put(currentLevel, levelToIndex.get(currentLevel) + 1); >92a101 >> currentLevel--; >96c105 >< int parentIndex = gp.getChildren().indexOf(p); >--- >> int parentIndex = gp.getChildren().indexOf(p);//levelToIndex.get(currentLevel); >99a109 >> levelToIndex.put(currentLevel, levelToIndex.get(currentLevel) + 1); >112c122 >< } >--- >> }
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
Actions:
View
|
Diff
Attachments on
bug 197444
: 75192 |
131283