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.ifeature;
11:
12: import org.eclipse.core.runtime.CoreException;
13: import org.eclipse.pde.core.IIdentifiable;
14: import org.eclipse.pde.core.plugin.IMatchRules;
15:
16: /**
17: * The reference to a plug-in that is part of this feature.
18: */
19: public interface IFeatureChild extends IFeatureObject, IIdentifiable,
20: IMatchRules, IEnvironment {
21: String P_VERSION = "version"; //$NON-NLS-1$
22: String P_OPTIONAL = "optional"; //$NON-NLS-1$
23: String P_NAME = "name"; //$NON-NLS-1$
24: String P_MATCH = "match"; //$NON-NLS-1$
25: String P_SEARCH_LOCATION = "search-location"; //$NON-NLS-1$
26:
27: int ROOT = 0;
28: int SELF = 1;
29: int BOTH = 2;
30:
31: String getVersion();
32:
33: void setVersion(String version) throws CoreException;
34:
35: boolean isOptional();
36:
37: void setOptional(boolean optional) throws CoreException;
38:
39: String getName();
40:
41: void setName(String name) throws CoreException;
42:
43: int getSearchLocation();
44:
45: void setSearchLocation(int location) throws CoreException;
46:
47: int getMatch();
48:
49: void setMatch(int match) throws CoreException;
50:
51: }
|