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

Last change on this file since 863 was 860, checked in by alloc, 12 years ago

AEI2.11:

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