[591] | 1 | JFrame:
|
---|
| 2 | name: frame
|
---|
[593] | 3 | title: appname
|
---|
[591] | 4 | size: 800x600
|
---|
| 5 | minimumSize: 400x300
|
---|
| 6 | locationRelativeTo: null
|
---|
| 7 | defaultCloseOperation: doNothingOnClose
|
---|
[600] | 8 | onWindowOpened: [execDepotUpdate,checkUpdates,initialize,focus]
|
---|
| 9 | onWindowClosing: [askClose,saveLocalData,exit]
|
---|
[593] | 10 | iconImage: img.ae
|
---|
[591] | 11 | content:
|
---|
[600] | 12 | - Action(name=exitAction, text=menu.exit, toolTipText=menu.exitTooltip, icon=img.exit, onAction=[askClose,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])
|
---|
| 15 | - Action(name=loadConfig, text=menu.loadConfig, toolTipText=menu.loadConfigTooltip, icon=img.openFile, onAction=[loadConfig])
|
---|
| 16 | - Action(name=saveConfig, text=menu.saveConfig, toolTipText=menu.saveConfigTooltip, icon=img.saveFile, onAction=[saveConfig])
|
---|
| 17 | - Action(name=reglobalize, text=menu.reglobalize, toolTipText=menu.reglobalizeTooltip, icon=img.refresh, onAction=[reglobalize])
|
---|
[600] | 18 | - Action(name=tools, text=menu.tools, toolTipText=menu.toolsTooltip, icon=img.tools, onAction=[tools])
|
---|
[591] | 19 | - JMenuBar:
|
---|
[593] | 20 | - JMenu(name=mainMenu, text=menu.main):
|
---|
[591] | 21 | - JMenuItem(action=settings)
|
---|
[593] | 22 | - JMenuItem(action=about)
|
---|
[591] | 23 | - JMenuItem(action=exitAction)
|
---|
[593] | 24 | - JMenu(name=fileMenu, text=menu.file):
|
---|
| 25 | - JMenuItem(action=loadConfig)
|
---|
| 26 | - JMenuItem(action=saveConfig)
|
---|
| 27 | - JSeparator()
|
---|
| 28 | - JMenuItem(action=reglobalize)
|
---|
[600] | 29 | - JSeparator()
|
---|
| 30 | - JMenuItem(action=tools)
|
---|
| 31 | - JToolBar(name=toolbar, floatable=false, orientation=0):
|
---|
[591] | 32 | - JButton(action=exitAction, hideActionText=true)
|
---|
| 33 | - JToolBarSeparator()
|
---|
| 34 | - JButton(action=settings, hideActionText=true)
|
---|
[593] | 35 | - JButton(action=about, hideActionText=true)
|
---|
[592] | 36 | - JSplitPane(name=contents, orientation=horizontalSplit, continuousLayout=true):
|
---|
[591] | 37 | - JPanel(name=panMods):
|
---|
| 38 | - JLabel(name=lblModTypes, text=lblModTypes.text)
|
---|
| 39 | - JComboBox(name=cmbModTypes, onAction=modTypeSelection)
|
---|
| 40 | - JScrollPane(name=scrollMods, vScrollBar=always, hScrollBar=never):
|
---|
[592] | 41 | JTable(name=tblMods, visible=false)
|
---|
[600] | 42 | - JButton(name=btnRevertSelection, icon=img.undo16, text=btnRevertSelection.text, toolTipText=btnRevertSelection.tooltip, onAction=[revertSelection])
|
---|
| 43 | - JButton(name=btnInstall, icon=img.install, text=btnInstall.text, toolTipText=btnInstall.tooltip, onAction=[install])
|
---|
| 44 | - JLabel(name=lblDownloadSize, text=lblDownloadSize.text)
|
---|
| 45 | - JLabel(name=lblDownloadSizeVal)
|
---|
[591] | 46 | - MigLayout: |
|
---|
| 47 | [grow]
|
---|
| 48 | lblModTypes<,cmbModTypes [min]
|
---|
| 49 | scrollMods [grow]
|
---|
[600] | 50 | >btnRevertSelection,btnInstall [min]
|
---|
| 51 | lblDownloadSize,lblDownloadSizeVal [min]
|
---|
[592] | 52 | - JPanel(name=panInfo):
|
---|
| 53 | - JLabel(name=lblSubmitter, text=lblSubmitter.text)
|
---|
| 54 | - JLabel(name=lblSubmitterVal)
|
---|
| 55 | - JLabel(name=lblCreator, text=lblCreator.text)
|
---|
| 56 | - JLabel(name=lblCreatorVal)
|
---|
| 57 | - JLabel(name=lblFiles, text=lblFiles.text)
|
---|
| 58 | - JLabel(name=lblFilesVal)
|
---|
| 59 | - JLabel(name=lblDescription, text=lblDescription.text)
|
---|
| 60 | - JScrollPane(name=scrollDescription, vScrollBar=always, hScrollBar=asNeeded):
|
---|
| 61 | HTMLLinkLabel(name=lblDescriptionVal)
|
---|
| 62 | - MigLayout: |
|
---|
| 63 | [min] [grow]
|
---|
| 64 | >lblSubmitter lblSubmitterVal [min]
|
---|
| 65 | >lblCreator lblCreatorVal [min]
|
---|
| 66 | >lblFiles lblFilesVal [min]
|
---|
| 67 | >^lblDescription scrollDescription [grow]
|
---|
[591] | 68 | - MigLayout:
|
---|
| 69 | layoutConstraints: wrap 1
|
---|
| 70 | columnConstraints: grow
|
---|
| 71 | rowConstraints: grow
|
---|
| 72 | constraints:
|
---|
| 73 | - contents: grow
|
---|
[594] | 74 |
|
---|
| 75 | # - tools: dock north
|
---|