KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > ifeature > IFeatureChild


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.ifeature;
12
13 import org.eclipse.core.runtime.CoreException;
14 import org.eclipse.pde.core.IIdentifiable;
15 import org.eclipse.pde.core.plugin.IMatchRules;
16 /**
17  * The reference to a plug-in that is part of this feature.
18  */

19 public interface IFeatureChild extends IFeatureObject, IIdentifiable, IMatchRules, IEnvironment {
20     String JavaDoc P_VERSION = "version"; //$NON-NLS-1$
21
String JavaDoc P_OPTIONAL = "optional"; //$NON-NLS-1$
22
String JavaDoc P_NAME = "name"; //$NON-NLS-1$
23
String JavaDoc P_MATCH = "match"; //$NON-NLS-1$
24
String JavaDoc P_SEARCH_LOCATION = "search-location"; //$NON-NLS-1$
25

26     int ROOT = 0;
27     int SELF = 1;
28     int BOTH = 2;
29     
30     String JavaDoc getVersion();
31     void setVersion(String JavaDoc version) throws CoreException;
32     boolean isOptional();
33     void setOptional(boolean optional) throws CoreException;
34     String JavaDoc getName();
35     void setName(String JavaDoc name) throws CoreException;
36     int getSearchLocation();
37     void setSearchLocation(int location) throws CoreException;
38     int getMatch();
39     void setMatch(int match) throws CoreException;
40     
41 }
42
Popular Tags