source: AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.yml@ 604

Last change on this file since 604 was 603, checked in by alloc, 12 years ago

AEI2

File size: 3.8 KB
Line 
1JFrame:
2 name: frame
3 title: appname
4 size: 800x600
5 minimumSize: 400x300
6 locationRelativeTo: null
7 defaultCloseOperation: doNothingOnClose
8 onWindowOpened: [execDepotUpdate,checkMandatoryFiles,initialize,checkUpdates,focus]
9 onWindowClosing: [askClose,saveLocalData,exit]
10 iconImage: img.ae
11 content:
12 - Action(name=exitAction, text=menu.exit, toolTipText=menu.exitTooltip, icon=img.exit, onAction=[askClose,saveLocalData,exit])
13 - Action(name=settings, text=menu.settings, toolTipText=menu.settingsTooltip, icon=img.settings, onAction=[showSettings])
14 - Action(name=about, text=menu.about, toolTipText=menu.aboutTooltip, icon=img.about, onAction=[showAbout])
15 - Action(name=loadConfig, text=menu.loadConfig, toolTipText=menu.loadConfigTooltip, icon=img.openFile, onAction=[loadConfig])
16 - Action(name=saveConfig, text=menu.saveConfig, toolTipText=menu.saveConfigTooltip, icon=img.saveFile, onAction=[saveConfig])
17 - Action(name=reglobalize, text=menu.reglobalize, toolTipText=menu.reglobalizeTooltip, icon=img.refresh, onAction=[reglobalize])
18 - Action(name=tools, text=menu.tools, toolTipText=menu.toolsTooltip, icon=img.tools, onAction=[tools])
19 - JMenuBar:
20 - JMenu(name=mainMenu, text=menu.main):
21 - JMenuItem(action=settings)
22 - JMenuItem(action=about)
23 - JMenuItem(action=exitAction)
24 - JMenu(name=fileMenu, text=menu.file):
25 - JMenuItem(action=loadConfig)
26 - JMenuItem(action=saveConfig)
27 - JSeparator()
28 - JMenuItem(action=reglobalize)
29 - JSeparator()
30 - JMenuItem(action=tools)
31 - JToolBar(name=toolbar, floatable=false, orientation=0):
32 - JButton(action=exitAction, hideActionText=true)
33 - JToolBarSeparator()
34 - JButton(action=settings, hideActionText=true)
35 - JButton(action=about, hideActionText=true)
36 - JSplitPane(name=contents, orientation=horizontalSplit, continuousLayout=true):
37 - JPanel(name=panMods):
38 - JLabel(name=lblModTypes, text=lblModTypes.text)
39 - JComboBox(name=cmbModTypes, onAction=modTypeSelection)
40 - JScrollPane(name=scrollMods, vScrollBar=always, hScrollBar=never):
41 JTable(name=tblMods, visible=false)
42 - JButton(name=btnRevertSelection, icon=img.undo16, text=btnRevertSelection.text, toolTipText=btnRevertSelection.tooltip, onAction=[revertSelection])
43 - JButton(name=btnInstall, icon=img.install, text=btnInstall.text, toolTipText=btnInstall.tooltip, onAction=[install])
44 - JLabel(name=lblDownloadSize, text=lblDownloadSize.text)
45 - JLabel(name=lblDownloadSizeVal)
46 - MigLayout: |
47 [grow]
48 lblModTypes<,cmbModTypes [min]
49 scrollMods [grow]
50 >btnRevertSelection,btnInstall [min]
51 lblDownloadSize,lblDownloadSizeVal [min]
52 - JPanel(name=panInfo):
53 - JLabel(name=lblSubmitter, text=lblSubmitter.text)
54 - JLabel(name=lblSubmitterVal)
55 - JLabel(name=lblCreator, text=lblCreator.text)
56 - JLabel(name=lblCreatorVal)
57 - JLabel(name=lblDescription, text=lblDescription.text)
58 - JScrollPane(name=scrollDescription, vScrollBar=always, hScrollBar=asNeeded):
59 HTMLLinkLabel(name=lblDescriptionVal)
60 - MigLayout: |
61 [min] [grow]
62 >lblSubmitter lblSubmitterVal [min]
63 >lblCreator lblCreatorVal [min]
64 >^lblDescription scrollDescription [grow]
65 - MigLayout:
66 layoutConstraints: wrap 1
67 columnConstraints: grow
68 rowConstraints: grow
69 constraints:
70 - contents: grow
71
72# - tools: dock north
Note: See TracBrowser for help on using the repository browser.