Manages a panel that allows users to specify the parameters of an erase.
This class supports choosing the device to use and what sort of erase to perform.
When the panel is closed by the user choosing to erase the media in the device, the device is exclusively held by the application for its own use to prevent possible bad or corrupt media from causing problem for the rest of the system. This means that if the erase object obtained from the panel is not used to do an erase, the device will remain unavailable to other applications until the exclusive access is released.
Creates and returns a new DRErase object that's configured to erase the disc in the currently selected device.
- (DRErase*) eraseObject;
A new DRErase object.
The new DRErase object is configured based on the settings in the setup panel when the user clicks the OK button.
Do not invoke this method within a modal session (runSetupPanel or beginSetupSheetForWindow:modalDelegate:didEndSelector:contextInfo: ) because the erase object information is only updated just before the modal session ends.
Invoked when the user clicks one of the panel's erase type radio buttons.
- (IBAction) eraseType:(id) sender;
The object that invoked this method.
Returns an instance of a erase setup panel.
+ (DREraseSetupPanel*) setupPanel;
An erase setup panel.