All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.noos.xing.mydoggy.ToolWindowActionHandler Maven / Gradle / Ivy

Go to download

MyDoggy-Api contains the application program interface of MyDoggy to manage every aspects of the framework.

There is a newer version: 1.6.0
Show 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 - 2024 Weber Informatics LLC | Privacy Policy