1 | JFrame:
|
---|
2 | name: frame
|
---|
3 | title: appname
|
---|
4 | size: 950x600
|
---|
5 | minimumSize: 850x300
|
---|
6 | locationRelativeTo: null
|
---|
7 | defaultCloseOperation: doNothingOnClose
|
---|
8 | onWindowOpened: [execDepotUpdate,checkCorePackages,infoCorePackages,checkInitialize,initialize,checkUpdates,doUpdate,refreshToolsMenu,showNewPackages,showTips,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=help, text=menu.help, toolTipText=menu.helpTooltip, icon=img.help, onAction=[showHelp])
|
---|
16 | - Action(name=report, text=menu.report, toolTipText=menu.reportTooltip, icon=img.help, onAction=[showReport])
|
---|
17 | - Action(name=runOniFull, text=menu.runOniFull, toolTipText=menu.runOniFullTooltip, icon=img.oni, onAction=[oniFull])
|
---|
18 | - Action(name=runOniWin, text=menu.runOniWin, toolTipText=menu.runOniWinTooltip, icon=img.oni, onAction=[oniWin])
|
---|
19 | - Action(name=openEditionFolder, text=menu.openEditionFolder, toolTipText=menu.openEditionFolderTooltip, icon=img.folder, onAction=[openEditionFolder])
|
---|
20 | - Action(name=refreshLocalMods, text=menu.refreshLocalMods, toolTipText=menu.refreshLocalModsTooltip, icon=img.foldernew, onAction=[refreshLocalMods])
|
---|
21 | - Action(name=loadConfig, text=menu.loadConfig, toolTipText=menu.loadConfigTooltip, icon=img.openFile, onAction=[loadConfig])
|
---|
22 | - Action(name=saveConfig, text=menu.saveConfig, toolTipText=menu.saveConfigTooltip, icon=img.saveFile, onAction=[saveConfig])
|
---|
23 | - Action(name=copyConfig, text=menu.copyConfig, toolTipText=menu.copyConfigTooltip, icon=img.copy, onAction=[copyConfig])
|
---|
24 | - Action(name=reglobalize, text=menu.reglobalize, toolTipText=menu.reglobalizeTooltip, icon=img.refresh, onAction=[reglobalizeVerify,reglobalize])
|
---|
25 | - Action(name=tools, text=menu.manageTools, toolTipText=menu.manageToolsTooltip, icon=img.tools, onAction=[tools,refreshToolsMenu])
|
---|
26 | - Action(name=update, text=menu.update, toolTipText=menu.updateTooltip, icon=img.update, onAction=[execDepotUpdate,checkCorePackages,infoCorePackages,checkUpdates,doUpdate,showNewPackages])
|
---|
27 | - Action(name=corePackages, text=menu.corePackages, toolTipText=menu.corePackagesTooltip, icon=img.core, onAction=[showCorePackagesDialog])
|
---|
28 | - JMenuBar:
|
---|
29 | - JMenu(name=mainMenu, text=menu.main):
|
---|
30 | - JMenuItem(action=about)
|
---|
31 | - JMenuItem(action=help)
|
---|
32 | - JMenuItem(action=report)
|
---|
33 | - JMenuItem(action=settings)
|
---|
34 | - JMenuItem(action=exitAction)
|
---|
35 | - JMenu(name=fileMenu, text=menu.file):
|
---|
36 | - JMenuItem(action=update)
|
---|
37 | - JSeparator()
|
---|
38 | - JMenuItem(action=loadConfig)
|
---|
39 | - JMenuItem(action=saveConfig)
|
---|
40 | - JMenuItem(action=copyConfig)
|
---|
41 | - JSeparator()
|
---|
42 | - JMenuItem(action=openEditionFolder)
|
---|
43 | - JMenuItem(action=refreshLocalMods)
|
---|
44 | - JSeparator()
|
---|
45 | - JMenuItem(action=corePackages)
|
---|
46 | - JMenuItem(action=reglobalize)
|
---|
47 | - JMenu(name=toolsMenu, text=menu.tools):
|
---|
48 | - JMenuItem(name=manageToolsItem, action=tools)
|
---|
49 | - JSeparator()
|
---|
50 | - JToolBar(name=toolbar, floatable=false, orientation=0):
|
---|
51 | - JButton(action=exitAction, hideActionText=true)
|
---|
52 | - JToolBarSeparator()
|
---|
53 | - JButton(action=settings, hideActionText=true)
|
---|
54 | - JButton(action=about, hideActionText=true)
|
---|
55 | - JSplitPane(name=contents, orientation=horizontalSplit, continuousLayout=true):
|
---|
56 | - JPanel(name=panMods):
|
---|
57 | - JLabel(name=lblModTypes, text=lblModTypes.text)
|
---|
58 | - JComboBox(name=cmbModTypes, onAction=updateTableFilter)
|
---|
59 | - JLabel(name=lblShowOnly, text=lblShowOnly.text)
|
---|
60 | - JRadioButton(name=radAll, text=radAll.text, onAction=updateTableFilter)
|
---|
61 | - JRadioButton(name=radOnline, text=radOnline.text, onAction=updateTableFilter)
|
---|
62 | - JRadioButton(name=radLocal, text=radLocal.text, onAction=updateTableFilter)
|
---|
63 | - JRadioButton(name=radInstalled, text=radInstalled.text, onAction=updateTableFilter)
|
---|
64 | - ButtonGroup: [radAll,radOnline,radLocal,radInstalled]
|
---|
65 | - JButton(name=btnShowHelp, icon=img.help16, onAction=[showHelp])
|
---|
66 | - JLabel(name=lblShowFilter, text=lblShowFilter.text)
|
---|
67 | - JButton(name=btnClearFilter, icon=img.clear, onAction=[clearFilter])
|
---|
68 | - JTextField(name=txtShowFilter)
|
---|
69 | - JComboBox(name=cmbShowFilterTo, onAction=updateTableFilter)
|
---|
70 | - JScrollPane(name=scrollMods, vScrollBar=always, hScrollBar=never)
|
---|
71 | - JPanel(name=panBottom):
|
---|
72 | - JPanel(name=panBottomLeft):
|
---|
73 | - JButton(name=btnUnSelectAll, icon=img.unSelect16, text=btnUnSelectAll.text, onAction=[unSelectAll])
|
---|
74 | - JButton(name=btnRevertSelection, icon=img.undo, text=btnRevertSelection.text, toolTipText=btnRevertSelection.tooltip, onAction=[revertSelection])
|
---|
75 | - MigLayout: |
|
---|
76 | [min]
|
---|
77 | btnUnSelectAll=1 [min]
|
---|
78 | btnRevertSelection=1 [min]
|
---|
79 | - JPanel(name=panBottomCenter):
|
---|
80 | - JLabel(name=lblSelectedMods, text=lblSelectedMods.text)
|
---|
81 | - JLabel(name=lblSelectedModsVal)
|
---|
82 | - JLabel(name=lblDownloadSize, text=lblDownloadSize.text)
|
---|
83 | - JLabel(name=lblDownloadSizeVal)
|
---|
84 | - JButton(name=btnInstall, icon=img.install, text=btnInstall.text, toolTipText=btnInstall.tooltip, onAction=[install,installExec,installDone])
|
---|
85 | - MigLayout: |
|
---|
86 | [grow]
|
---|
87 | |lblSelectedMods=7x<,lblSelectedModsVal< [min]
|
---|
88 | |lblDownloadSize<,lblDownloadSizeVal< [min]
|
---|
89 | |btnInstall=7x [min]
|
---|
90 | - JPanel(name=panBottomRight):
|
---|
91 | - JButton(name=btnRunOniFull, action=runOniFull)
|
---|
92 | - JButton(name=btnRunOniWin, action=runOniWin)
|
---|
93 | - MigLayout: |
|
---|
94 | [grow]
|
---|
95 | >btnRunOniFull=1 [min]
|
---|
96 | >btnRunOniWin=1 [min]
|
---|
97 | - MigLayout: |
|
---|
98 | [[gap 0px 0px, novisualpadding, insets 0]]
|
---|
99 | [min] [grow] [min]
|
---|
100 | panBottomLeft=5x panBottomCenter panBottomRight=5x [min]
|
---|
101 | - MigLayout: |
|
---|
102 | [min] [grow] [min]
|
---|
103 | >lblModTypes cmbModTypes<,lblShowOnly,radAll,radOnline,radLocal,radInstalled btnShowHelp [min]
|
---|
104 | >lblShowFilter txtShowFilter+*>,btnClearFilter<,cmbShowFilterTo< [min]
|
---|
105 | scrollMods+* [grow]
|
---|
106 | panBottom+* [min]
|
---|
107 | {lblShowOnly: gap 30px}
|
---|
108 | - PackageInfoBox(name=pkgInfo)
|
---|
109 | - MigLayout:
|
---|
110 | layoutConstraints: wrap 1
|
---|
111 | columnConstraints: grow
|
---|
112 | rowConstraints: grow
|
---|
113 | constraints:
|
---|
114 | - contents: grow
|
---|
115 |
|
---|
116 | # - tools: dock north
|
---|