Package com.dassault_systemes.catjdialog

   
Class CATOptionRepository

 
Class Hierarchy
java.lang.Object
  |
  +-com.dassault_systemes.catjdialog.CATCallbackSource
        |
        +-com.dassault_systemes.catjdialog.CATOptionRepository
Class Location

Framework : CATJDialog

Module : CATJDialog

Class Description

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:

See Also:
com.dassault_systemes.catjdialog.CATOptionPanel
Field Summary

Constructor Summary
CATOptionRepository()

Method Summary
CATNotification getValueChangedNotification()
void flush(CATSession iSession, boolean isAdmin)
void cancel(CATSession iSession, boolean isAdmin)


Field Detail

Constructor Detail

CATOptionRepository

    CATOptionRepository()


Method Detail

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