org.java.plugin.registry
Interface PluginElement<T extends PluginElement<T>>
- Type Parameters:
T
- type of plug-in element
- All Superinterfaces:
- Documentable<T>, Identity
- All Known Subinterfaces:
- Extension, Extension.Parameter, ExtensionPoint, ExtensionPoint.ParameterDefinition, Library, PluginAttribute, PluginPrerequisite
- All Known Implementing Classes:
- MockExtension, MockExtensionPoint, MockLibrary, MockParameter, MockParameterDefinition, MockPluginAttribute, MockPluginElement, MockPluginPrerequisite
public interface PluginElement<T extends PluginElement<T>>
- extends Identity, Documentable<T>
This interface abstracts a plug-in element - a thing that is declared in
plug-in or plug-in fragment descriptor.
- Version:
- $Id$
Methods inherited from interface org.java.plugin.registry.Identity |
getId |
getDeclaringPluginDescriptor
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
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
Copyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.