SVN__CredentialsDialog.st
changeset 754 6ee705edb816
parent 457 dc4b15db07c9
child 862 9bba459ff219
equal deleted inserted replaced
753:2eb362e6a51b 754:6ee705edb816
       
     1 "
       
     2  Copyright (c) 2007-2010 Jan Vrany
       
     3  Copyright (c) 2009-2010 eXept Software AG
       
     4 
       
     5  Permission is hereby granted, free of charge, to any person
       
     6  obtaining a copy of this software and associated documentation
       
     7  files (the 'Software'), to deal in the Software without
       
     8  restriction, including without limitation the rights to use,
       
     9  copy, modify, merge, publish, distribute, sublicense, and/or sell
       
    10  copies of the Software, and to permit persons to whom the
       
    11  Software is furnished to do so, subject to the following
       
    12  conditions:
       
    13 
       
    14  The above copyright notice and this permission notice shall be
       
    15  included in all copies or substantial portions of the Software.
       
    16 
       
    17  THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
       
    18  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
       
    19  OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
       
    20  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
       
    21  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
       
    22  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
       
    23  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
       
    24  OTHER DEALINGS IN THE SOFTWARE.
       
    25 "
     1 "{ Package: 'stx:libsvn' }"
    26 "{ Package: 'stx:libsvn' }"
     2 
    27 
     3 "{ NameSpace: SVN }"
    28 "{ NameSpace: SVN }"
     4 
    29 
     5 Dialog subclass:#CredentialsDialog
    30 Dialog subclass:#CredentialsDialog
     7 	classVariableNames:''
    32 	classVariableNames:''
     8 	poolDictionaries:''
    33 	poolDictionaries:''
     9 	category:'SVN-UI-Dialogs'
    34 	category:'SVN-UI-Dialogs'
    10 !
    35 !
    11 
    36 
       
    37 !CredentialsDialog class methodsFor:'documentation'!
       
    38 
       
    39 copyright
       
    40 "
       
    41  Copyright (c) 2007-2010 Jan Vrany
       
    42  Copyright (c) 2009-2010 eXept Software AG
       
    43 
       
    44  Permission is hereby granted, free of charge, to any person
       
    45  obtaining a copy of this software and associated documentation
       
    46  files (the 'Software'), to deal in the Software without
       
    47  restriction, including without limitation the rights to use,
       
    48  copy, modify, merge, publish, distribute, sublicense, and/or sell
       
    49  copies of the Software, and to permit persons to whom the
       
    50  Software is furnished to do so, subject to the following
       
    51  conditions:
       
    52 
       
    53  The above copyright notice and this permission notice shall be
       
    54  included in all copies or substantial portions of the Software.
       
    55 
       
    56  THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
       
    57  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
       
    58  OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
       
    59  NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
       
    60  HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
       
    61  WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
       
    62  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
       
    63  OTHER DEALINGS IN THE SOFTWARE.
       
    64 
       
    65 "
       
    66 ! !
    12 
    67 
    13 !CredentialsDialog class methodsFor:'interface specs'!
    68 !CredentialsDialog class methodsFor:'interface specs'!
    14 
    69 
    15 contentSpec
    70 contentSpec
    16     "This resource specification was automatically generated
    71     "This resource specification was automatically generated
    87       )
   142       )
    88 
   143 
    89     "Created: / 21-10-2008 / 12:37:21 / Jan Vrany <vranyj1@fel.cvut.cz>"
   144     "Created: / 21-10-2008 / 12:37:21 / Jan Vrany <vranyj1@fel.cvut.cz>"
    90 ! !
   145 ! !
    91 
   146 
       
   147 !CredentialsDialog class methodsFor:'others'!
       
   148 
       
   149 version_CVS
       
   150     ^ '$ÂHeader: /cvs/stx/stx/libsvn/SVN__CredentialsDialog.st,v 1.4 2009/10/19 12:24:04 fm Exp Â$'
       
   151 ! !
       
   152 
    92 !CredentialsDialog methodsFor:'accessing'!
   153 !CredentialsDialog methodsFor:'accessing'!
    93 
       
    94 answerValueSelector
       
    95 
       
    96     ^#model
       
    97 
       
    98     "Modified: / 03-10-2008 / 14:55:47 / Jan Vrany <vranyj1@fel.cvut.cz>"
       
    99 !
       
   100 
   154 
   101 savePassword
   155 savePassword
   102     "return the value in 'savePasswordHolder'"
   156     "return the value in 'savePasswordHolder'"
   103 
   157 
   104     ^ self savePasswordHolder value
   158     ^ self savePasswordHolder value
   164 ! !
   218 ! !
   165 
   219 
   166 !CredentialsDialog methodsFor:'change & update'!
   220 !CredentialsDialog methodsFor:'change & update'!
   167 
   221 
   168 usernameChanged
   222 usernameChanged
   169 
   223     self acceptEnabled:(self usernameAspect value isNilOrEmptyCollection not)
   170     self canDoAccept:
       
   171         (self usernameAspect value isNilOrEmptyCollection not)
       
   172 
       
   173     "Created: / 03-10-2008 / 14:32:01 / Jan Vrany <vranyj1@fel.cvut.cz>"
       
   174 ! !
   224 ! !
   175 
   225 
   176 !CredentialsDialog methodsFor:'hooks'!
   226 !CredentialsDialog methodsFor:'hooks'!
   177 
   227 
   178 commonPostOpen
   228 commonPostOpen
   183 ! !
   233 ! !
   184 
   234 
   185 !CredentialsDialog class methodsFor:'documentation'!
   235 !CredentialsDialog class methodsFor:'documentation'!
   186 
   236 
   187 version
   237 version
   188     ^ '$Header$'
   238     ^ '$Id$'
   189 !
       
   190 
       
   191 version_CVS
       
   192     ^ '$Header$'
       
   193 !
   239 !
   194 
   240 
   195 version_SVN
   241 version_SVN
   196     ^'§Id: SVN__CredentialsDialog.st 107 2009-08-16 17:21:27Z vranyj1 §'
   242     ^ '§Id: SVN__CredentialsDialog.st 350 2011-07-07 18:42:56Z vranyj1 §'
   197 ! !
   243 ! !