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
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.


Field Detail

Constructor Detail

CATOptionRepository

    CATOptionRepository()


Method Detail

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