Lynkeos
Notifications provided by controller classes

Notifications

Processing notifications.

NSString *const LynkeosProcessEndedNotification
 When a process ends. More...
 
NSString *const LynkeosUserInfoProcess
 The key for retrieving the process class from the user info.
 
NSString *const LynkeosProcessStackEndedNotification
 When all the image processings attached to an item are applied. More...
 
NSString *const LynkeosItemChangedNotification
 When an item of the document is changed. More...
 
NSString *const LynkeosUserInfoItem
 The key to retrieve the item from the user info.
 
NSString *const LynkeosItemWasProcessedNotification
 When an item was used by a list process. More...
 
NSString *const LynkeosItemAddedNotification
 When an item is added to a list. More...
 
NSString *const LynkeosItemRemovedNotification
 When an item is added or removed to/from a list. More...
 
NSString *const LynkeosListChangeNotification
 When the current list is changed.
 
NSString *const LynkeosDataModeChangeNotification
 When the current data mode changes.
 

DocumentNotifications

Document notifications.

NSString *const LynkeosDocumentDidLoadNotification
 Notification sent when a new document is loaded. More...
 

ImageNotifications

Notifications associated with the image view.

NSString *const LynkeosImageViewSelectionRectDidChangeNotification
 Selection rectangle has changed. More...
 
NSString *const LynkeosImageViewSelectionRectIndex
 User info key for the selection index.
 
NSString *const LynkeosImageViewZoomDidChangeNotification
 When the zoom changes. More...
 
NSString *const LynkeosImageViewRedrawNotification
 Image view is being redrawn. More...
 

WindowNotifications

Window controller notifications.

NSString *const LynkeosDocumentDidOpenNotification
 Notification that a new document is opened. More...
 
NSString *const LynkeosDocumentWillCloseNotification
 Notification that the document is about to close. More...
 
NSString *const LynkeosUserinfoWindowController
 User info key to get the window controller in notifications.
 
NSString *const LynkeosOutlineViewWillDisplayCellNotification
 Notification that the textview is redrawing one of its cells. More...
 
NSString *const LynkeosOutlineViewItem
 Key to get the item in LynkeosOutlineViewWillDisplayCellNotification.
 
NSString *const LynkeosOutlineViewCell
 Key to get the outline view in LynkeosOutlineViewWillDisplayCellNotification.
 
NSString *const LynkeosOutlineViewColumn
 Key to get the column in LynkeosOutlineViewWillDisplayCellNotification.
 

Detailed Description

The notifications are used to provide "anonymous" calls from core classes without the hassles of tight coupling.

Variable Documentation

NSString* const LynkeosDocumentDidLoadNotification

Notification sent when a new document is loaded.

The associated object is the document itself. There is no user info.

NSString* const LynkeosDocumentDidOpenNotification

Notification that a new document is opened.

The object is the document. The user info contains the window controller.
This notification can be used to spawn lightweight objects for monitoring the document.

NSString* const LynkeosDocumentWillCloseNotification

Notification that the document is about to close.

The object is the document. The user info contains the window controller.

NSString* const LynkeosImageViewRedrawNotification

Image view is being redrawn.

The object is the image view. There is no user info.
Processing views can use this notification to add drawings in the image view

NSString* const LynkeosImageViewSelectionRectDidChangeNotification

Selection rectangle has changed.

The object is the image view, the dictionary contains the index of the modified selection.

NSString* const LynkeosImageViewZoomDidChangeNotification

When the zoom changes.

The object is the image view

NSString* const LynkeosItemAddedNotification

When an item is added to a list.

There is no user info, because of possible coalescing

NSString* const LynkeosItemChangedNotification

When an item of the document is changed.

The object is the document, the user info contains the item accessible by the key LynkeosUserInfoItem

NSString* const LynkeosItemRemovedNotification

When an item is added or removed to/from a list.

There is no user info, because of possible coalescing

NSString* const LynkeosItemWasProcessedNotification

When an item was used by a list process.

The object is the document, the user info is the same as LynkeosItemChangedNotification.

NSString* const LynkeosOutlineViewWillDisplayCellNotification

Notification that the textview is redrawing one of its cells.

The object is the NSOutlineView. The user info contains the NSCell being redrawn, the NSTableColumn where the cell belongs and the LynkeosProcessable item being drawn in the cell.
This notification shall be used to add custom drawings in the text view.

NSString* const LynkeosProcessEndedNotification

When a process ends.

The object is the document, the user info contains the processing class.

NSString* const LynkeosProcessStackEndedNotification

When all the image processings attached to an item are applied.

The object is the document, the user info is the same as LynkeosItemChangedNotification.