uk.ac.kcl.cch.jb.pliny.dnd
Interface IResourceExtensionProcessorSource

All Known Implementing Classes:
ObjectType

public interface IResourceExtensionProcessorSource

objects which wish to be used as identifiers for which IResourceExtensionProcessor to execute when needed should implement this interface. The link is primarily used by the Resource Explorer.

This interface is implemented in ObjectType, and allows ObjectTypes to be used as identifiers within Resources of which IResourceExtensionProcessor is linked to the particular Resource.

Author:
John Bradley

Method Summary
 IResourceExtensionProcessor getDropTargetProcessor()
          Pliny will call this method when it needs access to the appropriate IResourceExtensionProcessor
 void setDropTargetProcessor(IResourceExtensionProcessor module)
          The Resource Explorer will use this method to store the assocation between this object and the IResourceExtensionProcessor.
 

Method Detail

getDropTargetProcessor

public IResourceExtensionProcessor getDropTargetProcessor()
Pliny will call this method when it needs access to the appropriate IResourceExtensionProcessor

Returns:
IResourceExtensionProcessor for this item.

setDropTargetProcessor

public void setDropTargetProcessor(IResourceExtensionProcessor module)
The Resource Explorer will use this method to store the assocation between this object and the IResourceExtensionProcessor. This happens when it is reading the IExtensionRegistry to find suitable plugins.

Parameters:
module - IResourceExtensionProcessor for this item.