1 | JFrame:
|
---|
2 | name: frame
|
---|
3 | title: appname
|
---|
4 | size: 800x600
|
---|
5 | minimumSize: 400x300
|
---|
6 | locationRelativeTo: null
|
---|
7 | defaultCloseOperation: doNothingOnClose
|
---|
8 | onWindowOpened: [execDepotUpdate,checkUpdates,initialize,focus]
|
---|
9 | onWindowClosing: [askClose,saveLocalData,exit]
|
---|
10 | iconImage: img.ae
|
---|
11 | content:
|
---|
12 | - Action(name=exitAction, text=menu.exit, toolTipText=menu.exitTooltip, icon=img.exit, onAction=[askClose,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=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])
|
---|
18 | - Action(name=tools, text=menu.tools, toolTipText=menu.toolsTooltip, icon=img.tools, onAction=[tools])
|
---|
19 | - JMenuBar:
|
---|
20 | - JMenu(name=mainMenu, text=menu.main):
|
---|
21 | - JMenuItem(action=settings)
|
---|
22 | - JMenuItem(action=about)
|
---|
23 | - JMenuItem(action=exitAction)
|
---|
24 | - JMenu(name=fileMenu, text=menu.file):
|
---|
25 | - JMenuItem(action=loadConfig)
|
---|
26 | - JMenuItem(action=saveConfig)
|
---|
27 | - JSeparator()
|
---|
28 | - JMenuItem(action=reglobalize)
|
---|
29 | - JSeparator()
|
---|
30 | - JMenuItem(action=tools)
|
---|
31 | - JToolBar(name=toolbar, floatable=false, orientation=0):
|
---|
32 | - JButton(action=exitAction, hideActionText=true)
|
---|
33 | - JToolBarSeparator()
|
---|
34 | - JButton(action=settings, hideActionText=true)
|
---|
35 | - JButton(action=about, hideActionText=true)
|
---|
36 | - JSplitPane(name=contents, orientation=horizontalSplit, continuousLayout=true):
|
---|
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):
|
---|
41 | JTable(name=tblMods, visible=false)
|
---|
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)
|
---|
46 | - MigLayout: |
|
---|
47 | [grow]
|
---|
48 | lblModTypes<,cmbModTypes [min]
|
---|
49 | scrollMods [grow]
|
---|
50 | >btnRevertSelection,btnInstall [min]
|
---|
51 | lblDownloadSize,lblDownloadSizeVal [min]
|
---|
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]
|
---|
68 | - MigLayout:
|
---|
69 | layoutConstraints: wrap 1
|
---|
70 | columnConstraints: grow
|
---|
71 | rowConstraints: grow
|
---|
72 | constraints:
|
---|
73 | - contents: grow
|
---|
74 |
|
---|
75 | # - tools: dock north
|
---|