当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
CloseOperationHandler (MultiView Windows) - NetBeans API Javadoc (Current Development Version)
org.netbeans.core.spi.multiview
Interface CloseOperationHandler
public interface CloseOperationHandler
Handles closing of the MultiView component globally. Each opened MultiViewElement
creates a CloseOperationState
instance to notify the environment of it's internal state.
resolveCloseOperation
boolean resolveCloseOperation(CloseOperationState[] elements)
- Perform the closeOperation on the opened elements in the multiview topcomponent.
Can resolve by itself just based on the states of the elements or ask the user for
the decision.
- Parameters:
elements
- CloseOperationState
instances of MultiViewElement
s that cannot be
closed and require resolution.