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