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