Inherits From:
NSObject
Declared in: EOAccess/EOAdaptorContext.h
If you are writing a concrete adaptor, you must provide a concrete subclass of EOLoginPanel and a graphical user interface (usually a .nib file). Enterprise Objects Framework expects these resources to be provided in a bundle named "LoginPanel" in the adaptor's framework. See the class specification for EOAdaptor for more information.
runPanelForAdaptor:
(EOAdaptor *)adaptor validate:
(BOOL)flag Implemented by subclasses to run the login panel, allowing a user to enter new connection information. Returns the new connection information or nil if the user cancels the panel. If flag is YES, this method runs the login panel until the user enters valid connection information or cancels the panel. When valid login information is entered in the panel, it is stored in adaptor's connection dictionary and returned. Login information is validated by sending adaptor an assertConnectionDictionaryIsValid message.
If flag is NO, login information entered in the panel isn't validated and is returned without affecting the adaptor's connection dictionary.
A subclass must override this method without invoking EOAdaptor's implementation.
See also: - setConnectionDictionary: (EOAdaptor), - assertConnectionDictionaryIsValid (EOAdaptor), - runLoginPanelAndValidateConnectionDictionary (EOAdaptor), - runLoginPanel (EOAdaptor)
Copyright © 1997, Apple Computer, Inc. All rights reserved.