|
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
| public abstract void |
cancel(CATSession iSession, boolean isAdmin)
This method is called by the 'Administration & User Preferences' command when the user
pressed Cancel. |
| public abstract void |
flush(CATSession iSession, boolean isAdmin)
This method is called by the 'Administration & User Preferences' command when the user
pressed Ok or Apply. |
| public CATNotification |
getValueChangedNotification()
Returns the value changed notification. |
CATOptionRepository
CATOptionRepository()
cancel
public abstract 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.
flush
public abstract 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.
getValueChangedNotification
public 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.
- Return:
- The value changed notification.
Copyright © 2000, Dassault Systèmes. All rights reserved