01: package org.osbl.client.wings.shell;
02:
03: import org.wings.SComponent;
04: import org.wings.SButton;
05:
06: import javax.swing.*;
07: import java.util.List;
08:
09: /**
10: * Created by IntelliJ IDEA.
11: * User: hengels
12: * Date: Dec 15, 2006
13: * Time: 10:49:04 AM
14: * To change this template use File | Settings | File Templates.
15: */
16: public interface Environment {
17: void setContentPane(SComponent contentPane);
18:
19: void setDefaultButton(SButton button);
20:
21: void setTitle(String titleCode, Object... titleArguments);
22:
23: void addControl(SComponent component);
24:
25: void removeControl(SComponent component);
26:
27: void setControls(List<SComponent> controls);
28:
29: void addTool(Tool tool);
30:
31: void removeTool(Tool tool);
32:
33: void setTools(List<Tool> tools);
34:
35: void addDevelopmentAction(Action action);
36:
37: void removeDevelopmentAction(Action action);
38:
39: void setDevelopmentActions(List<Action> actions);
40:
41: void setStatusMessage(Client.Message statusMessage);
42:
43: void setDelegate(Environment delegate);
44:
45: Environment getDelegate();
46:
47: boolean isActive();
48:
49: void setActive(boolean active);
50:
51: boolean getHasChanges();
52:
53: void setHasChanges(boolean hasChanges);
54: }
|