source: src/main/java/genius/gui/GeniusAppInterface.java@ 256

Last change on this file since 256 was 16, checked in by Wouter Pasman, 6 years ago

#2 Connected more to mainPanel. Renamed MainPanelInterface to GeniusAppInterface, as it seems a=priori restrictive to have a interface to a GUI. Refactored DomainRepositoryUI to be independent of a parent to provide a JTree.

File size: 542 bytes
Line 
1package genius.gui;
2
3import java.awt.Component;
4import java.awt.Frame;
5
6/**
7 * Interface to the main application: open new panels etc.
8 *
9 */
10public interface GeniusAppInterface {
11
12 /**
13 * Open a new tab in the edit area (right half usually) of the main panel
14 *
15 * @param title
16 * title for the new tab
17 * @param comp
18 * the component to show there
19 */
20 public void addTab(String title, Component comp);
21
22 /**
23 *
24 * @return a Frame that can be used for centering dialogs
25 */
26 public Frame getMainFrame();
27}
Note: See TracBrowser for help on using the repository browser.