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