Last change
on this file since 345 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
|
Rev | Line | |
---|
[10] | 1 | package genius.gui;
|
---|
| 2 |
|
---|
| 3 | import java.awt.Component;
|
---|
[11] | 4 | import java.awt.Frame;
|
---|
[10] | 5 |
|
---|
[16] | 6 | /**
|
---|
| 7 | * Interface to the main application: open new panels etc.
|
---|
| 8 | *
|
---|
| 9 | */
|
---|
| 10 | public interface GeniusAppInterface {
|
---|
[10] | 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);
|
---|
[11] | 21 |
|
---|
| 22 | /**
|
---|
| 23 | *
|
---|
| 24 | * @return a Frame that can be used for centering dialogs
|
---|
| 25 | */
|
---|
| 26 | public Frame getMainFrame();
|
---|
[10] | 27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.