Uninstall Ogee part2
Change-Id: I909002a6bd7c97c2878b12675091775e00d755cb
Signed-off-by: Ajay Subramanya R <ajay.subramanya.r@sap.com>
diff --git a/org.eclipse.ogee.core/META-INF/p2.inf b/org.eclipse.ogee.core/META-INF/p2.inf
new file mode 100644
index 0000000..f29c17a
--- /dev/null
+++ b/org.eclipse.ogee.core/META-INF/p2.inf
@@ -0,0 +1,3 @@
+provides.0.namespace=org.eclipse.equinox.p2.engine.actions
+provides.0.name=org.eclipse.ogee.core.uninstall_action
+provides.0.version=1.0
\ No newline at end of file
diff --git a/org.eclipse.ogee.core/plugin.xml b/org.eclipse.ogee.core/plugin.xml
index 9641460..cc880d8 100644
--- a/org.eclipse.ogee.core/plugin.xml
+++ b/org.eclipse.ogee.core/plugin.xml
@@ -24,6 +24,24 @@
<extension-point id="serviceModel" name="%extension-point.name.3" schema="schema/odata_model.exsd"/>
<extension-point id="serviceImplementation" name="OData Service Implementation" schema="schema/service_implementation.exsd"/>
<extension
+ point="org.eclipse.equinox.p2.engine.touchpoints">
+ <touchpoint
+ class="org.eclipse.ogee.core.UninstallTouchpoint"
+ type="uninstall_action"
+ version="1">
+ </touchpoint>
+ </extension>
+ <extension
+ point="org.eclipse.equinox.p2.engine.actions">
+ <action
+ class="org.eclipse.ogee.core.UninstallAction"
+ name="uninstall_action"
+ touchpointType="uninstall_action"
+ touchpointVersion="1.0"
+ version="1.0">
+ </action>
+ </extension>
+ <extension
point="org.eclipse.ui.newWizards">
<category
id="org.eclipse.ogee.core"
@@ -95,13 +113,5 @@
</command>
</menuContribution>
</extension>
- <extension
- point="org.eclipse.equinox.p2.engine.actions">
- <action
- class="org.eclipse.ogee.core.UninstallAction"
- name="uninstall_action"
- version="1.0">
- </action>
- </extension>
</plugin>
diff --git a/org.eclipse.ogee.core/src/org/eclipse/ogee/core/UninstallTouchpoint.java b/org.eclipse.ogee.core/src/org/eclipse/ogee/core/UninstallTouchpoint.java
new file mode 100644
index 0000000..6e13297
--- /dev/null
+++ b/org.eclipse.ogee.core/src/org/eclipse/ogee/core/UninstallTouchpoint.java
@@ -0,0 +1,19 @@
+/*******************************************************************************
+ * Copyright (c) 2012-2014 SAP SE.
+ * 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * SAP SE - initial API and implementation and/or initial documentation
+ *
+ *******************************************************************************/
+package org.eclipse.ogee.core;
+
+import org.eclipse.equinox.p2.engine.spi.Touchpoint;
+
+public class UninstallTouchpoint extends Touchpoint
+{
+
+}