KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*******************************************************************************
2  * Copyright (c) 2000, 2005 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
15
16 /**
17  * A base class for plug-in and data entires
18  */

19 public interface IFeaturePlugin extends IFeatureObject, IVersionable, IFeatureEntry {
20     /**
21      * A property that will be carried by the change event
22      * if 'unpack' field of this object is changed.
23      */

24     public static final String JavaDoc P_UNPACK = "unpack"; //$NON-NLS-1$
25
/**
26      * Returns whether this is a reference to a fragment.
27      * @return <samp>true</samp> if this is a fragment, <samp>false</samp> otherwise.
28      */

29     public boolean isFragment();
30     
31     public boolean isUnpack();
32     public void setUnpack(boolean unpack) throws CoreException;
33 }
34
Popular Tags