|
IBM DB2 UDB Plugin Interface for Extending the Control Center |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Defaultable interface allows users to specify that the Default button in Configuration dialogs is disabled for CCObjects of type UDB_DATABASE or UDB_INSTANCE.
The configuration dialogs for UDB databases and instances contain buttons for settings the values back to the DB2 defaults. If you have your own set of defaults and do not want users mistakenly hitting these buttons, you can disable the buttons using a plugin. Create an object that implements CCObject and set its type to UDB_DATABASE or UDB_INSTANCE. Have it also implement this Defaultable interface. This interface contains a method called hasConfigurationDefaults. Return false from this method and all default buttons for the configuration dialog will be disabled.
CCObject
Method Summary | |
---|---|
boolean |
hasConfigurationDefaults()
Deprecated. Implement this method for a CCObject of type UDB_INSTANCE or UDB_DATABASE (see CCObject.getType() ) and return
false to indicate that buttons for restoring to defaults should be disabled
in the instance or database configuration dialogs. |
Method Detail |
public boolean hasConfigurationDefaults()
CCObject.getType()
) and return
false to indicate that buttons for restoring to defaults should be disabled
in the instance or database configuration dialogs.
|
IBM DB2 UDB Plugin Interface for Extending the Control Center |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
(C)Copyright IBM Corp. 2002, 2004. All rights reserved.
Links on this page are made available for your convenience and may take you to non-IBM sites. IBM does not warrant any sample code provided on these sites.