-
Book Overview & Buying
-
Table Of Contents
Mastering Eclipse Plug-in Development
By :
A touchpoint is a P2 configuration option that specifies an action to be performed when a feature is installed/configured or unconfigured/uninstalled. This can be used to add additional flags to the Eclipse configuration file, making directories, updating permissions on files, as well as installing bundles and features.
There are two default categories of touchpoint actions:
org.eclipse.equinox.p2.touchpoint.natives, which mainly operates on files, permissions, and copying or creating directories and ZIP files
org.eclipse.equinox.p2.touchpoint.eclipse, installing bundles, features, source references, repositories, and modifying the JVM start-up or system properties
Touchpoints are stored in touchpoint advice files called p2.inf that can be stored in one of the following three locations:
Inside the META-INF directory of a bundle
Next to the feature.xml file in a feature
Next to the .product file in a product
The touchpoint advice is added to the bundle, feature, or product when it is...
Change the font size
Change margin width
Change background colour