站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

CloseOperationHandler (MultiView Windows) - NetBeans API Javadoc (Current Development Version)

org.netbeans.core.multiview/1 1.9

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.


Method Summary
 boolean resolveCloseOperation(CloseOperationState[] elements)
          Perform the closeOperation on the opened elements in the multiview topcomponent.
 

Method Detail

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 MultiViewElements that cannot be closed and require resolution.

org.netbeans.core.multiview/1 1.9

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.