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

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

AEI2.06:

  • Fixes #23: Button on MacOS, menu item otherwise
File size: 7.1 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])
[806]15 - Action(name=help, text=menu.help, toolTipText=menu.helpTooltip, icon=img.help, onAction=[showHelp])
[605]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])
[608]18 - Action(name=openEditionFolder, text=menu.openEditionFolder, toolTipText=menu.openEditionFolderTooltip, icon=img.folder, onAction=[openEditionFolder])
[593]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])
[807]21 - Action(name=copyConfig, text=menu.copyConfig, toolTipText=menu.copyConfigTooltip, icon=img.copy, onAction=[copyConfig])
[661]22 - Action(name=reglobalize, text=menu.reglobalize, toolTipText=menu.reglobalizeTooltip, icon=img.refresh, onAction=[reglobalizeVerify,reglobalize])
[623]23 - Action(name=tools, text=menu.manageTools, toolTipText=menu.manageToolsTooltip, icon=img.tools, onAction=[tools,refreshToolsMenu])
[621]24 - Action(name=update, text=menu.update, toolTipText=menu.updateTooltip, icon=img.update, onAction=[checkUpdates,doUpdate])
[648]25 - Action(name=corePackages, text=menu.corePackages, toolTipText=menu.corePackagesTooltip, icon=img.core, onAction=[showCorePackagesDialog])
[591]26 - JMenuBar:
[593]27 - JMenu(name=mainMenu, text=menu.main):
[735]28 - JMenuItem(action=about)
[806]29 - JMenuItem(action=help)
[591]30 - JMenuItem(action=settings)
31 - JMenuItem(action=exitAction)
[593]32 - JMenu(name=fileMenu, text=menu.file):
[645]33 - JMenuItem(action=update)
[608]34 - JSeparator()
[593]35 - JMenuItem(action=loadConfig)
36 - JMenuItem(action=saveConfig)
[807]37 - JMenuItem(action=copyConfig)
[593]38 - JSeparator()
[645]39 - JMenuItem(action=openEditionFolder)
40 - JSeparator()
[648]41 - JMenuItem(action=corePackages)
[593]42 - JMenuItem(action=reglobalize)
[623]43 - JMenu(name=toolsMenu, text=menu.tools):
44 - JMenuItem(name=manageToolsItem, action=tools)
[621]45 - JSeparator()
[600]46 - JToolBar(name=toolbar, floatable=false, orientation=0):
[591]47 - JButton(action=exitAction, hideActionText=true)
48 - JToolBarSeparator()
49 - JButton(action=settings, hideActionText=true)
[593]50 - JButton(action=about, hideActionText=true)
[592]51 - JSplitPane(name=contents, orientation=horizontalSplit, continuousLayout=true):
[591]52 - JPanel(name=panMods):
53 - JLabel(name=lblModTypes, text=lblModTypes.text)
[660]54 - JComboBox(name=cmbModTypes, onAction=updateTableFilter)
[630]55 - JLabel(name=lblShowOnly, text=lblShowOnly.text)
[660]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)
[805]59 - JRadioButton(name=radInstalled, text=radInstalled.text, onAction=updateTableFilter)
60 - ButtonGroup: [radAll,radOnline,radLocal,radInstalled]
[817]61 - JButton(name=btnShowHelp, icon=img.help16, onAction=[showHelp])
[660]62 - JLabel(name=lblShowFilter, text=lblShowFilter.text)
[805]63 - JButton(name=btnClearFilter, icon=img.clear, onAction=[clearFilter])
[660]64 - JTextField(name=txtShowFilter)
65 - JComboBox(name=cmbShowFilterTo, onAction=updateTableFilter)
[658]66 - JScrollPane(name=scrollMods, vScrollBar=always, hScrollBar=never)
[735]67 - JPanel(name=panBottom):
68 - JPanel(name=panBottomLeft):
69 - JButton(name=btnUnSelectAll, icon=img.unSelect16, text=btnUnSelectAll.text, onAction=[unSelectAll])
[751]70 - JButton(name=btnRevertSelection, icon=img.undo, text=btnRevertSelection.text, toolTipText=btnRevertSelection.tooltip, onAction=[revertSelection])
[735]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]
[753]83 |lblSelectedMods=7x<,lblSelectedModsVal< [min]
84 |lblDownloadSize<,lblDownloadSizeVal< [min]
85 |btnInstall=7x [min]
[735]86 - JPanel(name=panBottomRight):
87 - JButton(name=btnRunOniFull, action=runOniFull)
88 - JButton(name=btnRunOniWin, action=runOniWin)
89 - MigLayout: |
[751]90 [grow]
[735]91 >btnRunOniFull=1 [min]
92 >btnRunOniWin=1 [min]
93 - MigLayout: |
[744]94 [[gap 0px 0px, novisualpadding, insets 0]]
[753]95 [min] [grow] [min]
[751]96 panBottomLeft=5x panBottomCenter panBottomRight=5x [min]
[591]97 - MigLayout: |
[817]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]
[751]103 {lblShowOnly: gap 30px}
[658]104 - PackageInfoBox(name=pkgInfo)
[591]105 - MigLayout:
106 layoutConstraints: wrap 1
107 columnConstraints: grow
108 rowConstraints: grow
109 constraints:
110 - contents: grow
[594]111
112# - tools: dock north
Note: See TracBrowser for help on using the repository browser.