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