1 /******************************************************************************* 2 * Copyright (c) 2000, 2006 IBM Corporation and others. 3 * All rights reserved. This program and the accompanying materials 4 * are made available under the terms of the Eclipse Public License v1.0 5 * which accompanies this distribution, and is available at 6 * http://www.eclipse.org/legal/epl-v10.html 7 * 8 * Contributors: 9 * IBM Corporation - initial API and implementation 10 *******************************************************************************/ 11 package org.eclipse.pde.internal.core.ibundle; 12 13 import org.eclipse.pde.core.IModelChangedListener; 14 import org.eclipse.pde.core.plugin.IPluginBase; 15 16 /** 17 * This interface represents an adapter that merges the notion of 18 * a plug-in base (either plug-in or fragment) and OSGi bundle. 19 * The goal is to maintain the expected plug-in interface 20 * to the rest of the framework for both classic plug-ins 21 * (with plugin.xml/fragment.xml) and new style (OSGi) 22 * plug-ins with META-INF/MANIFEST.MF file. 23 */ 24 public interface IBundlePluginBase extends IPluginBase, IModelChangedListener { 25 26 String getTargetVersion(); 27 28 void setTargetVersion(String target); 29 } 30