Package com.dassault_systemes.catjdialog |
|
Class CATOptionRepository
|
java.lang.Object
|
+-com.dassault_systemes.catjdialog.CATCallbackSource
|
+-com.dassault_systemes.catjdialog.CATOptionRepository
Framework : CATJDialog
Module : CATJDialog
public abstract class CATOptionRepository
Abstract class to implement to implement an option repository.
This is an object able to manage settings from another source than CATSetting.
An option respositry manages:
- values change
- flush changed values (that is a 'save')
- cancel changed values (that is a 'discard')
- See Also:
- com.dassault_systemes.catjdialog.CATOptionPanel
CATOptionRepository
CATOptionRepository()
getValueChangedNotification
CATNotification getValueChangedNotification()
Returns the value changed notification.
This is a notification the application is free to fire to have other parts using
this option repositroy refresh.
- Returns:
The value changed notification.
flush
void flush(CATSession iSession, boolean isAdmin)
This method is called by the 'Administration & User Preferences' command when the user
pressed Ok or Apply.
- Parameters:
iSession
- The user session.
isAdmin
- If
true
the user has administrator rights.
cancel
void cancel(CATSession iSession, boolean isAdmin)
This method is called by the 'Administration & User Preferences' command when the user
pressed Cancel.
- Parameters:
iSession
- The user session.
isAdmin
- If
true
the user has administrator rights.
Copyright © 2000, Dassault Systèmes. All rights reserved