diff options
author | Matt Windsor <mbw500@student.cs.york.ac.uk> | 2011-03-07 13:50:24 +0000 |
---|---|---|
committer | Matt Windsor <mbw500@student.cs.york.ac.uk> | 2011-03-07 13:50:24 +0000 |
commit | 9b4647f1ae8c3f41163d0d4053504dab861d0c94 (patch) | |
tree | b621e8c0b75a5cadd69f938116b1637f7ad0c94d /src/uk/org/ury/frontend/FrontendModule.java | |
parent | c33f098de8a43a2df778d4d694e0c07bbde59828 (diff) |
Emergency impending hard drive failure dump - lots of changes on the frontend, but they're all potentially controversial so I'm not pushing to master yet. Beginnings of show viewer. Application now run through demo menu, which allows for the links between modules to be tested.
Diffstat (limited to 'src/uk/org/ury/frontend/FrontendModule.java')
-rw-r--r-- | src/uk/org/ury/frontend/FrontendModule.java | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/uk/org/ury/frontend/FrontendModule.java b/src/uk/org/ury/frontend/FrontendModule.java index 407b2db..4d1e3bf 100644 --- a/src/uk/org/ury/frontend/FrontendModule.java +++ b/src/uk/org/ury/frontend/FrontendModule.java @@ -11,7 +11,7 @@ package uk.org.ury.frontend; * * - be runnable standalone, as either an application or an applet; * - * - contain their user interface in a subclass of FrontendPanel + * - contain their user interface in a subclass of FrontendModulePanel * which can be embedded either in a FrontendFrame, a web page * or another module; * @@ -27,5 +27,15 @@ package uk.org.ury.frontend; public interface FrontendModule { - // Space for rent + /** + * Begin execution of the frontend module. + * + * @param master The FrontendMaster driving the frontend. + * + * @return the frontend panel to insert into the + * FrontendMaster. + */ + + public FrontendModulePanel + runFrontend (FrontendMaster master); } |