#import <MyDocument.h>


Public Member Functions | |
Accessors | |
Read accessors to the class attributes | |
| (MyIntegerSize) | - calibrationSize |
| (NSDictionary *) | - savedWindowSizes |
GUIActions | |
Coming from window controllers | |
| (void) | - setListMode: |
| Set the list we will be working on from now. | |
| (void) | - setDataMode: |
| Set the data we will work with. | |
| (void) | - addEntry: |
| Add the item to the current list. | |
| (void) | - deleteEntry: |
| Remove the item from the current list. | |
| (void) | - changeEntrySelection:value: |
Process management | |
| (oneway void) | - processStarted:connection: |
| Inform the document of the thread creation. | |
| (void) | - processEnded: |
| Inform the document of the thread termination. | |
This class controls the actions on the document. It dialogs with MyImageListWindow for GUI interactions and the Models classes for document contents change.
| - (void) setListMode: | (ListMode_t) | mode |
Set the list we will be working on from now.
| mode | The new current list (image/flat/dark) |
| - (void) addEntry: | (MyImageListItem*) | item |
Add the item to the current list.
| item | item to add to the list The undo manager is updated for undoing the add |
| - (void) deleteEntry: | (MyImageListItem*) | item |
Remove the item from the current list.
| item | item to remove from the list The undo manager is updated for undoing the remove |
| - (oneway void) processStarted: | (id) | proxy | ||
| connection: | (MyThreadConnection*) | cnx | ||
Inform the document of the thread creation.
| proxy | Proxy for the created process thread. | |
| cnx | The connection for this thread. The "obj" proxy cannot be retained. The process ended call will inform of the proxy release. |
| - (oneway void) processEnded: | (id) | obj |
Inform the document of the thread termination.
| obj | The proxy for the thread that is ending. This method is synchronous to wait execution before terminating the thread. |
1.5.4