source: java/installer2/src/net/oni2/aeinstaller/gui/MainWin.yml@ 858

Last change on this file since 858 was 817, checked in by alloc, 12 years ago

AEI2.06:

  • Fixes #23: Button on MacOS, menu item otherwise
File size: 7.1 KB
Line 
1JFrame:
2 name: frame
3 title: appname
4 size: 950x600
5 minimumSize: 850x300
6 locationRelativeTo: null
7 defaultCloseOperation: doNothingOnClose
8 onWindowOpened: [execDepotUpdate,checkCorePackages,infoCorePackages,checkInitialize,initialize,checkUpdates,doUpdate,refreshToolsMenu,focus]
9 onWindowClosing: [saveLocalData,exit]
10 iconImage: img.ae
11 content:
12 - Action(name=exitAction, text=menu.exit, toolTipText=menu.exitTooltip, icon=img.exit, onAction=[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=help, text=menu.help, toolTipText=menu.helpTooltip, icon=img.help, onAction=[showHelp])
16 - Action(name=runOniFull, text=menu.runOniFull, toolTipText=menu.runOniFullTooltip, icon=img.oni, onAction=[oniFull])
17 - Action(name=runOniWin, text=menu.runOniWin, toolTipText=menu.runOniWinTooltip, icon=img.oni, onAction=[oniWin])
18 - Action(name=openEditionFolder, text=menu.openEditionFolder, toolTipText=menu.openEditionFolderTooltip, icon=img.folder, onAction=[openEditionFolder])
19 - Action(name=loadConfig, text=menu.loadConfig, toolTipText=menu.loadConfigTooltip, icon=img.openFile, onAction=[loadConfig])
20 - Action(name=saveConfig, text=menu.saveConfig, toolTipText=menu.saveConfigTooltip, icon=img.saveFile, onAction=[saveConfig])
21 - Action(name=copyConfig, text=menu.copyConfig, toolTipText=menu.copyConfigTooltip, icon=img.copy, onAction=[copyConfig])
22 - Action(name=reglobalize, text=menu.reglobalize, toolTipText=menu.reglobalizeTooltip, icon=img.refresh, onAction=[reglobalizeVerify,reglobalize])
23 - Action(name=tools, text=menu.manageTools, toolTipText=menu.manageToolsTooltip, icon=img.tools, onAction=[tools,refreshToolsMenu])
24 - Action(name=update, text=menu.update, toolTipText=menu.updateTooltip, icon=img.update, onAction=[checkUpdates,doUpdate])
25 - Action(name=corePackages, text=menu.corePackages, toolTipText=menu.corePackagesTooltip, icon=img.core, onAction=[showCorePackagesDialog])
26 - JMenuBar:
27 - JMenu(name=mainMenu, text=menu.main):
28 - JMenuItem(action=about)
29 - JMenuItem(action=help)
30 - JMenuItem(action=settings)
31 - JMenuItem(action=exitAction)
32 - JMenu(name=fileMenu, text=menu.file):
33 - JMenuItem(action=update)
34 - JSeparator()
35 - JMenuItem(action=loadConfig)
36 - JMenuItem(action=saveConfig)
37 - JMenuItem(action=copyConfig)
38 - JSeparator()
39 - JMenuItem(action=openEditionFolder)
40 - JSeparator()
41 - JMenuItem(action=corePackages)
42 - JMenuItem(action=reglobalize)
43 - JMenu(name=toolsMenu, text=menu.tools):
44 - JMenuItem(name=manageToolsItem, action=tools)
45 - JSeparator()
46 - JToolBar(name=toolbar, floatable=false, orientation=0):
47 - JButton(action=exitAction, hideActionText=true)
48 - JToolBarSeparator()
49 - JButton(action=settings, hideActionText=true)
50 - JButton(action=about, hideActionText=true)
51 - JSplitPane(name=contents, orientation=horizontalSplit, continuousLayout=true):
52 - JPanel(name=panMods):
53 - JLabel(name=lblModTypes, text=lblModTypes.text)
54 - JComboBox(name=cmbModTypes, onAction=updateTableFilter)
55 - JLabel(name=lblShowOnly, text=lblShowOnly.text)
56 - JRadioButton(name=radAll, text=radAll.text, onAction=updateTableFilter)
57 - JRadioButton(name=radOnline, text=radOnline.text, onAction=updateTableFilter)
58 - JRadioButton(name=radLocal, text=radLocal.text, onAction=updateTableFilter)
59 - JRadioButton(name=radInstalled, text=radInstalled.text, onAction=updateTableFilter)
60 - ButtonGroup: [radAll,radOnline,radLocal,radInstalled]
61 - JButton(name=btnShowHelp, icon=img.help16, onAction=[showHelp])
62 - JLabel(name=lblShowFilter, text=lblShowFilter.text)
63 - JButton(name=btnClearFilter, icon=img.clear, onAction=[clearFilter])
64 - JTextField(name=txtShowFilter)
65 - JComboBox(name=cmbShowFilterTo, onAction=updateTableFilter)
66 - JScrollPane(name=scrollMods, vScrollBar=always, hScrollBar=never)
67 - JPanel(name=panBottom):
68 - JPanel(name=panBottomLeft):
69 - JButton(name=btnUnSelectAll, icon=img.unSelect16, text=btnUnSelectAll.text, onAction=[unSelectAll])
70 - JButton(name=btnRevertSelection, icon=img.undo, text=btnRevertSelection.text, toolTipText=btnRevertSelection.tooltip, onAction=[revertSelection])
71 - MigLayout: |
72 [min]
73 btnUnSelectAll=1 [min]
74 btnRevertSelection=1 [min]
75 - JPanel(name=panBottomCenter):
76 - JLabel(name=lblSelectedMods, text=lblSelectedMods.text)
77 - JLabel(name=lblSelectedModsVal)
78 - JLabel(name=lblDownloadSize, text=lblDownloadSize.text)
79 - JLabel(name=lblDownloadSizeVal)
80 - JButton(name=btnInstall, icon=img.install, text=btnInstall.text, toolTipText=btnInstall.tooltip, onAction=[install,installExec,installDone])
81 - MigLayout: |
82 [grow]
83 |lblSelectedMods=7x<,lblSelectedModsVal< [min]
84 |lblDownloadSize<,lblDownloadSizeVal< [min]
85 |btnInstall=7x [min]
86 - JPanel(name=panBottomRight):
87 - JButton(name=btnRunOniFull, action=runOniFull)
88 - JButton(name=btnRunOniWin, action=runOniWin)
89 - MigLayout: |
90 [grow]
91 >btnRunOniFull=1 [min]
92 >btnRunOniWin=1 [min]
93 - MigLayout: |
94 [[gap 0px 0px, novisualpadding, insets 0]]
95 [min] [grow] [min]
96 panBottomLeft=5x panBottomCenter panBottomRight=5x [min]
97 - MigLayout: |
98 [min] [grow] [min]
99 >lblModTypes cmbModTypes<,lblShowOnly,radAll,radOnline,radLocal,radInstalled btnShowHelp [min]
100 >lblShowFilter txtShowFilter+*>,btnClearFilter<,cmbShowFilterTo< [min]
101 scrollMods+* [grow]
102 panBottom+* [min]
103 {lblShowOnly: gap 30px}
104 - PackageInfoBox(name=pkgInfo)
105 - MigLayout:
106 layoutConstraints: wrap 1
107 columnConstraints: grow
108 rowConstraints: grow
109 constraints:
110 - contents: grow
111
112# - tools: dock north
Note: See TracBrowser for help on using the repository browser.