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 87315 Details for
Bug 211127
[registry view] Disabling/Enabling plug-in does not refresh its icon
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch
clipboard.txt (text/plain), 1.43 KB, created by
Jacek Pospychala
on 2008-01-18 20:19:58 EST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Jacek Pospychala
Created:
2008-01-18 20:19:58 EST
Size:
1.43 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.runtime >Index: src/org/eclipse/pde/internal/runtime/registry/RegistryBrowser.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.runtime/src/org/eclipse/pde/internal/runtime/registry/RegistryBrowser.java,v >retrieving revision 1.58 >diff -u -r1.58 RegistryBrowser.java >--- src/org/eclipse/pde/internal/runtime/registry/RegistryBrowser.java 2 Jan 2008 16:06:15 -0000 1.58 >+++ src/org/eclipse/pde/internal/runtime/registry/RegistryBrowser.java 19 Jan 2008 01:16:46 -0000 >@@ -66,6 +66,7 @@ > import org.osgi.framework.Bundle; > import org.osgi.framework.BundleException; > import org.osgi.framework.Constants; >+import org.osgi.service.packageadmin.PackageAdmin; > > public class RegistryBrowser extends ViewPart { > >@@ -436,6 +437,8 @@ > platformAdmin.removeDisabledInfo(infos[i]); > } > } >+ PackageAdmin packageAdmin = PDERuntimePlugin.getDefault().getPackageAdmin(); >+ packageAdmin.refreshPackages((Bundle[]) bundles.toArray(new Bundle[bundles.size()])); > } > }; > >@@ -450,6 +453,8 @@ > PlatformAdmin platformAdmin = PDERuntimePlugin.getDefault().getPlatformAdmin(); > platformAdmin.addDisabledInfo(info); > } >+ PackageAdmin packageAdmin = PDERuntimePlugin.getDefault().getPackageAdmin(); >+ packageAdmin.refreshPackages((Bundle[]) bundles.toArray(new Bundle[bundles.size()])); > } > };
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 211127
: 87315