01: /*******************************************************************************
02: * Copyright (c) 2000, 2005 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.ifeature;
11:
12: import org.eclipse.core.runtime.CoreException;
13: import org.eclipse.pde.core.plugin.IPluginReference;
14:
15: public interface IFeatureImport extends IFeatureObject,
16: IPluginReference {
17: String P_TYPE = "type"; //$NON-NLS-1$
18:
19: String P_PATCH = "patch"; //$NON-NLS-1$
20:
21: String P_ID_MATCH = "id-match"; //$NON-NLS-1$
22:
23: int PLUGIN = 0;
24:
25: int FEATURE = 1;
26:
27: int getType();
28:
29: void setType(int type) throws CoreException;
30:
31: boolean isPatch();
32:
33: void setPatch(boolean patch) throws CoreException;
34:
35: int getIdMatch();
36:
37: void setIdMatch(int idMatch) throws CoreException;
38: }
|