
org.noos.xing.mydoggy.ToolWindowActionHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mydoggy-api Show documentation
Show all versions of mydoggy-api Show documentation
MyDoggy-Api contains the application program interface of MyDoggy to manage every aspects of the framework.
The newest version!
package org.noos.xing.mydoggy;
/**
* This interface let you intercept toolwindow ui events. You can change, for example,
* the behaviour of the hide button.
*
* @author Angelo De Caro ([email protected])
* @since 1.2.0
* @see org.noos.xing.mydoggy.DockedTypeDescriptor#setToolWindowActionHandler(ToolWindowActionHandler)
*/
public interface ToolWindowActionHandler {
/**
* 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.
*
* @param toolWindow the toolwindow that owns the hide button.
* @see org.noos.xing.mydoggy.DockedTypeDescriptor#setToolWindowActionHandler(ToolWindowActionHandler)
* @since 1.2.0
*/
void onHideButtonClick(ToolWindow toolWindow);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy