01: package org.columba.api.gui.frame;
02:
03: import org.columba.api.plugin.PluginLoadingFailedException;
04:
05: public interface IFrameManager {
06:
07: /**
08: * Get active/focused frame mediator.
09: *
10: * @return active frame mediator
11: */
12: public abstract IContainer getActiveFrameMediator();
13:
14: /**
15: * Opens a view of a given type, i.e. with a specific id.
16: *
17: * @param id
18: * id specifying view type, e.g. "ThreePaneMail" or "Addressbook"
19: * @return Frame controller for the given view type
20: */
21: public abstract IFrameMediator openView(String id)
22: throws PluginLoadingFailedException;
23:
24: public abstract IFrameMediator switchView(IContainer c, String id)
25: throws PluginLoadingFailedException;
26:
27: }
|