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

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

AEI2.16:

  • Minor menu changes (help icons)
File size: 7.4 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.request, 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 - JLabel(name=lblShowFilter, text=lblShowFilter.text)
67 - JButton(name=btnClearFilter, icon=img.clear, onAction=[clearFilter])
68 - JTextField(name=txtShowFilter)
69 - JComboBox(name=cmbShowFilterTo, onAction=updateTableFilter)
70 - JScrollPane(name=scrollMods, vScrollBar=always, hScrollBar=never)
71 - JPanel(name=panBottom):
72 - JPanel(name=panBottomLeft):
73 - JButton(name=btnUnSelectAll, icon=img.unSelect16, text=btnUnSelectAll.text, onAction=[unSelectAll])
74 - JButton(name=btnRevertSelection, icon=img.undo, text=btnRevertSelection.text, toolTipText=btnRevertSelection.tooltip, onAction=[revertSelection])
75 - MigLayout: |
76 [min]
77 btnUnSelectAll=1 [min]
78 btnRevertSelection=1 [min]
79 - JPanel(name=panBottomCenter):
80 - JLabel(name=lblSelectedMods, text=lblSelectedMods.text)
81 - JLabel(name=lblSelectedModsVal)
82 - JLabel(name=lblDownloadSize, text=lblDownloadSize.text)
83 - JLabel(name=lblDownloadSizeVal)
84 - JButton(name=btnInstall, icon=img.install, text=btnInstall.text, toolTipText=btnInstall.tooltip, onAction=[install,installExec,installDone])
85 - MigLayout: |
86 [grow]
87 |lblSelectedMods=7x<,lblSelectedModsVal< [min]
88 |lblDownloadSize<,lblDownloadSizeVal< [min]
89 |btnInstall=7x [min]
90 - JPanel(name=panBottomRight):
91 - JButton(name=btnRunOniFull, action=runOniFull)
92 - JButton(name=btnRunOniWin, action=runOniWin)
93 - MigLayout: |
94 [grow]
95 >btnRunOniFull=1 [min]
96 >btnRunOniWin=1 [min]
97 - MigLayout: |
98 [[gap 0px 0px, novisualpadding, insets 0]]
99 [min] [grow] [min]
100 panBottomLeft=5x panBottomCenter panBottomRight=5x [min]
101 - MigLayout: |
102 [min] [grow]
103 >lblModTypes cmbModTypes<,lblShowOnly,radAll,radOnline,radLocal,radInstalled [min]
104 >lblShowFilter txtShowFilter+*>,btnClearFilter<,cmbShowFilterTo< [min]
105 scrollMods+* [grow]
106 panBottom+* [min]
107 {lblShowOnly: gap 30px}
108 - PackageInfoBox(name=pkgInfo)
109 - MigLayout:
110 layoutConstraints: wrap 1
111 columnConstraints: grow
112 rowConstraints: grow
113 constraints:
114 - contents: grow
115
116# - tools: dock north
Note: See TracBrowser for help on using the repository browser.