Author: tchemit Date: 2008-02-08 21:38:36 +0000 (Fri, 08 Feb 2008) New Revision: 770 Added: trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/tab/detailTab.css Modified: trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/tab/JApplicationDetailTab.jaxx Log: utilisation de la premiere css jaxx :) Modified: trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/tab/JApplicationDetailTab.jaxx =================================================================== --- trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/tab/JApplicationDetailTab.jaxx 2008-02-08 21:38:16 UTC (rev 769) +++ trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/tab/JApplicationDetailTab.jaxx 2008-02-08 21:38:36 UTC (rev 770) @@ -1,38 +1,41 @@ <Table> + <style source="detailTab.css"/> <script> import static org.codelutin.i18n.I18n._; </script> <row> - <cell fill='both'> - <Table insets='0,0,0,0' id='toolbar'> - <row fill='both'> - <cell fill='horizontal' anchor="west"> - <JToolBar floatable='false' opaque='false' margin='0,0,0,0' borderPainted='false'> - <JButton opaque='false' borderPainted='false' id='collapseAllApplication' enabled='false'/> - <JButton opaque='false' borderPainted='false' id='expandAllApplication' enabled='false'/> + <cell fill='horizontal'> + <Table id='toolbarNavigation' styleClass='border' insets='0,0,0,0'> + <row> + <cell weightx="1" fill='horizontal'> + <JPanel opaque='false' > + <JLabel id='navigationHeader' text='{_("simexplorer.node.navigation")}'/> + </JPanel> + </cell> + <cell anchor="east"> + <JToolBar> + <JButton id='collapseAllApplication'/> + <JButton id='expandAllApplication'/> </JToolBar> </cell> - <cell weightx="1" fill='horizontal' anchor="east"> - <JLabel id='navigationHeader' text='{_("simexplorer.node.navigation")}'/> - </cell> </row> </Table> </cell> </row> <row> - <cell fill="horizontal" columns="2"> - <Table insets='0,0,0,0' id='toolbarDetail' background='{Color.WHITE}' border='{javax.swing.border.LineBorder.createBlackLineBorder()}'> - <row fill='both'> + <cell> + <Table id='toolbarDetail' styleClass='border' background='{Color.WHITE}' insets='0,0,0,0'> + <row> <cell weightx="1" fill='horizontal'> <JPanel opaque='false' > - <JLabel id='detailHeader' text='{_("simexplorer.node.nodetail")}' opaque='false' /> + <JLabel id='detailHeader' opaque='false' /> </JPanel> </cell> - <cell fill='horizontal' anchor="east"> - <JToolBar floatable='false' opaque='false' focusable='false' margin='0,0,0,0' borderPainted='false'> - <JButton opaque='false' borderPainted='false' id='exportApplication' enabled='false'/> - <JButton opaque='false' borderPainted='false' id='downloadLoggableElement' enabled='false'/> - <JButton opaque='false' borderPainted='false' id='delete' enabled='false'/> + <cell anchor="east"> + <JToolBar> + <JButton id='exportApplication'/> + <JButton id='downloadLoggableElement'/> + <JButton id='delete'/> </JToolBar> </cell> </row> @@ -42,7 +45,7 @@ <row fill="both" weightx="1" weighty="1"> <cell columns="2"> <JSplitPane id='splitOne' orientation="horizontal" resizeWeight="0.4" oneTouchExpandable='true'> - <JScrollPane columnHeaderView='{toolbar}'> + <JScrollPane columnHeaderView='{toolbarNavigation}'> <JTree id="navigationTree" model='{new javax.swing.tree.DefaultTreeModel(null)}'/> </JScrollPane> <JScrollPane id="scrollPane" columnHeaderView='{toolbarDetail}' border='{null}' horizontalScrollBarPolicy='horizontal_scrollbar_never' verticalScrollBarPolicy='vertical_scrollbar_never'> @@ -75,7 +78,7 @@ <cell anchor='west'> <JLabel text='{_("simexplorer.common.description")}'/> </cell> - <cell weightx="1" anchor='west'> + <cell fill='horizontal' weightx="2" anchor='west'> <JLabel id='detailDescription'/> </cell> </row> @@ -89,7 +92,7 @@ </row> <row> <cell fill='horizontal' columns="2" insets='5,0,0,1'> - <JPanel id='detailDescriptorsHeaderPanel' border='{javax.swing.border.LineBorder.createBlackLineBorder()}'> + <JPanel styleClass='border'> <JLabel id='detailDescriptorsHeader'/> </JPanel> </cell> @@ -103,16 +106,16 @@ </row> <row> <cell fill="horizontal" columns="2" insets='5,0,0,1' > - <Table insets='0,0,0,0' id='toolbarAttachment' border='{javax.swing.border.LineBorder.createBlackLineBorder()}'> + <Table id='toolbarAttachment' styleClass='border' insets='0,0,0,0'> <row fill='both'> <cell weightx="1" fill='horizontal'> <JPanel opaque='false'> - <JLabel id='detailAttachmentsHeader' text='{_("simexplorer.node.noattachments")}'/> + <JLabel id='detailAttachmentsHeader'/> </JPanel> </cell> <cell fill='horizontal' anchor="east"> - <JToolBar floatable='false' opaque='false' margin='0,0,0,0' borderPainted='false'> - <JButton opaque='false' borderPainted='false' id='downloadAttachment' enabled='false'/> + <JToolBar> + <JButton id='downloadAttachment'/> </JToolBar> </cell> </row> Added: trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/tab/detailTab.css =================================================================== --- trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/tab/detailTab.css (rev 0) +++ trunk/simexplorer-is-swing/src/uimodel/fr/cemagref/simexplorer/is/ui/swing/tab/detailTab.css 2008-02-08 21:38:36 UTC (rev 770) @@ -0,0 +1,18 @@ +JToolBar { + floatable:false; + focusable:false; + opaque:false; + margin:0; + borderPainted:false; +} + +JButton { + opaque:false; + borderPainted:false; + enabled:false; +} + +.border { + border:{javax.swing.border.LineBorder.createBlackLineBorder()}; + height:28; +}
participants (1)
-
tchemit@users.labs.libre-entreprise.org