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 146174 Details for
Bug 206592
[BiDi] BIDI_HCG: Wrong display of paths in Save Resources dialog
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch with suggested changes
patch206592 (text/plain), 2.32 KB, created by
Semion Chichelnitsky
on 2009-09-01 07:04:41 EDT
(
hide
)
Description:
Patch with suggested changes
Filename:
MIME Type:
Creator:
Semion Chichelnitsky
Created:
2009-09-01 07:04:41 EDT
Size:
2.32 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ui.workbench >Index: Eclipse UI/org/eclipse/ui/model/WorkbenchPartLabelProvider.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/model/WorkbenchPartLabelProvider.java,v >retrieving revision 1.16 >diff -u -r1.16 WorkbenchPartLabelProvider.java >--- Eclipse UI/org/eclipse/ui/model/WorkbenchPartLabelProvider.java 16 Mar 2007 18:00:39 -0000 1.16 >+++ Eclipse UI/org/eclipse/ui/model/WorkbenchPartLabelProvider.java 1 Sep 2009 11:05:25 -0000 >@@ -11,7 +11,6 @@ > package org.eclipse.ui.model; > > import java.util.HashMap; >- > import org.eclipse.jface.resource.DeviceResourceException; > import org.eclipse.jface.resource.ImageDescriptor; > import org.eclipse.jface.resource.JFaceResources; >@@ -19,6 +18,7 @@ > import org.eclipse.jface.resource.ResourceManager; > import org.eclipse.jface.viewers.ITableLabelProvider; > import org.eclipse.jface.viewers.LabelProvider; >+import org.eclipse.osgi.util.TextProcessor; > import org.eclipse.swt.graphics.Image; > import org.eclipse.ui.IWorkbenchPart; > import org.eclipse.ui.Saveable; >@@ -39,6 +39,7 @@ > > private ResourceManager resourceManager = new LocalResourceManager(JFaceResources.getResources()); > private HashMap images = new HashMap(); >+ private String textDelimiters = TextProcessor.getDefaultDelimiters() + "[]"; //$NON-NLS-1$ > > /** > * Creates a new label provider for workbench parts. >@@ -86,7 +87,8 @@ > if (path == null || path.trim().length() == 0) { > return part.getTitle(); > } >- return part.getTitle() + " [" + path + "]"; //$NON-NLS-1$ //$NON-NLS-2$ >+ return TextProcessor.process( >+ part.getTitle() + " [" + path + "]", textDelimiters); //$NON-NLS-1$ //$NON-NLS-2$ > } > if (element instanceof Saveable) { > Saveable model = (Saveable) element; >@@ -94,7 +96,8 @@ > if (path == null || path.trim().length() == 0) { > return model.getName(); > } >- return model.getName() + " [" + path + "]"; //$NON-NLS-1$ //$NON-NLS-2$ >+ return TextProcessor.process( >+ model.getName() + " [" + path + "]", textDelimiters); //$NON-NLS-1$ //$NON-NLS-2$ > > } > return null;
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 206592
: 146174