org.progeeks.util
Interface CloseableContext

All Superinterfaces:
StandardBean, ViewContext

public interface CloseableContext
extends ViewContext

A ViewContext specialization that can tell callers whether it is safe to close the context.

Version:
$Revision: 1.1 $
Author:
Paul Speed

Method Summary
 boolean canClose(boolean fullCheck)
          Returns true if it is safe to remove this context or otherwise get rid of its view.
 
Methods inherited from interface org.progeeks.util.ViewContext
getParentContext, setParentContext
 
Methods inherited from interface org.progeeks.util.beans.StandardBean
addPropertyChangeListener, addPropertyChangeListener, hasListeners, hasListeners, removePropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 

Method Detail

canClose

boolean canClose(boolean fullCheck)
Returns true if it is safe to remove this context or otherwise get rid of its view. Passing a value of true will cause the context implementation to do as full a check as possible (ie: prompt the user, etc). Passing a value of false indicates that only minimal checking should be done (ie: prompt for saving, etc.)



Copyright © 2002-2003 Paul Speed. All Rights Reserved.