GraphLab Project

graphlab.ui.extension
Class UIActionExtensionHandler

java.lang.Object
  extended by graphlab.ui.extension.UIActionExtensionHandler
All Implemented Interfaces:
ExtensionHandler

public class UIActionExtensionHandler
extends java.lang.Object
implements ExtensionHandler

Author:
azin azadi

Constructor Summary
UIActionExtensionHandler()
           
 
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

UIActionExtensionHandler

public UIActionExtensionHandler()
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