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

Last change on this file since 765 was 753, checked in by alloc, 12 years ago

AEI2 0.99y:

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