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 41598 Details for
Bug 97737
[CellEditors] combo cell editor pops up in unexpected location in task view column
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Icon for the normal state
patch_39518.txt (text/plain), 3.10 KB, created by
Szymon Brandys
on 2006-05-16 11:37:45 EDT
(
hide
)
Description:
Icon for the normal state
Filename:
MIME Type:
Creator:
Szymon Brandys
Created:
2006-05-16 11:37:45 EDT
Size:
3.10 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.ide >Index: src/org/eclipse/ui/views/markers/internal/FieldPriority.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/FieldPriority.java,v >retrieving revision 1.13 >diff -u -r1.13 FieldPriority.java >--- src/org/eclipse/ui/views/markers/internal/FieldPriority.java 8 May 2006 20:54:11 -0000 1.13 >+++ src/org/eclipse/ui/views/markers/internal/FieldPriority.java 16 May 2006 15:28:02 -0000 >@@ -29,6 +29,8 @@ > > static final String LOW_PRIORITY_IMAGE_PATH = "obj16/lprio_tsk.gif"; //$NON-NLS-1$ > >+ static final String NORMAL_PRIORITY_IMAGE_PATH = "obj16/nprio_tsk.gif"; //$NON-NLS-1$ >+ > private String description; > > /** >@@ -95,22 +97,26 @@ > * @see org.eclipse.ui.views.markers.internal.IField#getImage(java.lang.Object) > */ > public Image getImage(Object obj) { >- if (obj == null || !(obj instanceof TaskMarker)) { >- return null; >- } >- try { >- int priority = ((TaskMarker) obj).getPriority(); >- if (priority == IMarker.PRIORITY_HIGH) { >- return getImage(HIGH_PRIORITY_IMAGE_PATH); >- } >- if (priority == IMarker.PRIORITY_LOW) { >- return getImage(LOW_PRIORITY_IMAGE_PATH); >- } >- } catch (NumberFormatException e) { >- return null; >- } >- return null; >- } >+ if (obj == null || !(obj instanceof TaskMarker)) { >+ return null; >+ } >+ >+ int priority = ((TaskMarker) obj).getPriority(); >+ >+ switch (priority) { >+ case IMarker.PRIORITY_HIGH: >+ return getImage(HIGH_PRIORITY_IMAGE_PATH); >+ >+ case IMarker.PRIORITY_LOW: >+ return getImage(LOW_PRIORITY_IMAGE_PATH); >+ >+ case IMarker.PRIORITY_NORMAL: >+ return getImage(NORMAL_PRIORITY_IMAGE_PATH); >+ >+ default: >+ return null; >+ } >+ } > > /* > * (non-Javadoc) >Index: icons/full/obj16/nprio_tsk.gif >=================================================================== >RCS file: icons/full/obj16/nprio_tsk.gif >diff -N icons/full/obj16/nprio_tsk.gif >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ icons/full/obj16/nprio_tsk.gif 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,1 @@ >+GIF89a÷¡¸??¨l}=Us)Hkÿÿÿ!ù,@-H°à@*,0ÀÂ#.?Pb-jÜÈQ F?;Zl(²¤Â;
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 97737
:
41441
|
41442
|
41579
| 41598 |
41719