1 package cz
.cvut
.promod
.gui
.dialogs
.pluginsOverview
;
3 import cz
.cvut
.promod
.services
.ModelerSession
;
4 import cz
.cvut
.promod
.services
.componentFactoryService
.ComponentFactoryService
;
9 import com
.jgoodies
.forms
.factories
.Borders
;
12 * ProMod, master thesis project
13 * User: Petr Zverina, petr.zverina@gmail.com
14 * Date: 16:38:25, 11.2.2010
16 * Implementation of the PluginsOverview dialog.
18 public class PluginsOverviewDialogView
extends JDialog
{
20 public static int HGAP
= 10;
21 public static int VGAP
= 10;
23 public static int LIST_WIDTH
= 200;
25 private static final Dimension DIMENSION
= new Dimension(900, 600);
27 protected JTabbedPane tabbedPane
= ModelerSession
.getComponentFactoryService().createTabbedPane();
30 public PluginsOverviewDialogView(){
36 private void initLayout() {
37 final JPanel panel
= ModelerSession
.getComponentFactoryService().createPanel();
38 panel
.setBorder(Borders
.createEmptyBorder(ComponentFactoryService
.DEFAULT_FORM_BORDER
));
40 setLayout(new BorderLayout());
41 add(panel
, BorderLayout
.CENTER
);
43 panel
.setLayout(new BorderLayout());
44 panel
.add(tabbedPane
);