[Buix-commits] r636 - trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui
Author: tchemit Date: 2008-04-27 08:39:32 +0000 (Sun, 27 Apr 2008) New Revision: 636 Added: trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxConnexionConfigUI.jaxx Removed: trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxConfigUI.jaxx Modified: trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxVCSUIProvider.java Log: renommage ConfigUI en ConnexionConfigUI Deleted: trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxConfigUI.jaxx =================================================================== --- trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxConfigUI.jaxx 2008-04-27 08:39:02 UTC (rev 635) +++ trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxConfigUI.jaxx 2008-04-27 08:39:32 UTC (rev 636) @@ -1,133 +0,0 @@ -<ConfigUI modal='true' resizable='false'> - <style source="config.css"/> - <script> - import static org.codelutin.vcs.type.VCSConnexionMode.*; - import static org.codelutin.vcs.ui.util.UIHelper.createActionIcon; - import org.codelutin.vcs.ui.action.*; - </script> - - <java.awt.CardLayout id='connexionPanelLayout'> - <Table id='anonymousPanel' insets='2,2,2,2'> - <row> - <cell columns="3"> - <JLabel text="lutinvcs.no.config" enabled='false'/> - </cell> - </row> - </Table> - <Table id='passwordPanel' insets='2,2,2,2'> - <row fill='horizontal'> - <cell> - <JLabel id='loginLabel'/> - </cell> - <cell> - <JTextField id='login' onKeyReleased="doCheck(Element.login)"/> - </cell> - </row> - <row fill='horizontal'> - <cell> - <JLabel id='passwordLabel' labelFor='{password}'/> - </cell> - <cell> - <JPasswordField id='password' onKeyReleased="doCheck(Element.password)"/> - </cell> - </row> - </Table> - <Table id='sshPanel' opaque="false" insets='2,2,2,2'> - <row fill='horizontal'> - <cell> - <JLabel id='sshLoginLabel'/> - </cell> - <cell> - <JTextField id='sshLogin' onKeyReleased="doCheck(Element.sshLogin)"/> - </cell> - </row> - <row fill='horizontal'> - <cell> - <JLabel id='passphraseLabel'/> - </cell> - <cell> - <JToolBar opaque='false' borderPainted='false' height="24"> - <JCheckBox id='noPassPhrase' onKeyReleased="doCheck(Element.nopassphrase)"/> - <JPasswordField id='passphrase' onKeyReleased="doCheck(Element.passphrase)" - enabled='{!noPassPhrase.isSelected()}'/> - </JToolBar> - </cell> - </row> - <row fill='horizontal'> - <cell> - <JLabel id='privateKeyFileLabel'/> - </cell> - <cell> - <JToolBar opaque='false' borderPainted='false' height="24"> - <JTextField id='privateKeyFile' onKeyReleased="doCheck(Element.privateKeyFile)"/> - <JButton id='changePrivateKeyFile' icon='{createActionIcon("filechooser")}' - onActionPerformed="changePrivateKeyFile()"/> - </JToolBar> - </cell> - </row> - </Table> - </java.awt.CardLayout> - - <JToolBar id='top' height='26'> - <JLabel text='lutinvcs.config.message'/> - <Table fill='both' insets='0,0,0,0'> - <row> - <cell fill='both'/> - </row> - </Table> - <JButton id='reset' onActionPerformed="reset()" icon='{createActionIcon("revert")}' borderPainted='false'/> - <JButton id='testConnection' action='{newAction(TestConnexionAction.class)}' borderPainted='false'/> - <JButton id='help' action='{newAction(HelpAction.class)}' borderPainted='false'/> - </JToolBar> - - <JToolBar id='connexionHead' opaque='false' height='26'> - <JLabel id='connexionModeLabel'/> - <JRadioButton id='connexionModeAnonymous' onActionPerformed="changeAutheticationMode(ANONYMOUS)"/> - <JRadioButton id='connexionModePassword' onActionPerformed="changeAutheticationMode(PASSWORD)"/> - <JRadioButton id='connexionModeSsh' onActionPerformed="changeAutheticationMode(SSH)"/> - <Table fill='both' insets='0,0,0,0'> - <row> - <cell fill='both'/> - </row> - </Table> - <JButton id='generateKey' icon='{createActionIcon("generatekey")}' onActionPerformed="generateKey()" - borderPainted='false'/> - </JToolBar> - - <Table fill='both' insets="1,1,1,1"> - <row fill='horizontal'> - <cell columns='2'> - <JScrollPane columnHeaderView='{top}'> - <JEditorPane id="doc"/> - </JScrollPane> - </cell> - </row> - <row fill='horizontal'> - <cell columns="2" fill='both'> - <JToolBar id='rootHead' opaque='false' height='26'> - <JComboBox id='rootsList' /> - <JButton id='editRoot' icon='{createActionIcon("editroot")}' borderPainted='false' onActionPerformed="editRoot()"/> - <JButton id='addRoot' icon='{createActionIcon("addroot")}' borderPainted='false' onActionPerformed="addRoot()"/> - <JButton id='deleteRoot' icon='{createActionIcon("deleteroot")}' borderPainted='false' onActionPerformed="deleteRoot()"/> - <!--JSeparator orientation="vertical"/--> - </JToolBar> - </cell> - </row> - <row fill='horizontal'> - <cell columns="2" fill='both'> - <JScrollPane columnHeaderView='{connexionHead}' styleClass='connexionScroll'> - <JPanel id='connexionPanel' layout='{connexionPanelLayout}'/> - </JScrollPane> - </cell> - </row> - <row fill='horizontal'> - <cell weightx='1'> - <JButton id='ok' onActionPerformed="save()"/> - </cell> - <cell weightx='1'> - <JButton id='cancel' onActionPerformed="dispose()"/> - </cell> - </row> - </Table> - -</ConfigUI> Copied: trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxConnexionConfigUI.jaxx (from rev 630, trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxConfigUI.jaxx) =================================================================== --- trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxConnexionConfigUI.jaxx (rev 0) +++ trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxConnexionConfigUI.jaxx 2008-04-27 08:39:32 UTC (rev 636) @@ -0,0 +1,133 @@ +<ConfigUI modal='true' resizable='false'> + <style source="config.css"/> + <script> + import static org.codelutin.vcs.type.VCSConnexionMode.*; + import static org.codelutin.vcs.ui.util.UIHelper.createActionIcon; + import org.codelutin.vcs.ui.action.*; + </script> + + <java.awt.CardLayout id='connexionPanelLayout'> + <Table id='anonymousPanel' insets='2,2,2,2'> + <row> + <cell columns="3"> + <JLabel text="lutinvcs.no.config" enabled='false'/> + </cell> + </row> + </Table> + <Table id='passwordPanel' insets='2,2,2,2'> + <row fill='horizontal'> + <cell> + <JLabel id='loginLabel'/> + </cell> + <cell> + <JTextField id='login' onKeyReleased="doCheck(Element.login)"/> + </cell> + </row> + <row fill='horizontal'> + <cell> + <JLabel id='passwordLabel' labelFor='{password}'/> + </cell> + <cell> + <JPasswordField id='password' onKeyReleased="doCheck(Element.password)"/> + </cell> + </row> + </Table> + <Table id='sshPanel' opaque="false" insets='2,2,2,2'> + <row fill='horizontal'> + <cell> + <JLabel id='sshLoginLabel'/> + </cell> + <cell> + <JTextField id='sshLogin' onKeyReleased="doCheck(Element.sshLogin)"/> + </cell> + </row> + <row fill='horizontal'> + <cell> + <JLabel id='passphraseLabel'/> + </cell> + <cell> + <JToolBar opaque='false' borderPainted='false' height="24"> + <JCheckBox id='noPassPhrase' onKeyReleased="doCheck(Element.nopassphrase)"/> + <JPasswordField id='passphrase' onKeyReleased="doCheck(Element.passphrase)" + enabled='{!noPassPhrase.isSelected()}'/> + </JToolBar> + </cell> + </row> + <row fill='horizontal'> + <cell> + <JLabel id='privateKeyFileLabel'/> + </cell> + <cell> + <JToolBar opaque='false' borderPainted='false' height="24"> + <JTextField id='privateKeyFile' onKeyReleased="doCheck(Element.privateKeyFile)"/> + <JButton id='changePrivateKeyFile' icon='{createActionIcon("filechooser")}' + onActionPerformed="changePrivateKeyFile()"/> + </JToolBar> + </cell> + </row> + </Table> + </java.awt.CardLayout> + + <JToolBar id='top' height='26'> + <JLabel text='lutinvcs.config.message'/> + <Table fill='both' insets='0,0,0,0'> + <row> + <cell fill='both'/> + </row> + </Table> + <JButton id='reset' onActionPerformed="reset()" icon='{createActionIcon("revert")}' borderPainted='false'/> + <JButton id='testConnection' action='{newAction(TestConnexionAction.class)}' borderPainted='false'/> + <JButton id='help' action='{newAction(HelpAction.class)}' borderPainted='false'/> + </JToolBar> + + <JToolBar id='connexionHead' opaque='false' height='26'> + <JLabel id='connexionModeLabel'/> + <JRadioButton id='connexionModeAnonymous' onActionPerformed="changeAutheticationMode(ANONYMOUS)"/> + <JRadioButton id='connexionModePassword' onActionPerformed="changeAutheticationMode(PASSWORD)"/> + <JRadioButton id='connexionModeSsh' onActionPerformed="changeAutheticationMode(SSH)"/> + <Table fill='both' insets='0,0,0,0'> + <row> + <cell fill='both'/> + </row> + </Table> + <JButton id='generateKey' icon='{createActionIcon("generatekey")}' onActionPerformed="generateKey()" + borderPainted='false'/> + </JToolBar> + + <Table fill='both' insets="1,1,1,1"> + <row fill='horizontal'> + <cell columns='2'> + <JScrollPane columnHeaderView='{top}'> + <JEditorPane id="doc"/> + </JScrollPane> + </cell> + </row> + <row fill='horizontal'> + <cell columns="2" fill='both'> + <JToolBar id='rootHead' opaque='false' height='26'> + <JComboBox id='rootsList' /> + <JButton id='editRoot' icon='{createActionIcon("editroot")}' borderPainted='false' onActionPerformed="editRoot()"/> + <JButton id='addRoot' icon='{createActionIcon("addroot")}' borderPainted='false' onActionPerformed="addRoot()"/> + <JButton id='deleteRoot' icon='{createActionIcon("deleteroot")}' borderPainted='false' onActionPerformed="deleteRoot()"/> + <!--JSeparator orientation="vertical"/--> + </JToolBar> + </cell> + </row> + <row fill='horizontal'> + <cell columns="2" fill='both'> + <JScrollPane columnHeaderView='{connexionHead}' styleClass='connexionScroll'> + <JPanel id='connexionPanel' layout='{connexionPanelLayout}'/> + </JScrollPane> + </cell> + </row> + <row fill='horizontal'> + <cell weightx='1'> + <JButton id='ok' onActionPerformed="save()"/> + </cell> + <cell weightx='1'> + <JButton id='cancel' onActionPerformed="dispose()"/> + </cell> + </row> + </Table> + +</ConfigUI> Modified: trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxVCSUIProvider.java =================================================================== --- trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxVCSUIProvider.java 2008-04-27 08:39:02 UTC (rev 635) +++ trunk/lutinvcs/ui/jaxx/src/main/uimodel/org/codelutin/vcs/ui/JaxxVCSUIProvider.java 2008-04-27 08:39:32 UTC (rev 636) @@ -23,7 +23,7 @@ JaxxDiffUI.class, JaxxChangelogUI.class, JaxxConfirmUI.class, - JaxxConfigUI.class, + JaxxConnexionConfigUI.class, JaxxGenerateSshKeyUI.class, JaxxIdentityUI.class, JaxxTestUI.class);
participants (1)
-
tchemit@users.labs.libre-entreprise.org