[591] | 1 | JFrame:
|
---|
| 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]
|
---|
[660] | 61 | - JLabel(name=lblShowFilter, text=lblShowFilter.text)
|
---|
[805] | 62 | - JButton(name=btnClearFilter, icon=img.clear, onAction=[clearFilter])
|
---|
[660] | 63 | - JTextField(name=txtShowFilter)
|
---|
| 64 | - JComboBox(name=cmbShowFilterTo, onAction=updateTableFilter)
|
---|
[658] | 65 | - JScrollPane(name=scrollMods, vScrollBar=always, hScrollBar=never)
|
---|
[735] | 66 | - JPanel(name=panBottom):
|
---|
| 67 | - JPanel(name=panBottomLeft):
|
---|
| 68 | - JButton(name=btnUnSelectAll, icon=img.unSelect16, text=btnUnSelectAll.text, onAction=[unSelectAll])
|
---|
[751] | 69 | - JButton(name=btnRevertSelection, icon=img.undo, text=btnRevertSelection.text, toolTipText=btnRevertSelection.tooltip, onAction=[revertSelection])
|
---|
[735] | 70 | - MigLayout: |
|
---|
| 71 | [min]
|
---|
| 72 | btnUnSelectAll=1 [min]
|
---|
| 73 | btnRevertSelection=1 [min]
|
---|
| 74 | - JPanel(name=panBottomCenter):
|
---|
| 75 | - JLabel(name=lblSelectedMods, text=lblSelectedMods.text)
|
---|
| 76 | - JLabel(name=lblSelectedModsVal)
|
---|
| 77 | - JLabel(name=lblDownloadSize, text=lblDownloadSize.text)
|
---|
| 78 | - JLabel(name=lblDownloadSizeVal)
|
---|
| 79 | - JButton(name=btnInstall, icon=img.install, text=btnInstall.text, toolTipText=btnInstall.tooltip, onAction=[install,installExec,installDone])
|
---|
| 80 | - MigLayout: |
|
---|
| 81 | [grow]
|
---|
[753] | 82 | |lblSelectedMods=7x<,lblSelectedModsVal< [min]
|
---|
| 83 | |lblDownloadSize<,lblDownloadSizeVal< [min]
|
---|
| 84 | |btnInstall=7x [min]
|
---|
[735] | 85 | - JPanel(name=panBottomRight):
|
---|
| 86 | - JButton(name=btnRunOniFull, action=runOniFull)
|
---|
| 87 | - JButton(name=btnRunOniWin, action=runOniWin)
|
---|
| 88 | - MigLayout: |
|
---|
[751] | 89 | [grow]
|
---|
[735] | 90 | >btnRunOniFull=1 [min]
|
---|
| 91 | >btnRunOniWin=1 [min]
|
---|
| 92 | - MigLayout: |
|
---|
[744] | 93 | [[gap 0px 0px, novisualpadding, insets 0]]
|
---|
[753] | 94 | [min] [grow] [min]
|
---|
[751] | 95 | panBottomLeft=5x panBottomCenter panBottomRight=5x [min]
|
---|
[591] | 96 | - MigLayout: |
|
---|
[735] | 97 | [min] [grow]
|
---|
[805] | 98 | >lblModTypes cmbModTypes<,lblShowOnly,radAll,radOnline,radLocal,radInstalled [min]
|
---|
| 99 | >lblShowFilter txtShowFilter>,btnClearFilter<,cmbShowFilterTo< [min]
|
---|
| 100 | scrollMods+* [grow]
|
---|
| 101 | panBottom+* [min]
|
---|
[751] | 102 | {lblShowOnly: gap 30px}
|
---|
[658] | 103 | - PackageInfoBox(name=pkgInfo)
|
---|
[591] | 104 | - MigLayout:
|
---|
| 105 | layoutConstraints: wrap 1
|
---|
| 106 | columnConstraints: grow
|
---|
| 107 | rowConstraints: grow
|
---|
| 108 | constraints:
|
---|
| 109 | - contents: grow
|
---|
[594] | 110 |
|
---|
| 111 | # - tools: dock north
|
---|