com.metamatrix.console.ui.layout
Class CDKCallbackHandler
java.lang.Object
com.metamatrix.toolbox.ui.callback.DialogFactoryCallbackHandler
com.metamatrix.console.ui.layout.CDKCallbackHandler
- All Implemented Interfaces:
- CallbackHandler, ParentFrameSupplier
public class CDKCallbackHandler
- extends DialogFactoryCallbackHandler
- implements ParentFrameSupplier
An application implements a CallbackHandler and passes it to underlying
security services so that they may interact with the application to retrieve
specific authentication data, such as usernames and passwords, or to display
certain information, such as error and warning messages.
CallbackHandlers are implemented in an application-dependent fashion.
For example, implementations for an application with a graphical user
interface (GUI) may pop up windows to prompt for requested information
or to display error messages. An implementation may also choose to
obtain requested information from an alternate source without asking
the end user.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDKCallbackHandler
public CDKCallbackHandler()
getParentFrameForCallback
public java.awt.Window getParentFrameForCallback()
- return the parent frame that a callback dialog should display over
- Specified by:
getParentFrameForCallback
in interface ParentFrameSupplier
createCallbackPanel
protected javax.swing.JPanel createCallbackPanel(Callback callback,
PropertyDefinitionGroup definitionGroup,
PropertiedObject object,
PropertiedObjectEditor editor)
- Description copied from class:
DialogFactoryCallbackHandler
- Create a JPanel to edit the specified callback containing a PropertyDefinitionGroup for the
specified PropertiedObject. This method is designed to be used and/or overridden by subclasses
to generate customized panels for specific PropertyDefinitionGroups.
- Overrides:
createCallbackPanel
in class DialogFactoryCallbackHandler
Copyright © 2009. All Rights Reserved.