- Inherits From:
- NSWindowController
- Declared In:
- MCPConnectionWinCont.h
It is responsible to set the appropriate value of the MCPDocument instance variables.
IBOutlet NSTextField *mHostField;
IBOutlet NSTextField *mLoginField;
IBOutlet NSTextField *mDatabaseField;
IBOutlet NSTextField *mPortField;
IBOutlet NSPanel *mPasswordSheet;
IBOutlet NSTextField *mPasswordField;
IBOutlet NSButton *mCreateButton;
mHostField No description. mLoginField No description. mDatabaseField No description. mPortField No description. mPasswordSheet No description. mPasswordField No description. mCreateButton No description.
Actions for Interface BuilderFor the clear text information.
For the password.
- - doGo:
- - doCancel:
- - doCreate:
- - modifyInstance:
Overrides of NSWindowController method, to adapt to this Window Controller.
- - passwordClick:
- - askPassword:
- - Password
Getting the button for creating a DB.
- - init
- - dealloc
- - windowDidLoad
- - getCreateButton
- (NSString *)Password
Send the password (from the NSPasswordField), this method puts the password in the answer (as an autoreleased object), and DELETE it from the NSSecureTextField.
- (IBAction)askPassword:(id)sender
No method description.
- (void)dealloc
Gives notification that the WindowController is being deallocated (is it really useful? not yet!).
- (IBAction)doCancel:(id)sender
What to do when the user clicks on the Cancel button of the window.
- (IBAction)doCreate:(id)sender
No method description.
- (IBAction)doGo:(id)sender
What to do when the user clicks on the Go button of the window.
- (NSButton*)getCreateButton
No method description.
- (id)init
When inited, open the proper window...
- (IBAction)modifyInstance:(id)sender
Action to take when the user modify one of the entry of the New Connection dialog.
- (IBAction)passwordClick:(id)sender
For the password.
- (void)windowDidLoad
What to do once the window has been loaded : update the fields...