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