RulesMenuUI.jaxx 2.65 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!--
  #%L
  Reef DB :: UI
  $Id:$
  $HeadURL:$
  %%
  Copyright (C) 2014 - 2015 Ifremer
  %%
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
  
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  
  You should have received a copy of the GNU Affero General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  #L%
  -->
<Table fill="horizontal" decorator='help' implements='fr.ifremer.reefdb.ui.swing.util.ReefDbUI&lt;RulesMenuUIModel, RulesMenuUIHandler&gt;'>
	<import>
PECQUOT's avatar
PECQUOT committed
25
26
27
28
29
30
    fr.ifremer.reefdb.ui.swing.ReefDbHelpBroker
    fr.ifremer.reefdb.ui.swing.ReefDbUIContext
    fr.ifremer.reefdb.ui.swing.util.ReefDbUI
		fr.ifremer.quadrige3.ui.swing.common.ApplicationUI
		fr.ifremer.quadrige3.ui.swing.common.ApplicationUIUtil
    fr.ifremer.reefdb.dto.configuration.control.RuleListDTO
31

PECQUOT's avatar
PECQUOT committed
32
33
34
35
36
37
38
39
40
41
    java.awt.FlowLayout
    javax.swing.Box
    javax.swing.BoxLayout
    java.awt.BorderLayout
    javax.swing.SwingConstants

    fr.ifremer.quadrige3.ui.swing.common.component.bean.ExtendedComboBox

    static org.nuiton.i18n.I18n.*
  </import>
42
43
44
45
46
47
	
	<RulesMenuUIModel id='model' initializer='getContextValue(RulesMenuUIModel.class)'/>
	          
	<ReefDbHelpBroker id='broker' constructorParams='"reefdb.home.help"'/>
	  
	<script><![CDATA[
PECQUOT's avatar
PECQUOT committed
48
49
		public RulesMenuUI(ApplicationUI parentUI) {
		    ApplicationUIUtil.setParentUI(this, parentUI);
50
51
52
53
54
55
56
57
		}
	]]></script>

	<row>
		<cell weightx="1" weighty="0" fill="both">
			<Table id="menuPanel" fill="both">
				<row>
					<cell>
58
59
60
						<JPanel layout='{new BorderLayout()}'>
							<JLabel id='ruleListLabel' constraints='BorderLayout.PAGE_START'/>
							<ExtendedComboBox id='ruleListComboBox' constructorParams='this' constraints='BorderLayout.CENTER' genericType='RuleListDTO'/>
61
62
63
64
65
66
67
68
69
70
71
						</JPanel>
					</cell>
				</row>
				<row>
					<cell>
			     		<JSeparator constructorParams='SwingConstants.HORIZONTAL'/>
					</cell>
				</row>
				<row>
					<cell>
						<JPanel id='selectionButtonsPanel' layout='{new FlowLayout()}'>
72
73
							<JButton id='clearButton' alignmentX='{Component.CENTER_ALIGNMENT}'/>
					  		<JButton id='searchButton' alignmentX='{Component.CENTER_ALIGNMENT}'/>
74
75
76
77
78
79
80
81
82
83
84
					  	</JPanel>
					</cell>
				</row>
			</Table>
		</cell>
	</row>
	<row>
		<cell weightx="1" weighty="1" fill="both">
			<JLabel/>
		</cell>
	</row>
PECQUOT's avatar
   
PECQUOT committed
85
</Table>