org.netbeans.core.multiview/1 1.29

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.
Returns:
true if component can be close, false if it shall remain opened.

org.netbeans.core.multiview/1 1.29

Built on May 22 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.