KickJava   Java API By Example, From Geeks To Geeks.

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


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  * Classes that implement this interface model an extension point
17  * element specified in the plug-in manifest.
18  */

19 public interface IPluginExtensionPoint extends IPluginObject, IIdentifiable {
20     /**
21      * A property name that will be used to notify
22      * about changes to the schema value.
23      */

24     String JavaDoc P_SCHEMA = "schema"; //$NON-NLS-1$
25
/**
26      * Returns the full extension point Id that
27      * is composed as "pluginId.pointId". This full
28      * Id will be used by extensions to reference this
29      * extension point.
30      *
31      * @return a full extension point Id
32      */

33     String JavaDoc getFullId();
34     /**
35      * Returns the name of the extension point XML schema
36      * that defines this extension point.
37      *
38      * @return XML extension point schema file name
39      */

40     String JavaDoc getSchema();
41     /**
42      * Sets the plug-in relative name of
43      * the extension point schema file that
44      * describes this extension point.
45      * This method will throw a CoreException
46      * if the model is not editable.
47      */

48     void setSchema(String JavaDoc schema) throws CoreException;
49 }
50
Popular Tags