net.clackrouter.gui.util
Class CompDoubleClickHandler

java.lang.Object
  extended by net.clackrouter.gui.util.CompDoubleClickHandler

public class CompDoubleClickHandler
extends java.lang.Object

Handles when a user double-clicks on a component.

Takes the functionality of a double click on a component, which is used in several places, and puts it in a single helper class.

If the component is hierarchical, this "zooms in". If the graph is simple, we pop-up the properties view in a new frame, otherwise we add it to the properties view tab.


Constructor Summary
CompDoubleClickHandler()
           
 
Method Summary
static void handleDoubleClick(ClackDocument doc, ClackComponent comp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompDoubleClickHandler

public CompDoubleClickHandler()
Method Detail

handleDoubleClick

public static void handleDoubleClick(ClackDocument doc,
                                     ClackComponent comp)