01: /*
02: * ActionContainer.java
03: *
04: * Copyright (C) 2002, 2003, 2004, 2005, 2006 Takis Diakoumis
05: *
06: * This program is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU General Public License
08: * as published by the Free Software Foundation; either version 2
09: * of the License, or any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19: *
20: */
21:
22: package org.executequery.gui;
23:
24: /* ----------------------------------------------------------
25: * CVS NOTE: Changes to the CVS repository prior to the
26: * release of version 3.0.0beta1 has meant a
27: * resetting of CVS revision numbers.
28: * ----------------------------------------------------------
29: */
30:
31: /**
32: * Defines a container (dialog, internal frame etc.) where
33: * a component panel completing a process may indicate for this
34: * container to close.
35: *
36: * @author Takis Diakoumis
37: * @version $Revision: 1.5 $
38: * @date $Date: 2006/06/07 15:05:09 $
39: */
40: public interface ActionContainer {
41:
42: /**
43: * Indicates whether this is a dialog.
44: *
45: * @return true | false
46: */
47: public boolean isDialog();
48:
49: /**
50: * Indicates that a [long-running] process has begun or ended
51: * as specified. This may trigger the glass pane on or off
52: * or set the cursor appropriately.
53: *
54: * @param inProcess - true | false
55: */
56: public void setInProcess(boolean inProcess);
57:
58: /**
59: * Indicates the process has completed.
60: */
61: public void finished();
62:
63: }
|