01: /*
02: * Project: AMODA - Abstract Modeled Application
03: * Class: de.gulden.framework.amoda.model.core.Workspace
04: * Version: snapshot-beautyj-1.1
05: *
06: * Date: 2004-09-29
07: *
08: * This is a snapshot version of the AMODA 0.2 development branch,
09: * it is not released as a seperate version.
10: * For AMODA, see http://amoda.berlios.de/.
11: *
12: * This is licensed under the GNU Lesser General Public License (LGPL)
13: * and comes with NO WARRANTY.
14: *
15: * Author: Jens Gulden
16: * Email: amoda@jensgulden.de
17: */
18:
19: package de.gulden.framework.amoda.model.core;
20:
21: import de.gulden.framework.amoda.model.behaviour.*;
22: import de.gulden.framework.amoda.model.document.*;
23: import de.gulden.framework.amoda.model.document.DocumentsProvider;
24: import de.gulden.framework.amoda.model.metadata.*;
25: import de.gulden.framework.amoda.model.option.*;
26: import java.util.*;
27:
28: /**
29: * Class Workspace.
30: *
31: * @author Jens Gulden
32: * @version snapshot-beautyj-1.1
33: */
34: public interface Workspace extends DocumentsProvider {
35:
36: // ------------------------------------------------------------------------
37: // --- methods ---
38: // ------------------------------------------------------------------------
39:
40: public void setActiveView(DocumentView view);
41:
42: public DocumentSelection getActiveSelection();
43:
44: public Collection getViews(Document doc);
45:
46: public Collection getAllViews();
47:
48: public DocumentView getActiveView();
49:
50: public Collection getAllSelections(Document doc);
51:
52: public DocumentSelection getSelection(DocumentView view);
53:
54: public Collection getAllSelections();
55:
56: public void addView(DocumentView view);
57:
58: public void removeView(DocumentView view);
59:
60: public Collection getDocuments();
61:
62: public Document getActiveDocument();
63:
64: } // end Workspace
|