KickJava   Java API By Example, From Geeks To Geeks.

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


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 /**
15  * An attribute of XML elements found in the plug-in.
16  */

17 public interface IPluginAttribute extends IPluginObject {
18     /**
19      * This property will be used to notify that the value
20      * of the attribute has changed.
21      */

22     String JavaDoc P_VALUE = "value"; //$NON-NLS-1$
23
/**
24      * Returns the value of this attribute.
25      *
26      * @return the string value of the attribute
27      */

28     String JavaDoc getValue();
29     /**
30      * Sets the value of this attribute.
31      * This method will throw a CoreExeption
32      * if the model is not editable.
33      *
34      * @param value the new attribute value
35      */

36     void setValue(String JavaDoc value) throws CoreException;
37 }
38
Popular Tags