Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse PDE Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.eclipse.pde.core.plugin
Interface IPlugin

All Superinterfaces:
  IAdaptable, IExtensions, IIdentifiable, IPluginBase, IPluginObject, IWritable

public interface IPlugin
extends IPluginBase

A model object that represents the content of the plugin.xml file.

Field Summary
`static String` | `P_CLASS_NAME` A property that will be used when "className" field is changed.

Fields inherited from interface org.eclipse.pde.core.plugin.IPluginBase
`P_IMPORT_ORDER, P_LIBRARY_ORDER, P_PROVIDER, P_SCHEMA_VERSION, P_VERSION`

Fields inherited from interface org.eclipse.pde.core.plugin.IExtensions
`P_EXTENSION_ORDER`

Fields inherited from interface org.eclipse.pde.core.plugin.IPluginObject
`P_NAME`

Fields inherited from interface org.eclipse.pde.core.IIdentifiable
`P_ID`

Method Summary
`String` | `getClassName()` Returns a plug-in class name.
`void` | `setClassName(String className)` Sets the name of the plug-in class.

Methods inherited from interface org.eclipse.pde.core.plugin.IPluginBase
`add, add, getImports, getLibraries, getProviderName, getSchemaVersion, getVersion, remove, remove, setProviderName, setSchemaVersion, setVersion, swap, swap`

Methods inherited from interface org.eclipse.pde.core.plugin.IExtensions
`add, add, getExtensionPoints, getExtensions, getIndexOf, remove, remove, swap`

Methods inherited from interface org.eclipse.pde.core.plugin.IPluginObject
`getModel, getName, getParent, getPluginBase, getPluginModel, getResourceString, getTranslatedName, isInTheModel, isValid, setInTheModel, setName`

Methods inherited from interface org.eclipse.pde.core.IWritable
`write`

Methods inherited from interface org.eclipse.core.runtime.IAdaptable
`getAdapter`

Methods inherited from interface org.eclipse.pde.core.IIdentifiable
`getId, setId`

Field Detail

### P_CLASS_NAME

    public static final String P_CLASS_NAME

  A property that will be used when "className" field is changed.

  See Also:
    Constant Field Values

Method Detail

### getClassName

    public String getClassName()

  Returns a plug-in class name.

  Returns:
    plug-in class name or `null` if not specified.

### setClassName

    public void setClassName(String className)
                      throws CoreException

  Sets the name of the plug-in class. This method will throw a CoreException if the model is not editable.

  Parameters:
    `className` - the new class name
  Throws:
    `CoreException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Eclipse PDE Release 3.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) IBM Corp. and others 2000, 2004. All Rights Reserved.