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 152544 Details for
Bug 292691
PDE's use of p2 API
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]
once more, with feeling...
pdeuipatch.txt (text/plain), 4.63 KB, created by
Susan McCourt
on 2009-11-18 19:28:59 EST
(
hide
)
Description:
once more, with feeling...
Filename:
MIME Type:
Creator:
Susan McCourt
Created:
2009-11-18 19:28:59 EST
Size:
4.63 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.ui >Index: META-INF/MANIFEST.MF >=================================================================== >RCS file: /cvsroot/eclipse/pde/ui/org.eclipse.pde.ui/META-INF/MANIFEST.MF,v >retrieving revision 1.78.4.2 >diff -u -r1.78.4.2 MANIFEST.MF >--- META-INF/MANIFEST.MF 13 Nov 2009 21:30:16 -0000 1.78.4.2 >+++ META-INF/MANIFEST.MF 19 Nov 2009 00:31:55 -0000 >@@ -95,6 +95,7 @@ > org.eclipse.core.expressions;bundle-version="[3.2.0,4.0.0)", > org.eclipse.ui.navigator.resources;bundle-version="[3.3.100,4.0.0)", > org.eclipse.equinox.p2.ui;bundle-version="[2.0.0,3.0.0)", >+ org.eclipse.equinox.p2.common;bundle-version="[2.0.0,3.0.0)", > org.eclipse.equinox.p2.metadata;bundle-version="[2.0.0,3.0.0)", > org.eclipse.equinox.p2.engine;bundle-version="[2.0.0,3.0.0)", > org.eclipse.equinox.p2.core;bundle-version="[1.0.0,2.0.0)", >Index: src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java >=================================================================== >RCS file: /cvsroot/eclipse/pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java,v >retrieving revision 1.9.6.2 >diff -u -r1.9.6.2 EditIUContainerPage.java >--- src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java 18 Nov 2009 19:50:03 -0000 1.9.6.2 >+++ src/org/eclipse/pde/internal/ui/shared/target/EditIUContainerPage.java 19 Nov 2009 00:31:55 -0000 >@@ -19,7 +19,6 @@ > import org.eclipse.equinox.internal.p2.ui.query.IUViewQueryContext; > import org.eclipse.equinox.internal.provisional.p2.engine.IProfile; > import org.eclipse.equinox.internal.provisional.p2.metadata.IInstallableUnit; >-import org.eclipse.equinox.p2.operations.IUPropertyUtils; > import org.eclipse.equinox.p2.ui.Policy; > import org.eclipse.equinox.p2.ui.ProvisioningUI; > import org.eclipse.jface.action.IAction; >@@ -342,11 +341,11 @@ > IInstallableUnit[] selected = fAvailableIUGroup.getSelectedIUs(); > if (selected.length == 1) { > StringBuffer result = new StringBuffer(); >- String description = IUPropertyUtils.getIUProperty(selected[0], IInstallableUnit.PROP_DESCRIPTION); >+ String description = profileUI.getTranslationSupport().getIUProperty(selected[0], IInstallableUnit.PROP_DESCRIPTION); > if (description != null) { > result.append(description); > } else { >- String name = IUPropertyUtils.getIUProperty(selected[0], IInstallableUnit.PROP_NAME); >+ String name = profileUI.getTranslationSupport().getIUProperty(selected[0], IInstallableUnit.PROP_NAME); > if (name != null) > result.append(name); > else >Index: src/org/eclipse/pde/internal/ui/shared/target/StyledBundleLabelProvider.java >=================================================================== >RCS file: /cvsroot/eclipse/pde/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/shared/target/StyledBundleLabelProvider.java,v >retrieving revision 1.4.6.1 >diff -u -r1.4.6.1 StyledBundleLabelProvider.java >--- src/org/eclipse/pde/internal/ui/shared/target/StyledBundleLabelProvider.java 10 Nov 2009 17:23:58 -0000 1.4.6.1 >+++ src/org/eclipse/pde/internal/ui/shared/target/StyledBundleLabelProvider.java 19 Nov 2009 00:31:55 -0000 >@@ -10,13 +10,12 @@ > *******************************************************************************/ > package org.eclipse.pde.internal.ui.shared.target; > >-import org.eclipse.equinox.p2.operations.IUPropertyUtils; >- > import com.ibm.icu.text.MessageFormat; > import java.net.URI; > import org.eclipse.core.runtime.*; > import org.eclipse.equinox.internal.provisional.frameworkadmin.BundleInfo; > import org.eclipse.equinox.internal.provisional.p2.metadata.IInstallableUnit; >+import org.eclipse.equinox.p2.common.TranslationSupport; > import org.eclipse.jface.resource.ImageDescriptor; > import org.eclipse.jface.viewers.*; > import org.eclipse.pde.internal.core.target.*; >@@ -38,6 +37,7 @@ > > private boolean fShowVersion = true; > private boolean fAppendResolvedVariables = false; >+ private TranslationSupport fTranslations; > > /** > * Creates a label provider. >@@ -50,6 +50,7 @@ > PDEPlugin.getDefault().getLabelProvider().connect(this); > fShowVersion = showVersion; > fAppendResolvedVariables = appendResolvedVariables; >+ fTranslations = new TranslationSupport(); > } > > /* (non-Javadoc) >@@ -136,7 +137,7 @@ > appendIncludedBundles(styledString, container); > } else if (element instanceof IInstallableUnit) { > IInstallableUnit iu = (IInstallableUnit) element; >- String name = IUPropertyUtils.getIUProperty(iu, IInstallableUnit.PROP_NAME); >+ String name = fTranslations.getIUProperty(iu, IInstallableUnit.PROP_NAME); > if (name == null) { > name = iu.getId(); > }
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 292691
:
152095
|
152205
|
152362
|
152365
|
152504
|
152544
|
152984
|
152986
|
153141
|
153282
|
153349
|
153895
|
153988
|
154541
|
154542
|
154883
|
155120
|
155154
|
155466
|
155547
|
155813
|
155814
|
155879
|
155912
|
155913
|
155979