GraphLab Project

graphlab.plugins.algorithmanimator.extension
Class AlgorithmExtensionHandler

java.lang.Object
  extended by graphlab.plugins.algorithmanimator.extension.AlgorithmExtensionHandler
All Implemented Interfaces:
ExtensionHandler

public class AlgorithmExtensionHandler
extends java.lang.Object
implements ExtensionHandler


Constructor Summary
AlgorithmExtensionHandler()
           
 
Method Summary
 AbstractAction handle(BlackBoard b, java.lang.Object ext)
          tries to handle the given Object as a known Extension,...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlgorithmExtensionHandler

public AlgorithmExtensionHandler()
Method Detail

handle

public AbstractAction handle(BlackBoard b,
                             java.lang.Object ext)
Description copied from interface: ExtensionHandler
tries to handle the given Object as a known Extension,... normally, Extensions are interfaces that can be sandwiched in an AbstractAction Automatically, there is options for generating menus automatically after loading it (By returning AbstractExtensionAction) .

Specified by:
handle in interface ExtensionHandler
Parameters:
b - the blackboard as the environment...
ext - the extension which we want to create the AbstractAction from
Returns:
not null if it was a valid case and the operation was successfull, null if it was not a valid case or it is done without creating any actions(in some cases)
See Also:
AbstractExtensionAction

GraphLab Project