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

Last change on this file since 891 was 891, checked in by alloc, 11 years ago

AEI2.16:

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