01: /**
02: * Copyright 2006 Webmedia Group Ltd.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: **/package org.araneaframework.framework;
16:
17: import java.io.Serializable;
18: import java.util.Map;
19: import org.araneaframework.EnvironmentAwareCallback;
20: import org.araneaframework.Widget;
21: import org.araneaframework.framework.FlowContext.Configurator;
22: import org.araneaframework.framework.FlowContext.Handler;
23:
24: /**
25: * @author Alar Kvell (alar@araneaframework.org)
26: * @since 1.1
27: */
28: public interface OverlayContext extends Serializable {
29: public static final String OVERLAY_REQUEST_KEY = "araOverlay";
30:
31: boolean isOverlayActive();
32:
33: void setOverlayOptions(Map options);
34:
35: Map getOverlayOptions();
36:
37: /** FlowContext delegate methods */
38: void replace(Widget flow, Configurator configurator);
39:
40: void replace(Widget flow);
41:
42: void reset(EnvironmentAwareCallback callback);
43:
44: void start(Widget flow, Configurator configurator, Handler handler);
45:
46: void start(Widget flow, Handler handler);
47:
48: void start(Widget flow);
49:
50: interface OverlayActivityMarkerContext extends Serializable {
51: }
52: }
|