[591] | 1 | JFrame:
|
---|
| 2 | name: frame
|
---|
[593] | 3 | title: appname
|
---|
[591] | 4 | size: 800x600
|
---|
| 5 | minimumSize: 400x300
|
---|
| 6 | locationRelativeTo: null
|
---|
| 7 | defaultCloseOperation: doNothingOnClose
|
---|
[623] | 8 | onWindowOpened: [execDepotUpdate,checkMandatoryFiles,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])
|
---|
| 20 | - Action(name=reglobalize, text=menu.reglobalize, toolTipText=menu.reglobalizeTooltip, icon=img.refresh, onAction=[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])
|
---|
[591] | 23 | - JMenuBar:
|
---|
[593] | 24 | - JMenu(name=mainMenu, text=menu.main):
|
---|
[591] | 25 | - JMenuItem(action=settings)
|
---|
[593] | 26 | - JMenuItem(action=about)
|
---|
[591] | 27 | - JMenuItem(action=exitAction)
|
---|
[593] | 28 | - JMenu(name=fileMenu, text=menu.file):
|
---|
[605] | 29 | - JMenuItem(action=runOniFull)
|
---|
| 30 | - JMenuItem(action=runOniWin)
|
---|
| 31 | - JSeparator()
|
---|
[608] | 32 | - JMenuItem(action=openEditionFolder)
|
---|
| 33 | - JSeparator()
|
---|
[593] | 34 | - JMenuItem(action=loadConfig)
|
---|
| 35 | - JMenuItem(action=saveConfig)
|
---|
| 36 | - JSeparator()
|
---|
| 37 | - JMenuItem(action=reglobalize)
|
---|
[600] | 38 | - JSeparator()
|
---|
[623] | 39 | - JMenuItem(action=update)
|
---|
| 40 | - JMenu(name=toolsMenu, text=menu.tools):
|
---|
| 41 | - JMenuItem(name=manageToolsItem, action=tools)
|
---|
[621] | 42 | - JSeparator()
|
---|
[600] | 43 | - JToolBar(name=toolbar, floatable=false, orientation=0):
|
---|
[591] | 44 | - JButton(action=exitAction, hideActionText=true)
|
---|
| 45 | - JToolBarSeparator()
|
---|
| 46 | - JButton(action=settings, hideActionText=true)
|
---|
[593] | 47 | - JButton(action=about, hideActionText=true)
|
---|
[592] | 48 | - JSplitPane(name=contents, orientation=horizontalSplit, continuousLayout=true):
|
---|
[591] | 49 | - JPanel(name=panMods):
|
---|
| 50 | - JLabel(name=lblModTypes, text=lblModTypes.text)
|
---|
| 51 | - JComboBox(name=cmbModTypes, onAction=modTypeSelection)
|
---|
[630] | 52 | - JLabel(name=lblShowOnly, text=lblShowOnly.text)
|
---|
| 53 | - JRadioButton(name=radAll, text=radAll.text, onAction=showTypeSelection)
|
---|
| 54 | - JRadioButton(name=radOnline, text=radOnline.text, onAction=showTypeSelection)
|
---|
| 55 | - JRadioButton(name=radLocal, text=radLocal.text, onAction=showTypeSelection)
|
---|
| 56 | - ButtonGroup: [radAll,radOnline,radLocal]
|
---|
[591] | 57 | - JScrollPane(name=scrollMods, vScrollBar=always, hScrollBar=never):
|
---|
[631] | 58 | ModTable(name=tblMods, visible=false)
|
---|
[600] | 59 | - JButton(name=btnRevertSelection, icon=img.undo16, text=btnRevertSelection.text, toolTipText=btnRevertSelection.tooltip, onAction=[revertSelection])
|
---|
[617] | 60 | - JButton(name=btnInstall, icon=img.install, text=btnInstall.text, toolTipText=btnInstall.tooltip, onAction=[install,installDone])
|
---|
[600] | 61 | - JLabel(name=lblDownloadSize, text=lblDownloadSize.text)
|
---|
| 62 | - JLabel(name=lblDownloadSizeVal)
|
---|
[591] | 63 | - MigLayout: |
|
---|
| 64 | [grow]
|
---|
[630] | 65 | lblModTypes<,cmbModTypes [min]
|
---|
| 66 | lblShowOnly<,radAll,radOnline,radLocal [min]
|
---|
| 67 | scrollMods [grow]
|
---|
| 68 | >btnRevertSelection,btnInstall [min]
|
---|
| 69 | lblDownloadSize,lblDownloadSizeVal [min]
|
---|
[592] | 70 | - JPanel(name=panInfo):
|
---|
| 71 | - JLabel(name=lblSubmitter, text=lblSubmitter.text)
|
---|
| 72 | - JLabel(name=lblSubmitterVal)
|
---|
| 73 | - JLabel(name=lblCreator, text=lblCreator.text)
|
---|
| 74 | - JLabel(name=lblCreatorVal)
|
---|
[606] | 75 | - JLabel(name=lblTypes, text=lblTypes.text)
|
---|
| 76 | - JLabel(name=lblTypesVal)
|
---|
| 77 | - JLabel(name=lblPlatform, text=lblPlatform.text)
|
---|
| 78 | - JLabel(name=lblPlatformVal)
|
---|
[621] | 79 | - JLabel(name=lblPackageNumber, text=lblPackageNumber.text)
|
---|
| 80 | - JLabel(name=lblPackageNumberVal)
|
---|
[592] | 81 | - JLabel(name=lblDescription, text=lblDescription.text)
|
---|
| 82 | - JScrollPane(name=scrollDescription, vScrollBar=always, hScrollBar=asNeeded):
|
---|
| 83 | HTMLLinkLabel(name=lblDescriptionVal)
|
---|
| 84 | - MigLayout: |
|
---|
| 85 | [min] [grow]
|
---|
[621] | 86 | >lblSubmitter lblSubmitterVal [min]
|
---|
| 87 | >lblCreator lblCreatorVal [min]
|
---|
| 88 | >lblTypes lblTypesVal [min]
|
---|
| 89 | >lblPlatform lblPlatformVal [min]
|
---|
| 90 | >lblPackageNumber lblPackageNumberVal [min]
|
---|
| 91 | >^lblDescription scrollDescription [grow]
|
---|
[591] | 92 | - MigLayout:
|
---|
| 93 | layoutConstraints: wrap 1
|
---|
| 94 | columnConstraints: grow
|
---|
| 95 | rowConstraints: grow
|
---|
| 96 | constraints:
|
---|
| 97 | - contents: grow
|
---|
[594] | 98 |
|
---|
| 99 | # - tools: dock north
|
---|