KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > core > plugin > IPluginExtension


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.core.plugin;
12
13 import org.eclipse.core.runtime.CoreException;
14 import org.eclipse.pde.core.IIdentifiable;
15
16 /**
17  * Classes that implement this interface model the extension
18  * element found in the plug-in or fragment manifest.
19  */

20 public interface IPluginExtension extends IPluginParent, IIdentifiable {
21     /**
22      * A name of the property that will be used to
23      * notify about the "point" change
24      */

25     String JavaDoc P_POINT = "point"; //$NON-NLS-1$
26
/**
27      * Returns the full Id of the extension point that this extension
28      * is plugged into.
29      */

30     String JavaDoc getPoint();
31     /**
32      * Returns the schema for the extension point that this extension
33      * is plugged into or <samp>null</samp> if not found.
34      * <p>This method is an implementation detail - schema object
35      * is not needed for clients outside PDE and should not be used.
36      */

37     Object JavaDoc getSchema();
38     /**
39      * Sets the value of the extension point Id
40      * This method will throw a CoreException if
41      * this model is not editable.
42      * @param point the new extension point Id
43      */

44     void setPoint(String JavaDoc point) throws CoreException;
45 }
46
Popular Tags