Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Plug-in Developer Guide
Previous Page Home Next Page

Global Install Handlers

Identifier:
org.eclipse.update.core.installHandlers

Description:
Extension point for registering global install handlers. Global install handlers can be referenced by features (using the <feature> <install-handler> tags) without having to include a copy of the handler code as part of the downloadable feature.

Configuration Markup:

<!ELEMENT extension ( install-handler+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED

>

  • point - must be specified as org.eclipse.update.core.installHandlers
  • id - must be specified. Identifies the new install handler
  • name - optional displayable label for the new install handler

<!ELEMENT install-handler EMPTY>

<!ATTLIST install-handler

class CDATA #REQUIRED

>

  • class - fully qualified name of the handler implementation class for the identified install handler

Examples:
The following is an example of new global install handler registration:


   <extension
        id=
"custom"

        point=
"org.eclipse.update.core.installHandlers"

        name=
"Custom install handler"
>
     <install-handler
        class=
"com.xyz.update.CustomInstallHandler"
>
     </install-handler>
   </extension>

Supplied Implementation:
The platform supplies a simple install handler that is registered as org.eclipse.update.core.DefaultInstallHandler. If used, it will copy any non-plug-in data entries provided with the feature into the feature installation directory.


Copyright (c) 2004 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-v10.html.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire