org.noos.xing.mydoggy
Interface ToolWindowActionHandler


public interface ToolWindowActionHandler

This interface let you intercept toolwindow ui events. You can change, for example, the behaviour of the hide button.

Since:
1.2.0
Author:
Angelo De Caro (angelo.decaro@gmail.com)
See Also:
DockedTypeDescriptor.setToolWindowActionHandler(ToolWindowActionHandler)

Method Summary
 void onHideButtonClick(ToolWindow toolWindow)
          This method is called when the user click on the hide button.
 

Method Detail

onHideButtonClick

void onHideButtonClick(ToolWindow toolWindow)
This method is called when the user click on the hide button. If no handled is setted on DockedTypeDescriptor, the default behaviour is to invoke the method setVisible(false) on the toolwindow. Using this interface you can change that behaviour.

Parameters:
toolWindow - the toolwindow that owns the hide button.
Since:
1.2.0
See Also:
DockedTypeDescriptor.setToolWindowActionHandler(ToolWindowActionHandler)


Copyright © 2012. All Rights Reserved.