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,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=[reglobalizeVerify,reglobalize])
|
---|
21 | - Action(name=tools, text=menu.manageTools, toolTipText=menu.manageToolsTooltip, icon=img.tools, onAction=[tools,refreshToolsMenu])
|
---|
22 | - Action(name=update, text=menu.update, toolTipText=menu.updateTooltip, icon=img.update, onAction=[checkUpdates,doUpdate])
|
---|
23 | - Action(name=corePackages, text=menu.corePackages, toolTipText=menu.corePackagesTooltip, icon=img.core, onAction=[showCorePackagesDialog])
|
---|
24 | - JMenuBar:
|
---|
25 | - JMenu(name=mainMenu, text=menu.main):
|
---|
26 | - JMenuItem(action=about)
|
---|
27 | - JMenuItem(action=settings)
|
---|
28 | - JMenuItem(action=exitAction)
|
---|
29 | - JMenu(name=fileMenu, text=menu.file):
|
---|
30 | - JMenuItem(action=update)
|
---|
31 | - JSeparator()
|
---|
32 | - JMenuItem(action=loadConfig)
|
---|
33 | - JMenuItem(action=saveConfig)
|
---|
34 | - JSeparator()
|
---|
35 | - JMenuItem(action=openEditionFolder)
|
---|
36 | - JSeparator()
|
---|
37 | - JMenuItem(action=corePackages)
|
---|
38 | - JMenuItem(action=reglobalize)
|
---|
39 | - JMenu(name=toolsMenu, text=menu.tools):
|
---|
40 | - JMenuItem(name=manageToolsItem, action=tools)
|
---|
41 | - JSeparator()
|
---|
42 | - JToolBar(name=toolbar, floatable=false, orientation=0):
|
---|
43 | - JButton(action=exitAction, hideActionText=true)
|
---|
44 | - JToolBarSeparator()
|
---|
45 | - JButton(action=settings, hideActionText=true)
|
---|
46 | - JButton(action=about, hideActionText=true)
|
---|
47 | - JSplitPane(name=contents, orientation=horizontalSplit, continuousLayout=true):
|
---|
48 | - JPanel(name=panMods):
|
---|
49 | - JLabel(name=lblModTypes, text=lblModTypes.text)
|
---|
50 | - JComboBox(name=cmbModTypes, onAction=updateTableFilter)
|
---|
51 | - JLabel(name=lblShowOnly, text=lblShowOnly.text)
|
---|
52 | - JRadioButton(name=radAll, text=radAll.text, onAction=updateTableFilter)
|
---|
53 | - JRadioButton(name=radOnline, text=radOnline.text, onAction=updateTableFilter)
|
---|
54 | - JRadioButton(name=radLocal, text=radLocal.text, onAction=updateTableFilter)
|
---|
55 | - JRadioButton(name=radInstalled, text=radInstalled.text, onAction=updateTableFilter)
|
---|
56 | - ButtonGroup: [radAll,radOnline,radLocal,radInstalled]
|
---|
57 | - JLabel(name=lblShowFilter, text=lblShowFilter.text)
|
---|
58 | - JButton(name=btnClearFilter, icon=img.clear, onAction=[clearFilter])
|
---|
59 | - JTextField(name=txtShowFilter)
|
---|
60 | - JComboBox(name=cmbShowFilterTo, onAction=updateTableFilter)
|
---|
61 | - JScrollPane(name=scrollMods, vScrollBar=always, hScrollBar=never)
|
---|
62 | - JPanel(name=panBottom):
|
---|
63 | - JPanel(name=panBottomLeft):
|
---|
64 | - JButton(name=btnUnSelectAll, icon=img.unSelect16, text=btnUnSelectAll.text, onAction=[unSelectAll])
|
---|
65 | - JButton(name=btnRevertSelection, icon=img.undo, text=btnRevertSelection.text, toolTipText=btnRevertSelection.tooltip, onAction=[revertSelection])
|
---|
66 | - MigLayout: |
|
---|
67 | [min]
|
---|
68 | btnUnSelectAll=1 [min]
|
---|
69 | btnRevertSelection=1 [min]
|
---|
70 | - JPanel(name=panBottomCenter):
|
---|
71 | - JLabel(name=lblSelectedMods, text=lblSelectedMods.text)
|
---|
72 | - JLabel(name=lblSelectedModsVal)
|
---|
73 | - JLabel(name=lblDownloadSize, text=lblDownloadSize.text)
|
---|
74 | - JLabel(name=lblDownloadSizeVal)
|
---|
75 | - JButton(name=btnInstall, icon=img.install, text=btnInstall.text, toolTipText=btnInstall.tooltip, onAction=[install,installExec,installDone])
|
---|
76 | - MigLayout: |
|
---|
77 | [grow]
|
---|
78 | |lblSelectedMods=7x<,lblSelectedModsVal< [min]
|
---|
79 | |lblDownloadSize<,lblDownloadSizeVal< [min]
|
---|
80 | |btnInstall=7x [min]
|
---|
81 | - JPanel(name=panBottomRight):
|
---|
82 | - JButton(name=btnRunOniFull, action=runOniFull)
|
---|
83 | - JButton(name=btnRunOniWin, action=runOniWin)
|
---|
84 | - MigLayout: |
|
---|
85 | [grow]
|
---|
86 | >btnRunOniFull=1 [min]
|
---|
87 | >btnRunOniWin=1 [min]
|
---|
88 | - MigLayout: |
|
---|
89 | [[gap 0px 0px, novisualpadding, insets 0]]
|
---|
90 | [min] [grow] [min]
|
---|
91 | panBottomLeft=5x panBottomCenter panBottomRight=5x [min]
|
---|
92 | - MigLayout: |
|
---|
93 | [min] [grow]
|
---|
94 | >lblModTypes cmbModTypes<,lblShowOnly,radAll,radOnline,radLocal,radInstalled [min]
|
---|
95 | >lblShowFilter txtShowFilter>,btnClearFilter<,cmbShowFilterTo< [min]
|
---|
96 | scrollMods+* [grow]
|
---|
97 | panBottom+* [min]
|
---|
98 | {lblShowOnly: gap 30px}
|
---|
99 | - PackageInfoBox(name=pkgInfo)
|
---|
100 | - MigLayout:
|
---|
101 | layoutConstraints: wrap 1
|
---|
102 | columnConstraints: grow
|
---|
103 | rowConstraints: grow
|
---|
104 | constraints:
|
---|
105 | - contents: grow
|
---|
106 |
|
---|
107 | # - tools: dock north
|
---|