Services View Extension Point

Identifier:
org.eclipse.ecf.remoteservice.ui.servicesview

Since:
3.3.0 of this plugin.

Description:
This extension point allows new Services views to be created by other plugins and then used by the Remote Services Perspective to display the OSGi services on the local OSGi service registry.

Configuration Markup:

<!ELEMENT extension (servicesview+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT servicesview EMPTY>

<!ATTLIST servicesview

viewid   CDATA #REQUIRED

local    (true | false)

priority CDATA #IMPLIED>

Defines a services view.



Examples:
The following example shows the use of the extension point to make a ServicesView (assumed to implement IServicesView interface with viewid=org.eclipse.ecf.remoteservice.ui.serviceview.ServiceView, local=true (for local OSGi service registry), and priority=1000. The priority=1000 means that any local services view with a priority > 1000 will be used rather than this one as the local OSGi services view in the Remote Service perspective.

  <extension
         point="org.eclipse.ecf.remoteservice.ui.servicesview">
      <servicesview
            local="true"
            priority="1000"
            viewid="org.eclipse.ecf.remoteservice.ui.serviceview.ServiceView">
      </servicesview>
   </extension>

API Information:
See the IServicesView interface. This interface allows other views to set the selected service in the associated view. If the view given does not implement IServicesView then it will not be used in this manner, but this interface should be implemented by Service View extensions.


Copyright (c) 2015 Composent, Inc. and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0/ SPDX-License-Identifier: EPL-2.0