JPF 0.10

org.java.plugin.registry
Interface PluginElement

All Superinterfaces:
Documentable, Identity
All Known Subinterfaces:
Extension, Extension.Parameter, ExtensionPoint, ExtensionPoint.ParameterDefinition, Library, PluginAttribute, PluginPrerequisite

public interface PluginElement
extends Identity, Documentable

This interface abstracts a plug-in element - a thing that is declared in plug-in or plug-in fragment descriptor.

Version:
$Id: PluginElement.java,v 1.1 2005/07/20 18:43:46 ddimon Exp $

Method Summary
 PluginDescriptor getDeclaringPluginDescriptor()
          Returns plug-in descriptor, this element belongs to.
 PluginFragment getDeclaringPluginFragment()
          Returns descriptor of plug-in fragment that contributes this element.
 
Methods inherited from interface org.java.plugin.registry.Identity
getId
 
Methods inherited from interface org.java.plugin.registry.Documentable
getDocsPath, getDocumentation
 

Method Detail

getDeclaringPluginDescriptor

public PluginDescriptor getDeclaringPluginDescriptor()
Returns plug-in descriptor, this element belongs to. This method should never return null.

Returns:
plug-in descriptor, this element belongs to

getDeclaringPluginFragment

public PluginFragment getDeclaringPluginFragment()
Returns descriptor of plug-in fragment that contributes this element. This method may return null, if element is contributed by plug-in directly.

Returns:
descriptor of plug-in fragment that contributes this element

JPF 0.10

Copyright © 2004-2005 Dmitry Olshansky. All Rights Reserved.