GraphLab Project

graphlab.plugins.reports.extension
Class GraphReportExtensionAction

java.lang.Object
  extended by graphlab.platform.core.AbstractAction
      extended by graphlab.ui.AbstractExtensionAction
          extended by graphlab.plugins.reports.extension.GraphReportExtensionAction
All Implemented Interfaces:
Action, Listener, java.awt.event.ActionListener, java.util.EventListener

public class GraphReportExtensionAction
extends AbstractExtensionAction

Author:
azin azadi

Field Summary
protected  GraphReportExtension mr
           
 
Fields inherited from class graphlab.ui.AbstractExtensionAction
extraButton, menuItem, parentMenu, target
 
Fields inherited from class graphlab.platform.core.AbstractAction
blackboard
 
Constructor Summary
GraphReportExtensionAction(BlackBoard bb, GraphReportExtension gg)
           
 
Method Summary
 java.lang.String getParentMenuName()
          returns the menu name that the menuitem of this action is its child
 void performExtension()
           
 java.lang.Object performExtensionInCommandLine()
          inorder if you created a new type of extension and for that extension you want to do some thing different when it is called on commandline (i.e.
 
Methods inherited from class graphlab.ui.AbstractExtensionAction
actionPerformed, createExtensionCommandsForCommandLine, createMenuItem, getMenuNamePrefix, getMenuPlace, getParentMenu, getTarget, isInsertExtraButtonToMenuItem, performAction, removeCreatedUIComponents, testAndSetParameters
 
Methods inherited from class graphlab.platform.core.AbstractAction
disable, enable, getBlackBoard, getLastListenedEventKey, isEnable, keyChanged, listen4Event, setBlackBoard, unListenEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mr

protected GraphReportExtension mr
Constructor Detail

GraphReportExtensionAction

public GraphReportExtensionAction(BlackBoard bb,
                                  GraphReportExtension gg)
Method Detail

getParentMenuName

public java.lang.String getParentMenuName()
Description copied from class: AbstractExtensionAction
returns the menu name that the menuitem of this action is its child

Specified by:
getParentMenuName in class AbstractExtensionAction

performExtensionInCommandLine

public java.lang.Object performExtensionInCommandLine()
Description copied from class: AbstractExtensionAction
inorder if you created a new type of extension and for that extension you want to do some thing different when it is called on commandline (i.e. in normal state it uses some GUI functionalities and you want to avoid them) you can override this method and do what you want, which will be called whenever your extension called from commandline for an example see GraphGeneratorExtensionAction

Overrides:
performExtensionInCommandLine in class AbstractExtensionAction
See Also:
GraphGeneratorExtensionAction

performExtension

public void performExtension()
Specified by:
performExtension in class AbstractExtensionAction

GraphLab Project