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

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

AEI2.16:

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