viceroy.GUI
Class ViceroyCustomActionListener

java.lang.Object
  |
  +--viceroy.GUI.ViceroyCustomActionListener
All Implemented Interfaces:
CustomActionInterface

public class ViceroyCustomActionListener
extends java.lang.Object
implements CustomActionInterface

The program behaviour upon actions we perform on the gui

Author:
Anat Talmy
, Oren Dobzinski

Field Summary
private static org.apache.log4j.Logger logger
           
 
Constructor Summary
ViceroyCustomActionListener()
           
 
Method Summary
private  void beforeLookup(CustomActionData data)
          Sets the "showConnection" to "All" connections (instead of ring or up or down or butterfly) Sets the "All" to "Sticky"
 void customAction(java.lang.Object graphNode, int actionIndex, CustomActionData data)
           
private  void setLookupOver(GraphViewer graph)
           
private  void updateLookupResults(GraphViewer graph, MessagePath answer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final org.apache.log4j.Logger logger
Constructor Detail

ViceroyCustomActionListener

public ViceroyCustomActionListener()
Method Detail

customAction

public void customAction(java.lang.Object graphNode,
                         int actionIndex,
                         CustomActionData data)
Specified by:
customAction in interface CustomActionInterface

updateLookupResults

private void updateLookupResults(GraphViewer graph,
                                 MessagePath answer)

setLookupOver

private void setLookupOver(GraphViewer graph)

beforeLookup

private void beforeLookup(CustomActionData data)
Sets the "showConnection" to "All" connections (instead of ring or up or down or butterfly) Sets the "All" to "Sticky"