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 81885 Details for
Bug 208390
[Markers] Improve 'No Quick Fix' dialog from new Marker view
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]
Patch for those items that are not covered by Bug 208478
208390.txt (text/plain), 3.20 KB, created by
Tod Creasey
on 2007-11-01 16:48:14 EDT
(
hide
)
Description:
Patch for those items that are not covered by Bug 208478
Filename:
MIME Type:
Creator:
Tod Creasey
Created:
2007-11-01 16:48:14 EDT
Size:
3.20 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.ide >Index: src/org/eclipse/ui/internal/provisional/views/markers/QuickFixHandler.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/internal/provisional/views/markers/QuickFixHandler.java,v >retrieving revision 1.3 >diff -u -r1.3 QuickFixHandler.java >--- src/org/eclipse/ui/internal/provisional/views/markers/QuickFixHandler.java 21 Sep 2007 20:19:05 -0000 1.3 >+++ src/org/eclipse/ui/internal/provisional/views/markers/QuickFixHandler.java 1 Nov 2007 20:47:11 -0000 >@@ -122,20 +122,26 @@ > exception); > } > >+ String markerDescription = selected.getAttribute(IMarker.MESSAGE, >+ MarkerSupportConstants.EMPTY_STRING); > if (resolutions.isEmpty()) { >- Status newStatus = new Status(IStatus.WARNING, >+ Status newStatus = new Status( >+ IStatus.INFO, > IDEWorkbenchPlugin.IDE_WORKBENCH, >- MarkerMessages.MarkerResolutionDialog_NoResolutionsFound); >+ NLS >+ .bind( >+ MarkerMessages.MarkerResolutionDialog_NoResolutionsFound, >+ new Object[] { markerDescription })); > StatusAdapter adapter = new StatusAdapter(newStatus); > adapter.setProperty(StatusAdapter.TITLE_PROPERTY, > MarkerMessages.MarkerResolutionDialog_CannotFixTitle); > StatusManager.getManager().handle(adapter, StatusManager.SHOW); > } else { >- >+ > String description = NLS.bind( >- MarkerMessages.MarkerResolutionDialog_Description, selected >- .getAttribute(IMarker.MESSAGE, MarkerSupportConstants.EMPTY_STRING)); >- >+ MarkerMessages.MarkerResolutionDialog_Description, >+ markerDescription); >+ > IWizard wizard = new QuickFixWizard(description, resolutions, view > .getSite()); > WizardDialog dialog = new QuickFixWizardDialog(view.getSite() >Index: src/org/eclipse/ui/views/markers/internal/messages.properties >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.ide/src/org/eclipse/ui/views/markers/internal/messages.properties,v >retrieving revision 1.59 >diff -u -r1.59 messages.properties >--- src/org/eclipse/ui/views/markers/internal/messages.properties 25 Oct 2007 13:27:57 -0000 1.59 >+++ src/org/eclipse/ui/views/markers/internal/messages.properties 1 Nov 2007 20:47:11 -0000 >@@ -165,7 +165,7 @@ > MarkerFilter_defaultFilterName=Default > MarkerFilter_newFilterName=New Filter > MarkerFilter_filtersTitle=User f&ilters: >-MarkerFilter_addFilterName=&New >+MarkerFilter_addFilterName=&New... > MarkerFilter_deleteSelectedName = Remo&ve > > MarkerFilterDialog_title=Add New Filter >@@ -211,9 +211,9 @@ > MarkerResolutionDialog_Problems_List_Resource = Resource > MarkerResolutionDialog_Problems_List_Location = Location > MarkerResolutionDialog_Resolutions_List_Title = &Select a fix: >-MarkerResolutionDialog_CannotFixTitle = Error fixing problem >+MarkerResolutionDialog_CannotFixTitle = Could not fix > MarkerResolutionDialog_CannotFixMessage = Could not fix {0} >-MarkerResolutionDialog_NoResolutionsFound = No fixes found >+MarkerResolutionDialog_NoResolutionsFound = {0} has no fixes available. > > MarkerResolutionDialog_AddOthers = Find Si&milar Problems >
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 208390
:
81849
| 81885