Lynkeos
Instance Methods | Class Methods | List of all members
MyUserPrefsController Class Reference

User preferences controller class. More...

#import <MyUserPrefsController.h>

Inheritance diagram for MyUserPrefsController:
Inheritance graph
[legend]
Collaboration diagram for MyUserPrefsController:
Collaboration graph
[legend]

Instance Methods

(IBAction) - resetPrefs:
 Reset the preferences to their "factory defaults" values. More...
 
(IBAction) - applyChanges:
 Save the new preferences and leave the preferences panel open. More...
 
(IBAction) - cancelChanges:
 Close the preferences panel and discard its preferences. More...
 
(IBAction) - confirmChanges:
 Save the new preferences and close the preferences panel. More...
 
(IBAction) - showPrefs:
 Open the preferences panel. More...
 

Class Methods

(MyUserPrefsController *) + getUserPref
 Get the singleton instance. More...
 

Detailed Description

User preferences controller class.

This class is a singleton object controlling the user preferences window

Method Documentation

- (IBAction) applyChanges: (id)  sender

Save the new preferences and leave the preferences panel open.

Parameters
senderThe button

References MyPluginsController::defaultPluginController, and MyPluginsController::getPreferencesPanes.

Referenced by confirmChanges:.

- (IBAction) cancelChanges: (id)  sender

Close the preferences panel and discard its preferences.

Parameters
senderThe button

References MyPluginsController::defaultPluginController, and MyPluginsController::getPreferencesPanes.

- (IBAction) confirmChanges: (id)  sender

Save the new preferences and close the preferences panel.

Parameters
senderThe button

References applyChanges:.

+ (MyUserPrefsController *) getUserPref

Get the singleton instance.

Returns
The only instance of MyUserPrefsController
- (IBAction) resetPrefs: (id)  sender

Reset the preferences to their "factory defaults" values.

Parameters
senderThe button

References MyPluginsController::defaultPluginController, and MyPluginsController::getPreferencesPanes.

- (IBAction) showPrefs: (id)  sender

Open the preferences panel.

Parameters
senderThe main menu "preferences" item

The documentation for this class was generated from the following files: