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 130524 Details for
Bug 270684
[patch] [plug-in registry] add support for OSGi Remote Services/Remote Service Admin
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
patch.txt (text/plain), 3.08 KB, created by
Jacek Pospychala
on 2009-04-01 05:25:33 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Jacek Pospychala
Created:
2009-04-01 05:25:33 EDT
Size:
3.08 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.runtime >Index: src/org/eclipse/pde/internal/runtime/PDERuntimePluginImages.java >=================================================================== >RCS file: /cvsroot/eclipse/pde/ui/org.eclipse.pde.runtime/src/org/eclipse/pde/internal/runtime/PDERuntimePluginImages.java,v >retrieving revision 1.44 >diff -u -r1.44 PDERuntimePluginImages.java >--- src/org/eclipse/pde/internal/runtime/PDERuntimePluginImages.java 30 Mar 2009 01:50:01 -0000 1.44 >+++ src/org/eclipse/pde/internal/runtime/PDERuntimePluginImages.java 1 Apr 2009 09:18:10 -0000 >@@ -79,6 +79,7 @@ > public static final ImageDescriptor DESC_PLUGINS_OBJ = create(PATH_OBJ, "plugins_obj.gif"); //$NON-NLS-1$ > public static final ImageDescriptor DESC_FRAGMENT_OBJ = create(PATH_OBJ, "frgmt_obj.gif"); //$NON-NLS-1$ > public static final ImageDescriptor DESC_PACKAGE_OBJ = create(PATH_OBJ, "package_obj.gif"); //$NON-NLS-1$ >+ public static final ImageDescriptor DESC_REMOTE_SERVICE_OBJ = create(PATH_OBJ, "service_registration_obj.gif"); //$NON-NLS-1$ > > /* > * Overlays >Index: src/org/eclipse/pde/internal/runtime/registry/RegistryBrowserLabelProvider.java >=================================================================== >RCS file: /cvsroot/eclipse/pde/ui/org.eclipse.pde.runtime/src/org/eclipse/pde/internal/runtime/registry/RegistryBrowserLabelProvider.java,v >retrieving revision 1.43 >diff -u -r1.43 RegistryBrowserLabelProvider.java >--- src/org/eclipse/pde/internal/runtime/registry/RegistryBrowserLabelProvider.java 30 Mar 2009 01:50:01 -0000 1.43 >+++ src/org/eclipse/pde/internal/runtime/registry/RegistryBrowserLabelProvider.java 1 Apr 2009 09:18:10 -0000 >@@ -10,8 +10,6 @@ > *******************************************************************************/ > package org.eclipse.pde.internal.runtime.registry; > >-import org.eclipse.pde.internal.runtime.PDERuntimeMessages; >- > import java.util.Arrays; > import org.eclipse.jface.resource.ImageDescriptor; > import org.eclipse.jface.viewers.*; >@@ -47,6 +45,7 @@ > private Image fServicePropertyImage; > private Image fFragmentImage; > private Image fPackageImage; >+ private Image fRemoteServiceImage; > private RegistryBrowser fRegistryBrowser; > > public RegistryBrowserLabelProvider(RegistryBrowser browser) { >@@ -70,6 +69,7 @@ > fPluginsImage = PDERuntimePluginImages.DESC_PLUGINS_OBJ.createImage(); > fFragmentImage = PDERuntimePluginImages.DESC_FRAGMENT_OBJ.createImage(); > fPackageImage = PDERuntimePluginImages.DESC_PACKAGE_OBJ.createImage(); >+ fRemoteServiceImage = PDERuntimePluginImages.DESC_REMOTE_SERVICE_OBJ.createImage(); > > ImageDescriptor activePluginDesc = new OverlayIcon(PDERuntimePluginImages.DESC_PLUGIN_OBJ, new ImageDescriptor[][] {{PDERuntimePluginImages.DESC_RUN_CO}}); > fActivePluginImage = activePluginDesc.createImage(); >@@ -143,6 +143,10 @@ > } > > if (element instanceof ServiceRegistration) { >+ ServiceRegistration service = (ServiceRegistration) element; >+ if (service.getProperty("osgi.remote") != null) //$NON-NLS-1$ >+ return fRemoteServiceImage; >+ > return fPluginImage; > } >
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 270684
:
130524
|
134264
|
134265
|
243137
|
243138
|
251636