1 | JFrame:
|
---|
2 | name: frame
|
---|
3 | title: appname
|
---|
4 | size: 800x600
|
---|
5 | minimumSize: 400x300
|
---|
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=[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=settings)
|
---|
27 | - JMenuItem(action=about)
|
---|
28 | - JMenuItem(action=exitAction)
|
---|
29 | - JMenu(name=fileMenu, text=menu.file):
|
---|
30 | - JMenuItem(action=runOniFull)
|
---|
31 | - JMenuItem(action=runOniWin)
|
---|
32 | - JSeparator()
|
---|
33 | - JMenuItem(action=update)
|
---|
34 | - JSeparator()
|
---|
35 | - JMenuItem(action=loadConfig)
|
---|
36 | - JMenuItem(action=saveConfig)
|
---|
37 | - JSeparator()
|
---|
38 | - JMenuItem(action=openEditionFolder)
|
---|
39 | - JSeparator()
|
---|
40 | - JMenuItem(action=corePackages)
|
---|
41 | - JMenuItem(action=reglobalize)
|
---|
42 | - JMenu(name=toolsMenu, text=menu.tools):
|
---|
43 | - JMenuItem(name=manageToolsItem, action=tools)
|
---|
44 | - JSeparator()
|
---|
45 | - JToolBar(name=toolbar, floatable=false, orientation=0):
|
---|
46 | - JButton(action=exitAction, hideActionText=true)
|
---|
47 | - JToolBarSeparator()
|
---|
48 | - JButton(action=settings, hideActionText=true)
|
---|
49 | - JButton(action=about, hideActionText=true)
|
---|
50 | - JSplitPane(name=contents, orientation=horizontalSplit, continuousLayout=true):
|
---|
51 | - JPanel(name=panMods):
|
---|
52 | - JLabel(name=lblModTypes, text=lblModTypes.text)
|
---|
53 | - JComboBox(name=cmbModTypes, onAction=modTypeSelection)
|
---|
54 | - JLabel(name=lblShowOnly, text=lblShowOnly.text)
|
---|
55 | - JRadioButton(name=radAll, text=radAll.text, onAction=showTypeSelection)
|
---|
56 | - JRadioButton(name=radOnline, text=radOnline.text, onAction=showTypeSelection)
|
---|
57 | - JRadioButton(name=radLocal, text=radLocal.text, onAction=showTypeSelection)
|
---|
58 | - ButtonGroup: [radAll,radOnline,radLocal]
|
---|
59 | - JScrollPane(name=scrollMods, vScrollBar=always, hScrollBar=never):
|
---|
60 | ModTable(name=tblMods, visible=false)
|
---|
61 | - JButton(name=btnUnSelectAll, icon=img.unSelect16, text=btnUnSelectAll.text, onAction=[unSelectAll])
|
---|
62 | - JButton(name=btnRevertSelection, icon=img.undo16, text=btnRevertSelection.text, toolTipText=btnRevertSelection.tooltip, onAction=[revertSelection])
|
---|
63 | - JButton(name=btnInstall, icon=img.install, text=btnInstall.text, toolTipText=btnInstall.tooltip, onAction=[install,installExec,installDone])
|
---|
64 | - JLabel(name=lblDownloadSize, text=lblDownloadSize.text)
|
---|
65 | - JLabel(name=lblDownloadSizeVal)
|
---|
66 | - MigLayout: |
|
---|
67 | [grow]
|
---|
68 | lblModTypes<,cmbModTypes [min]
|
---|
69 | lblShowOnly<,radAll,radOnline,radLocal [min]
|
---|
70 | scrollMods [grow]
|
---|
71 | >btnUnSelectAll,>btnRevertSelection,btnInstall [min]
|
---|
72 | lblDownloadSize,lblDownloadSizeVal [min]
|
---|
73 | - JPanel(name=panInfo):
|
---|
74 | - JLabel(name=lblTitle, text=lblTitle.text)
|
---|
75 | - JLabel(name=lblTitleVal)
|
---|
76 | - JLabel(name=lblCreator, text=lblCreator.text)
|
---|
77 | - JLabel(name=lblCreatorVal)
|
---|
78 | - JLabel(name=lblTypes, text=lblTypes.text)
|
---|
79 | - JLabel(name=lblTypesVal)
|
---|
80 | - JLabel(name=lblPlatform, text=lblPlatform.text)
|
---|
81 | - JLabel(name=lblPlatformVal)
|
---|
82 | - JLabel(name=lblPackageNumber, text=lblPackageNumber.text)
|
---|
83 | - JLabel(name=lblPackageNumberVal)
|
---|
84 | - JLabel(name=lblVersionNumber, text=lblVersionNumber.text)
|
---|
85 | - JLabel(name=lblVersionNumberVal)
|
---|
86 | - JLabel(name=lblDescription, text=lblDescription.text)
|
---|
87 | - JScrollPane(name=scrollDescription, vScrollBar=always, hScrollBar=asNeeded):
|
---|
88 | HTMLLinkLabel(name=lblDescriptionVal)
|
---|
89 | - MigLayout: |
|
---|
90 | [min] [grow]
|
---|
91 | >lblTitle lblTitleVal [min]
|
---|
92 | >lblCreator lblCreatorVal [min]
|
---|
93 | >lblTypes lblTypesVal [min]
|
---|
94 | >lblPlatform lblPlatformVal [min]
|
---|
95 | >lblPackageNumber lblPackageNumberVal [min]
|
---|
96 | >lblVersionNumber lblVersionNumberVal [min]
|
---|
97 | >^lblDescription scrollDescription [grow]
|
---|
98 | - MigLayout:
|
---|
99 | layoutConstraints: wrap 1
|
---|
100 | columnConstraints: grow
|
---|
101 | rowConstraints: grow
|
---|
102 | constraints:
|
---|
103 | - contents: grow
|
---|
104 |
|
---|
105 | # - tools: dock north
|
---|