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