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.core.plugin;
11:
12: import org.eclipse.core.runtime.CoreException;
13: import org.eclipse.pde.core.IIdentifiable;
14:
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,
20: IIdentifiable {
21: /**
22: * A property name that will be used to notify
23: * about changes to the schema value.
24: */
25: String P_SCHEMA = "schema"; //$NON-NLS-1$
26:
27: /**
28: * Returns the full extension point Id that
29: * is composed as "pluginId.pointId". This full
30: * Id will be used by extensions to reference this
31: * extension point.
32: *
33: * @return a full extension point Id
34: */
35: String getFullId();
36:
37: /**
38: * Returns the name of the extension point XML schema
39: * that defines this extension point.
40: *
41: * @return XML extension point schema file name
42: */
43: String getSchema();
44:
45: /**
46: * Sets the plug-in relative name of
47: * the extension point schema file that
48: * describes this extension point.
49: * This method will throw a CoreException
50: * if the model is not editable.
51: */
52: void setSchema(String schema) throws CoreException;
53: }
|